Skip to content

Commit

Permalink
Withdraw transactionFeeFlag by max-grim
Browse files Browse the repository at this point in the history
  • Loading branch information
jaggedsoft authored May 14, 2020
2 parents 157cfb6 + a9a03ab commit 10a4742
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion php-binance-api.php
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 10a4742

Please sign in to comment.