What is Onchain? Onchain refers to any data, transaction, or activity that is recorded and executed directly on a blockchain, making it permanently visible, verifiable, and immutable without reliance on any external or centralized system.
Onchain Explained Think about the difference between a public noticeboard and a private notebook.
Anything pinned to the noticeboard is visible to everyone, permanent, and cannot be secretly changed.
Anything written in the notebook is private, editable, and only as trustworthy as the person holding it.
Onchain is the noticeboard.
When something happens onchain, it is recorded on the blockchain for everyone to see and verify. No single person or company controls it or can alter it after the fact.
What Onchain Means For Audience
Use Case
Blockchain developers and engineers
Build applications where critical logic and state changes are recorded onchain to ensure transparency, trust, and permanence
Analysts and researchers
Access and analyze onchain data to understand user behavior, fund flows, and protocol activity without relying on self-reported metrics
Protocol teams and founders
Use onchain activity as the source of truth for user metrics, revenue, and growth rather than off-chain proxies that can be manipulated
Examples A token transfer between two wallets is recorded onchain, meaning anyone can verify the transaction occurred, when it happened, and how much was sent.
A protocol publishes its treasury holdings onchain so that anyone can audit its financial position in real time without trusting a report issued by the team.
An analyst uses onchain data to track wallet activity across a DeFi protocol and identifies usage patterns that the protocol's own dashboard had not surfaced.
A DAO records all governance votes onchain, ensuring that the outcome of every proposal is permanently verifiable and cannot be altered by any individual or team.
FAQs What is the difference between onchain and offchain? Onchain activity is recorded directly on the blockchain and is public, permanent, and trustless. Offchain activity happens outside the blockchain and relies on centralized systems or trusted intermediaries to record and verify it.
Is onchain data always public? On most blockchains yes. Transactions and state changes are visible to anyone. Privacy-focused chains and zero-knowledge solutions can make onchain activity verifiable without being fully readable.
Why does it matter whether something is onchain or offchain? Onchain data cannot be altered, censored, or selectively reported. Offchain data depends on whoever controls the database. For trustless systems, onchain is the standard of truth.
What are examples of onchain activity? Token transfers, smart contract interactions, governance votes, NFT mints, liquidity deposits, and any other action that is submitted to and recorded by the blockchain network.
Can onchain data be deleted? No. Once recorded on a blockchain, data is permanent and cannot be removed. This immutability is a core property of decentralized networks and cannot be overridden by any party.