Skip to content

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

derivePaymentRequestStatusFallback(expirationMs): PaymentRequestStatus

Defined in: packages/bitbadgesjs-sdk/src/core/payment-requests.ts:191

Fallback status when the indexer hasn't enriched collection.standardsInfo.PaymentRequest (preview / freshly-broadcast collections). Returns 'expired' past the deadline, 'pending' otherwise — we don't try to derive 'paid'/'denied' from trackers here; that's the indexer's job.

Parameters

expirationMs

bigint

Returns

PaymentRequestStatus

Edit this page on GitHub