eth_sendRawTransactionSync
Executing transactions | Ethereum
eth_sendRawTransactionSync | Ethereum
Ethereum API method that submits a signed transaction and blocks until the transaction receipt is returned or the timeout expires.
POST
eth_sendRawTransactionSync
Ethereum API method that submits a signed transaction and blocks until the transaction receipt is returned or the timeout expires. This is a synchronous version of
eth_sendRawTransaction — instead of returning just the transaction hash, it waits for the transaction to be included in a block and returns the full receipt.
This method is defined by EIP-7966 and is available on Erigon (>= v3.4.0) and go-ethereum (>= v1.16.6).
Get your own node endpoint todayStart for free and get your app to production levels immediately. No credit card required.You can sign up with your GitHub, X, Google, or Microsoft account.
Because Ethereum mainnet has a ~12-second block time, sync calls often exceed short timeouts. Pick a
timeout that fits your application — the request returns once a receipt is available or once the timeout expires, whichever comes first.Parameters
signedTransactionData— the signed transaction data in hexadecimal format. Includes nonce, gas price, gas limit, recipient address, value, data, and signature.timeout(optional) — maximum wait time in milliseconds, passed as a decimal integer per EIP-7966 (e.g.,5000). If omitted, the node uses its configured default. Note that other Chainstack chains may use different timeout encodings — see the Polygon equivalent, where Bor expects a hex-encoded timeout.
Response
result— the full transaction receipt object once the transaction is included in a block, with the same fields aseth_getTransactionReceipt. If the timeout expires before inclusion, the node returns an error indicating the transaction was added to the pool but not yet processed.
eth_sendRawTransactionSync code examples
When to use
Useeth_sendRawTransactionSync instead of eth_sendRawTransaction when:
- You need the receipt immediately and want to avoid polling with
eth_getTransactionReceipt. - You are building synchronous request/response flows (payments, bots, simulations).
- You want to simplify transaction submission logic by getting the result in a single call.
eth_sendRawTransaction.Body
application/json
Last modified on May 18, 2026