get_portfolio
Get an aggregated portfolio view across all chains with USD values.
Tier: Free
Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
address | string | Yes | Wallet address (0x…) |
Example
"Show me the full portfolio for 0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"Response
Returns:
- Total portfolio value in USD
- Per-chain breakdown with USD values
- Per-token breakdown with amounts and USD values
- Sorted by value (highest first)
Implementation
- Fetches balances across all 5 supported chains via
get_balancelogic - Fetches USD prices via CoinGecko batch API
- Aggregates and sorts by value