POST

/api/v1/exchanges/:id/dust_to_bnb

Permission: EXCHANGES_WRITESecurity: SIGNED

Converts small remnant cryptocurrency balances (dust coins) into BNB on the connected Binance exchange account.

Supported Exchange

This endpoint is applicable exclusively to Binance Spot exchange accounts.

Path Parameters

idUUID string required

Unique Quentrade UUID of this exchange account entity.

Body Parameters

codesarray[string] required

Array of cryptocurrency ticker symbols to convert into BNB (e.g. ["USDT", "ETH"]).

Example Request

POSTPOST /api/v1/exchanges/7fa84b80-77a8-4e89-a292-123456789abc/dust_to_bnb
payload.json
{
  "codes": ["USDT"]
}

Response Parameters

totalTransferedstring

The total amount of BNB successfully received from the conversion.

totalServiceChargestring

The total service fee deducted in BNB during the conversion.

transferResultarray[object]

A list of details for each converted asset.

tranIdinteger

The unique transaction ID of the dust-to-BNB conversion.

fromAssetstring

The currency code of the source asset converted.

amountstring

The initial amount of the source asset before conversion.

transferedAmountstring

The amount converted into BNB.

serviceChargeAmountstring

The service fee deducted for converting this specific asset.

operateTimeinteger

The timestamp of the conversion operation in milliseconds since epoch.

Example Responses

convert_dust_200.json
200 OK
{
  "totalTransfered": "0.00076178",
  "totalServiceCharge": "0.00001523",
  "transferResult": [
    {
      "tranId": 243385046044,
      "fromAsset": "USDT",
      "amount": "0.51389388",
      "transferedAmount": "0.00076178",
      "serviceChargeAmount": "0.00001523",
      "operateTime": 1739799333228
    }
  ]
}