13.1 Obtain the currencies supported by MINPAY wallet (including legal currency and digital currency)
#Brief description: Get the currencies supported by the wallet application (including legal currency and digital currency)
- Request method: POST
- Request interface: https://gateway-domain/wallet-tradev2/currency/get-config-list
- Request media type (JSON data format)Content-Type: application/x-www-form-urlencoded;charset=UTF-8
Query parameters
None
Return value
| Parameter name | Type | Parameter meaning | Parameter description |
|---|---|---|---|
code | int | Request status | Communication status Successful return: 0, others indicate failure |
success | boolean | Success Status | true Success |
message | string | Description | |
data | json | Parameters | Please refer to the following description for parameters |
Return to Example
{
"code": 0,
"success": true,
"message": null,
"data": [
{
"currency": "TRX",
"name": "trx",
"display": true,
"description": "trx的币",
"symbol": "t",
"type": "DIGITAL",
"decimalPlace": 6,
"scale": 6,
"logo": {
"gid": "rM44wzYk11lmiYKVzpFzh2KBSBn6h956",
"fileUrl": "https://wallet-dev.com/download/zpFzh2KBSBn6h956",
"previewUrl": "https://wallet-dev.com/preview/zh2KBSBn6h956"
}
},
{
"currency": "USDT",
"name": "泰达币",
"display": true,
"description": "泰达币",
"symbol": "₮",
"type": "DIGITAL",
"decimalPlace": 6,
"scale": 6,
"logo": {
"gid": "BXcLawRPnRk8s482TBjkhYHVBr3plp4b",
"fileUrl": "https://wallet-dev.com/download/BBjkhYHVBr3plp4b",
"previewUrl": "https://wallet-dev.com/preview/TBjkhYHVBr3plp4b"
}
},
{
"currency": "CNY",
"name": "羊角币",
"display": true,
"description": "羊角币",
"symbol": "¥",
"type": "LEGAL",
"decimalPlace": 2,
"scale": 2,
"logo": {
"gid": "BcEskW7fQLtZcfHmSVDSy0tfxNh8MoLI",
"fileUrl": "https://wallet-dev.com/download/SVDSy0tfxNh8MoLI",
"previewUrl": "https://wallet-dev.com/preview/Sy0tfxNh8MoLI"
}
},
{
"currency": "USD",
"name": "美元",
"display": true,
"description": "美元",
"symbol": "$",
"type": "LEGAL",
"decimalPlace": 2,
"scale": 2,
"logo": {
"gid": "EImED35TIOrYYMC5gTHjpgeOO2kjX0xV",
"fileUrl": "https://wallet-dev.com/download/HjpgeOO2kjX0xV",
"previewUrl": "https://wallet-dev.com/preview/THjpgeOO2kX0xV"
}
}
]
}
data parameter description
| Parameter name | Type | Parameter meaning | Parameter description |
|---|---|---|---|
currency | string | Currency code | |
name | string | Currency name | |
display | string | Whether to display by default | true |
description | string | Currency Introduction | |
symbol | string | Currency symbol | |
type | string | Currency type | DIGITAL: digital currency | LEGAL: legal currency |
decimalPlace | string | Support decimal places | |
scale | string | Display accuracy | |
logo | string | LOGO information | |
| └ gid | string | Attachment identification ID | |
| └ fileUrl | string | File access address | |
| └ previewUrl | double | File preview address |