Class LightBlockHeaderProof

Proof of membership and position of a light block header.

Implements

Constructors

  • Creates a new LightBlockHeaderProof object.

    Parameters

    • __namedParameters: {
          index: number | bigint;
          proof: string | Uint8Array;
          treedepth: number | bigint;
      }
      • index: number | bigint
      • proof: string | Uint8Array
      • treedepth: number | bigint

    Returns LightBlockHeaderProof

Properties

index: number

The index of the light block header in the vector commitment tree

proof: Uint8Array

The encoded 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