Function: selectSmartTokenApproval()
Resolves one action without selecting any approval for the opposite action.
selectSmartTokenApproval(
collection,direction,approvalId?):iCollectionApproval<bigint> |undefined
Defined in: packages/bitbadgesjs-sdk/src/core/smart-tokens.ts:243
Resolves one action without selecting any approval for the opposite action.
Parameters
collection
Readonly<iCollectionDoc<bigint>>
direction
"deposit" | "withdraw"
approvalId?
string
Returns
iCollectionApproval<bigint> | undefined