跳到主要内容

QueryAssetsResponse

successboolean必填

请求验证是否成功。当 HTTP 状态为 200 时,该字段设为 true

codeinteger必填

请求状态码。请求成功处理时为 1。失败时将返回错误码。

msgstring必填

请求状态信息。请求成功处理时为 Success。失败时将返回错误信息。

timenumber必填

当前 Unix 时间戳。

data object[]必填
  • Array [
  • assetstring必填

    资产

    typeAssetTypeEnum必填

    可选值: [FIAT, CRYPTO, STABLE_COIN]

    namestring必填

    资产名称

    precisioninteger必填

    小数点后位数(用于提现)

    tradeScaleinteger必填

    小数点后位数(用于兑换/OTC)

  • ]
  • QueryAssetsResponse
    {
    "data": [
    {
    "asset": "string",
    "type": "FIAT",
    "name": "string",
    "precision": 0,
    "tradeScale": 0
    }
    ],
    "success": true,
    "code": 0,
    "msg": "string",
    "time": 0
    }