跳轉到主要內容
GET
/
v2
/
wallet
/
{chain}
/
{walletAddress}
/
net-worth
/
tokens
錢包 - 按代幣淨值
curl --request GET \
  --url https://api.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"
}

授權

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

路徑參數

chain
enum<string>
必填

支援網路列表中的鏈名稱 Supported blockchain chains

可用選項:
sol,
eth,
bsc
walletAddress
string
必填

錢包地址

查詢參數

tokenAddresses
string
必填

代幣地址列表,以逗號 (,) 分隔的字串。最多允許 100 個代幣地址

回應

200 - application/json

成功回應

Wallet net-worth by tokens result (mirrors TS WalletNetWorthByTokensResult).

currentTimestamp
string
必填

目前伺服器時間戳

範例:

"2025-10-30T03:33:40.980Z"

data
object[]
必填

代幣淨值明細列表

totalValueInNative
string
必填

投資組合總價值(原生代幣計)

範例:

"82.31"

totalValueInUsd
string
必填

投資組合總價值(USD 計)

範例:

"12345.67"

walletAddress
string
必填

錢包地址

範例:

"3xd4LGVWtYXLBspR6X5JWbW49NXmEehfPtX6Kqx98b4w"