Skip to main content

eth_estimateGas RPC Method

Loading...

Updated on
Jul 21, 2025

eth_estimateGas RPC Method

Please note that for this RPC method, if the block number is set to pending, Polygon zkEVM assumes it as the latest.

Parameters

transaction
object
Loading...
from
string
Loading...
to
string
REQUIRED
Loading...
gas
integer
Loading...
gasPrice
integer
Loading...
value
integer
Loading...
data
string
Loading...
blockNumber
string
Loading...

Returns

result
string
Loading...
Request
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free