Get Aggregated USDT, USDC, And Native Balances For All User Wallets
Returns aggregated USDT, USDC, and native balances (TRX/ETH) per wallet for the user.
Custodial wallets provisioned by POST /wallets or POST /wallets/for-owner include USDT and USDC ledger rows on the wallet network. This summary endpoint now exposes both stablecoins through total_usdt, total_usdc, usdt_balance, and usdc_balance.
Supports network filtering and optional force refresh from blockchain.
Balance Sources:
- By default, it returns cached balances from database
- If
refresh=true, it fetches directly from blockchain - If balance is not in the DB, it automatically fetches from blockchain as fallback
Network Filtering:
- Use
networksparameter to filter by specific blockchain networks - Supports:
tron,ethereum, ortron,ethereum - If omitted, returns balances for all networks
Response Fields:
total_usdt: Sum of all USDT balances across all walletstotal_usdc: Sum of all USDC balances across all walletsbalances[]: Per-wallet USDT, USDC, and native (TRX/ETH) amountsis_cached: Indicates if balance came from DB cache or blockchainlast_synced: Timestamp when balance was last updated in DB
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
User ID to fetch balances for
Query Parameters
Comma-separated list of networks to filter by (tron, ethereum). If omitted, returns all networks.
Force refresh from blockchain. If true, fetches directly from blockchain instead of using DB cache.
true, false Include pending transactions (reserved for future use)
true, false Response
Balances retrieved successfully
User ID
"5c81c005-1c52-4e0d-85e2-862ee1cdd4d0"
Aggregated USDT balance across all wallets
"977.00000000"
Aggregated USDC balance across all wallets
"125.50000000"
Array of wallet balances
Timestamp when this response was generated
"2026-01-16T09:20:58Z"