latestSwagger 2.02026-08-17423344.4 KB

3f676effe339

User

Get list of protocols with user portfolio details on all supported chains

get/v1/user/all_complex_protocol_list

Query parameters

idstring required

User Address

chain_idsstring[]

Chain ID List

Response

return the list of protocol with user's portfolio items

idstring

protocol id

chainstring

chain name

namestring
logo_urlstring
site_urlstring

Prioritize websites that can be interacted with, not official websites

has_supported_portfolioboolean

Is portfolio already supported

tvlinteger

User deposit value in this protocol

asset_usd_valuenumber

Asset USD value

debt_usd_valuenumber

Debt USD value

net_usd_valuenumber

Net asset USD value

Example response

[
  {
    "id": "compound",
    "chain": "eth",
    "name": "Compound",
    "logo_url": "https://static.debank.com/image/project/logo_url/compound/b4b9c8de20952846a1c9dfcded47d0db.png",
    "site_url": "https://app.compound.finance",
    "has_supported_portfolio": true,
    "tvl": 10000
  }
]