eth_sendRawTransaction RPC Method
Broadcasts a signed, RLP-encoded transaction to the network.
Parameters#
stringrequired
The signed, RLP-serialized transaction payload, hex-encoded.
Result#
string - The 32-byte hash identifying the submitted transaction.
Code sample#
{
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"params": [
"0xf86c0a8502540be400825208944bbeeb066ed09b7aed07bf39eee0460dfa261520880de0b6b3a7640000801ca0f3ae52c1ef3300f44df0bcfd1341c232ed2e3571457bc34fc2bc583740ad09b3a056ab19a41dfe62e9b3a63a49bea7c7a477b3f2dd51ace70dd2e2f97b3a8b9d3a"
],
"id": 1
}
Response#
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}
Try It