Oracles

In blocktorch there are 6 of the most adopted Oracles supported out of the box. That means if your dApp utilizes any of these 6 Oracles, you can start accessing its data for example for monitoring without any additional setup. Blocktorch has full support for these oracles no matter the exact technical specifications of these oracles, for example if they work with state variables or event emittance.

Using another oracle than the natively supported ones? You can monitor it by adding it to your smart contracts. In case you would like us to support this oracle natively as well, please reach out to us.

Accessing out of the box oracle data

1. Navigate to "TPM" >> "Oracles

2. Click the Oracle provider you would like to access

3. Navigate between "Performance", "Efficiency", "Health" and "Storage explorer" to access different ready made KPIs and dashboards

Using the Storage Explorer

Depending on the technical implementation of the oracle, storage might be utilized for important oracle feed data. In blocktorch's oracle storage explorer, this data can be accessed and visualized efficiently.

1. Once the Oracle has been accessed, navigate to the "Storage explorer" as explained above

2. Choose the chain or specific data feed contract you'd like to access data from. On our example we are using Pyth's ETH Sepolia Oracle.

3. Blocktorch auto-detects all state variables that can be accessed from storage in the respective contract. Either type what variable exactly you are looking for or choose from the list. In our example we are using Pyth's Crypto.MATIC/USD price feed to look up how the price has changed.

4. The graph shows the change within the last 12 hours

New to Oracles?

Oracles are third-party services that provide smart contracts with external information. They serve as bridges between blockchains and the outside world. Smart contracts, by their nature, cannot access or interact with external data. Oracles play a crucial role in enabling smart contracts to execute based on real-world events and data, such as temperature readings, stock prices, and payment confirmations.

There are two main types of oracles:

  • Pull Oracles: These oracles send external data to smart contracts upon request.

  • Push Oracles: These oracles provide data to smart contracts automatically when certain conditions are met, without waiting for a request.

Oracles are vital for the functionality of many decentralized applications (DApps), enabling them to interact dynamically with real-world information. However, reliance on oracles introduces a level of trust into otherwise trustless systems, highlighting the importance of choosing reliable and secure oracles.

Last updated