简体   繁体   中英

How to analyse Bitcoin Blockchain data from Bitcoin Core?

I'm running a Bitcoin Full Node and I'm wondering how to import the data that is saved on my computer to Python in order to do some analyses. Would be glad about recommendations for packages that help with this issue.

Thanks in advance

You can use Bitcoin JSON RPC API , and use commands from the list :

  • 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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM