Query chain list
GET/conf/list/chain
Query the list of chains that the merchant has opened.
Responses
- 200
- 401
- 403
- 404
OK
- application/json
- Schema
- Example (from schema)
- Example
Schema
Array [
]
code int32required
Status code
msg stringrequired
Status message on success or error message on failure
description string
Detailed description when error
data
object[]
chainId int32required
Chain ID, This is the platform internal ID, not the chain ID on the chain or from the wallet
chainName stringrequired
Name of the chain
createTime date-timerequired
Creation time
chainSymbol stringnullable
Symbol of the chain
blockExplorer stringnullable
Block explorer URL of the chain
{
"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...