diff --git a/php-binance-api.php b/php-binance-api.php index 994ff7af..b7740644 100755 --- a/php-binance-api.php +++ b/php-binance-api.php @@ -571,12 +571,13 @@ public function assetDetail() * @return array with error message or array transaction * @throws \Exception */ - public function withdraw(string $asset, string $address, $amount, $addressTag = null, $addressName = "API Withdraw") + public function withdraw(string $asset, string $address, $amount, $addressTag = null, $addressName = "API Withdraw", bool $transactionFeeFlag = false) { $options = [ "asset" => $asset, "address" => $address, "amount" => $amount, + "transactionFeeFlag" => $transactionFeeFlag, "wapi" => true, ]; if (is_null($addressName) === false && empty($addressName) === false) {