import { QueryDelegationRequest, QueryDelegationResponse, QueryDelegatorDelegationsRequest, QueryDelegatorDelegationsResponse, QueryDelegatorUnbondingDelegationsRequest, QueryDelegatorUnbondingDelegationsResponse, QueryDelegatorValidatorRequest, QueryDelegatorValidatorResponse, QueryDelegatorValidatorsRequest, QueryDelegatorValidatorsResponse, QueryHistoricalInfoRequest, QueryHistoricalInfoResponse, QueryParamsRequest, QueryParamsResponse, QueryPoolRequest, QueryPoolResponse, QueryRedelegationsRequest, QueryRedelegationsResponse, QueryUnbondingDelegationRequest, QueryUnbondingDelegationResponse, QueryValidatorDelegationsRequest, QueryValidatorDelegationsResponse, QueryValidatorRequest, QueryValidatorResponse, QueryValidatorUnbondingDelegationsRequest, QueryValidatorUnbondingDelegationsResponse, QueryValidatorsRequest, QueryValidatorsResponse } from "./query.js"; import { EndpointOrRpc } from "../../../helper-func-types.js"; import "../../../index.js"; //#region src/cosmos/staking/v1beta1/query.rpc.func.d.ts /** * Validators queries all validators that match the given status. * * When called from another module, this query might consume a high amount of * gas if the pagination field is incorrectly set. * @name getValidators * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.Validators */ declare const getValidators: (client: EndpointOrRpc, request: QueryValidatorsRequest) => Promise; /** * Validator queries validator info for given validator address. * @name getValidator * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.Validator */ declare const getValidator: (client: EndpointOrRpc, request: QueryValidatorRequest) => Promise; /** * ValidatorDelegations queries delegate info for given validator. * * When called from another module, this query might consume a high amount of * gas if the pagination field is incorrectly set. * @name getValidatorDelegations * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.ValidatorDelegations */ declare const getValidatorDelegations: (client: EndpointOrRpc, request: QueryValidatorDelegationsRequest) => Promise; /** * ValidatorUnbondingDelegations queries unbonding delegations of a validator. * * When called from another module, this query might consume a high amount of * gas if the pagination field is incorrectly set. * @name getValidatorUnbondingDelegations * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.ValidatorUnbondingDelegations */ declare const getValidatorUnbondingDelegations: (client: EndpointOrRpc, request: QueryValidatorUnbondingDelegationsRequest) => Promise; /** * Delegation queries delegate info for given validator delegator pair. * @name getDelegation * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.Delegation */ declare const getDelegation: (client: EndpointOrRpc, request: QueryDelegationRequest) => Promise; /** * UnbondingDelegation queries unbonding info for given validator delegator * pair. * @name getUnbondingDelegation * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.UnbondingDelegation */ declare const getUnbondingDelegation: (client: EndpointOrRpc, request: QueryUnbondingDelegationRequest) => Promise; /** * DelegatorDelegations queries all delegations of a given delegator address. * * When called from another module, this query might consume a high amount of * gas if the pagination field is incorrectly set. * @name getDelegatorDelegations * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.DelegatorDelegations */ declare const getDelegatorDelegations: (client: EndpointOrRpc, request: QueryDelegatorDelegationsRequest) => Promise; /** * DelegatorUnbondingDelegations queries all unbonding delegations of a given * delegator address. * * When called from another module, this query might consume a high amount of * gas if the pagination field is incorrectly set. * @name getDelegatorUnbondingDelegations * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.DelegatorUnbondingDelegations */ declare const getDelegatorUnbondingDelegations: (client: EndpointOrRpc, request: QueryDelegatorUnbondingDelegationsRequest) => Promise; /** * Redelegations queries redelegations of given address. * * When called from another module, this query might consume a high amount of * gas if the pagination field is incorrectly set. * @name getRedelegations * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.Redelegations */ declare const getRedelegations: (client: EndpointOrRpc, request: QueryRedelegationsRequest) => Promise; /** * DelegatorValidators queries all validators info for given delegator * address. * * When called from another module, this query might consume a high amount of * gas if the pagination field is incorrectly set. * @name getDelegatorValidators * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.DelegatorValidators */ declare const getDelegatorValidators: (client: EndpointOrRpc, request: QueryDelegatorValidatorsRequest) => Promise; /** * DelegatorValidator queries validator info for given delegator validator * pair. * @name getDelegatorValidator * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.DelegatorValidator */ declare const getDelegatorValidator: (client: EndpointOrRpc, request: QueryDelegatorValidatorRequest) => Promise; /** * HistoricalInfo queries the historical info for given height. * @name getHistoricalInfo * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.HistoricalInfo */ declare const getHistoricalInfo: (client: EndpointOrRpc, request: QueryHistoricalInfoRequest) => Promise; /** * Pool queries the pool info. * @name getPool * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.Pool */ declare const getPool: (client: EndpointOrRpc, request: QueryPoolRequest) => Promise; /** * Parameters queries the staking parameters. * @name getParams * @package cosmos.staking.v1beta1 * @see proto service: cosmos.staking.v1beta1.Params */ declare const getParams: (client: EndpointOrRpc, request: QueryParamsRequest) => Promise; //#endregion export { getDelegation, getDelegatorDelegations, getDelegatorUnbondingDelegations, getDelegatorValidator, getDelegatorValidators, getHistoricalInfo, getParams, getPool, getRedelegations, getUnbondingDelegation, getValidator, getValidatorDelegations, getValidatorUnbondingDelegations, getValidators };