Crypto glossary

On-chain

Definition

On-chain describes anything recorded directly on a blockchain, such as transfers, contract calls or votes, which are public, permanent and paid for in fees.

An action is on-chain when it is executed and stored by the blockchain itself: a bitcoin transfer included in a block, a token swap on a DEX, a DAO vote recorded by a smart contract. Every full node processes it, anyone can verify it on a block explorer and, once final, it cannot be quietly edited.

Being on-chain is what gives crypto its transparency and its self-custody guarantees. It also produces the raw data behind on-chain analysis, from exchange flows and whale movements to active addresses. Projects advertise fully on-chain games, NFTs or order books to stress that nothing depends on a company's server.

The trade-offs are cost, speed and privacy. Each on-chain action pays a fee and waits for blockspace, so high-frequency activity tends to move to layer 2s or off-chain systems. On-chain data is also permanent and public, which can expose users' financial activity. Note that buying crypto on a centralised exchange is not an on-chain transaction until you withdraw it.

Example

A user who buys ETH on an exchange only creates an internal database entry; the activity becomes on-chain when they withdraw the ETH to their own wallet and the transfer appears in a block.

Related terms

Latest articles on On-chain