Lens

Structural Analysis

Upload Bitcoin Core block files, paste raw transaction hex, or provide a JSON fixture for full structural breakdown.

Search Online

Enter a transaction ID or block height to fetch and analyze from mempool.space

Famous:

How it works

01

Bitcoin is shared money records

Bitcoin is a digital currency that works without any bank or company in charge. Instead, thousands of computers around the world keep a shared record of every transaction ever made.

02

Those records are grouped into blocks

This shared record is called a blockchain, a giant list of pages (called blocks), each containing hundreds of transactions. Think of it like a public accounting book that anyone can read but nobody can alter.

Block 1#a7f3Block 2#c4e1Block 3#9b2d
03

Transactions wait in the mempool

When you send Bitcoin, your transaction goes into a waiting room called the mempool. Miners sweep through this pool and bundle hundreds of waiting transactions together to form a new block.

MempoolBlock #840
04

Miners secure blocks through proof-of-work

Miners race against each other to solve a complex mathematical puzzle to lock in that newly bundled block. The winner gets the block reward, and the bundle is permanently added to the blockchain.

?#c9a2Node A0x4f2...Node B0x000...Node C0x4f2...Node D0x4f2...
05

Lens opens the block to explain it

Each block contains a header, transactions, inputs, outputs, scripts, and fees. But this data is stored as raw bytes, making it completely unreadable to humans. That's where Lens comes in.

0100000000000000000000000000000000000000000000000000000000003ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1eac529241b21245fa87563dfa823145464523fa9a12c4bbf942a123fbbba23ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e12a9cbf45ba253fa2847cbaeafe82f45cc35b7e8d64ebfc3e45cb4ed9cba8ab9f902ac21baef4834ff24a2cbeaf139fcbcda241badcefaafeabcde2f3ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e12a9cbf45ba253fa2847cbaeafe82f45cc35b7e8d64ebfc3e45cb4ed9cba8ab9f902ac21baef4834ff24a2cbeaf139fcbcda241badcefaafeabcde2fac529241b21245fa87563dfa823145464523fa9a12c4bbf942a123fbbba23ba3edfd7a7b12b27ac72c3e67768f617fc81bc3888a51323a9fb8aa4b1e12a9cbf45ba253fa2847cbaeafe82f45cc35b7e8d64ebfc3e45cb4ed9cbaBlock HeaderHash: 00000000000000000003b4...Version: 4 • Time: 2024-05-12 14:30:00Tx 1 (Coinbase)Reward: 3.125 BTCTx 2Value: 0.50 BTCTx 3 ...Tx 4 ...

Ready to see what's inside a real block?

Upload your own Bitcoin Core files or paste raw transaction data.