Batch Get Wallet Assets
Returns the stored balances of your organization’s wallets: the wallets you name in walletIds, up to 1,000 a call, or without walletIds every active wallet, page by page.
Items. An item carries the wallet’s walletId, network and assets, in the order of walletIds, or oldest wallet first without it. Wallets that belong to a vault are included. An id is left out when no wallet of your organization has it, when the wallet is archived, or when the wallet was created in the last few seconds, so match items by walletId, never by position.
Assets. By default a wallet returns its native asset and its verified tokens with a nonzero balance; assets: 'native' returns the native asset only, and assets: 'all' the native asset and every token with a nonzero balance, verified or not. Unverified tokens include imitations of real ones, such as a USDC on another contract, so tell tokens apart by network and tid, never by symbol; the balance of a confidential token can be its encrypted value rather than a number. tokens returns only the listed tokens instead, verified or not, zero balances included. Each asset carries its tid and the blockNumber of the last change Dfns recorded to its balance.
How current. On networks Dfns indexes, Dfns records every balance change as it processes the chain, so a balance is current up to the delay of that processing, even when its blockNumber is old: it is the block of the last change, not of the last check. On networks Dfns does not index, the stored native balance changes only when Get Wallet Assets reads the wallet, which refreshes it from the chain.
Pages. A page returns at most 25,000 assets, and without walletIds at most 1,000 wallets, and never splits a wallet. When more wallets remain, the response carries a nextPageToken: send it as paginationToken, with the rest of the request unchanged, to get the next wallets. A tokens read of named wallets fits one page. A single wallet holding more than 25,000 assets fails with a 422; read its tokens with tokens.
Totals. includeTotals adds totals, the assets of the page summed per network and token, in base units.
Requires the Wallets:Read permission. Not available to end users of delegated wallets, because it reads wallets across the organization.
Authentication
✅ Tenant User (TenantUser)✅ Organization User (
CustomerEmployee)❌ End User (
EndUser)✅ Service Account
Required Permissions
Wallets:Read: Always required.Authorizations
Bearer Token: Used to authenticate API requests. More details how to generate the token: Authentication flows
Body
The wallets to read, up to 1,000, returned in this order across pages. Without walletIds, the call reads every active wallet of your organization, oldest first, page by page.
1 - 1000 elementsWallet id.
1 - 64^wa-[a-z0-9]{5}-[a-z0-9]{5}-[a-z0-9]{14,16}$Which assets each wallet returns: 'verified', the default, returns the native asset and the verified tokens with a nonzero balance; 'native' returns the native asset only; 'all' returns the native asset and every token with a nonzero balance, verified or not. Cannot be combined with tokens.
native, verified, all Returns only these tokens, up to 100, verified or not, zero balances included. A token the wallet never held is absent. With walletIds, the number of walletIds times the number of tokens is at most 25,000, such as 1,000 wallets and 25 tokens, or 250 wallets and 100 tokens; without, each page holds as many wallets as keep that product within 25,000. Write each tid as Dfns returns it: a Solana mint of the Token-2022 program is spl2022:, the kind Get Wallet Assets returns as Spl2022. Cannot be combined with assets.
1 - 100 elementsResponse
Success
Present when includeTotals is set: one entry per network and token, over the assets of this page. An asset whose balance is not a whole number of base units, such as a confidential token, is left out.
- Native assets
- Aptos Fungible Assets (AIP-21)
- Algorand Standard Assets (ASAs)
- Concordium CIS-2 tokens
- EVM ERC-20/Starknet SNIP-2/TRON TRC-20 tokens
- EVM ERC-7984 confidential tokens
- Hedera tokens (HTS)
- XRP Ledger IOU tokens
- Canton CIP-56 tokens
- Sui/IOTA Coin assets
- XRP Ledger MPL (XLS-33) tokens
- Polymesh/Cardano assets
- Concordium PLTs ( CIS-7 tokens)
- Stellar SEP-41 tokens
- TRON TRC-10 tokens
- Solana SPL/SPL2022 tokens
- TON TEP-74 Jetton