Skip to main content
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.
Amounts are raw base-unit strings. Use 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

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

Set network scope

When networks 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, and ContractVerificationStatus. History queries can filter by contract addresses, transaction hashes, OMS meta-transaction IDs, block range, and token ID.
Empty filter arrays are omitted from the request.

Paginate

Requests default to page 0 with page size 40. Supply TokenBalancesPageRequest when your UI needs another page or cursor.
Apply the same page request to transaction history when that result set needs pagination.