Returns the PublicKey that can execute modifying operations on this tree
Returns min(seq, maxBufferSize)
Returns the depth of the on-chain tree-cache. Increasing the canopy depth reduces the size of the proofs that have to be passed for tree instructions.
the size
Returns the slot that this tree was created in. Useful for indexing transactions associated with this tree.
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 the current root hash for this on-chain tree
Returns the number of modifying operations that have been performed on this tree.
Returns the maxBufferSize
for this tree, by reading the account's header
Returns the maxDepth
of this tree, by reading the account's header
Generated using TypeDoc
This class provides all the getter methods to deserialize information associated with an on-chain ConcurrentMerkleTree