Returns aggregated USDT and native balances (TRX/ETH) for all wallets belonging to a user. Supports network filtering and optional force refresh from blockchain.
Balance Sources:
refresh=true, it fetches directly from blockchainNetwork Filtering:
networks parameter to filter by specific blockchain networkstron, ethereum, or tron,ethereumResponse Fields:
total_usdt: Sum of all USDT balances across all walletsbalances[]: Array of wallet balances with USDT and native currencyis_cached: Indicates if balance came from DB cache or blockchainlast_synced: Timestamp when balance was last updated in DBBearer authentication header of the form Bearer <token>, where <token> is your auth token.
User ID to fetch balances for
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 Balances retrieved successfully