API Reference

eth_sendRawTransaction

Submits a pre-signed transaction for broadcast to the Ethereum network.

Request Parameters

  • TRANSACTION DATA [required] - The signed transaction data.

Response

The transaction hash, or the zero hash if the transaction is not yet available.

Result Fields

  • TRANSACTION HASH: 32 Bytes - the transaction hash, or the zero hash if the transaction is not yet available.

Examples

Example Responses
{
    "id": 1,
    "jsonrpc": "2.0",
    "result": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}

📘

Note:

On Mainnet and Goerli, if this call causes the EVM to execute a REVERT operation, an error response of the following form is returned, with the revert reason pre-decoded as a string.

{
    "jsonrpc": "2.0",
    "id": 1,
    "error": {
        "code": 3,
        "message": "execution reverted: Dai/insufficient-balance",
        "data": "0x08c379a0000000000000000000000000000000000000000000000000000000000000002000000000000000000000000000000000000000000000000000000000000000184461692f696e73756666696369656e742d62616c616e63650000000000000000"
    }
}
Language
Click Try It! to start a request and see the response here!