Skip to main content
POST
eth_estimateGas
Arc API method that estimates the gas needed to execute a transaction. On Arc, gas fees are paid in TIP-20 stablecoins, not a native token.
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.

Parameters

  • callObject — the call object:
    • from — (optional) address the transaction is sent from
    • to — (optional) address the transaction is directed to
    • gas — (optional) gas provided for the transaction
    • gasPrice — (optional) gas price
    • value — (optional) value sent with the transaction
    • data — (optional) hash of the method signature and encoded parameters

Response

  • result — the estimated gas amount encoded as hexadecimal

eth_estimateGas code examples

Body

application/json
id
integer
default:1
jsonrpc
string
default:2.0
method
string
default:eth_estimateGas
params
array

Response

200 - application/json

Returns the result of eth_estimateGas.

jsonrpc
string
id
integer
result
string
Last modified on August 3, 2026