Skip to content

Select a wrapping/unwrapping approval explicitly, or automatically when unambiguous.

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

Defined in: packages/bitbadgesjs-sdk/src/core/ibc-tokens.ts:236

Select a wrapping/unwrapping approval explicitly, or automatically when unambiguous.

Parameters

collection

Readonly<iCollectionDoc<bigint>>

direction

"wrap" | "unwrap"

approvalId?

string

Returns

iCollectionApproval<bigint> | undefined

Edit this page on GitHub