interchainjs
Version:
InterchainJS is a JavaScript library for interacting with Cosmos SDK based blockchains.
1,298 lines • 74.1 kB
TypeScript
import { PageRequest, PageRequestAmino, PageResponse, PageResponseAmino } from "../../base/query/v1beta1/pagination";
import { Validator, ValidatorAmino, DelegationResponse, DelegationResponseAmino, UnbondingDelegation, UnbondingDelegationAmino, RedelegationResponse, RedelegationResponseAmino, HistoricalInfo, HistoricalInfoAmino, Pool, PoolAmino, Params, ParamsAmino } from "./staking";
import { BinaryReader, BinaryWriter } from "../../../binary";
import { DeepPartial } from "../../../helpers";
/**
* QueryValidatorsRequest is request type for Query/Validators RPC method.
* @name QueryValidatorsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorsRequest
*/
export interface QueryValidatorsRequest {
/**
* status enables to query for validators matching a given status.
*/
status: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QueryValidatorsRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsRequest";
value: Uint8Array;
}
/**
* QueryValidatorsRequest is request type for Query/Validators RPC method.
* @name QueryValidatorsRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorsRequest
*/
export interface QueryValidatorsRequestAmino {
/**
* status enables to query for validators matching a given status.
*/
status: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QueryValidatorsRequestAminoMsg {
type: "cosmos-sdk/QueryValidatorsRequest";
value: QueryValidatorsRequestAmino;
}
/**
* QueryValidatorsResponse is response type for the Query/Validators RPC method
* @name QueryValidatorsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorsResponse
*/
export interface QueryValidatorsResponse {
/**
* validators contains all the queried validators.
*/
validators: Validator[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryValidatorsResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryValidatorsResponse";
value: Uint8Array;
}
/**
* QueryValidatorsResponse is response type for the Query/Validators RPC method
* @name QueryValidatorsResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorsResponse
*/
export interface QueryValidatorsResponseAmino {
/**
* validators contains all the queried validators.
*/
validators: ValidatorAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryValidatorsResponseAminoMsg {
type: "cosmos-sdk/QueryValidatorsResponse";
value: QueryValidatorsResponseAmino;
}
/**
* QueryValidatorRequest is response type for the Query/Validator RPC method
* @name QueryValidatorRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorRequest
*/
export interface QueryValidatorRequest {
/**
* validator_addr defines the validator address to query for.
*/
validatorAddr: string;
}
export interface QueryValidatorRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryValidatorRequest";
value: Uint8Array;
}
/**
* QueryValidatorRequest is response type for the Query/Validator RPC method
* @name QueryValidatorRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorRequest
*/
export interface QueryValidatorRequestAmino {
/**
* validator_addr defines the validator address to query for.
*/
validator_addr: string;
}
export interface QueryValidatorRequestAminoMsg {
type: "cosmos-sdk/QueryValidatorRequest";
value: QueryValidatorRequestAmino;
}
/**
* QueryValidatorResponse is response type for the Query/Validator RPC method
* @name QueryValidatorResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorResponse
*/
export interface QueryValidatorResponse {
/**
* validator defines the validator info.
*/
validator: Validator;
}
export interface QueryValidatorResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryValidatorResponse";
value: Uint8Array;
}
/**
* QueryValidatorResponse is response type for the Query/Validator RPC method
* @name QueryValidatorResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorResponse
*/
export interface QueryValidatorResponseAmino {
/**
* validator defines the validator info.
*/
validator: ValidatorAmino;
}
export interface QueryValidatorResponseAminoMsg {
type: "cosmos-sdk/QueryValidatorResponse";
value: QueryValidatorResponseAmino;
}
/**
* QueryValidatorDelegationsRequest is request type for the
* Query/ValidatorDelegations RPC method
* @name QueryValidatorDelegationsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorDelegationsRequest
*/
export interface QueryValidatorDelegationsRequest {
/**
* validator_addr defines the validator address to query for.
*/
validatorAddr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QueryValidatorDelegationsRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsRequest";
value: Uint8Array;
}
/**
* QueryValidatorDelegationsRequest is request type for the
* Query/ValidatorDelegations RPC method
* @name QueryValidatorDelegationsRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorDelegationsRequest
*/
export interface QueryValidatorDelegationsRequestAmino {
/**
* validator_addr defines the validator address to query for.
*/
validator_addr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QueryValidatorDelegationsRequestAminoMsg {
type: "cosmos-sdk/QueryValidatorDelegationsRequest";
value: QueryValidatorDelegationsRequestAmino;
}
/**
* QueryValidatorDelegationsResponse is response type for the
* Query/ValidatorDelegations RPC method
* @name QueryValidatorDelegationsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorDelegationsResponse
*/
export interface QueryValidatorDelegationsResponse {
delegationResponses: DelegationResponse[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryValidatorDelegationsResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryValidatorDelegationsResponse";
value: Uint8Array;
}
/**
* QueryValidatorDelegationsResponse is response type for the
* Query/ValidatorDelegations RPC method
* @name QueryValidatorDelegationsResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorDelegationsResponse
*/
export interface QueryValidatorDelegationsResponseAmino {
delegation_responses: DelegationResponseAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryValidatorDelegationsResponseAminoMsg {
type: "cosmos-sdk/QueryValidatorDelegationsResponse";
value: QueryValidatorDelegationsResponseAmino;
}
/**
* QueryValidatorUnbondingDelegationsRequest is required type for the
* Query/ValidatorUnbondingDelegations RPC method
* @name QueryValidatorUnbondingDelegationsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest
*/
export interface QueryValidatorUnbondingDelegationsRequest {
/**
* validator_addr defines the validator address to query for.
*/
validatorAddr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QueryValidatorUnbondingDelegationsRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest";
value: Uint8Array;
}
/**
* QueryValidatorUnbondingDelegationsRequest is required type for the
* Query/ValidatorUnbondingDelegations RPC method
* @name QueryValidatorUnbondingDelegationsRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest
*/
export interface QueryValidatorUnbondingDelegationsRequestAmino {
/**
* validator_addr defines the validator address to query for.
*/
validator_addr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QueryValidatorUnbondingDelegationsRequestAminoMsg {
type: "cosmos-sdk/QueryValidatorUnbondingDelegationsRequest";
value: QueryValidatorUnbondingDelegationsRequestAmino;
}
/**
* QueryValidatorUnbondingDelegationsResponse is response type for the
* Query/ValidatorUnbondingDelegations RPC method.
* @name QueryValidatorUnbondingDelegationsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse
*/
export interface QueryValidatorUnbondingDelegationsResponse {
unbondingResponses: UnbondingDelegation[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryValidatorUnbondingDelegationsResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse";
value: Uint8Array;
}
/**
* QueryValidatorUnbondingDelegationsResponse is response type for the
* Query/ValidatorUnbondingDelegations RPC method.
* @name QueryValidatorUnbondingDelegationsResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse
*/
export interface QueryValidatorUnbondingDelegationsResponseAmino {
unbonding_responses: UnbondingDelegationAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryValidatorUnbondingDelegationsResponseAminoMsg {
type: "cosmos-sdk/QueryValidatorUnbondingDelegationsResponse";
value: QueryValidatorUnbondingDelegationsResponseAmino;
}
/**
* QueryDelegationRequest is request type for the Query/Delegation RPC method.
* @name QueryDelegationRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegationRequest
*/
export interface QueryDelegationRequest {
/**
* delegator_addr defines the delegator address to query for.
*/
delegatorAddr: string;
/**
* validator_addr defines the validator address to query for.
*/
validatorAddr: string;
}
export interface QueryDelegationRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryDelegationRequest";
value: Uint8Array;
}
/**
* QueryDelegationRequest is request type for the Query/Delegation RPC method.
* @name QueryDelegationRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegationRequest
*/
export interface QueryDelegationRequestAmino {
/**
* delegator_addr defines the delegator address to query for.
*/
delegator_addr: string;
/**
* validator_addr defines the validator address to query for.
*/
validator_addr: string;
}
export interface QueryDelegationRequestAminoMsg {
type: "cosmos-sdk/QueryDelegationRequest";
value: QueryDelegationRequestAmino;
}
/**
* QueryDelegationResponse is response type for the Query/Delegation RPC method.
* @name QueryDelegationResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegationResponse
*/
export interface QueryDelegationResponse {
/**
* delegation_responses defines the delegation info of a delegation.
*/
delegationResponse?: DelegationResponse;
}
export interface QueryDelegationResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryDelegationResponse";
value: Uint8Array;
}
/**
* QueryDelegationResponse is response type for the Query/Delegation RPC method.
* @name QueryDelegationResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegationResponse
*/
export interface QueryDelegationResponseAmino {
/**
* delegation_responses defines the delegation info of a delegation.
*/
delegation_response?: DelegationResponseAmino;
}
export interface QueryDelegationResponseAminoMsg {
type: "cosmos-sdk/QueryDelegationResponse";
value: QueryDelegationResponseAmino;
}
/**
* QueryUnbondingDelegationRequest is request type for the
* Query/UnbondingDelegation RPC method.
* @name QueryUnbondingDelegationRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryUnbondingDelegationRequest
*/
export interface QueryUnbondingDelegationRequest {
/**
* delegator_addr defines the delegator address to query for.
*/
delegatorAddr: string;
/**
* validator_addr defines the validator address to query for.
*/
validatorAddr: string;
}
export interface QueryUnbondingDelegationRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationRequest";
value: Uint8Array;
}
/**
* QueryUnbondingDelegationRequest is request type for the
* Query/UnbondingDelegation RPC method.
* @name QueryUnbondingDelegationRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryUnbondingDelegationRequest
*/
export interface QueryUnbondingDelegationRequestAmino {
/**
* delegator_addr defines the delegator address to query for.
*/
delegator_addr: string;
/**
* validator_addr defines the validator address to query for.
*/
validator_addr: string;
}
export interface QueryUnbondingDelegationRequestAminoMsg {
type: "cosmos-sdk/QueryUnbondingDelegationRequest";
value: QueryUnbondingDelegationRequestAmino;
}
/**
* QueryDelegationResponse is response type for the Query/UnbondingDelegation
* RPC method.
* @name QueryUnbondingDelegationResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryUnbondingDelegationResponse
*/
export interface QueryUnbondingDelegationResponse {
/**
* unbond defines the unbonding information of a delegation.
*/
unbond: UnbondingDelegation;
}
export interface QueryUnbondingDelegationResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryUnbondingDelegationResponse";
value: Uint8Array;
}
/**
* QueryDelegationResponse is response type for the Query/UnbondingDelegation
* RPC method.
* @name QueryUnbondingDelegationResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryUnbondingDelegationResponse
*/
export interface QueryUnbondingDelegationResponseAmino {
/**
* unbond defines the unbonding information of a delegation.
*/
unbond: UnbondingDelegationAmino;
}
export interface QueryUnbondingDelegationResponseAminoMsg {
type: "cosmos-sdk/QueryUnbondingDelegationResponse";
value: QueryUnbondingDelegationResponseAmino;
}
/**
* QueryDelegatorDelegationsRequest is request type for the
* Query/DelegatorDelegations RPC method.
* @name QueryDelegatorDelegationsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest
*/
export interface QueryDelegatorDelegationsRequest {
/**
* delegator_addr defines the delegator address to query for.
*/
delegatorAddr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QueryDelegatorDelegationsRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest";
value: Uint8Array;
}
/**
* QueryDelegatorDelegationsRequest is request type for the
* Query/DelegatorDelegations RPC method.
* @name QueryDelegatorDelegationsRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest
*/
export interface QueryDelegatorDelegationsRequestAmino {
/**
* delegator_addr defines the delegator address to query for.
*/
delegator_addr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QueryDelegatorDelegationsRequestAminoMsg {
type: "cosmos-sdk/QueryDelegatorDelegationsRequest";
value: QueryDelegatorDelegationsRequestAmino;
}
/**
* QueryDelegatorDelegationsResponse is response type for the
* Query/DelegatorDelegations RPC method.
* @name QueryDelegatorDelegationsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse
*/
export interface QueryDelegatorDelegationsResponse {
/**
* delegation_responses defines all the delegations' info of a delegator.
*/
delegationResponses: DelegationResponse[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryDelegatorDelegationsResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse";
value: Uint8Array;
}
/**
* QueryDelegatorDelegationsResponse is response type for the
* Query/DelegatorDelegations RPC method.
* @name QueryDelegatorDelegationsResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse
*/
export interface QueryDelegatorDelegationsResponseAmino {
/**
* delegation_responses defines all the delegations' info of a delegator.
*/
delegation_responses: DelegationResponseAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryDelegatorDelegationsResponseAminoMsg {
type: "cosmos-sdk/QueryDelegatorDelegationsResponse";
value: QueryDelegatorDelegationsResponseAmino;
}
/**
* QueryDelegatorUnbondingDelegationsRequest is request type for the
* Query/DelegatorUnbondingDelegations RPC method.
* @name QueryDelegatorUnbondingDelegationsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest
*/
export interface QueryDelegatorUnbondingDelegationsRequest {
/**
* delegator_addr defines the delegator address to query for.
*/
delegatorAddr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QueryDelegatorUnbondingDelegationsRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest";
value: Uint8Array;
}
/**
* QueryDelegatorUnbondingDelegationsRequest is request type for the
* Query/DelegatorUnbondingDelegations RPC method.
* @name QueryDelegatorUnbondingDelegationsRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest
*/
export interface QueryDelegatorUnbondingDelegationsRequestAmino {
/**
* delegator_addr defines the delegator address to query for.
*/
delegator_addr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QueryDelegatorUnbondingDelegationsRequestAminoMsg {
type: "cosmos-sdk/QueryDelegatorUnbondingDelegationsRequest";
value: QueryDelegatorUnbondingDelegationsRequestAmino;
}
/**
* QueryUnbondingDelegatorDelegationsResponse is response type for the
* Query/UnbondingDelegatorDelegations RPC method.
* @name QueryDelegatorUnbondingDelegationsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse
*/
export interface QueryDelegatorUnbondingDelegationsResponse {
unbondingResponses: UnbondingDelegation[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryDelegatorUnbondingDelegationsResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse";
value: Uint8Array;
}
/**
* QueryUnbondingDelegatorDelegationsResponse is response type for the
* Query/UnbondingDelegatorDelegations RPC method.
* @name QueryDelegatorUnbondingDelegationsResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse
*/
export interface QueryDelegatorUnbondingDelegationsResponseAmino {
unbonding_responses: UnbondingDelegationAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryDelegatorUnbondingDelegationsResponseAminoMsg {
type: "cosmos-sdk/QueryDelegatorUnbondingDelegationsResponse";
value: QueryDelegatorUnbondingDelegationsResponseAmino;
}
/**
* QueryRedelegationsRequest is request type for the Query/Redelegations RPC
* method.
* @name QueryRedelegationsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryRedelegationsRequest
*/
export interface QueryRedelegationsRequest {
/**
* delegator_addr defines the delegator address to query for.
*/
delegatorAddr: string;
/**
* src_validator_addr defines the validator address to redelegate from.
*/
srcValidatorAddr: string;
/**
* dst_validator_addr defines the validator address to redelegate to.
*/
dstValidatorAddr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QueryRedelegationsRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsRequest";
value: Uint8Array;
}
/**
* QueryRedelegationsRequest is request type for the Query/Redelegations RPC
* method.
* @name QueryRedelegationsRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryRedelegationsRequest
*/
export interface QueryRedelegationsRequestAmino {
/**
* delegator_addr defines the delegator address to query for.
*/
delegator_addr: string;
/**
* src_validator_addr defines the validator address to redelegate from.
*/
src_validator_addr: string;
/**
* dst_validator_addr defines the validator address to redelegate to.
*/
dst_validator_addr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QueryRedelegationsRequestAminoMsg {
type: "cosmos-sdk/QueryRedelegationsRequest";
value: QueryRedelegationsRequestAmino;
}
/**
* QueryRedelegationsResponse is response type for the Query/Redelegations RPC
* method.
* @name QueryRedelegationsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryRedelegationsResponse
*/
export interface QueryRedelegationsResponse {
redelegationResponses: RedelegationResponse[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryRedelegationsResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryRedelegationsResponse";
value: Uint8Array;
}
/**
* QueryRedelegationsResponse is response type for the Query/Redelegations RPC
* method.
* @name QueryRedelegationsResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryRedelegationsResponse
*/
export interface QueryRedelegationsResponseAmino {
redelegation_responses: RedelegationResponseAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryRedelegationsResponseAminoMsg {
type: "cosmos-sdk/QueryRedelegationsResponse";
value: QueryRedelegationsResponseAmino;
}
/**
* QueryDelegatorValidatorsRequest is request type for the
* Query/DelegatorValidators RPC method.
* @name QueryDelegatorValidatorsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest
*/
export interface QueryDelegatorValidatorsRequest {
/**
* delegator_addr defines the delegator address to query for.
*/
delegatorAddr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequest;
}
export interface QueryDelegatorValidatorsRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest";
value: Uint8Array;
}
/**
* QueryDelegatorValidatorsRequest is request type for the
* Query/DelegatorValidators RPC method.
* @name QueryDelegatorValidatorsRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest
*/
export interface QueryDelegatorValidatorsRequestAmino {
/**
* delegator_addr defines the delegator address to query for.
*/
delegator_addr: string;
/**
* pagination defines an optional pagination for the request.
*/
pagination?: PageRequestAmino;
}
export interface QueryDelegatorValidatorsRequestAminoMsg {
type: "cosmos-sdk/QueryDelegatorValidatorsRequest";
value: QueryDelegatorValidatorsRequestAmino;
}
/**
* QueryDelegatorValidatorsResponse is response type for the
* Query/DelegatorValidators RPC method.
* @name QueryDelegatorValidatorsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse
*/
export interface QueryDelegatorValidatorsResponse {
/**
* validators defines the validators' info of a delegator.
*/
validators: Validator[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponse;
}
export interface QueryDelegatorValidatorsResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse";
value: Uint8Array;
}
/**
* QueryDelegatorValidatorsResponse is response type for the
* Query/DelegatorValidators RPC method.
* @name QueryDelegatorValidatorsResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse
*/
export interface QueryDelegatorValidatorsResponseAmino {
/**
* validators defines the validators' info of a delegator.
*/
validators: ValidatorAmino[];
/**
* pagination defines the pagination in the response.
*/
pagination?: PageResponseAmino;
}
export interface QueryDelegatorValidatorsResponseAminoMsg {
type: "cosmos-sdk/QueryDelegatorValidatorsResponse";
value: QueryDelegatorValidatorsResponseAmino;
}
/**
* QueryDelegatorValidatorRequest is request type for the
* Query/DelegatorValidator RPC method.
* @name QueryDelegatorValidatorRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorValidatorRequest
*/
export interface QueryDelegatorValidatorRequest {
/**
* delegator_addr defines the delegator address to query for.
*/
delegatorAddr: string;
/**
* validator_addr defines the validator address to query for.
*/
validatorAddr: string;
}
export interface QueryDelegatorValidatorRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorRequest";
value: Uint8Array;
}
/**
* QueryDelegatorValidatorRequest is request type for the
* Query/DelegatorValidator RPC method.
* @name QueryDelegatorValidatorRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorValidatorRequest
*/
export interface QueryDelegatorValidatorRequestAmino {
/**
* delegator_addr defines the delegator address to query for.
*/
delegator_addr: string;
/**
* validator_addr defines the validator address to query for.
*/
validator_addr: string;
}
export interface QueryDelegatorValidatorRequestAminoMsg {
type: "cosmos-sdk/QueryDelegatorValidatorRequest";
value: QueryDelegatorValidatorRequestAmino;
}
/**
* QueryDelegatorValidatorResponse response type for the
* Query/DelegatorValidator RPC method.
* @name QueryDelegatorValidatorResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorValidatorResponse
*/
export interface QueryDelegatorValidatorResponse {
/**
* validator defines the validator info.
*/
validator: Validator;
}
export interface QueryDelegatorValidatorResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryDelegatorValidatorResponse";
value: Uint8Array;
}
/**
* QueryDelegatorValidatorResponse response type for the
* Query/DelegatorValidator RPC method.
* @name QueryDelegatorValidatorResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegatorValidatorResponse
*/
export interface QueryDelegatorValidatorResponseAmino {
/**
* validator defines the validator info.
*/
validator: ValidatorAmino;
}
export interface QueryDelegatorValidatorResponseAminoMsg {
type: "cosmos-sdk/QueryDelegatorValidatorResponse";
value: QueryDelegatorValidatorResponseAmino;
}
/**
* QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC
* method.
* @name QueryHistoricalInfoRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryHistoricalInfoRequest
*/
export interface QueryHistoricalInfoRequest {
/**
* height defines at which height to query the historical info.
*/
height: bigint;
}
export interface QueryHistoricalInfoRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoRequest";
value: Uint8Array;
}
/**
* QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC
* method.
* @name QueryHistoricalInfoRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryHistoricalInfoRequest
*/
export interface QueryHistoricalInfoRequestAmino {
/**
* height defines at which height to query the historical info.
*/
height: string;
}
export interface QueryHistoricalInfoRequestAminoMsg {
type: "cosmos-sdk/QueryHistoricalInfoRequest";
value: QueryHistoricalInfoRequestAmino;
}
/**
* QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC
* method.
* @name QueryHistoricalInfoResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryHistoricalInfoResponse
*/
export interface QueryHistoricalInfoResponse {
/**
* hist defines the historical info at the given height.
*/
hist?: HistoricalInfo;
}
export interface QueryHistoricalInfoResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryHistoricalInfoResponse";
value: Uint8Array;
}
/**
* QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC
* method.
* @name QueryHistoricalInfoResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryHistoricalInfoResponse
*/
export interface QueryHistoricalInfoResponseAmino {
/**
* hist defines the historical info at the given height.
*/
hist?: HistoricalInfoAmino;
}
export interface QueryHistoricalInfoResponseAminoMsg {
type: "cosmos-sdk/QueryHistoricalInfoResponse";
value: QueryHistoricalInfoResponseAmino;
}
/**
* QueryPoolRequest is request type for the Query/Pool RPC method.
* @name QueryPoolRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryPoolRequest
*/
export interface QueryPoolRequest {
}
export interface QueryPoolRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryPoolRequest";
value: Uint8Array;
}
/**
* QueryPoolRequest is request type for the Query/Pool RPC method.
* @name QueryPoolRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryPoolRequest
*/
export interface QueryPoolRequestAmino {
}
export interface QueryPoolRequestAminoMsg {
type: "cosmos-sdk/QueryPoolRequest";
value: QueryPoolRequestAmino;
}
/**
* QueryPoolResponse is response type for the Query/Pool RPC method.
* @name QueryPoolResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryPoolResponse
*/
export interface QueryPoolResponse {
/**
* pool defines the pool info.
*/
pool: Pool;
}
export interface QueryPoolResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryPoolResponse";
value: Uint8Array;
}
/**
* QueryPoolResponse is response type for the Query/Pool RPC method.
* @name QueryPoolResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryPoolResponse
*/
export interface QueryPoolResponseAmino {
/**
* pool defines the pool info.
*/
pool: PoolAmino;
}
export interface QueryPoolResponseAminoMsg {
type: "cosmos-sdk/QueryPoolResponse";
value: QueryPoolResponseAmino;
}
/**
* QueryParamsRequest is request type for the Query/Params RPC method.
* @name QueryParamsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryParamsRequest
*/
export interface QueryParamsRequest {
}
export interface QueryParamsRequestProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryParamsRequest";
value: Uint8Array;
}
/**
* QueryParamsRequest is request type for the Query/Params RPC method.
* @name QueryParamsRequestAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryParamsRequest
*/
export interface QueryParamsRequestAmino {
}
export interface QueryParamsRequestAminoMsg {
type: "cosmos-sdk/QueryParamsRequest";
value: QueryParamsRequestAmino;
}
/**
* QueryParamsResponse is response type for the Query/Params RPC method.
* @name QueryParamsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryParamsResponse
*/
export interface QueryParamsResponse {
/**
* params holds all the parameters of this module.
*/
params: Params;
}
export interface QueryParamsResponseProtoMsg {
typeUrl: "/cosmos.staking.v1beta1.QueryParamsResponse";
value: Uint8Array;
}
/**
* QueryParamsResponse is response type for the Query/Params RPC method.
* @name QueryParamsResponseAmino
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryParamsResponse
*/
export interface QueryParamsResponseAmino {
/**
* params holds all the parameters of this module.
*/
params: ParamsAmino;
}
export interface QueryParamsResponseAminoMsg {
type: "cosmos-sdk/QueryParamsResponse";
value: QueryParamsResponseAmino;
}
/**
* QueryValidatorsRequest is request type for Query/Validators RPC method.
* @name QueryValidatorsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorsRequest
*/
export declare const QueryValidatorsRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryValidatorsRequest;
isAmino(o: any): o is QueryValidatorsRequestAmino;
encode(message: QueryValidatorsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorsRequest;
fromPartial(object: DeepPartial<QueryValidatorsRequest>): QueryValidatorsRequest;
fromAmino(object: QueryValidatorsRequestAmino): QueryValidatorsRequest;
toAmino(message: QueryValidatorsRequest): QueryValidatorsRequestAmino;
fromAminoMsg(object: QueryValidatorsRequestAminoMsg): QueryValidatorsRequest;
toAminoMsg(message: QueryValidatorsRequest): QueryValidatorsRequestAminoMsg;
fromProtoMsg(message: QueryValidatorsRequestProtoMsg): QueryValidatorsRequest;
toProto(message: QueryValidatorsRequest): Uint8Array;
toProtoMsg(message: QueryValidatorsRequest): QueryValidatorsRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryValidatorsResponse is response type for the Query/Validators RPC method
* @name QueryValidatorsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorsResponse
*/
export declare const QueryValidatorsResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryValidatorsResponse;
isAmino(o: any): o is QueryValidatorsResponseAmino;
encode(message: QueryValidatorsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorsResponse;
fromPartial(object: DeepPartial<QueryValidatorsResponse>): QueryValidatorsResponse;
fromAmino(object: QueryValidatorsResponseAmino): QueryValidatorsResponse;
toAmino(message: QueryValidatorsResponse): QueryValidatorsResponseAmino;
fromAminoMsg(object: QueryValidatorsResponseAminoMsg): QueryValidatorsResponse;
toAminoMsg(message: QueryValidatorsResponse): QueryValidatorsResponseAminoMsg;
fromProtoMsg(message: QueryValidatorsResponseProtoMsg): QueryValidatorsResponse;
toProto(message: QueryValidatorsResponse): Uint8Array;
toProtoMsg(message: QueryValidatorsResponse): QueryValidatorsResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryValidatorRequest is response type for the Query/Validator RPC method
* @name QueryValidatorRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorRequest
*/
export declare const QueryValidatorRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryValidatorRequest;
isAmino(o: any): o is QueryValidatorRequestAmino;
encode(message: QueryValidatorRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorRequest;
fromPartial(object: DeepPartial<QueryValidatorRequest>): QueryValidatorRequest;
fromAmino(object: QueryValidatorRequestAmino): QueryValidatorRequest;
toAmino(message: QueryValidatorRequest): QueryValidatorRequestAmino;
fromAminoMsg(object: QueryValidatorRequestAminoMsg): QueryValidatorRequest;
toAminoMsg(message: QueryValidatorRequest): QueryValidatorRequestAminoMsg;
fromProtoMsg(message: QueryValidatorRequestProtoMsg): QueryValidatorRequest;
toProto(message: QueryValidatorRequest): Uint8Array;
toProtoMsg(message: QueryValidatorRequest): QueryValidatorRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryValidatorResponse is response type for the Query/Validator RPC method
* @name QueryValidatorResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorResponse
*/
export declare const QueryValidatorResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryValidatorResponse;
isAmino(o: any): o is QueryValidatorResponseAmino;
encode(message: QueryValidatorResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorResponse;
fromPartial(object: DeepPartial<QueryValidatorResponse>): QueryValidatorResponse;
fromAmino(object: QueryValidatorResponseAmino): QueryValidatorResponse;
toAmino(message: QueryValidatorResponse): QueryValidatorResponseAmino;
fromAminoMsg(object: QueryValidatorResponseAminoMsg): QueryValidatorResponse;
toAminoMsg(message: QueryValidatorResponse): QueryValidatorResponseAminoMsg;
fromProtoMsg(message: QueryValidatorResponseProtoMsg): QueryValidatorResponse;
toProto(message: QueryValidatorResponse): Uint8Array;
toProtoMsg(message: QueryValidatorResponse): QueryValidatorResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryValidatorDelegationsRequest is request type for the
* Query/ValidatorDelegations RPC method
* @name QueryValidatorDelegationsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorDelegationsRequest
*/
export declare const QueryValidatorDelegationsRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryValidatorDelegationsRequest;
isAmino(o: any): o is QueryValidatorDelegationsRequestAmino;
encode(message: QueryValidatorDelegationsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorDelegationsRequest;
fromPartial(object: DeepPartial<QueryValidatorDelegationsRequest>): QueryValidatorDelegationsRequest;
fromAmino(object: QueryValidatorDelegationsRequestAmino): QueryValidatorDelegationsRequest;
toAmino(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestAmino;
fromAminoMsg(object: QueryValidatorDelegationsRequestAminoMsg): QueryValidatorDelegationsRequest;
toAminoMsg(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestAminoMsg;
fromProtoMsg(message: QueryValidatorDelegationsRequestProtoMsg): QueryValidatorDelegationsRequest;
toProto(message: QueryValidatorDelegationsRequest): Uint8Array;
toProtoMsg(message: QueryValidatorDelegationsRequest): QueryValidatorDelegationsRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryValidatorDelegationsResponse is response type for the
* Query/ValidatorDelegations RPC method
* @name QueryValidatorDelegationsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorDelegationsResponse
*/
export declare const QueryValidatorDelegationsResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryValidatorDelegationsResponse;
isAmino(o: any): o is QueryValidatorDelegationsResponseAmino;
encode(message: QueryValidatorDelegationsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorDelegationsResponse;
fromPartial(object: DeepPartial<QueryValidatorDelegationsResponse>): QueryValidatorDelegationsResponse;
fromAmino(object: QueryValidatorDelegationsResponseAmino): QueryValidatorDelegationsResponse;
toAmino(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseAmino;
fromAminoMsg(object: QueryValidatorDelegationsResponseAminoMsg): QueryValidatorDelegationsResponse;
toAminoMsg(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseAminoMsg;
fromProtoMsg(message: QueryValidatorDelegationsResponseProtoMsg): QueryValidatorDelegationsResponse;
toProto(message: QueryValidatorDelegationsResponse): Uint8Array;
toProtoMsg(message: QueryValidatorDelegationsResponse): QueryValidatorDelegationsResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryValidatorUnbondingDelegationsRequest is required type for the
* Query/ValidatorUnbondingDelegations RPC method
* @name QueryValidatorUnbondingDelegationsRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest
*/
export declare const QueryValidatorUnbondingDelegationsRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryValidatorUnbondingDelegationsRequest;
isAmino(o: any): o is QueryValidatorUnbondingDelegationsRequestAmino;
encode(message: QueryValidatorUnbondingDelegationsRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsRequest;
fromPartial(object: DeepPartial<QueryValidatorUnbondingDelegationsRequest>): QueryValidatorUnbondingDelegationsRequest;
fromAmino(object: QueryValidatorUnbondingDelegationsRequestAmino): QueryValidatorUnbondingDelegationsRequest;
toAmino(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestAmino;
fromAminoMsg(object: QueryValidatorUnbondingDelegationsRequestAminoMsg): QueryValidatorUnbondingDelegationsRequest;
toAminoMsg(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestAminoMsg;
fromProtoMsg(message: QueryValidatorUnbondingDelegationsRequestProtoMsg): QueryValidatorUnbondingDelegationsRequest;
toProto(message: QueryValidatorUnbondingDelegationsRequest): Uint8Array;
toProtoMsg(message: QueryValidatorUnbondingDelegationsRequest): QueryValidatorUnbondingDelegationsRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryValidatorUnbondingDelegationsResponse is response type for the
* Query/ValidatorUnbondingDelegations RPC method.
* @name QueryValidatorUnbondingDelegationsResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse
*/
export declare const QueryValidatorUnbondingDelegationsResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryValidatorUnbondingDelegationsResponse;
isAmino(o: any): o is QueryValidatorUnbondingDelegationsResponseAmino;
encode(message: QueryValidatorUnbondingDelegationsResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryValidatorUnbondingDelegationsResponse;
fromPartial(object: DeepPartial<QueryValidatorUnbondingDelegationsResponse>): QueryValidatorUnbondingDelegationsResponse;
fromAmino(object: QueryValidatorUnbondingDelegationsResponseAmino): QueryValidatorUnbondingDelegationsResponse;
toAmino(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseAmino;
fromAminoMsg(object: QueryValidatorUnbondingDelegationsResponseAminoMsg): QueryValidatorUnbondingDelegationsResponse;
toAminoMsg(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseAminoMsg;
fromProtoMsg(message: QueryValidatorUnbondingDelegationsResponseProtoMsg): QueryValidatorUnbondingDelegationsResponse;
toProto(message: QueryValidatorUnbondingDelegationsResponse): Uint8Array;
toProtoMsg(message: QueryValidatorUnbondingDelegationsResponse): QueryValidatorUnbondingDelegationsResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryDelegationRequest is request type for the Query/Delegation RPC method.
* @name QueryDelegationRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegationRequest
*/
export declare const QueryDelegationRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryDelegationRequest;
isAmino(o: any): o is QueryDelegationRequestAmino;
encode(message: QueryDelegationRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegationRequest;
fromPartial(object: DeepPartial<QueryDelegationRequest>): QueryDelegationRequest;
fromAmino(object: QueryDelegationRequestAmino): QueryDelegationRequest;
toAmino(message: QueryDelegationRequest): QueryDelegationRequestAmino;
fromAminoMsg(object: QueryDelegationRequestAminoMsg): QueryDelegationRequest;
toAminoMsg(message: QueryDelegationRequest): QueryDelegationRequestAminoMsg;
fromProtoMsg(message: QueryDelegationRequestProtoMsg): QueryDelegationRequest;
toProto(message: QueryDelegationRequest): Uint8Array;
toProtoMsg(message: QueryDelegationRequest): QueryDelegationRequestProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryDelegationResponse is response type for the Query/Delegation RPC method.
* @name QueryDelegationResponse
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryDelegationResponse
*/
export declare const QueryDelegationResponse: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryDelegationResponse;
isAmino(o: any): o is QueryDelegationResponseAmino;
encode(message: QueryDelegationResponse, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryDelegationResponse;
fromPartial(object: DeepPartial<QueryDelegationResponse>): QueryDelegationResponse;
fromAmino(object: QueryDelegationResponseAmino): QueryDelegationResponse;
toAmino(message: QueryDelegationResponse): QueryDelegationResponseAmino;
fromAminoMsg(object: QueryDelegationResponseAminoMsg): QueryDelegationResponse;
toAminoMsg(message: QueryDelegationResponse): QueryDelegationResponseAminoMsg;
fromProtoMsg(message: QueryDelegationResponseProtoMsg): QueryDelegationResponse;
toProto(message: QueryDelegationResponse): Uint8Array;
toProtoMsg(message: QueryDelegationResponse): QueryDelegationResponseProtoMsg;
registerTypeUrl(): void;
};
/**
* QueryUnbondingDelegationRequest is request type for the
* Query/UnbondingDelegation RPC method.
* @name QueryUnbondingDelegationRequest
* @package cosmos.staking.v1beta1
* @see proto type: cosmos.staking.v1beta1.QueryUnbondingDelegationRequest
*/
export declare const QueryUnbondingDelegationRequest: {
typeUrl: string;
aminoType: string;
is(o: any): o is QueryUnbondingDelegationRequest;
isAmino(o: any): o is QueryUnbondingDelegationRequestAmino;
encode(message: QueryUnbondingDelegationRequest, writer?: BinaryWriter): BinaryWriter;
decode(input: BinaryReader | Uint8Array, length?: number): QueryUnbondingDelegationRequest;
fromPartial(object: DeepPartial<QueryUnbondingDelegationRequest>): QueryUnbondingDelegationRequest;
fromAmino(object: QueryUnbonding