Skip to content

T extends NumberType

Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:11

Extended by

Type Parameters

T

T extends NumberType

Properties

address

address: string

Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:13

The user's address


bitbadgesAddress

bitbadgesAddress: string

Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:22

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).


chain

chain: SupportedChain

Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:15

The chain of the address


ownershipRequirements?

optional ownershipRequirements?: AssetConditionGroup<T>

Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:17

The ownership requirements for the user


verificationResponse?

optional verificationResponse?: object

Defined in: packages/bitbadgesjs-sdk/src/core/blockin.ts:27

Verification response

errorMessage?

optional errorMessage?: string

Returns the response message returned from verification.

success

success: boolean

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

Edit this page on GitHub