module Binance::Spot::Wallet

def withdraw(coin:, address:, amount:, **kwargs)

Other tags:
    See: https://developers.binance.com/docs/wallet/capital/withdraw -

Options Hash: (**kwargs)
  • :recvWindow (Integer) -- The value cannot be greater than 60000
  • :name (String) --
  • :transactionFeeFlag (Boolean) --
  • :addressTag (String) --
  • :network (String) -- If network not send, return with default network of the coin.
  • :withdrawOrderId (String) --

Parameters:
  • kwargs (Hash) --
  • amount (Float) --
  • address (String) --
  • coin (String) --
def withdraw(coin:, address:, amount:, **kwargs)
  Binance::Utils::Validation.require_param('coin', coin)
  Binance::Utils::Validation.require_param('address', address)
  Binance::Utils::Validation.require_param('amount', amount)
  @session.sign_request(:post, '/sapi/v1/capital/withdraw/apply', params: kwargs.merge(
    coin: coin,
    address: address,
    amount: amount
  ))
end