跳到主要内容

获取币种资料

HTTP 请求

GET /assets/info

请求参数

参数名是否必须类型说明
ccyfalsestring币种名称。
  • 默认返回所有币种数据。

请求响应

参数名类型说明
short_namestring币种简称
full_namestring币种全称
website_urlstring币种官网地址
white_paper_urlstring币种白皮书地址
chain_info[]object公链信息
chain_info.chain_namestring公链名称
chain_info.identitystring公链币种唯一标识,在大部分链中使用合约地址作为唯一标识,比如ETH系公链
chain_info.explorer_urlstring公链浏览器地址,可通过浏览器地址结合币种唯一标识唯一确定币种

响应示例

GET /assets/info?ccy=CET

响应示例

{
"code": 0,
"data": [
{
"short_name": "CET",
"full_name": "CoinEx Token",
"website_url": "https://www.coinex.com/token",
"white_paper_url": "https://www.coinex.org/whitepaper_en.pdf",
"chain_info": [
{
"chain_name": "CSC",
"identity": "",
"explorer_url": "https://www.coinex.net/"
},
{
"chain_name": "Ethereum (ERC20)",
"identity": "0x081f67afa0ccf8c7b17540767bbe95df2ba8d97f",
"explorer_url": "https://etherscan.io/token/0x081f67afa0ccf8c7b17540767bbe95df2ba8d97f"
}
]
},
],
"message": "OK"
}