get_wallet_balances
Batch-fetch TRC20 token balances for a wallet across multiple JustLend markets in one RPC call. Returns human-readable balances for all specified tokens at once.
Instructions
Batch-fetch TRC20 token balances for a wallet across multiple JustLend markets in a single RPC call using the Multicall3 walletTokensBalance method. Returns human-readable balances (decimals already applied) for all specified tokens at once. Use this instead of calling get_token_balance repeatedly when you need balances for several tokens.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tokens | No | List of token symbols to check (e.g. ['USDT', 'USDD', 'ETH', 'BTC']). Defaults to all TRC20 underlying tokens across all JustLend markets. | |
| address | No | TRON wallet address. Default: configured wallet | |
| network | No | Network. Default: mainnet |