getting the list of blocks and transction details

0 votes
hello, each node must downlod the list of blocks i want to know how i can diplay the list of blocks in the blockchain and their content (transactions). thank you
asked Nov 30, 2018 by johndev

1 Answer

0 votes
Best answer


you could use getlastblockinfo or getinfo to see how many blocks there are in your chain and then use getblock i to get information about the i-th block.

answered Nov 30, 2018 by multichain_user123
selected Dec 3, 2018 by johndev