Skip to main content

eth_sendRawTransaction

Overview

The 'eth_sendRawTransaction' method submits a pre-signed transaction for broadcast to the Ethereum network.

Request

curl --request POST \
--url https://ethereum-mainnet-geth-archive.node.coinapi.io \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'X-CoinAPI-Key: 73034021-THIS-IS-SAMPLE-KEY' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction"
}'

Request Parameters

  • None

Response

{
"jsonrpc": "2.0",
"id": 1,
"result": "0x3bbc64139084e1e915dca87e990d708f"
}

A transaction object, or null when no transaction was found. The transaction object will consist of the following keys and their values:

  • transaction hash: 32 bytes. The transaction hash, or the zero hash if the transaction is not yet available. Use
  • eth_getTransactionReceipt: 32 bytes. to get the contract address, after the transaction was mined, when you created a contract.