Estimate Gas for Transaction
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Changed. A call that sets blobVersionedHashes or authorizationList must include to. Without it the node rejects the request with an error (missing "to" in blob transaction or authorizationList provided for contract creation, but "to" field is missing). After the Amsterdam upgrade on Sepolia (October 6, 2026, 13:53:36 UTC) a plain value transfer is no longer estimated at a fixed 21000 gas: the node returns the gas the transfer actually uses under the new gas rules, so the result can differ from 0x5208.
Simulates a transaction and returns an estimate of how much gas would be used.
Body
Simulates a transaction and returns an estimate of how much gas would be used.
Request payload for Estimate Gas for Transaction.
jsonrpcstringrequiredJSON-RPC protocol version
methodstringrequiredThe method name
paramsArray<object | string>requiredThe transaction call object and an optional block tag.
idintegerrequiredRequest identifier
Response
Estimated gas amount
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Method Not Allowed. Returned by the NOWNodes gateway for malformed or unsupported gateway-level requests.
Missing API key. The NOWNodes gateway returns plain text for this error.
Upstream node or gateway error.