Skip to main content
omsWallet.indexer is read-only and can query any address. It does not require authentication, an active wallet session, or the address selected by omsWallet.wallet.

Get balances for an address

Pass the address to query and one or more exported networks:
Amounts such as balance are raw base-unit strings. Use formatUnits(balance.balance, decimals) with the token’s actual decimals for display. BalancesResult separates native assets into NativeTokenBalance[] and contract assets into ContractTokenBalance[]. Contract balances include their contract address and token ID. Price, contract, and token metadata is optional even when requested. Use the public API reference when you need every response field.

Get transaction history

Each transaction includes its chain, hash, block position, timestamp, and transfers. The OMS transaction ID and transfer metadata are optional.

Filter queries

Use networks for explicit chains. When you omit it, use networkType to query 'MAINNETS', 'TESTNETS', or 'ALL' supported networks. Balance filters include contract addresses, token IDs, verification status, metadata inclusion, and price omission:
History filters include contract addresses, transaction hashes, wallet transaction IDs, block range, token ID, and metadata options:

Paginate results

Both methods accept a page request:
Continue with the next page while result.page?.more is true.