According to this "
How to analyse Bitcoin Blockchain data from Bitcoin Core?"
You can use this "
JSON-RPC Command"
And here is the list of command to analyze the blockchain:
getblockcount - returns cullent chain height
getblockhash block_no - returns block hash on specific height (do loop for iterate blocks)
getblock blockhash - get block info, including list of TXIDs (ID of transactions)
getrawtransaction TXID 1 - returns decoded specific transaction by ID1