Interface iSiwbbChallenge<T>

interface iSiwbbChallenge<T extends NumberType> {
    address: string;
    attestations?: iAttestationsProof<T>[];
    bitbadgesAddress: string;
    chain: SupportedChain;
    ownershipRequirements?: AssetConditionGroup<T>;
    verificationResponse?: { errorMessage?: string; success: boolean };
}

Type Parameters

Hierarchy (View Summary, Expand)

Implemented by

Properties

address: string

The user's address

attestations?: iAttestationsProof<T>[]

Derived data integrity proofs for any attestations requested.

bitbadgesAddress: string

The converted BitBadges address of params.address. This can be used as the unique identifier for the user (e.g. avoid duplicate sign ins from equivalent 0x and bb1 addresses).

The chain of the address

ownershipRequirements?: AssetConditionGroup<T>

The ownership requirements for the user

verificationResponse?: { errorMessage?: string; success: boolean }

Verification response

Type declaration

  • OptionalerrorMessage?: string

    Returns the response message returned from verification.

  • success: boolean

    Returns whether the current (message, signature) pair is valid and verified (i.e. signature is valid and any assets are owned).

MMNEPVFCICPMFPCPTTAAATR