获取钱包按代币分类的净值明细
cURL
curl --request GET \ --url https://api.dex.chainstream.io/v2/wallet/{chain}/{walletAddress}/net-worth/tokens \ --header 'Authorization: Bearer <token>'
{ "currentTimestamp": "2025-10-30T03:33:40.980Z", "data": [ { "amount": "1000.50", "chain": "sol", "decimals": 6, "name": "USD Coin", "priceInNative": "0.00000667", "priceInUsd": "1.0001", "symbol": "USDC", "tokenAddress": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", "valueInNative": "6.67", "valueInUsd": "1000.60", "logoUri": "https://s1.chainstream.io/tokens/images/usdc.webp" } ], "totalValueInNative": "82.31", "totalValueInUsd": "12345.67", "walletAddress": "3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
支持网络列表中的链名称 Supported blockchain chains
sol
eth
bsc
钱包地址
代币地址列表,以逗号 (,) 分隔的字符串。最多允许 100 个代币地址
成功响应
Wallet net-worth by tokens result (mirrors TS WalletNetWorthByTokensResult).
"2025-10-30T03:33:40.980Z"
显示 子属性
"82.31"
"12345.67"
"3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w"
此页面对您有帮助吗?