eth_feeHistory
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-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.
Fee values are in the smallest unit of HYPE. Current fees may vary.
Body
application/json
jsonrpcstringrequiredmethodstringeth_feeHistoryrequiredparamsArray<string | integer | Array<number>>requiredParameters:
blockCount— number of blocks in the requested range.newestBlock— highest block number in the requested range (can be "latest").rewardPercentiles— list of percentile values to sample priority fees from each block (optional).
idintegerrequiredResponse
200OK
JSON-RPC Response with fee history data