Skip to content

T extends NumberType

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:328

Extended by

Type Parameters

T

T extends NumberType

Properties

approvalCriteria?

optional approvalCriteria?: iApprovalCriteria<T>

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:348

The criteria to be met. These represent the restrictions that must be obeyed such as the total amount approved, max num transfers, merkle challenges, must own tokens, etc.


approvalId

approvalId: string

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:342

The ID of the approval. Must not be a duplicate of another approval ID in the same timeline.


customData?

optional customData?: string

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:346

Arbitrary custom data of the approval


fromListId

fromListId: string

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:332

The list ID for the user(s) who is sending the tokens. The ID is either registered on-chain for reusability or follows the reserved ID system.


initiatedByListId

initiatedByListId: string

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:334

The list ID for the user(s) who initiate the transfer. The ID is either registered on-chain for reusability or follows the reserved ID system.


ownershipTimes

ownershipTimes: iUintRange<T>[]

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:340

The ownership times of the tokens being transferred.


tokenIds

tokenIds: iUintRange<T>[]

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:338

The token IDs to be transferred.


toListId

toListId: string

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:330

The list ID for the user(s) who is receiving the tokens. The ID is either registered on-chain for reusability or follows the reserved ID system.


transferTimes

transferTimes: iUintRange<T>[]

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:336

The times allowed for the transfer transaction.


uri?

optional uri?: string

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:344

The URI of the approval.


version

version: T

Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:350

The version of the approval.0

Edit this page on GitHub