Module: BitflyerApi::Methods::Private::Assets

Included in:
Client
Defined in:
lib/bitflyer_api/methods/private/assets.rb

Instance Method Summary collapse

Instance Method Details

#my_balanceObject



3
4
5
6
# File 'lib/bitflyer_api/methods/private/assets.rb', line 3

def my_balance
  res = conn.get("/v1/me/getbalance")
  res.body
end

#my_collateralObject



8
9
10
11
# File 'lib/bitflyer_api/methods/private/assets.rb', line 8

def my_collateral
  res = conn.get("/v1/me/getcollateral")
  res.body
end

#my_collateral_accountsObject



13
14
15
16
# File 'lib/bitflyer_api/methods/private/assets.rb', line 13

def my_collateral_accounts
  res = conn.get("/v1/me/getcollateralaccounts")
  res.body
end