⚡ Access Enhanced: 200 RPS Now Available for Customers of Shared Nodes with Access Tokens

Last updated on January 1, 1970

41 min read

Method eth_feeHistory Gnosis Chain (GNO)
connect with JSON-RPC protocol

eth_feeHistory

info-circle-fill

Returns a list of historical gas information.

Parameters

DATA, 8 Bytes - None

Number of blocks in the requested range.

DATA, 32 Bytes - None

Number of newest block in the requested range.

DATA, 32 Bytes - None

Optional monotonically increasing list of percentile values to sample from each block's effective priority fees per gas in ascending order, weighted by gas used.

Request

curl --location --request POST 'https://gno.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "eth_feeHistory",
"params": [61, "latest", [20, 60, 73]],
"id": "getblock.io"}'

Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": {
        "baseFeePerGas": [
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7",
            "0x7"
        ],
        "gasUsedRatio": [
            0.053788466666666666,
            0.08166486666666667,
            0.05451123333333333,
            0.10999503333333334,
            0.0303604,
            0.006430333333333333,
            0.021788566666666665,
            0.011029,
            0.013724166666666667,
            0.006365033333333333,
            0.0141165,
            0.0023321,
            0.010695366666666666,
            0.005030733333333333,
            0.015694133333333332,
            0.027380537094472752,
            0.0031844029721094405,
            0.023060266666666666,
            0.0256868,
            0.03392526666666667,
            0.056260333333333336,
            0.025708433333333332,
            0.02354729393252511,
            0.06752377029502643,
            0.015994448261485043,
            0.017430082934744073,
            0.010754666666666666,
            0.033157566666666666,
            0.0107094,
            0.027377801089430494,
            0.0007013691192787735,
            0.029255095881053867,
            0.004956476083971226,
            0.02725985179371841,
            0.0171327,
            0.011264966666666666,
            0.0007,
            0.042035366666666664,
            0.022929466666666665,
            0.0474624,
            0.0253157,
            0.004199066666666667,
            0.03305386666666667,
            0.018027,
            0.017104033333333334,
            0.04210376666666667,
            0.011029,
            0.040024166666666666,
            0.013013166666666666,
            0.024021466666666668,
            0.013958933333333333,
            0.018005266666666665,
            0.012150866666666666,
            0.0231534,
            0.0341824,
            0.0216303,
            0.010984733333333333,
            0.007635433333333334,
            0.018351866666666668,
            0.0007,
            0.016793166666666668
        ],
        "oldestBlock": "0x1ae7f9d",
        "reward": [
            [
                "0x3b9aca00",
                "0x3b9aca00",
                "0xab84f697"
            ],
            [
                "0x3b9aca00",
                "0x867c4f5e",
                "0x8aa5141f"
            ],
            [
                "0x3b9aca00",
                "0x3b9aca00",
                "0x86949c1a"
            ],
            [
                "0x3b9aca00",
                "0x3b9aca00",
                "0x59682f00"
            ],
            [
                "0x86949c1a",
                "0x8aa5141f",
                "0x8abe2788"
            ],
            [
                "0x828b080e",
                "0xab84f697",
                "0xab84f697"
            ],
            [
                "0x59682f00",
                "0xa5253d6e",
                "0xa67dc90b"
            ],
            [
                "0x59682f00",
                "0x59682f00",
                "0x59682f00"
            ],
            [
                "0x59682f00",
                "0x59682f00",
                "0x59682f00"
            ],
            [
                "0xa67dc90b",
                "0xa67dc90b",
                "0xa67dc90b"
            ],
            [
                "0x933fd84e",
                "0xa67dc90b",
                "0xa67dc90b"
            ],
            [
                "0x8abe2788",
                "0x933fd84e",
                "0x933fd84e"
            ],
            [
                "0xa67dc90b",
                "0xa67dc90b",
                "0xa67dc90b"
            ],
            [
                "0xa67dc90b",
                "0xa67dc90b",
                "0xa67dc90b"
            ],
            [
                "0xa67dc90b",
                "0xb2d05df9",
                "0xb2d05df9"
            ],
            [
                "0x3b9aca00",
                "0xa67dc90b",
                "0xa67dc90b"
            ],
            [
                "0x8ed4f837",
                "0x8eeecd7d",
                "0x8eeecd7d"
            ],
            [
                "0x8abe2788",
                "0xab84f697",
                "0xab84f697"
            ],
            [
                "0x8eeecd7d",
                "0x9d39e20a",
                "0xa67dc90b"
            ],
            [
                "0xa17f21bb",
                "0xa17f21bb",
                "0xa17f21bb"
            ],
            [
                "0xa17f21bb",
                "0xa17f21bb",
                "0xa17f21bb"
            ],
            [
                "0x8a8c053f",
                "0xa1a5d5f9",
                "0xa1a5d5f9"
            ],
            [
                "0x8a8c053f",
                "0x8eeecd7d",
                "0x8eeecd7d"
            ],
            [
                "0x8eeecd7d",
                "0x8eeecd7d",
                "0xb0b30392"
            ],
            [
                "0x8a8c053f",
                "0x8a8c053f",
                "0xb0b30392"
            ],
            [
                "0x865b5ac2",
                "0xb0b30392",
                "0xb0b30392"
            ],
            [
                "0x8a8c0b56",
                "0x8a8c0b56",
                "0xb0b30392"
            ],
            [
                "0x9b726a93",
                "0xc1cbc215",
                "0xc1cbc215"
            ],
            [
                "0x8663fad9",
                "0x8663fad9",
                "0x8663fad9"
            ],
            [
                "0x8663fad9",
                "0xc1cbc215",
                "0xc1cbc215"
            ],
            [
                "0xa17f21bb",
                "0xa17f21bb",
                "0xa17f21bb"
            ],
            [
                "0x866400c1",
                "0xc1cbc215",
                "0xc1cbc215"
            ],
            [
                "0xd666343b",
                "0xd666343b",
                "0xd666343b"
            ],
            [
                "0x866400c1",
                "0xc1cbc215",
                "0xc1cbc215"
            ],
            [
                "0x825be202",
                "0x825be202",
                "0x825be202"
            ],
            [
                "0xc1cbc215",
                "0xc1cbc215",
                "0xc1cbc215"
            ],
            [
                "0xb2d05df9",
                "0xb2d05df9",
                "0xb2d05df9"
            ],
            [
                "0x825be202",
                "0x825be202",
                "0xa17f21bb"
            ],
            [
                "0x825be202",
                "0xba894cb1",
                "0xc1cbc215"
            ],
            [
                "0x825be202",
                "0x8abe2788",
                "0x8abe2788"
            ],
            [
                "0xa517f05c",
                "0xa517f05c",
                "0xb2d05df9"
            ],
            [
                "0x12a05f1f9",
                "0x12a05f1f9",
                "0x12a05f1f9"
            ],
            [
                "0x7e72b9f2",
                "0xb2d05df9",
                "0xc1cbc215"
            ],
            [
                "0x7e72b9f2",
                "0xb2d05df9",
                "0xb2d05df9"
            ],
            [
                "0x7e72b9f2",
                "0xc1cbc215",
                "0xc1cbc215"
            ],
            [
                "0x7e72b9f2",
                "0xa6b0932e",
                "0xa6b0932e"
            ],
            [
                "0x7aa79ac4",
                "0x7aa79ac4",
                "0x7aa79ac4"
            ],
            [
                "0x7aa79ac4",
                "0x933fd84e",
                "0x933fd84e"
            ],
            [
                "0x7aa79ac4",
                "0x7aa79ac4",
                "0x7aa79ac4"
            ],
            [
                "0x7aa79ac4",
                "0x7aa79ac4",
                "0x7aa79ac4"
            ],
            [
                "0x7aa79ac4",
                "0x7aa79ac4",
                "0xa17f21bb"
            ],
            [
                "0x8eeecd7d",
                "0x9d355bd8",
                "0xc1cbc215"
            ],
            [
                "0x76f99dcd",
                "0x76f99dcd",
                "0x76f99dcd"
            ],
            [
                "0x76f99dcd",
                "0xa17f21bb",
                "0xa17f21bb"
            ],
            [
                "0x76f99dcd",
                "0xa17f21bb",
                "0xa17f21bb"
            ],
            [
                "0x76f99dcd",
                "0xb2d05e00",
                "0xb2d05e00"
            ],
            [
                "0x8eeecd7d",
                "0x8eeecd7d",
                "0x8eeecd7d"
            ],
            [
                "0xbca66e37",
                "0xbca66e37",
                "0xbca66e37"
            ],
            [
                "0x76f99dcd",
                "0xa6b0932e",
                "0xa6b0932e"
            ],
            [
                "0xb2d05df9",
                "0xb2d05df9",
                "0xb2d05df9"
            ],
            [
                "0xc1cbc215",
                "0x12a05f1f9",
                "0x12a05f1f9"
            ]
        ]
    }
}