eth_sendRawTransaction
Creates a new message call transaction or a contract creation for signed transactions.
Parameters
DATA
, The signed transaction data.
Returns
DATA
, 32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available.
Use eth_getTransactionReceipt
to get the contract address after the transaction was mined when you created a contract.
Example
Note: Since eth_sendRawTransaction
is a request used for writing to the blockchain and changes its state, it is impossible to execute the same request twice. This means if you were to copy the example given below you will not get the expected response.
Request
Result
Last updated