Skip to content

selectVaultApproval() function in the BitBadges TypeScript SDK (bitbadges on npm): signature, properties, methods, and usage.

selectVaultApproval(collection, direction, approvalId?): iCollectionApproval<bigint> | undefined

Defined in: packages/bitbadgesjs-sdk/src/core/vaults.ts:127

Parameters

collection

Readonly<iCollectionDoc<bigint>>

direction

"deposit" | "withdraw"

approvalId?

string

Returns

iCollectionApproval<bigint> | undefined

Edit this page on GitHub