diff --git a/php-binance-api.php b/php-binance-api.php index ce4a1792..81ba80ae 100755 --- a/php-binance-api.php +++ b/php-binance-api.php @@ -723,6 +723,26 @@ public function dustLog($startTime = NULL, $endTime = NULL) return $this->httpRequest("v1/asset/dribblet", 'GET', $params, true); } + + /** + * dustTransfer - Convert dust assets ( < 0.001 BTC) to BNB + * + * @link https://binance-docs.github.io/apidocs/spot/en/#dust-transfer-user_data + * + * @property int $weight 1 + * + * @param string|array $assets (mandatory) Asset(s), e.g. IOST or array like ['IOST','AAVE','CHZ'] + * + * @return array containing the response + * @throws \Exception + */ + public function dustTransfer($assets) + { + $params["sapi"] = true; + $params["asset"] = $assets; + + return $this->httpRequest("v1/asset/dust", 'POST', $params, true); + } /** * @deprecated