pub trait Transactions: Send + Sync + 'static {
    fn submit_transaction<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Transaction>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn submit_transaction_stream<'life0, 'async_trait>(
        &'life0 self,
        request: Request<Streaming<Transaction>>
    ) -> Pin<Box<dyn Future<Output = Result<Response<Empty>, Status>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

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

Required Methods

Submit a Transactions

Submit a Transactions

Implementors