Why do I get "gas limit too high" (error -32003) on eth_sendRawTransaction?
Last updated: August 25, 2026
This error means the network rejected your transaction because the gas limit you set exceeds the maximum allowed for a single transaction. Each chain enforces its own per-transaction gas limit, which is separate from the overall block gas limit and from any limits on Alchemy's side.
How to fix it
Call
eth_estimateGasfor your transaction to get an accurate estimate of the gas it actually needs.Add a reasonable buffer on top of that estimate, for example 10-20%.
Re-sign and resend your
eth_sendRawTransactioncall with the updated gas limit.
Setting a very high gas limit does not make a transaction more likely to succeed. If it exceeds the chain's per-transaction cap, the transaction is rejected instead of processed.