getAssetList
Retrieve your on-chain token portfolio with total USD value and per-token unrealized PnL, cost basis, and current price. Check holdings and profit or loss for assets you own.
Instructions
Query user's on-chain token portfolio. Returns total portfolio value in USD and individual token holdings with unrealized PnL, cost basis, and current market price.
Only tokens with non-zero balance are returned. Zero-balance tokens are filtered out.
Use tradeFlag to determine if a token can be sold via executeRedeem.
Use tokenCode from the response for quote and execution requests.
Use chainCode + tokenAddress from the response to call getAssetDetail for more info.
Do NOT use this endpoint to discover new tokens to buy — use getBizTokenList instead.
Do NOT use this to get market data for tokens you don't hold — use getBizTokenPriceList.
Agent hint: Use this endpoint when user asks about their assets, balance, holdings, portfolio, or profit/loss. Returns total USD value and per-token PnL. Check tradeFlag before attempting to sell. Use tokenCode from the response for quote and trade execution. Do NOT use this to discover new tokens — use getBizTokenList. Do NOT use this for market data on non-held tokens — use getBizTokenPriceList.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getAssetList"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||