Get fee history
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.
Body
application/json
JSON-RPC request envelope.
jsonrpcstring2.0requiredJSON-RPC protocol version.
methodstringeth_feeHistoryrequiredJSON-RPC method name.
paramsArray<string | Array<integer>>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).
idintegerrequiredIdentifier echoed in the response.
Response
200OK
JSON-RPC Response with fee history data