eth_sendRawTransaction
Network: Optimism Sepolia · Testnet · Chain ID 11155420 (0xaa37dc)
Counts as 1 request. See Request Counting.
Submits a pre-signed transaction for broadcast to the network. You must sign the transaction offline first.
Parameters
DATA— The signed transaction data (hex-encoded).
Returns
DATA (32 bytes) — The transaction hash, or the zero hash if the transaction is not yet available.
Request
{
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"params": ["0xf86c808504a817c80082520894..."],
"id": 1
}This method requires a private endpoint (API key). It is not available on public endpoints.
Response
{
"jsonrpc": "2.0",
"id": 1,
"result": "0xe670ec64341771606e55d6b4ca35a1a6b75ee3d5145a99d05921026d1527331"
}Code Examples
curl -X POST https://optimism-sepolia-rpc.blockreq.com/v1/rpc/public \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"eth_sendRawTransaction","params":["0xf86c808504a817c80082520894..."],"id":1}'