What Is the Difference between an On-Chain and Off-Chain Computation in an Oracle System?

On-chain computation refers to data processing that occurs directly on the blockchain, which is transparent and highly secure but expensive and slow due to gas costs. Off-chain computation is data processing performed outside the blockchain network, which is faster and cheaper.

Hybrid oracle systems use off-chain computation for efficiency and then submit the final, verified result on-chain for smart contract use.

What Are the Key Differences between Proof-of-Work and Proof-of-Stake Consensus Mechanisms regarding Network Security?
How Does a ‘Merkle Tree’ Relate to Off-Chain Data Verification?
What Are the Trade-Offs between ‘On-Chain’ and ‘Off-Chain’ DAO Voting?
Why Are TWAP Oracles Often Used for Settlement but Not for Fast, Real-Time Trading Execution?
What Are the Trade-Offs between On-Chain and Off-Chain Governance?
What Are the Security Trade-Offs between a Fast Finality PoS Chain and a Slower PoW Chain?
What Are the Differences between Centralized, Decentralized, and Optimistic Oracle Models in Terms of Security and Cost?
What Is the Difference between a “Fast” and “Slow” Mean Reversion Rate?

Glossar