latestSwagger 2.02026-08-17423344.4 KB

3f676effe339

User

Get net assets on multiple chains, including tokens and protocols

get/v1/user/total_balance

Query parameters

idstring required

User Address

Response

return the total net assets and the net assets of each chain

total_usd_valuenumber

total usd value

Example response

{
  "chain_list": [
    {
      "id": "eth",
      "community_id": 1,
      "name": "Ethereum",
      "logo_url": "https://static.debank.com/image/chain/logo_url/eth/6e0cd1f895af9836ee8c32cfc03bc279.png",
      "native_token_id": "eth",
      "wrapped_token_id": "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2",
      "is_support_balance_change": true
    }
  ]
}