Skip to content

Fallback status when the indexer hasn't enriched collection.standardsInfo.Bounty (preview / freshly-broadcast collections). Returns 'expired' past the…

deriveBountyStatusFallback(expirationMs): BountyStatus

Defined in: packages/bitbadgesjs-sdk/src/core/bounties.ts:201

Fallback status when the indexer hasn't enriched collection.standardsInfo.Bounty (preview / freshly-broadcast collections). Returns 'expired' past the deadline, 'pending' otherwise. Cannot derive 'accepted'/'denied' from FE state alone.

Parameters

expirationMs

bigint

Returns

BountyStatus

Edit this page on GitHub