latestSwagger 2.02026-08-17423344.4 KB

3f676effe339

User

Get user token balance

get/v1/user/token_list

Query parameters

idstring required

Address

chain_idstring required

ChainID

is_allboolean

If true, all tokens are returned, including protocol-derived tokens

Response

return user token balance list of each chain

idstring

Ethereum Address or native token id

chainstring

Chain Name

namestring
symbolstring
display_symbolstring
optimized_symbolstring
decimalsinteger
logo_urlstring
is_verifiedboolean
is_coreboolean
pricenumber

USD price.Price of 0 means no data

time_atinteger

The timestamp when the current token was deployed on the blockchain.

amountnumber

the amount of user token

raw_amountinteger

the raw amount of user token

Example response

[
  {
    "id": "0xdac17f958d2ee523a2206206994597c13d831ec7",
    "chain": "eth",
    "name": "Tether USD",
    "symbol": "USDT",
    "display_symbol": "USDT",
    "optimized_symbol": "USDT",
    "decimals": 6,
    "logo_url": "https://static.debank.com/image/token/logo_url/0xdac17f958d2ee523a2206206994597c13d831ec7/3c1a718331e468abe1fc2ebe319f6c77.png",
    "is_verified": true,
    "is_core": true,
    "price": 1.01,
    "time_at": 1511829681
  }
]