Interface: StandardInfoCtx
Pre-fetched context passed to each standard's info builder. The indexer populates this before calling builders; SDK callers can pass {} to skip extra-fetch…
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/info-builders.ts:10
Pre-fetched context passed to each standard's info builder. The indexer
populates this before calling builders; SDK callers can pass {} to skip
extra-fetch sections (those builders will return null or partial data).
Properties
nowMs?
optionalnowMs?:bigint
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/info-builders.ts:18
Optional override for "now" in ms — used by tests. Defaults to Date.now() at builder time.
predictionState?
optionalpredictionState?:unknown
Defined in: packages/bitbadgesjs-sdk/src/api-indexer/info-builders.ts:16
Optional pre-fetched prediction market state (used by Prediction Market). Indexer fills with the typed shape; SDK interface stays loose to avoid a circular dep with the indexer-side state model.