HI everyone I saw an interesting contract depolyed on etherscan and want to simulate the behavior. how this input data (the first 4th bytes not method) can be sent to deployed contract? (I don't have abi)
Jul 13, 2021, 8:48 AM
Share contract link?
Jul 13, 2021, 8:52 AM
https://etherscan.io/tx/0x103ea63d997fb6c1e6c208378344aff6f85a45331269616d3abffc579a491e4a
Jul 13, 2021, 8:53 AM
You can create a raw transaction something like this, sign it and broadcast via any rpc provider
var rawTx = {
nonce: '0x00',
gasPrice: '0x09184e72a000',
gasLimit: '0x2710',
to: '0x0000000000000000000000000000000000000000',
value: '0x00',
data: '0x7f7465737432000000000000000000000000000000000000000000000000000000600057'
}
var rawTx = {
nonce: '0x00',
gasPrice: '0x09184e72a000',
gasLimit: '0x2710',
to: '0x0000000000000000000000000000000000000000',
value: '0x00',
data: '0x7f7465737432000000000000000000000000000000000000000000000000000000600057'
}
Replace data with whatever data you need. Others please correct me if I'm wrong, haven't done much raw transactions
Jul 13, 2021, 9:00 AM
Jul 13, 2021, 9:27 AM