Skip to main content

What Is the Difference between an ‘On-Chain’ and ‘Off-Chain’ Consensus Mechanism for an Oracle?

An off-chain consensus mechanism involves oracle nodes agreeing on the final price outside of the main blockchain, which is faster and cheaper. The final, agreed-upon result is then submitted on-chain with a cryptographic proof.

An on-chain consensus mechanism would require every node to submit its data and for the smart contract to perform the aggregation and validation, which is significantly more expensive and slower.

How Does Co-Location or Proximity Hosting Reduce Latency for Market Data?
What Is ‘Co-Location’ in the Context of Exchange Trading?
How Do “Speed Bumps” Technically Delay Order Execution to Prevent Front-Running?
Do the Names “American” and “European” Refer to the Geographic Location of the Trade?