v1
latestOpenAPI 3.1.02026-07-1325128129.5 KBwallet
Wallet Portfolio
Returns the wallet's tokens with balances and USD values. Reusable beyond the pay-with-wallet flow (swap source picker, deposit balance display, etc.). Hits BalanceService caches; force_refresh bypasses L1+L2.
post/wallet/portfolio
Headers
X-API-KEYstring required
API key for authentication
Request body
Example request
{
"chain_ids": [
1,
8453,
137
],
"chain_type": "EVM",
"force_refresh": false,
"min_balance_usd": 1,
"wallet_address": "0x1234...abcd"
}Response
Portfolio scan succeeded
Example response
{
"chain_type": "EVM",
"currencies": [
{
"address": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
"balance": {
"raw_amount": "2400000",
"ui_amount": 2.4,
"ui_amount_display": "2.4",
"value_usd": 123.45
},
"chain_id": 1,
"chain_logo_uri": "https://assets.coingecko.com/asset_platforms/images/279/standard/ethereum.png",
"decimals": 6,
"logo_uri": "https://assets.coingecko.com/coins/images/6319/large/usdc.png",
"price_usd": 1,
"symbol": "USDC"
}
],
"wallet_address": "0x1234...abcd"
}