eth_sendRawTransactionSync
eth_sendRawTransactionSync JSON-RPC reference for MegaETH.
Summary
Submits a signed transaction and returns a receipt once the transaction is included in a block. The public gateway routes this method and realtime_sendRawTransaction through the same synchronous submission handler, with the same parameters and receipt result.
The public MegaETH endpoint supports this method. The standard, node, and gateway layers below identify behavior that differs from a generic Ethereum endpoint.
Parameters
data Data REQUIRED
Signed raw transaction bytes.
timeoutMs number
Client wait budget in milliseconds. When omitted, the node uses its 5-second default; the public gateway caps explicit values at 3000 (3 s).
Result
transactionHashHash32Transaction hash.
statusQuantityA nonzero status indicates success; zero means the transaction reverted but was included on-chain.
blockHashHash32Containing block hash. A receipt produced from a streaming mini-block can temporarily contain the all-
ffplaceholder hash until the enclosing EVM block is committed. Refetch the receipt witheth_getTransactionReceiptafter block sealing when a canonical block hash is required.blockNumberQuantityContaining block number.
fromAddressSender.
toAddress | nullRecipient;
nullfor contract creation.gasUsedQuantityGas consumed by this transaction.
effectiveGasPriceQuantityEffective gas price.
contractAddressAddress | nullCreated contract address when applicable.
logsLog[]Emitted log entries.
Additional fields include cumulativeGasUsed, logsBloom, type, and L1 fee fields (l1Fee, l1GasPrice, l1GasUsed, etc.).
Comparison with Ethereum Standard JSON-RPC
Ethereum Standard
eth_sendRawTransactionSync is not part of the core Ethereum execution JSON-RPC API. It is a compatibility extension exposed by the MegaETH public gateway.
MegaETH Node Behavior
The current MegaETH node does not register this eth_* alias. Its native synchronous submission method is realtime_sendRawTransaction; the node waits up to 5 seconds by default for a real-time receipt.
MegaETH Public Gateway
The gateway exposes this compatibility name and routes it and realtime_sendRawTransaction through the same handler. Both are rewritten to the node's realtime_sendRawTransactionWithSender method after gateway-side validation. The gateway caps explicit waits at 3,000 milliseconds and accepts request bodies up to 2.5 MiB. An expiry is inconclusive: the transaction may still land.
Errors
The | Scope | column distinguishes method failures from gateway policy errors.
-32602
Request
Invalid params
Raw transaction is malformed, undecodable, or timeoutMs is invalid
-32000
Method
Server error
Receipt not available before the wait window expired, or the node rejected the transaction
-32099
Transport/policy
Payload too large
The request body exceeds the 2.5 MiB public endpoint limit.
See also Error Codes.
Examples
Endpoint: https://mainnet.megaeth.com/rpc
Capture date: July 24, 2026
Outcome: success
Sources
Spec: EIP-1474 for JSON-RPC framing and error conventions; this method is an extension or legacy compatibility method.
Code:
[email protected]:megaeth-labs/mega-reth.git @ ab60376631228edab3a6df180f295280bad26e93: crates/megaeth/rpc/src/realtime.rsCode:
[email protected]:megaeth-labs/mega-rpc.git @ 06aa35aa95d569c227cc25d2aa12834eb0458aa0: workers/src/sequencer-guard/single-tx.tsProbe: MegaETH Mainnet public endpoint, July 24, 2026
Last updated