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

    Interface iMerkleChallengeWithDetails<T>

    interface iMerkleChallengeWithDetails<T extends NumberType> {
        challengeInfoDetails: iChallengeInfoDetails<T>;
        challengeTrackerId: string;
        customData: string;
        expectedProofLength: T;
        leafSigner: string;
        maxUsesPerLeaf: T;
        root: string;
        uri: string;
        useCreatorAddressAsLeaf: boolean;
    }

    Type Parameters

    Hierarchy (View Summary)

    Implemented by

    Index

    Properties

    challengeInfoDetails: iChallengeInfoDetails<T>
    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.