class BittrexEnterprise::Addresses

Public Class Methods

create(currency_symbol, sub_account_id=nil) click to toggle source

————————————– CREATE ———————————————- Request provisioning of a deposit address for a currency for which no address has been requested or provisioned.

—— PARAMS —— currency_symbol - string - required - the currency ID to provision a new address for

sub_account_id: string - optional - ID of the subaccount to use for this call


# File lib/bittrex-enterprise/addresses.rb, line 29
def self.create(currency_symbol, sub_account_id=nil)
  post_signed 'addresses', currencySymbol: currency_symbol, sub_account_id: sub_account_id
end
list(sub_account_id=nil) click to toggle source

————————————– LIST ———————————————— List deposit addresses that have been requested or provisioned.

—— PARAMS —— sub_account_id: string - optional - ID of the subaccount to use for this call


# File lib/bittrex-enterprise/addresses.rb, line 15
def self.list(sub_account_id=nil)
  get_signed 'addresses', sub_account_id: sub_account_id
end
status(currency_symbol, sub_account_id=nil) click to toggle source

————————————– STATUS ———————————————- Retrieve the status of the deposit address for a particular currency for which one has been requested or provisioned. —— PARAMS —— currency_symbol - string - required - symbol of the currency to retrieve the deposit

address for

sub_account_id: string - optional - ID of the subaccount to use for this call


# File lib/bittrex-enterprise/addresses.rb, line 42
def self.status(currency_symbol, sub_account_id=nil)
  get_signed 'addresses/{currencySymbol}', currencySymbol: currency_symbol, sub_account_id: sub_account_id
end