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

    Type Alias ValidityProofWithContext

    Validity proof with context.

    You can request proofs via rpc.getValidityProof or rpc.getValidityProofV0.

    type ValidityProofWithContext = {
        compressedProof: ValidityProof | null;
        roots: BN[];
        rootIndices: number[];
        leafIndices: number[];
        leaves: BN[];
        treeInfos: TreeInfo[];
        proveByIndices: boolean[];
    }
    Index

    Properties

    compressedProof: ValidityProof | null

    Validity proof.

    roots: BN[]

    Roots.

    rootIndices: number[]

    Root indices.

    leafIndices: number[]

    Leaf indices.

    leaves: BN[]

    Leaves.

    treeInfos: TreeInfo[]

    Tree infos.

    proveByIndices: boolean[]

    Whether to prove by indices.