Skip to main content

On-Chain | Bitcoin Glossary | Mapping Bitcoin

On-Chain

Protocolo

Transactions or operations that are recorded directly on the Bitcoin blockchain and validated by the full network of nodes. On-chain transactions provide the highest level of security and finality but are constrained by block space and confirmation times.

Overview

On-chain refers to transactions and data that are recorded directly on the Bitcoin blockchain and validated by every full node in the network. On-chain transactions represent the highest level of security and finality available in Bitcoin, as they benefit from the full proof-of-work security and consensus enforcement of the Layer 1 protocol.

Characteristics of On-Chain Transactions

On-chain transaction lifecycle:

  Create tx → Broadcast → Mempool → Mined in block → Confirmed
                                          │
                                    1 confirmation
                                          │
                                    2 confirmations
                                          │
                                    6 confirmations ← Generally
                                          │            considered final
                                    N confirmations

Each on-chain transaction:

  • Is permanently recorded in the blockchain
  • Is validated by every full node
  • Pays a fee proportional to its size in block weight
  • Requires waiting for block confirmations for finality
  • Is limited by the available block space (~4 MB weight per block)

When to Use On-Chain

On-chain transactions are best suited for:

  • Large-value transfers where maximum security is essential
  • Final settlement of off-chain activity (e.g., opening/closing Lightning channels)
  • Transactions that need to be independently verifiable by any third party
  • Long-term storage or transfers that do not require instant confirmation

Finality and Confirmations

Unlike off-chain payments that settle instantly, on-chain transactions gain increasing security with each additional block mined on top of them. One confirmation means the transaction is in a block; six confirmations (approximately one hour) is the traditional threshold for considering a transaction practically irreversible.

Common Misconceptions

"On-chain" does not mean "better" in all cases. For small, frequent payments, on-chain transactions are often impractical due to fees and confirmation times. The Lightning Network and other Layer 2 solutions exist precisely to handle use cases where on-chain settlement for every transaction is unnecessary.