Skip to content

Find the withdraw approval in a collection. Mirrors findDepositApproval — checks 'withdraw' first, then falls back to 'unback'.

findWithdrawApproval(approvals): iCollectionApproval<bigint> | undefined

Defined in: packages/bitbadgesjs-sdk/src/core/smart-tokens.ts:117

Find the withdraw approval in a collection. Mirrors findDepositApproval — checks 'withdraw' first, then falls back to 'unback'.

Parameters

approvals

readonly iCollectionApproval<bigint>[]

Returns

iCollectionApproval<bigint> | undefined

Edit this page on GitHub