ConcurrentMerkleTreeHeaderDataArgs: {
    __kind: "V1";
    authority: PublicKey;
    creationSlot: number | bigint;
    maxBufferSize: number;
    maxDepth: number;
    padding: number[];
}

Type declaration

  • __kind: "V1"
  • authority: PublicKey

    Authority that validates the content of the trees. Typically a program, e.g., the Bubblegum contract validates that leaves are valid NFTs.

  • creationSlot: number | bigint

    Slot corresponding to when the Merkle tree was created. Provides a lower-bound on what slot to start (re-)building a tree from.

  • maxBufferSize: number

    Buffer of changelogs stored on-chain. Must be a power of 2; see above table for valid combinations.

  • maxDepth: number

    Depth of the SPL ConcurrentMerkleTree to store. Tree capacity can be calculated as power(2, max_depth). See above table for valid options.

  • padding: number[]

    Needs padding for the account to be 8-byte aligned 8-byte alignment is necessary to zero-copy the SPL ConcurrentMerkleTree

Generated using TypeDoc