Class: BittrexEnterprise::Balances

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

Class Method Summary collapse

Methods included from ApiHelpers

included

Class Method Details

.info(currency_symbol) ⇒ Object

————————————— INFO ———————————————– Retrieve account balance for a specific currency. Request will always succeed when the currency exists, regardless of whether there is a balance or address.

—— PARAMS —— currency_symbol: string - required - unique symbol of the currency to retrieve the

account balance for



26
27
28
# File 'lib/bittrex-enterprise/balances.rb', line 26

def self.info(currency_symbol)
  get_signed 'currencies/{currencySymbol}', currencySymbol: currency_symbol
end

.listObject

—————————————- LIST ———————————————- List account balances across available currencies. Returns a Balance entry for each currency for which there is either a balance or an address.




13
14
15
# File 'lib/bittrex-enterprise/balances.rb', line 13

def self.list
  get_signed 'balances'
end