omsWallet.indexer is read-only. It accepts any wallet address and does not require authentication or an active wallet session.
Query balances
Choose explicit SDK networks for predictable scope.try formatUnits(value: balance.balance, decimals: decimals) with the token’s actual decimals for display. result.nativeBalances is [NativeTokenBalance]; result.balances is [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.
includeMetadata defaults to true. Set it to false when you only need balance data.
Query transaction history
Set network scope
Whennetworks is nonempty, the SDK sends those chain IDs and ignores networkType. When networks is omitted or empty, networkType defaults to .mainnets.
Use .testnets or .all when you want a registry-wide group instead of explicit networks.
Filter results
Balance queries can filter by contract addresses, token IDs, andContractVerificationStatus. History queries can filter by contract addresses, transaction hashes, OMS meta-transaction IDs, block range, and token ID.
Paginate
Requests default to page0 with page size 40. Supply TokenBalancesPageRequest when your UI needs another page or cursor.