fedimint_meta_client::apiTrait MetaFederationApi
Source pub trait MetaFederationApi {
// Required methods
fn get_consensus<'life0, 'async_trait>(
&'life0 self,
key: MetaKey,
) -> Pin<Box<dyn Future<Output = FederationResult<Option<MetaConsensusValue>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_consensus_rev<'life0, 'async_trait>(
&'life0 self,
key: MetaKey,
) -> Pin<Box<dyn Future<Output = FederationResult<Option<u64>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_submissions<'life0, 'async_trait>(
&'life0 self,
key: MetaKey,
auth: ApiAuth,
) -> Pin<Box<dyn Future<Output = FederationResult<GetSubmissionResponse>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn submit<'life0, 'async_trait>(
&'life0 self,
key: MetaKey,
value: MetaValue,
auth: ApiAuth,
) -> Pin<Box<dyn Future<Output = FederationResult<Option<u64>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}