Class TransactionProofResponse

Proof of transaction in a block.

Implements

Constructors

  • Creates a new TransactionProofResponse object.

    Parameters

    • __namedParameters: {
          hashtype?: string;
          idx: number | bigint;
          proof: string | Uint8Array;
          stibhash: string | Uint8Array;
          treedepth: number | bigint;
      }
      • Optional hashtype?: string
      • idx: number | bigint
      • proof: string | Uint8Array
      • stibhash: string | Uint8Array
      • treedepth: number | bigint

    Returns TransactionProofResponse

Properties

hashtype?: string

The type of hash function used to create the proof, must be one of:

  • sha512_256
  • sha256
idx: number

Index of the transaction in the block's payset.

proof: Uint8Array

Proof of transaction membership.

stibhash: Uint8Array

Hash of SignedTxnInBlock for verifying proof.

treedepth: number

Represents the depth of the tree that is being proven, i.e. the number of edges from a leaf to the root.

encodingSchemaValue: undefined | Schema

Accessors

Methods

Generated using TypeDoc