Module: Bitsor::Client::Ledger

Included in:
Bitsor::Client
Defined in:
lib/bitsor/client/ledger.rb

Instance Method Summary collapse

Instance Method Details

#ledger(marker: nil, sort: :desc, limit: 25) ⇒ Object



6
7
8
9
10
# File 'lib/bitsor/client/ledger.rb', line 6

def ledger(marker: nil, sort: :desc, limit: 25)
  normalize_response.with(:ledger) do
    get('/v3/ledger/', marker: marker, sort: sort, limit: limit)
  end
end

#ledger_fees(marker: nil, sort: :desc, limit: 25) ⇒ Object



18
19
20
21
22
# File 'lib/bitsor/client/ledger.rb', line 18

def ledger_fees(marker: nil, sort: :desc, limit: 25)
  normalize_response.with(:ledger) do
    get('/v3/ledger/fees/', marker: marker, sort: sort, limit: limit)
  end
end

#ledger_fundings(marker: nil, sort: :desc, limit: 25) ⇒ Object



24
25
26
27
28
# File 'lib/bitsor/client/ledger.rb', line 24

def ledger_fundings(marker: nil, sort: :desc, limit: 25)
  normalize_response.with(:ledger) do
    get('/v3/ledger/fundings/', marker: marker, sort: sort, limit: limit)
  end
end

#ledger_trades(marker: nil, sort: :desc, limit: 25) ⇒ Object



12
13
14
15
16
# File 'lib/bitsor/client/ledger.rb', line 12

def ledger_trades(marker: nil, sort: :desc, limit: 25)
  normalize_response.with(:ledger) do
    get('/v3/ledger/trades/', marker: marker, sort: sort, limit: limit)
  end
end

#ledger_withdrawals(marker: nil, sort: :desc, limit: 25) ⇒ Object



30
31
32
33
34
# File 'lib/bitsor/client/ledger.rb', line 30

def ledger_withdrawals(marker: nil, sort: :desc, limit: 25)
  normalize_response.with(:ledger) do
    get('/v3/ledger/withdrawals/', marker: marker, sort: sort, limit: limit)
  end
end