Skip to content
Blockchain

On-chain

Any data or transaction recorded directly on the blockchain.

Key points

  • On-chain refers to transactions and activity recorded directly on the blockchain, publicly, permanently, and verifiably.
  • Everything that is on-chain can be audited by anyone and inherits the network's security and immutability.
  • In exchange, on-chain operations pay network fees and are subject to the blockchain's capacity limits.

What does on-chain mean?

On-chain describes what happens and gets recorded on the blockchain itself. An on-chain transaction is validated by the network, included in a block, and becomes part of the public, permanent history. It is the opposite of off-chain, which refers to processes and transactions that occur outside the main chain, without that direct record.

How it works

When an operation is done on-chain, it is broadcast to the network, validated according to the protocol's rules, and recorded in a block. From there, it becomes visible to anyone who checks the blockchain, for example through a block explorer, and gains the network's properties: it is hard to alter and does not depend on an intermediary for confirmation.

This public record has clear advantages in transparency and auditability. Anyone can verify that a transfer took place without trusting a third party's word. That is why on-chain data is used both to prove operations and for analyses that track flows of value between addresses.

The trade-off is cost and capacity. Every on-chain operation pays a network fee and takes up limited space in blocks, which can make transactions more expensive and slower during periods of congestion. This limitation is what drives moving part of the activity off-chain.

Why it matters

On-chain operations provide public, independent proof that something happened. For a business, this means being able to prove receipts and audit movements by checking the network directly, without depending on an intermediary. Knowing what is on-chain and what is not helps in understanding the level of assurance each operation carries.

Limitations

Not everything fits on-chain: the cost per transaction and capacity limits make it unviable to record large volumes of small operations directly on the main chain. Full transparency also exposes flows between addresses, which raises privacy concerns. That is why many solutions combine on-chain recording with off-chain processing. Deciding what to record directly on the network is, in the end, a trade-off between cost and assurance.