当前位置: 首页 > 工具软件 > py-bitcoin > 使用案例 >

[3rd of series6] Get General Information and Statistics of Confirmed Transactions via Python-Bitcoin

艾鹭洋
2023-12-01

Abstract

This blog will discuss the method of getting general information and statistics of confirmed transactions via Python-Bitcoinlib v0.9.0.


1. Example One

Example one is going to do some statistics on “vouts” of a transaction. It means that a bitcoin transaction is spent on one or several Bitcoin addresses.

First, we go through bitcoin blocks from 0 to 20000.

Second, we go through transactions of each block.

Third, we go calculate the number of “vouts” of each transaction.

Fourth, the source code is named “bitcoin_statistic1.py”.

$ python bitcoin_statistic1.py

2. Example Two

Example

 类似资料:

相关阅读

相关文章

相关问答