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

  • OptionalblockNumber?: never
  • OptionalblockTag?: never
  • Optionalhash?: never
  • index: number

    The index of the transaction on the block.

Type declaration

  • OptionalblockHash?: never
  • blockNumber: bigint

    The block number

  • OptionalblockTag?: never
  • Optionalhash?: never
  • index: number

    The index of the transaction on the block.

Type declaration

  • OptionalblockHash?: never
  • OptionalblockNumber?: never
  • blockTag: TBlockTag | BlockTag

    The block tag.

  • Optionalhash?: never
  • index: number

    The index of the transaction on the block.

Type declaration

  • OptionalblockHash?: never
  • OptionalblockNumber?: never
  • OptionalblockTag?: never
  • hash: Hash

    The hash of the transaction.

  • Optionalindex?: number