pub trait CeloMiddleware: Middleware {
    // Provided method
    fn get_validators_bls_public_keys<'life0, 'async_trait, T>(
        &'life0 self,
        block_id: T
    ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, ProviderError>> + Send + 'async_trait>>
       where T: 'async_trait + Into<BlockId> + Send + Sync,
             Self: Sync + 'async_trait,
             'life0: 'async_trait { ... }
}
Available on crate feature celo only.
Expand description

Celo-specific extension trait

Provided Methods§

source

fn get_validators_bls_public_keys<'life0, 'async_trait, T>( &'life0 self, block_id: T ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, ProviderError>> + Send + 'async_trait>>
where T: 'async_trait + Into<BlockId> + Send + Sync, Self: Sync + 'async_trait, 'life0: 'async_trait,

Get validator BLS public keys

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<T> CeloMiddleware for T
where T: Middleware,