Trait SlotApi

Source
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§

Source

fn slot_config( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, ) -> Result<ScSlotConfig, ApiError>

Returns the current slot configuration

Trait Implementations§

Source§

impl<Block: BlockT> RuntimeApiInfo for dyn SlotApi<Block>

Source§

const ID: [u8; 8]

The identifier of the runtime api.
Source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§