Skip to main content

Opt in explicitly

Indexing is off by default. Enable it for history, discovery, and prices. Chain operations and Lightning encryption/attestations work independently.
false/omitted: off. true/{}: hosted service for the selected network. { url }: your compatible service. When off, widgets hide history/discovery and retain configured tokens and chain balances. History/assets hooks do not auto-fetch; direct calls and manual refetches raise INDEXER_NOT_CONFIGURED. Custom UI can check Boolean(useCToken().context.indexerUrl).

Three HTTP-backed methods

An explicit address allows history/assets without a wallet. Missing prices remain absent, never zero.

Asset

Indexed holdings do not prove a spendable balance. Read and decrypt chain state for exact amounts.

Tx and TxPage

Transfers expose handles with null amounts; flows expose base-unit amount strings. History excludes zero-address confidential mint/burn legs and public burn rows, ordered by descending block/log index.

Prices

Display the stale flag. Missing quotes are unknown. Keys are lowercase underlying addresses; testnet assets may use mainnet price references.

Build a compatible indexer

Implement the three SDK routes with the exact schemas and pagination rules.