Skip to main content

QueryAssetsResponse

successbooleanrequired

Request validation is successful or not. It will be set to true when the HTTP status is 200.

codeintegerrequired

Request status code. It will be set to 1 when the request is processed successfully. When unsuccessful, there will be an error code.

msgstringrequired

Request status message. It will be set to Success when the request is processed successfully. When unsuccessful, there will be an error message.

timenumberrequired

Current unix timestamp.

data object[]required
  • Array [
  • assetstringrequired

    Asset

    typeAssetTypeEnumrequired

    Possible values: [FIAT, CRYPTO, STABLE_COIN]

    namestringrequired

    Asset name

    precisionintegerrequired

    The number of digits after the decimal point (for Withdraw)

    tradeScaleintegerrequired

    The number of digits after the decimal point (for Convert/OTC)

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