Query simple protocol list by chain name and user address
Description
Method: HTTPS GET
Encoding: UTF-8
Path: https://api.blockin.ai/v2/user/simple_protocol_list
Description: Query simple protocol list by chain name and user address
Request Header
Content-Type
Y
String
application/json
AccessKey
Y
String
1bdb01c947c54919b64d1fc6794atest
Request Parameters
chain_name
Y
String
address
Y
String
User's address
Response
Public Response
success
Y
Boolean
Success Boolean
data
N
List
Response object
error_code
N
String
Error code
error_msg
N
String
Error message
Response Content
protocol_name
Y
String
Protocol's name
chain_name
Y
String
Chain's name
project_name
Y
String
Project's name
logo_url
Y
String
URL of the protocol's logo image.
site_url
Y
String
Website URL
net_usd_value
Y
BigDecimal
Amount of the user's net assets in the protocol.
asset_usd_value
Y
BigDecimal
Amount of the user's total assets in the protocol.
debt_usd_value
Y
BigDecimal
Debt USD value.
Request Sample
curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" -X GET "https://api.blockin.ai/v2/user/simple_protocol_list?address=0x1c3cb7e3920c77eba162cf044f418a854c12ffef&chain_name=eth"
Successful Response Sample
Last updated