Type alias BlockIdentifier<TQuantity>

BlockIdentifier<TQuantity>: {
    requireCanonical?: boolean;
} & ({
    blockNumber: BlockNumber<TQuantity>;
} | {
    blockHash: Hash;
})

Type Parameters

  • TQuantity = bigint

Type declaration

  • Optional requireCanonical?: boolean

    Whether or not to throw an error if the block is not in the canonical chain as described below. Only allowed in conjunction with the blockHash tag. Defaults to false.

Generated using TypeDoc