eth_feeHistory RPC Method
Parameters
blockCount
string/integer
REQUIRED
Loading...
newestBlock
string
REQUIRED
Loading...
rewardPercentiles
integer
REQUIRED
Loading...
Returns
result
object
Loading...
oldestBlock
string
Loading...
baseFeePerGas
array
Loading...
gasUsedRatio
array
Loading...
reward
array
Loading...
Request
1curl https://docs-demo.injective-testnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"eth_feeHistory","params":["0x5", "latest", [25, 75]],"id":1,"jsonrpc":"2.0"}'
1curl https://docs-demo.injective-testnet.quiknode.pro/ \2-X POST \3-H "Content-Type: application/json" \4--data '{"method":"eth_feeHistory","params":["0x5", "latest", [25, 75]],"id":1,"jsonrpc":"2.0"}'
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free