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§
Sourcefn agent_id(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
location: VersionedLocation,
) -> Result<Option<AgentId>, ApiError>
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.