pub trait SlotApi<Block: BlockT>: Core<Block> {
// Provided method
fn slot_config(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
) -> Result<ScSlotConfig, ApiError> { ... }
}
Expand description
Runtime API serving slot configuration
Provided Methods§
Sourcefn slot_config(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
) -> Result<ScSlotConfig, ApiError>
fn slot_config( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<ScSlotConfig, ApiError>
Returns the current slot configuration