Interface iClaimDetails<T>

interface iClaimDetails<T> {
    _includesPrivateParams: boolean;
    approach?: string;
    assignMethod?: string;
    balancesToSet?: iPredeterminedBalances<T>;
    categories?: string[];
    claimId: string;
    collectionId?: T;
    createdBy?: string;
    estimatedCost?: string;
    estimatedTime?: string;
    lastUpdated?: T;
    listId?: string;
    manualDistribution?: boolean;
    metadata?: iMetadata<T>;
    plugins: IntegrationPluginDetails<string>[];
    rewards?: iClaimReward<T>[];
    satisfyMethod?: iSatisfyMethod;
    seedCode?: string;
    showInSearchResults?: boolean;
    siwbbClaim?: boolean;
    trackerDetails?: iChallengeTrackerIdDetails<T>;
    version: T;
}

Type Parameters

Implemented by

Properties

_includesPrivateParams: boolean

Whether the claim fetch includes private params

approach?: string

Whether the claim is expected to be automatically triggered by someone (not the user).

assignMethod?: string

Algorithm to determine the claim number order. Blank is just incrementing claim numbers.

balancesToSet?: iPredeterminedBalances<T>

The balances to set for the claim. Only used for claims for collections that have off-chain indexed balances and are assigning balances based on the claim.

categories?: string[]

The categories of the claim

claimId: string

Unique claim ID.

collectionId?: T

Collection ID that the claim is for (if applicable).

createdBy?: string

The original creator of the claim

estimatedCost?: string

Estimated cost for the claim.

estimatedTime?: string

Estimated time to satisfy the claim's requirements.

lastUpdated?: T

Last updated timestamp for the claim.

listId?: string

Address list ID that the claim is for (if applicable).

manualDistribution?: boolean

If manual distribution is enabled, we do not handle any distribution of claim codes. We leave that up to the claim creator.

metadata?: iMetadata<T>

Metadata for the claim.

plugins: IntegrationPluginDetails<string>[]

Claim plugins. These are the criteria that must pass for a user to claim the badge.

rewards?: iClaimReward<T>[]

Rewards for the claim.

satisfyMethod?: iSatisfyMethod

Custom satisfaction logic

seedCode?: string

Seed code for the claim.

showInSearchResults?: boolean

If true, the claim will be shown in search results

siwbbClaim?: boolean

Is intended to be used for Sign In with BitBadges.

trackerDetails?: iChallengeTrackerIdDetails<T>

The tracker details for the claim.

version: T

The version of the claim.