Home

Get historical fee data

POST
https://vinu.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns fee market information for a range of blocks. This is typically used by wallets and other tools to estimate appropriate gas prices.

Changed in the 29 August 2026 network upgrade.

  • gasUsedRatio is computed per block as gasUsed / gasLimit, clamped to [0, 1]. Before that upgrade it was the hard-coded constant 0.99 for every entry, which made the field useless for fee estimation. Because gasLimit is the synthetic constant 0xffffffffffff, the new values will be very small numbers rather than 0.99 - any client thresholding on gasUsedRatio needs re-tuning.
  • rewardPercentiles is now capped at 100 entries; a longer list returns -32000 rewardPercentiles list exceeds maximum length of 100.
  • blockCount is still clamped to 1024.

reward remains a repeated constant per block - VinuChain has a flat tip structure - and baseFeePerGas remains flat.

Body

application/json
jsonrpcstringrequired
methodstringrequired
paramsArray<string | integer | Array<number>>required

Parameters:

  1. blockCount — number of blocks in the requested range.
  2. newestBlock — highest block number in the requested range (can be "latest").
  3. rewardPercentiles — list of percentile values to sample priority fees from each block (optional).
Show child attributes
Any of
string
integer
Array<number>
idintegerrequired

Response

200OK

JSON-RPC Response with fee history data

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.