Estimate Gas for Transaction
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Simulates a transaction and returns an estimate of how much gas would be used.
Nitro gas estimates can include parent-chain data costs when applicable. Gas is paid in HYPE; estimates depend on the transaction and current state.
Body
application/json
jsonrpcstringrequiredJSON-RPC protocol version
methodstringeth_estimateGasrequiredThe method name
paramsArray<object | string>requiredThe transaction call object and an optional block tag.
idintegerrequiredRequest identifier
Response
200OK
Estimated gas amount