Query all available protocol list
Description
Method:HTTPS GET
Encoding:UTF-8
Path:https://api.blockin.ai/v2/protocol/all_protocol_list
Description:Query available protocol list supported by Blockin.
Request Header
Content-Type
Y
String
application/json
AccessKey
Y
String
1bdb01c947c54919b64d1fc6794atest
Request Parameters
chain_names
N
String
If chain_names is empty, query all. Multiple chains are separated by commas. eg: eth, bsc, arb. Enumeration
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
chain_name
Y
String
Chain's name
protocol_name
Y
String
Protocol's name
project_name
Y
String
Project's name
logo_url
Y
String
URL of the protocol's image
site_url
Y
String
Website URL
Request Sample
curl -H "Content-Type:application/json" -H "AccessKey:1bdb01c947c54919b64d1fc6794atest" -X GET "https://api.blockin.ai/v2/protocol/all_protocol_list?chain_names=pol,bsc"
Successful Response Sample
{
"success": true,
"data": [
{
"project_name": "Aave V2",
"logo_url": "https://www.blockin.ai/image/protocol/aave2.png",
"site_url": "https://app.aave.com",
"chain_name": "Polygon",
"protocol_name": "aave2"
},
{
"project_name": "Aave V3",
"logo_url": "https://www.blockin.ai/image/protocol/aave3.png",
"site_url": "https://app.aave.com",
"chain_name": "Polygon",
"protocol_name": "aave3"
},
{
"project_name": "Yoshi.exchange",
"logo_url": "https://www.blockin.ai/image/protocol/yoshi.png",
"site_url": "https://yoshi.exchange",
"chain_name": "BSC",
"protocol_name": "yoshi"
},
{
"project_name": "ZOO",
"logo_url": "https://www.blockin.ai/image/protocol/zoo.png",
"site_url": "https://zoogame.app",
"chain_name": "BSC",
"protocol_name": "zoo"
}
...
],
"error_code": null,
"error_msg": null
}
Last updated