List supported chains
GET /api/v1/list
Get chains and tokens supported by Meson protocol.
Responses
- 200
- 400
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
result object[]
Array [id stringname stringchainId hex_string or stringaddress hex_string or stringdestinationChainOnly booleantokens object[]
Array [id stringaddr string]]
{
"result": [
{
"id": "string",
"name": "string",
"chainId": "string",
"address": "string",
"destinationChainOnly": true,
"tokens": [
{
"id": "string",
"addr": "string"
}
]
}
]
}
Error
- application/json
- Schema
- Example (from schema)
Schema
error object
code int32message stringdata object
code string
{
"error": {
"code": -1,
"message": "[error_message]",
"data": {
"code": "[error_code]"
}
}
}
Loading...