pub trait ControlApi<Block: BlockT>: Core<Block> {
    // Provided method
    fn agent_id(
        &self,
        __runtime_api_at_param__: <Block as BlockT>::Hash,
        location: VersionedLocation
    ) -> Result<Option<AgentId>, ApiError> { ... }
}

Provided Methods§

source

fn agent_id( &self, __runtime_api_at_param__: <Block as BlockT>::Hash, location: VersionedLocation ) -> Result<Option<AgentId>, ApiError>

Trait Implementations§

source§

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

source§

const ID: [u8; 8] = _

The identifier of the runtime api.
source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§