class BitcointradeSDK::Bitcoin::Withdraw

Public Instance Methods

create!(destination:, amount:, fee:, fee_type:) click to toggle source
# File lib/bitcointrade_sdk/bitcoin/withdraw.rb, line 14
def create!(destination:, amount:, fee:, fee_type:)
  params = {
    'destination' => destination,
    'amount' =>      amount,
    'fee'=>          fee,
    'fee_type' =>    fee_type
  }

  send_request(:post, '/bitcoin/withdraw', params)['data']
end
fee() click to toggle source
# File lib/bitcointrade_sdk/bitcoin/withdraw.rb, line 6
def fee
  send_request(:get, '/bitcoin/withdraw/fee')['data']
end
list() click to toggle source
# File lib/bitcointrade_sdk/bitcoin/withdraw.rb, line 10
def list
  send_request(:get, '/bitcoin/withdraw/list')['data']
end