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> { ... }
}