@lightprotocol/stateless.js - v0.22.1-alpha.1
    Preparing search index...

    Type Alias MerkleContext

    Context for compressed account stored in a state tree

    type MerkleContext = {
        treeInfo: TreeInfo;
        hash: BN;
        leafIndex: number;
        proveByIndex: boolean;
    }
    Index

    Properties

    treeInfo: TreeInfo

    Tree info

    hash: BN

    Poseidon hash of the account. Stored as leaf in state tree

    leafIndex: number

    Position of hash in the State tree

    proveByIndex: boolean

    Whether the account can be proven by index or by merkle proof