1. List of currencies
List of currencies
This interface is used to obtain the list of currently supported order currencies. By calling this interface, you can obtain the currency information that can be used to place an order, including the currency name, logo, etc.
GET
/openapi/abbr/lists
Name | Type | Required | Description |
---|---|---|---|
with_unavailable | boolean | no | Whether to obtain unavailable coin code |
Response
Name | Type | Description |
---|---|---|
code | int | Business status code |
data | array | Data object |
abbr | string | Coin name |
chain | string | Chain name |
decimal | int | Coin quantity accuracy |
logo | string | Logo |
name | string | Contract name |
recv | boolean | The currencies that customers can receive services from |
send | boolean | Currencies available for sending to customers |
sort | int | Sorting |
theme_color | string | Subject color |
type | string | Coin protocol name |
msg | string | Business message |
Example Response
{
"code": 0,
"msg": "success",
"data": [
{
"chain": "Monero",
"abbr": "XMR",
"name": "Monero",
"logo": "https://cce.cash/img/XMR.svg",
"theme_color": "#FA6800",
"type": "",
"sort": 1,
"decimal": 12,
"recv": true,
"send": true
}
]
}