referrerpolicy=no-referrer-when-downgrade

Trait relay_utils::TransactionTracker

source ·
pub trait TransactionTracker: Send {
    type HeaderId: Clone + Debug + Send;

    // Required method
    fn wait<'async_trait>(
        self,
    ) -> Pin<Box<dyn Future<Output = TrackedTransactionStatus<Self::HeaderId>> + Send + 'async_trait>>
       where Self: 'async_trait;
}
Expand description

Transaction tracker.

Required Associated Types§

source

type HeaderId: Clone + Debug + Send

Header id, used by the chain.

Required Methods§

source

fn wait<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = TrackedTransactionStatus<Self::HeaderId>> + Send + 'async_trait>>
where Self: 'async_trait,

Wait until transaction is either finalized or invalidated/lost.

Implementors§