Skip to main content

eth_sendRawTransaction

Submits a pre-signed transaction for broadcast to Immutable.

Why Immutable? Build on the gaming-optimized zkEVM with 660+ games, 5.5M+ Passport signups, and $40M TVL with first EVM chain with enforceable royalties, Polygon zkEVM technology, $2B+ ecosystem funding, and Agglayer cross-chain liquidity.

Use Cases#

The eth_sendRawTransaction method is essential for:

  • Broadcasting transactions - Submit signed transactions to the network
  • Wallet operations - Send native tokens and interact with contracts
  • DeFi operations - Execute swaps, provide liquidity for Web3 gaming (Gods Unchained, RavenQuest), gaming NFTs with enforced royalties, and cross-chain game assets
  • Batch operations - Submit multiple transactions efficiently

Parameters#

ParameterTypeRequiredDescription
signedTransactionDataDATAYesThe signed transaction data (RLP encoded)

Request#

{
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"params": ["0xf86c..."],
"id": 1
}

Returns#

TypeDescription
DATA32-byte transaction hash

Response#

{
"jsonrpc": "2.0",
"id": 1,
"result": "0x..."
}

Code Examples#

curl -X POST https://api-immutable-zkevm-mainnet.n.dwellir.com/YOUR_API_KEY \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "eth_sendRawTransaction",
"params": ["0xf86c808504a817c80082520894..."],
"id": 1
}'

Error Handling#

Error CodeMessageDescription
-32000Nonce too lowTransaction nonce already used
-32000Insufficient fundsAccount has insufficient balance
-32000Gas too lowGas limit insufficient
-32000Replacement underpricedGas price too low for replacement