pub trait Query: 'static + Send + Sync {
    fn accounts<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryAccountsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryAccountsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn account<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryAccountRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryAccountResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn params<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryParamsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryParamsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; }
Expand description

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

Required Methods

Accounts returns all the existing accounts

Since: cosmos-sdk 0.43

Account returns account details based on address.

Params queries all parameters.

Implementors