eth_feeHistory
Returns transaction base fee per gas and effective priority fee per gas for the requested/supported block range.
Parameters
BlockCount
- Requested range of blocks (between 1 to 1024 blocks).NewestBlock
- Highest block of the requested range. Choose 1 of the following options:A hexadecimal block number.
"earliest"
- the earliest/genesis block."latest"
- the latest mined block."finalized"
- the latest finalized block."pending"
- the pending state/transactions.
RewardPercentiles
- A monotonically increasing list of percentile values. For each block in the requested range, the transactions will be sorted in ascending order by effective tip per gas and the corresponding effective tip for the percentile will be determined, accounting for gas consumed.
Sample Request
curl https://lb.nodies.app/v1/<INSERT URL> \
-H "x-api-key: <API-KEY>" \
-X POST \
-H "Content-Type: application/json" \
-d '{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_feeHistory",
"params": [
"0x100",
"latest",
[
20,
30
]
]
}'
Sample Response
{
"jsonrpc": "2.0",
"id": 1,
"result": {
"oldestBlock": "0x2f0e64d",
"reward": [
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x80732ae44",
"0x893788f1a"
],
[
"0xa288cf780",
"0xaeaa9bb1d"
],
[
"0x87be91dea",
"0x8e022589f"
],
[
"0x7bf51e700",
"0x7bf51e700"
],
[
"0x7989c904c",
"0x7debb2377"
],
[
"0x3a2fd27",
"0x3a2fd27"
],
[
"0x6f667212f",
"0x7c29fb26c"
],
[
"0x7c8c52b52",
"0x826299e00"
],
[
"0x1c4067f1",
"0x1c4067f1"
],
[
"0x74666ecac",
"0x74666ecac"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x928b5fc1d",
"0xabed8369a"
],
[
"0x957f8f4a4",
"0x9bba0addf"
],
[
"0x15279fea",
"0x15279fea"
],
[
"0x6ee775b90",
"0x6ee775b90"
],
[
"0x861c46800",
"0x861c46800"
],
[
"0xacb5e686d",
"0xb6061616d"
],
[
"0x740393858",
"0x7c98ac2a3"
],
[
"0x121399ab",
"0x121399ab"
],
[
"0x8d8f9fc00",
"0xa3e9ab800"
],
[
"0x8da909f26",
"0xb1b960f36"
],
[
"0x6fc23ac00",
"0x70e87ad40"
],
[
"0x7050989c8",
"0x82164ea00"
],
[
"0x1c4bbb5",
"0x1c4bbb5"
],
[
"0x820ea0867",
"0xace5e1b67"
],
[
"0x82164ea00",
"0x9c7652400"
],
[
"0x38a5d658",
"0x38a5d658"
],
[
"0x75e45f25e",
"0x75e45f25e"
],
[
"0x91494c600",
"0x96e29b5df"
],
[
"0x8425fcce4",
"0xa9920ec45"
],
[
"0x11b7c110",
"0x11b7c110"
],
[
"0x7012fc0d1",
"0x708896c6a"
],
[
"0x993039944",
"0x993039944"
],
[
"0x72e1001f3",
"0x783653806"
],
[
"0x320b6e7b",
"0x320b6e7b"
],
[
"0x64de420b9",
"0x64de420b9"
],
[
"0x20cfa1",
"0x20cfa1"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x802f16806"
],
[
"0x7feae8da0",
"0x7feae8da0"
],
[
"0x6e76240d5",
"0x7a1abd339"
],
[
"0x26d0985a",
"0x26d0985a"
],
[
"0x802f16806",
"0x802f16806"
],
[
"0x6fc23ac00",
"0x802f16806"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x72eb506ed"
],
[
"0x9440e3d",
"0x9440e3d"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x8520b2340",
"0x885d7dc00"
],
[
"0x770887a",
"0x770887a"
],
[
"0x6fc23ac00",
"0x8051bd5b7"
],
[
"0x908482616",
"0x9c7652400"
],
[
"0x7ea8ed400",
"0x93b493815"
],
[
"0xa61e163",
"0xa61e163"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x745e6e6ac",
"0x8a6c367bb"
],
[
"0x340461fb",
"0x340461fb"
],
[
"0x6fc23ac00",
"0x8128efa02"
],
[
"0x6cdd8b1",
"0x6cdd8b1"
],
[
"0x770b16e52",
"0x926b2e688"
],
[
"0x8120856fc",
"0x8120856fc"
],
[
"0x7ec589780",
"0x979703f56"
],
[
"0x2e7d3c67",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x7dc0beb0a"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x750451204"
],
[
"0x65462ad",
"0x65462ad"
],
[
"0x6fc23ac00",
"0x7378d6355"
],
[
"0x6fc23ac00",
"0x7ea6851d3"
],
[
"0x7ecf12e00",
"0x8f7fde7f2"
],
[
"0x4dbdcb4e",
"0x4dbdcb4e"
],
[
"0x6fc23ac00",
"0x7378d6355"
],
[
"0x9a963ed70",
"0x9cdfbb625"
],
[
"0x74bb8a354",
"0x7e93a3273"
],
[
"0x10a6b048",
"0x10a6b048"
],
[
"0x7378d6355",
"0x7378d6355"
],
[
"0x85a97d611",
"0x8b0873a7c"
],
[
"0x8843999d2",
"0xb4a5faa9f"
],
[
"0x7e941b182",
"0x7e941b182"
],
[
"0x24ef6878",
"0x24ef6878"
],
[
"0x7b3331a9e",
"0x91768fe60"
],
[
"0x6fc23ac00",
"0x71e1260fd"
],
[
"0x8c7cd4455",
"0xacd36b5ad"
],
[
"0x7206d71a3",
"0x7aef40a00"
],
[
"0x293e9f12",
"0x293e9f12"
],
[
"0x6fc23ac00",
"0x7c0b9087b"
],
[
"0xb7e3e3a83",
"0xd5b148a83"
],
[
"0x7c0b9087b",
"0x7e498f300"
],
[
"0x7c0b9087b",
"0x9c7652400"
],
[
"0x1c114fac",
"0x1c114fac"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0xad753de09",
"0xad753de09"
],
[
"0x850572eb8",
"0x9365d4dca"
],
[
"0x7ac7fb8fc",
"0x8d97307b5"
],
[
"0x7e498f300",
"0x8e55d158a"
],
[
"0x9c7652400",
"0xb46aebf26"
],
[
"0x6fc23ac00",
"0x7277cfeed"
],
[
"0x7947addfd",
"0x8a32eaaf0"
],
[
"0x1b6d54f1",
"0x1b6d54f1"
],
[
"0x8810f5cb1",
"0xa23ce6998"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0xaf8cd0a69",
"0x107949dd44"
],
[
"0x771905ef4",
"0x826299e00"
],
[
"0xcd27111",
"0xcd27111"
],
[
"0x771905ef4",
"0x847937090"
],
[
"0x9e168b42c",
"0xaa0b604f0"
],
[
"0x7c08523fd",
"0x8ac23edf4"
],
[
"0x771905ef4",
"0x87677ed44"
],
[
"0x0",
"0x0"
],
[
"0x9c7652400",
"0xa3b5d3dbc"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x7e8c51080",
"0xa03586e40"
],
[
"0x912fac02f",
"0xb49393f2f"
],
[
"0x3c46afd5",
"0x3c46afd5"
],
[
"0x707fc10ef",
"0x73865a3c9"
],
[
"0x1c231c14",
"0x1c231c14"
],
[
"0x8191ee779",
"0x99b814957"
],
[
"0x17fc6874",
"0x17fc6874"
],
[
"0x0",
"0x0"
],
[
"0x6fc23ac00",
"0x8ac23edf4"
],
[
"0x6d86b423a",
"0x6d86b423a"
],
[
"0x0",
"0x0"
],
[
"0x73865a3c9",
"0x73865a3c9"
],
[
"0x6fc23ac00",
"0x73865a3c9"
],
[
"0x71ff4dd29",
"0x86e51b993"
],
[
"0x6fc23ac01",
"0x6fc23ac01"
],
[
"0x938c1b1cc",
"0xad36fea40"
],
[
"0x84c5e68c2",
"0x92590a536"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x75e1f59c4",
"0x9cf7ad471"
],
[
"0x845f93ba0",
"0x90b185771"
],
[
"0x51232496",
"0x51232496"
],
[
"0x9b6fe89ef",
"0xad36fea40"
],
[
"0xacff44d61",
"0xad36fea40"
],
[
"0x6fc23ac00",
"0x7921612b6"
],
[
"0x817ae3989",
"0x9087b1cea"
],
[
"0x10d8f6e7",
"0x10d8f6e7"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x8066f3228"
],
[
"0xf4b653",
"0xf4b653"
],
[
"0x8624e4d55",
"0x95f6ca774"
],
[
"0x8334ee9b8",
"0x96824bffc"
],
[
"0x84d01bab7",
"0xa9aaf528d"
],
[
"0x8dccb0e03",
"0x8ed5c8fce"
],
[
"0x14548a02",
"0x14548a02"
],
[
"0x6e75a0407",
"0x701d6ffe8"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x879577e3e",
"0x8dccb0e03"
],
[
"0x3f84d90a",
"0x3f84d90a"
],
[
"0x89af2c8ee",
"0x9e5bf6d6e"
],
[
"0x737904bac",
"0x8066f3228"
],
[
"0x31dd8cc3",
"0x31dd8cc3"
],
[
"0x6fc23ac00",
"0x83162d8e0"
],
[
"0x826299e00",
"0x9c92e9b7b"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x1083bafc",
"0x1083bafc"
],
[
"0x7002301b8",
"0x7b83ee260"
],
[
"0x9e389cc63",
"0xa15abe85a"
],
[
"0x8ff2b0a1f",
"0xa15ee3f91"
],
[
"0x8ed5d4df8",
"0x9a816ac9d"
],
[
"0x8b29a7dc2",
"0xace035d80"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x75d820e32"
],
[
"0x2f75a3d0",
"0x2f75a3d0"
],
[
"0x7b19dab7c",
"0x8ad3f9161"
],
[
"0x1b192f7f",
"0x1b192f7f"
],
[
"0x901813e53",
"0xafd5d2382"
],
[
"0x97c7864c4",
"0xb14b472f2"
],
[
"0x1b75adc",
"0x1b75adc"
],
[
"0x6fc23ac00",
"0x9f9e89290"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x85a4543ed",
"0x95a26de7d"
],
[
"0x96ee0a4cc",
"0xad274a58c"
],
[
"0xada87b600",
"0xada87b600"
],
[
"0x6fc23ac00",
"0x9c2538789"
],
[
"0x7d9b43c6b",
"0x97faff5ad"
],
[
"0x819e7465b",
"0x94bab4684"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x7774ef375",
"0x792ddffdc"
],
[
"0x6fc23ac00",
"0x780fd3083"
],
[
"0x6fc23ac00",
"0x8b9f966de"
],
[
"0x76834392e",
"0x82981bd14"
],
[
"0x95579b7fd",
"0xa43c7d7e7"
],
[
"0xd8c60b2",
"0xd8c60b2"
],
[
"0x6fc23ac00",
"0x8fc5d06b3"
],
[
"0x9c15e2c81",
"0xab288e190"
],
[
"0x8436ba367",
"0x8436ba367"
],
[
"0x737cc411d",
"0x77687050f"
],
[
"0x85033db1b",
"0x9c91ed05b"
],
[
"0x17b450b7",
"0x17b450b7"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x6fc23ac00",
"0x73df81a3b"
],
[
"0x7c73c3248",
"0x8798f3ae3"
],
[
"0x72f51606d",
"0x73df81a3c"
],
[
"0x6fc23ac00",
"0x6fee07afb"
],
[
"0x7da76f47f",
"0x8c620660f"
],
[
"0x8f36618f1",
"0x9a3494be3"
],
[
"0x84535e8de",
"0xabc6e8c13"
],
[
"0x320a9378",
"0x320a9378"
],
[
"0x9306022c2",
"0xa2c70501b"
],
[
"0x214866ea",
"0x214866ea"
],
[
"0xb17723180",
"0xb17723180"
],
[
"0x72f51606d",
"0x72f51606d"
],
[
"0x1d3911e",
"0x1d3911e"
],
[
"0x718e3c7c9",
"0x93679cab8"
],
[
"0x8ce5b2a68",
"0xa4f2fae02"
],
[
"0x79e26961f",
"0x884d098e9"
],
[
"0x8c449035d",
"0xb40a7a3c5"
],
[
"0x45738a18",
"0x45738a18"
],
[
"0x6fc23ac00",
"0x73df81a3c"
],
[
"0x32b26e19",
"0x32b26e19"
],
[
"0x837690284",
"0x8ab0874a4"
],
[
"0x9dcb29d",
"0x9dcb29d"
],
[
"0x9c7652400",
"0xa2b7cc681"
],
[
"0x2159808f",
"0x2159808f"
],
[
"0x6fc23ac00",
"0x860519e20"
],
[
"0x7c49e19",
"0x7c49e19"
],
[
"0x718e3c7ca",
"0x7db899d00"
],
[
"0x96db934bd",
"0xae56120f8"
],
[
"0x95c234ea6",
"0x981b1484f"
],
[
"0x4c2fb4a1",
"0x4c2fb4a1"
],
[
"0x716d6e786",
"0xaf482179a"
],
[
"0x6fe860600",
"0x922856d7c"
],
[
"0xad784829d",
"0xb0656ebc0"
],
[
"0x80eda87fa",
"0x9365004d2"
],
[
"0x26a14e9f",
"0x26a14e9f"
],
[
"0x6eacff99f",
"0x6fc23ac00"
],
[
"0x26342e22",
"0x26342e22"
],
[
"0x97456f193",
"0xa1daec02a"
],
[
"0x6fc23ac00",
"0x9fc64ed1d"
],
[
"0x32328913",
"0x32328913"
],
[
"0x6fc23ac00",
"0x6fc23ac00"
],
[
"0x73c456ebb",
"0x96166f2fb"
],
[
"0x825b147a0",
"0x9c7652400"
],
[
"0xc45b16d",
"0xc45b16d"
],
[
"0x6fc23ac00",
"0x855a56d5d"
],
[
"0x8010a3015",
"0x96efba3ca"
],
[
"0x6fc23ac00",
"0x90ee9fa00"
],
[
"0x768528a28",
"0x86d63dec0"
],
[
"0x2f7b3f3d",
"0x2f7b3f3d"
],
[
"0x6fc23ac00",
"0x85dd76bd9"
],
[
"0x9c00666",
"0x9c00666"
],
[
"0xa95bf1180",
"0xa95bf1180"
],
[
"0xa91571f68",
"0xa95bf1180"
],
[
"0x6fc23ac00",
"0x8848b767e"
],
[
"0x90725755d",
"0x9c7652400"
],
[
"0xb0d47c9",
"0xb0d47c9"
],
[
"0x6b4bd3edd",
"0x704b3fd54"
],
[
"0x9315fc529",
"0xa42906bd0"
]
],
"baseFeePerGas": [
"0x9730c4af2",
"0xa091e6c82",
"0xa628821fb",
"0xa09c148e3",
"0x9f87c24d5",
"0x9e70a17ce",
"0x9979e0a89",
"0x94c8c92d9",
"0x99c0c1b8f",
"0x969ef668a",
"0x933ef280f",
"0x9b59fd0cb",
"0x98acc81fa",
"0x9a08fd466",
"0x96f272011",
"0x93b07f016",
"0x9af2c2c77",
"0x9ecb0c78d",
"0x99409a293",
"0x95c7a480e",
"0x93e1bf655",
"0x9bea99569",
"0x98e53784a",
"0x9552ebf7d",
"0x953946a46",
"0x94e6ad44b",
"0x99109ef99",
"0x9580e5d15",
"0x91789b9a8",
"0x9544d03f0",
"0x9c4f6b6f1",
"0x96cdeefbb",
"0x93e77cef0",
"0x98bfddac8",
"0x958d1f136",
"0x8e59d63b5",
"0x91e242185",
"0x9713bb339",
"0x9500ec05f",
"0x9af73cc92",
"0x9598c12bb",
"0x96b82f7a9",
"0x9bf396132",
"0x979a5d073",
"0x958611088",
"0x9295ef7a6",
"0x99a4c3fd7",
"0x9a5f99526",
"0x975f22fd2",
"0x973683a39",
"0x946eb81c3",
"0x9ce5dcaf3",
"0x98e753ad8",
"0x98459d186",
"0xa0f314121",
"0x9d4ddf047",
"0x98e477be8",
"0x945cdae9d",
"0x9a19466fe",
"0x9968d0302",
"0x96731f07f",
"0x957d12c52",
"0x91c2b2e05",
"0x9871168d3",
"0x94961b74f",