pub trait BlockchainApi: Send + Sync + 'static {
    fn get_activation_status<'life0, 'async_trait>(
        &'life0 self,
        request: Request<ActivationStatusRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ActivationStatusResponse>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn get_base_target<'life0, 'async_trait>(
        &'life0 self,
        request: Request<()>
    ) -> Pin<Box<dyn Future<Output = Result<Response<BaseTargetResponse>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; fn get_cumulative_score<'life0, 'async_trait>(
        &'life0 self,
        request: Request<()>
    ) -> Pin<Box<dyn Future<Output = Result<Response<ScoreResponse>, Status>> + Send + 'async_trait>>
    where
        Self: 'async_trait,
        'life0: 'async_trait
; }
Expand description

Generated trait containing gRPC methods that should be implemented for use with BlockchainApiServer.

Required Methods§

Implementors§