Module: MaxExchangeApi::PrivateV3::AccountApi

Included in:
MaxExchangeApi::PrivateV3Api
Defined in:
lib/max_exchange_api/private_v3/account_api.rb

Instance Method Summary collapse

Instance Method Details

#accounts(wallet_type: 'spot', currency: nil) ⇒ Object



6
7
8
9
10
11
12
# File 'lib/max_exchange_api/private_v3/account_api.rb', line 6

def accounts(wallet_type: 'spot', currency: nil)
  send_request(
    :get,
    "/wallet/#{wallet_type}/accounts",
    currency: currency,
  )
end