Estimate Gas for Transaction
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Simulates a transaction and returns an estimated gas limit. Actual gas usage may differ. Gas fees are denominated in CRO.
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