Skip to content

Detect prediction market intents (1 coinTransfer + predeterminedBalances for badge tokens). Used for both outgoing (sell) and incoming (buy) approvals on…

isPredictionMarketIntentApproval(approval): boolean

Defined in: packages/bitbadgesjs-sdk/src/core/prediction-markets.ts:141

Detect prediction market intents (1 coinTransfer + predeterminedBalances for badge tokens). Used for both outgoing (sell) and incoming (buy) approvals on prediction market collections.

Parameters

approval

iCollectionApproval<bigint>

Returns

boolean

Edit this page on GitHub