Home

Get Suggested Gas Price

POST
https://cfx-evm.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the current gas price in wei as a hexadecimal string. This value is a node estimate based on recent blocks and mempool activity.

Request and response values are illustrative examples, not live mainnet data.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsArray<any>required

This method takes an empty array.

idintegerrequired

Request identifier

Response

200OK

Suggested gas price in wei