Home

Get the suggested gas price

POST
https://vinu.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. It is the price the node suggests for prompt inclusion.

Typical value on this chain is around 41 gwei ("0x98beb4f80"). VinuChain has a flat fee structure - baseFeePerGas and the reward percentiles returned by eth_feeHistory do not vary across a window - so this value moves little.

Pair it with eth_maxPriorityFeePerGas for an EIP-1559 transaction.

Body

application/json
jsonrpcstringrequired

JSON-RPC version

methodstringrequired

JSON-RPC method name

paramsarrayrequired

This method takes an empty array.

idintegerrequired

Request identifier

Response

200OK

Suggested gas price in wei

405Method Not Allowed

Method not served by this endpoint. The body is the plain-text string Method Not Allowed, not JSON.

422Unprocessable Entity

Missing API key - the api-key header was absent. The body is the plain-text string Missing API_key, not JSON.