Skip to main content

Overview

IndexerClient provides reverse lookups from passkey credentials and Stellar addresses to smart account contracts. It’s used internally by kit.rules.list(), kit.multiSigners.getAvailableSigners(), and contract discovery methods.
The SDK auto-configures an indexer for testnet and mainnet:

Direct Usage

IndexerClient.forNetwork()

Create a client pre-configured for a known Stellar network:

Custom URL

Methods

lookupByCredentialId()

Find contracts associated with a WebAuthn credential ID.

lookupByAddress()

Find contracts associated with a Stellar G/C-address.

getContractDetails()

Fetch full details for a smart account contract including context rules, signers, and policies.

isHealthy()

Check if the indexer is reachable and healthy.

getStats()

Fetch indexer stats (indexed contracts, latest ledger, etc.).

Types