Trait OracleApi
Source pub trait OracleApi<Block: BlockT, ProviderId, Key, Value>: Core<Block>{
// Provided methods
fn get_value(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
provider_id: ProviderId,
key: Key,
) -> Result<Option<Value>, ApiError> { ... }
fn get_all_values(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
provider_id: ProviderId,
) -> Result<Vec<(Key, Option<Value>)>, ApiError> { ... }
}
The identifier of the runtime api.
The version of the runtime api.