Class: FTX::API::Wallet

Inherits:
Private show all
Defined in:
lib/ftx/api/wallet.rb

Instance Attribute Summary

Attributes inherited from Base

#config, #key, #secret

Instance Method Summary collapse

Methods inherited from Base

#initialize

Constructor Details

This class inherits a constructor from FTX::API::Base

Instance Method Details

#all_balancesObject



15
16
17
# File 'lib/ftx/api/wallet.rb', line 15

def all_balances
  send_request(:get, "/wallet/all_balances", {})
end

#balancesObject



11
12
13
# File 'lib/ftx/api/wallet.rb', line 11

def balances
  send_request(:get, "/wallet/balances", {})
end

#coinsObject



7
8
9
# File 'lib/ftx/api/wallet.rb', line 7

def coins
  send_request(:get, "/wallet/coins", {})
end