<p>I recently had the same question and made a small script to compute it (using <a href="https://github.com/alecalve/python-bitcoin-blockchain-parser" rel="nofollow noreferrer">this python library</a>). Here you have a cumulative plot showing the number of transaction outputs of each kind over time:</p>

<p><a href="https://i.sstatic.net/Xz1se.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Xz1se.png" alt="Cumulative plot of the number of transaction outputs per type"></a></p>

CC BY-SA 3.0
2017-05-29T18:09:37.740Z
Thanks, very cool. Would that script be available somewhere or the image perhaps even dynamically updated in the web somewhere? 0:-)
Murch
CC BY-SA 3.0
2017-03-02T10:00:49.560Z
2017-03-07T19:56:42.913Z
2017-03-07T19:56:42.913Z
cpsola
<p>What types of transactions do we see in blocks today and how much of the blockspace do they occupy?</p>

<p>I.e. does someone have data how much of the blocks are <code>Pay to PubKey Hash</code>, <code>Pay to PubKey</code>, <code>Pay to Script Hash</code>,…?</p>

<p>I've found <a href="http://www.quantabytes.com/articles/a-survey-of-bitcoin-transaction-types" rel="noreferrer">A survey of Bitcoin Transaction Types</a>, but it's from April 2014 and outdated.</p>

<transactions><blockchain><p2sh><p2pkh>
What is the composition of transaction types in current blocks?
Murch
# What is the composition of transaction types in current blocks?

(Asked by: username_0 on 2016-07-05)

What types of transactions do we see in blocks today and how much of the blockspace do they occupy?

I.e. does someone have data how much of the blocks are `Pay to PubKey Hash`, `Pay to PubKey`, `Pay to Script Hash`,…?

I've found [A survey of Bitcoin Transaction Types](http://www.quantabytes.com/articles/a-survey-of-bitcoin-transaction-types), but it's from April 2014 and outdated.

**Tags:** transactions, blockchain, p2sh, p2pkh


---

## 1 answers

### Answer by username_1 on 2017-03-02. Score: 3 | Accepted answer

I recently had the same question and made a small script to compute it (using [this python library](https://github.com/alecalve/python-bitcoin-blockchain-parser)). Here you have a cumulative plot showing the number of transaction outputs of each kind over time:

[![Cumulative plot of the number of transaction outputs per type](https://i.sstatic.net/Xz1se.png)](https://i.sstatic.net/Xz1se.png)

> **Comments:**
> **username_0**: Thanks, very cool. Would that script be available somewhere or the image perhaps even dynamically updated in the web somewhere? 0:-)  

---

