Type alias GetBlockParameters<TIncludeTransactions, TBlockTag>

GetBlockParameters<TIncludeTransactions, TBlockTag>: {
    includeTransactions?: TIncludeTransactions;
} & ({
    blockHash?: Hash;
    blockNumber?: never;
    blockTag?: never;
} | {
    blockHash?: never;
    blockNumber?: bigint;
    blockTag?: never;
} | {
    blockHash?: never;
    blockNumber?: never;
    blockTag?: TBlockTag | BlockTag;
})

Type Parameters

  • TIncludeTransactions extends boolean = false

  • TBlockTag extends BlockTag = "latest"

Type declaration

  • Optional includeTransactions?: TIncludeTransactions

    Whether or not to include transaction data in the response.

Generated using TypeDoc