Class: BittrexEnterprise::Balances
- Inherits:
-
Object
- Object
- BittrexEnterprise::Balances
- Includes:
- ApiHelpers
- Defined in:
- lib/bittrex-enterprise/balances.rb
Class Method Summary collapse
-
.info(currency_symbol) ⇒ Object
————————————— INFO ———————————————– Retrieve account balance for a specific currency.
-
.list ⇒ Object
—————————————- LIST ———————————————- List account balances across available currencies.
Methods included from ApiHelpers
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 |
.list ⇒ Object
—————————————- 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 |