Interface: iUserOutgoingApproval<T>
T extends NumberType
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:62
Extended by
Type Parameters
T
T extends NumberType
Properties
approvalCriteria?
optionalapprovalCriteria?:iOutgoingApprovalCriteria<T>
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:80
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:74
The ID of the approval. Must not be a duplicate of another approval ID in the same timeline.
customData?
optionalcustomData?:string
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:78
Arbitrary custom data of the approval
initiatedByListId
initiatedByListId:
string
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:66
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:72
The ownership times of the tokens being transferred.
tokenIds
tokenIds:
iUintRange<T>[]
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:70
The token IDs to be transferred.
toListId
toListId:
string
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:64
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.
transferTimes
transferTimes:
iUintRange<T>[]
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:68
The times allowed for the transfer transaction.
uri?
optionaluri?:string
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:76
The URI of the approval.
version
version:
T
Defined in: packages/bitbadgesjs-sdk/src/interfaces/types/approvals.ts:82
The version of the approval.