• Creates a Merkle Proof for a given data item.

    This proof can be used to verify that the given data item is part of the original data set.

    Parameters

    • leaves: PublicKey<string>[]
    • maxDepth: number
    • leaf: PublicKey<string>
    • Optional index: number

    Returns PublicKey<string>[]

Generated using TypeDoc