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.