Type alias GetTransactionParameters<TBlockTag>

GetTransactionParameters<TBlockTag>: {
    blockHash: Hash;
    blockNumber?: never;
    blockTag?: never;
    hash?: never;
    index: number;
} | {
    blockHash?: never;
    blockNumber: bigint;
    blockTag?: never;
    hash?: never;
    index: number;
} | {
    blockHash?: never;
    blockNumber?: never;
    blockTag: TBlockTag | BlockTag;
    hash?: never;
    index: number;
} | {
    blockHash?: never;
    blockNumber?: never;
    blockTag?: never;
    hash: Hash;
    index?: number;
}

Type Parameters

Type declaration

  • blockHash: Hash

    The block hash

  • Optional blockNumber?: never
  • Optional blockTag?: never
  • Optional hash?: never
  • index: number

    The index of the transaction on the block.

Type declaration

  • Optional blockHash?: never
  • blockNumber: bigint

    The block number

  • Optional blockTag?: never
  • Optional hash?: never
  • index: number

    The index of the transaction on the block.

Type declaration

  • Optional blockHash?: never
  • Optional blockNumber?: never
  • blockTag: TBlockTag | BlockTag

    The block tag.

  • Optional hash?: never
  • index: number

    The index of the transaction on the block.

Type declaration

  • Optional blockHash?: never
  • Optional blockNumber?: never
  • Optional blockTag?: never
  • hash: Hash

    The hash of the transaction.

  • Optional index?: number

Generated using TypeDoc