Skip to content

Commit 10a4742

Browse files
authored
Withdraw transactionFeeFlag by max-grim
2 parents 157cfb6 + a9a03ab commit 10a4742

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

php-binance-api.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,12 +571,13 @@ public function assetDetail()
571571
* @return array with error message or array transaction
572572
* @throws \Exception
573573
*/
574-
public function withdraw(string $asset, string $address, $amount, $addressTag = null, $addressName = "API Withdraw")
574+
public function withdraw(string $asset, string $address, $amount, $addressTag = null, $addressName = "API Withdraw", bool $transactionFeeFlag = false)
575575
{
576576
$options = [
577577
"asset" => $asset,
578578
"address" => $address,
579579
"amount" => $amount,
580+
"transactionFeeFlag" => $transactionFeeFlag,
580581
"wapi" => true,
581582
];
582583
if (is_null($addressName) === false && empty($addressName) === false) {

0 commit comments

Comments
 (0)