referrerpolicy=no-referrer-when-downgrade

Trait ControlV2Api

Source
pub trait ControlV2Api<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>

Provides the Agent ID on Ethereum for the specified location.

Trait Implementations§

Source§

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

Source§

const ID: [u8; 8]

The identifier of the runtime api.
Source§

const VERSION: u32 = 1u32

The version of the runtime api.

Implementors§