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

    Interface iGetClaimsPayload

    interface iGetClaimsPayload {
        claimIds: string[];
        fetchAllClaimedUsers?: boolean;
        fetchPrivateParams?: boolean;
        privateStatesToFetch?: { claimId: string; instanceId: string }[];
    }
    Index

    Properties

    claimIds: string[]

    The claim IDs to fetch.

    fetchAllClaimedUsers?: boolean

    Fetch all claimed users for the claim. If true, you will be able to find all { [bitbadgesAddress]: [...zeroIndexedClaimNumbers] } on the numUses plugin's publicState.

    fetchPrivateParams?: boolean

    Fetch private parameters for the claim. Only applicable if you are the creator / manager of the claim.

    privateStatesToFetch?: { claimId: string; instanceId: string }[]

    Which private state instance IDs to fetch. claimId and instanceId are required and must match a claimId in claimIds and the claim must have the corresponding instanceId.