GetFeeHistoryParameters: {
    blockCount: number;
    rewardPercentiles: number[];
} & ({
    blockNumber?: never;
    blockTag?: BlockTag;
} | {
    blockNumber?: bigint;
    blockTag?: never;
})

Type declaration

  • blockCount: number

    Number of blocks in the requested range. Between 1 and 1024 blocks can be requested in a single query. Less than requested may be returned if not all blocks are available.

  • rewardPercentiles: number[]

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

Generated using TypeDoc