Wolfram Language

Find the Time Between Blocks

Mining is a common technique in blockchain technology and is an important feature for maintaining a decentralized system, allowing participants to verify information added to the blockchain as blocks. This process typically occurs as pseudo-periodic events.

This example shows how to extract the latest 100 Bitcoin blocks using BlockchainBlockData and the time in which they were mined.

Compute the time between mined Bitcoin blocks, starting from the oldest dates.

In the Bitcoin blockchain, on average, a block is mined every 10 minutes. Get the average confirmation time of the blocks previously extracted.

Plot the time between events versus when they occur.

Related Examples

de es fr ja pt-br zh