class BittrexEnterprise::Balances
Public Class Methods
info(currency_symbol, sub_account_id='')
click to toggle source
————————————— 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
sub_account_id: string - optional - ID of the subaccount to use for this call
# File lib/bittrex-enterprise/balances.rb, line 30 def self.info(currency_symbol, sub_account_id='') get_signed 'balances/{currencySymbol}', currencySymbol: currency_symbol, sub_account_id: sub_account_id end
list(sub_account_id='')
click to toggle source
—————————————- LIST ———————————————- List account balances across available currencies. Returns a Balance entry for each currency for which there is either a balance or an address.
—— PARAMS —— sub_account_id: string - optional - ID of the subaccount to use for this call
# File lib/bittrex-enterprise/balances.rb, line 16 def self.list(sub_account_id='') get_signed 'balances', sub_account_id: sub_account_id end