This is #14898 rebased against current master, review comments addressed and help text updated with output changes when pageinatebypointer
option is used.
~Added fifth param to listtransactions
named options
,~ Previous skip
argument is replaced with options
, with backwards compatibility, where it’s treated as a skip
if it’s integer, not an object. options
may be an object containing paginatebypointer
(boolean default: false) and nextpagepointer
(string default: OMITTED).~
With paginatebypointer
output will have the following changes.
- Return transactions is ordered by most recent transactions. Though the default does reverse the order after transactions are fetched and clipped.
skip
argument has no effect. Insteadnextpagepointer
will be used for pagination.- Return value is an object containing, records (array of txs) and nextpagepointer (string)