Closed aivve closed 3 years ago
Also, rename getbalance
method to get_balance
for consistency with other methods because in all of them there is an underscore _ to separate words.
count
defaults to 1000. Too much? 🤔
count
defaults to 1000. Too much? thinking
I thought 100 is ok, but sometimes 1000 can be better.
Fun fact, in response to count = 0
it returns empty transfers
array :) If count = -1
it returns all txs just like get_transfers
It is also worth noting that transfers for this method are not in reverse order, i.e. the first transfers are older, the last will be most recent.
Add
get_last_transfers
RPC method forsimplewallet
becauseget_transfers
may be overkill for wallets with a lots of transactions.There is a
count
param to specify how many last transactions to fetch.Input:
Output is the same as in
get_transfers
method.