Skip to main content

获取钱包支持币种

#简要描述: 获取钱包应用所支持币种

查询参数

返回值

参数名称类型参数含义参数说明
codeint请求状态通信状态 成功返回:0,其它表示失败
successboolean成功状态true 成功
messagestring描述
datajson参数参数详见下面说明
返回示例
{  
    "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参数说明
参数名称类型参数含义备注
currencystring币种编码
namestring币种名称
displaystring是否默认显示true
descriptiondouble币种介绍
symbolstring币种符号
typestring币种类型DIGITAL:数字币 | LEGAL:法币
decimalPlacestring支持小数位
scalestring显示精度
logostringLOGO信息
└ gidstring附件标识ID
└ fileUrlstring文件访问地址
└ previewUrldouble文件预览地址