Estimate Gas for Transaction
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Changed. Malformed numeric values in big-integer fields (for example value or gasPrice) are now rejected with an error; before, they were silently decoded as zero.
Simulates a transaction and returns an estimate of how much gas would be used.
Body
application/json
jsonrpcstringrequiredJSON-RPC protocol version
methodstringrequiredThe method name
paramsArray<object | string>requiredThe transaction call object and an optional block tag.
idintegerrequiredRequest identifier
Response
200OK
Estimated gas amount