pub trait CardanoTransactionAggregatorRequest: Send + Sync {
// Required methods
fn get_proof<'life0, 'life1, 'async_trait>(
&'life0 self,
hashes: &'life1 [String],
) -> Pin<Box<dyn Future<Output = MithrilResult<Option<CardanoTransactionsProofs>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn list_latest_snapshots<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = MithrilResult<Vec<CardanoTransactionSnapshotListItem>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_snapshot<'life0, 'life1, 'async_trait>(
&'life0 self,
hash: &'life1 str,
) -> Pin<Box<dyn Future<Output = MithrilResult<Option<CardanoTransactionSnapshot>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Expand description
Define the requests against an aggregator related to Cardano transactions.
Required Methods§
Sourcefn get_proof<'life0, 'life1, 'async_trait>(
&'life0 self,
hashes: &'life1 [String],
) -> Pin<Box<dyn Future<Output = MithrilResult<Option<CardanoTransactionsProofs>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_proof<'life0, 'life1, 'async_trait>(
&'life0 self,
hashes: &'life1 [String],
) -> Pin<Box<dyn Future<Output = MithrilResult<Option<CardanoTransactionsProofs>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Get a proof of membership for the given transactions hashes from the aggregator.
Sourcefn list_latest_snapshots<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = MithrilResult<Vec<CardanoTransactionSnapshotListItem>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_latest_snapshots<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = MithrilResult<Vec<CardanoTransactionSnapshotListItem>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Fetch the list of latest signed Cardano transactions snapshots from the aggregator
Sourcefn get_snapshot<'life0, 'life1, 'async_trait>(
&'life0 self,
hash: &'life1 str,
) -> Pin<Box<dyn Future<Output = MithrilResult<Option<CardanoTransactionSnapshot>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_snapshot<'life0, 'life1, 'async_trait>(
&'life0 self,
hash: &'life1 str,
) -> Pin<Box<dyn Future<Output = MithrilResult<Option<CardanoTransactionSnapshot>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Fetch a Cardano transactions snapshot by its hash from the aggregator.