sp_domainsTrait BundleProducerElectionApi
source pub trait BundleProducerElectionApi<Block: BlockT, Balance: Encode + Decode>: Core<Block> {
// Provided methods
fn bundle_producer_election_params(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
domain_id: DomainId,
) -> Result<Option<BundleProducerElectionParams<Balance>>, ApiError> { ... }
fn operator(
&self,
__runtime_api_at_param__: <Block as BlockT>::Hash,
operator_id: OperatorId,
) -> Result<Option<(OperatorPublicKey, Balance)>, ApiError> { ... }
}
The identifier of the runtime api.
The version of the runtime api.