Options
All
  • Public
  • Public/Protected
  • All
Menu

This class provides all the getter methods to deserialize information associated with an on-chain ConcurrentMerkleTree

Hierarchy

  • ConcurrentMerkleTreeAccount

Index

Constructors

Properties

canopy: Canopy

Methods

  • getAuthority(): PublicKey
  • getBufferSize(): number
  • getCanopyDepth(): number
  • getCreationSlot(): BN
  • getCurrentBufferIndex(): number
  • Returns the index to the spot in the on-chain buffer that stores the current root and last changelog.

    Should always be this.getCurrentSeq() % this.getMaxBufferSize()

    Returns number

  • getCurrentRoot(): Buffer
  • getCurrentSeq(): BN
  • getMaxBufferSize(): number
  • getMaxDepth(): number
  • fromAccountAddress(connection: Connection, publicKey: PublicKey, commitmentOrConfig?: Commitment | GetAccountInfoConfig): Promise<ConcurrentMerkleTreeAccount>

Generated using TypeDoc