get_portfolio_summary
Aggregate multi-chain portfolio value across EVM chains, TRON, Solana, Bitcoin, and Litecoin. Returns total USD with breakdowns by chain, protocol, and category for one or multiple wallets.
Instructions
One-shot cross-chain portfolio aggregation for one or more wallets. Fans out across Ethereum/Arbitrum/Polygon/Base/Optimism (unless chains narrows it) and assembles: native ETH/MATIC balances, top ERC-20 holdings, Aave V3 and Compound V3 lending positions, Uniswap V3 LP positions, and Lido/EigenLayer staking — each valued in USD via DefiLlama. Pass tronAddress (base58, prefix T) alongside a single wallet to fold TRX + TRC-20 balances plus TRON staking into the same totals; breakdown.tron holds the TRON slice, tronUsd the subtotal, and tronStakingUsd the staking portion. Pass solanaAddress (base58, 43-44 chars) to fold SOL + SPL token balances into the totals; breakdown.solana holds the Solana slice and solanaUsd the subtotal (Solana staking lands in a follow-up phase). Returns a totalUsd, a breakdown by category and by chain, and the raw per-protocol position arrays. Default tool for 'what's in my portfolio?' / 'total value' questions; prefer it over calling each per-protocol reader separately.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wallet | No | Single wallet address. Provide this OR `wallets` (not both). Use `wallets` for multi-wallet aggregated reports. | |
| wallets | No | Multiple wallet addresses to aggregate into one combined portfolio view. Mutually exclusive with `wallet`. | |
| chains | No | Subset of supported chains to scan (ethereum, arbitrum, polygon, base). Omit to scan all supported chains. | |
| tronAddress | No | Single TRON mainnet address. With a single `wallet`: TRX + TRC-20 + TRON staking are folded into the same per-wallet totals (`breakdown.tron`, `tronUsd`, `tronStakingUsd`). With multi-wallet `wallets[]`: surfaced as a parallel sibling slice on the response — see `nonEvm.tron` (issue #201). Mutually exclusive with `tronAddresses`. | |
| tronAddresses | No | Multiple TRON addresses (Ledger account 0, 1, 2, …). Each is fetched in parallel; the per-address slices are surfaced in `nonEvm.tron[]` with rolled-up `tronUsd` / `tronStakingUsd` totals. 1-10 entries. Mutually exclusive with `tronAddress`. | |
| solanaAddress | No | Single Solana mainnet address (base58, 43-44 chars). With a single `wallet`: SOL + SPL + MarginFi + Kamino + Solana staking are folded into per-wallet totals. With multi-wallet `wallets[]`: surfaced as a parallel sibling slice (`nonEvm.solana`, issue #201). Mutually exclusive with `solanaAddresses`. Requires `SOLANA_RPC_URL` or `solanaRpcUrl` user config. | |
| solanaAddresses | No | Multiple Solana mainnet addresses. Each gets its own balances + MarginFi + Kamino + staking subreaders fanned out in parallel. Per-address slices in `nonEvm.solana[]` with rolled-up USD totals. 1-5 entries (Solana subreaders are RPC-heavy — keep this lean). Mutually exclusive with `solanaAddress`. | |
| bitcoinAddress | No | Single Bitcoin mainnet address. With a single `wallet`: BTC balance × USD price is folded into per-wallet totals (`breakdown.bitcoin`, `bitcoinUsd`). With multi-wallet `wallets[]`: surfaced in `nonEvm.bitcoin` (issue #201). Mutually exclusive with `bitcoinAddresses`. | |
| bitcoinAddresses | No | Multiple Bitcoin addresses (e.g. legacy + segwit + taproot for the same Ledger account, or several account-level scans). 1-20 entries; per-address fetch errors degrade via `coverage.bitcoin`. Multi-wallet mode aggregates ALL passed addresses into a single `nonEvm.bitcoin` slice. Mutually exclusive with `bitcoinAddress`. | |
| litecoinAddress | No | Single Litecoin mainnet address. Mirrors `bitcoinAddress`: with a single `wallet`, LTC balance × USD price folds into per-wallet totals (`breakdown.litecoin`, `litecoinUsd`); with `wallets[]`, surfaced in `nonEvm.litecoin`. Mutually exclusive with `litecoinAddresses`. Issue #274. | |
| litecoinAddresses | No | Multiple Litecoin addresses (e.g. legacy + segwit + taproot for the same Ledger account). 1-20 entries; per-address fetch errors degrade via `coverage.litecoin`. Multi-wallet mode aggregates ALL passed addresses into a single `nonEvm.litecoin` slice. Mutually exclusive with `litecoinAddress`. |