4,156 questions
4,369 answers
5,718 comments
Hi,
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.