pub trait Query: 'static + Send + Sync {
Show 14 methods fn validators<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryValidatorsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryValidatorsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn validator<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryValidatorRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryValidatorResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn validator_delegations<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryValidatorDelegationsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryValidatorDelegationsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn validator_unbonding_delegations<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryValidatorUnbondingDelegationsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryValidatorUnbondingDelegationsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn delegation<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryDelegationRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryDelegationResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn unbonding_delegation<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryUnbondingDelegationRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryUnbondingDelegationResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn delegator_delegations<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryDelegatorDelegationsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryDelegatorDelegationsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn delegator_unbonding_delegations<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryDelegatorUnbondingDelegationsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryDelegatorUnbondingDelegationsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn redelegations<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryRedelegationsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryRedelegationsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn delegator_validators<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryDelegatorValidatorsRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryDelegatorValidatorsResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn delegator_validator<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryDelegatorValidatorRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryDelegatorValidatorResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn historical_info<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryHistoricalInfoRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryHistoricalInfoResponse>, Status>> + Send + 'async_trait, Global>>
    where
        'life0: 'async_trait,
        Self: 'async_trait
; fn pool<'life0, 'async_trait>(
        &'life0 self,
        request: Request<QueryPoolRequest>
    ) -> Pin<Box<dyn Future<Output = Result<Response<QueryPoolResponse>, 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

Validators queries all validators that match the given status.

Validator queries validator info for given validator address.

ValidatorDelegations queries delegate info for given validator.

ValidatorUnbondingDelegations queries unbonding delegations of a validator.

Delegation queries delegate info for given validator delegator pair.

UnbondingDelegation queries unbonding info for given validator delegator pair.

DelegatorDelegations queries all delegations of a given delegator address.

DelegatorUnbondingDelegations queries all unbonding delegations of a given delegator address.

Redelegations queries redelegations of given address.

DelegatorValidators queries all validators info for given delegator address.

DelegatorValidator queries validator info for given delegator validator pair.

HistoricalInfo queries the historical info for given height.

Pool queries the pool info.

Parameters queries the staking parameters.

Implementors