Estimate Gas for Transaction
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Estimates L2 gas units for executing a transaction, not the total transaction fee in MNT.
Actual estimate depends on state and backend; L1 data/DA fee components may be charged separately. The call can fail for invalid execution or insufficient balance.
Example response values are illustrative unless explicitly described as protocol constants; they are not authenticated live NOWNodes responses.
Body
JSON-RPC 2.0 request body. Send as HTTP POST to the endpoint root (/).
jsonrpcstring2.0requiredmethodstringeth_estimateGasrequiredparamsArray<object | string>requiredPositional parameters in order: call object, optional block tag.
idintegerrequiredClient-selected JSON-RPC request identifier.
Response
HTTP response containing a JSON-RPC result or a JSON-RPC error object.
JSON-RPC protocol or execution error; may still be delivered with HTTP 200.