latestSwagger 2.02026-08-17423344.4 KB
3f676effe339
User
Show the user's risk exposure of approved token on a chain
get/v1/user/token_authorized_list
Query parameters
idstring required
User Address
chain_idstring required
ChainID
Response
return list of tokens with risk exposure
Example response
[
{
"id": "0xc1330acbbce97cb9695b7ee161c0f95b875a8b0f",
"name": "One Eth",
"symbol": "ONE",
"chain": "eth",
"price": 2579.51594392348,
"balance": 0.09901859967795691,
"sum_exposure_usd": 255.4200566142662,
"exposure_balance": 0.09901859967795691,
"spenders": [
{
"id": "0x3bdf1977d87edad8e0617efcea958f6d43a4c30e",
"protocol": {
"id": "uniswap3",
"name": "Uniswap V3",
"logo_url": "https://static.debank.com/image/project/logo_url/uniswap3/87a541b3b83b041c8d12119e5a0d19f0.png",
"chain": "eth"
}
}
]
}
]