List of all transactions

+3 votes
Hi, how can i list all transactions? And for example sort uncorfirmed, like blockchain info

asked Jul 27, 2017 by nezzard

1 Answer

+3 votes
Have a look at getmempoolinfo , getrawmempool and list commands like listaddresstransactions and importantly getblock.

quote from getblock
Set to 4 to include a full description of each transaction, formatted like the output of decoderawtransaction.

answered Jul 27, 2017 by MaSsv
I have nothing
Ok, but its not work with  -walletdbversion=2
The mempool APIs only query transactions which are not yet confirmed. You should use getblock with verbose=4 to query the full set of transactions inside a block.
Am i understood correctly?
I can get list of all blocks, and tx per block?
Yes, but you don't even need to separately list the blocks. You can pass a block height to getblock directly as a parameter.