referrerpolicy=no-referrer-when-downgrade

Crate pallet_oracle_runtime_api

Source
Expand description

Runtime API definition for the oracle pallet.

This crate provides runtime APIs that allow external clients to query oracle data from the blockchain. The APIs are designed to be efficient and provide access to both individual oracle values and complete datasets.

§Overview

The oracle runtime API enables off-chain applications, wallets, and other blockchain clients to retrieve oracle data without needing to parse storage directly. This abstraction provides a clean interface for accessing oracle information and ensures compatibility across different runtime versions.

The API supports querying data from specific oracle providers and retrieving all available oracle data, making it suitable for various use cases such as price feeds, data monitoring, and external integrations.

Traits§

OracleApi
Runtime API for querying oracle data from the blockchain.