Class: BittrexEnterprise::Addresses

Inherits:
Object
  • Object
show all
Includes:
ApiHelpers
Defined in:
lib/bittrex-enterprise/addresses.rb

Class Method Summary collapse

Methods included from ApiHelpers

included

Class Method Details

.create(currency_symbol, sub_account_id = nil) ⇒ Object

————————————– 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




29
30
31
# File 'lib/bittrex-enterprise/addresses.rb', line 29

def self.create(currency_symbol, =nil)
  post_signed 'addresses', currencySymbol: currency_symbol, sub_account_id: 
end

.list(sub_account_id = nil) ⇒ Object

————————————– 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




15
16
17
# File 'lib/bittrex-enterprise/addresses.rb', line 15

def self.list(=nil)
  get_signed 'addresses', sub_account_id: 
end

.status(currency_symbol, sub_account_id = nil) ⇒ Object

————————————– 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




42
43
44
# File 'lib/bittrex-enterprise/addresses.rb', line 42

def self.status(currency_symbol, =nil)
  get_signed 'addresses/{currencySymbol}', currencySymbol: currency_symbol, sub_account_id: 
end