查询链列表
GET/conf/list/chain
查询商户已开通的区块链列表。
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
code int32required
状态码
msg stringrequired
成功或错误提示
description string
错误提示详情
data
object[]
chainId int32required
链 ID,此为平台内部 ID,不是链上或者钱包里的链 ID
chainName stringrequired
链名称
createTime date-timerequired
创建时间
chainSymbol stringnullable
链符号
blockExplorer stringnullable
区块浏览器地址
{
"code": 0,
"msg": "string",
"description": "string",
"data": [
{
"chainId": 0,
"chainName": "string",
"createTime": "2024-07-29T15:51:28.071Z",
"chainSymbol": "string",
"blockExplorer": "string"
}
]
}
{
"code": 200,
"msg": "success",
"data": [
{
"chainId": 1,
"chainName": "TRON Nile",
"createTime": "2023-08-02 18:04:33",
"chainSymbol": null,
"blockExplorer": "https://nile.tronscan.org/#"
},
{
"chainId": 2,
"chainName": "Sepolia Testnet",
"createTime": "2023-05-22 16:11:33",
"chainSymbol": "SepoliaETH",
"blockExplorer": "https://sepolia.etherscan.io/"
}
]
}
Unauthorized
Forbidden
Not Found
Loading...