From a9a03abdc534cddb087c05fc95d149eb3dad6266 Mon Sep 17 00:00:00 2001 From: Max Grim Date: Thu, 14 May 2020 19:00:23 +0300 Subject: [PATCH] Update php-binance-api.php --- php-binance-api.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) {