bitbadgesjs-sdk - v0.22.7
    Preparing search index...

    Class MerkleChallenge<T>

    MerkleChallenge is used to represent a merkle challenge for an approval.

    Type Parameters

    Hierarchy (View Summary)

    Implements

    Index

    Constructors

    Properties

    challengeTrackerId: string

    Tracker ID details for the merkle challenge.

    customData: string

    Arbitrary custom data that can be stored on-chain.

    expectedProofLength: T

    The expected proof length of the merkle proof.

    leafSigner: string

    The signer of the leaf. Currently only supports ETH addresses.

    maxUsesPerLeaf: T

    Whether or not to enforce max uses per leaf. Used to prevent replay attacks.

    root: string

    The root of the merkle tree.

    uri: string

    The URI where to fetch the merkle challenge metadata from.

    useCreatorAddressAsLeaf: boolean

    Whether or not to override any leaf value and use the creator address as the leaf. Used for whitelist trees.

    Methods