Staking
DelegatorDelegations
/cosmos/staking/v1beta1/delegations/{delegator_addr}When called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Path Parameters
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
Redelegations
/cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegationsWhen called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Path Parameters
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
DelegatorUnbondingDelegations
/cosmos/staking/v1beta1/delegators/{delegator_addr}/unbonding_delegationsWhen called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Path Parameters
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
DelegatorValidators
/cosmos/staking/v1beta1/delegators/{delegator_addr}/validatorsWhen called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Path Parameters
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
DelegatorValidator
/cosmos/staking/v1beta1/delegators/{delegator_addr}/validators/{validator_addr}DelegatorValidator queries validator info for given delegator validator pair.
Path Parameters
Responses
objectValidator defines a validator, together with the total amount of the Validator's bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.
HistoricalInfo
/cosmos/staking/v1beta1/historical_info/{height}HistoricalInfo queries the historical info for given height.
Validators
/cosmos/staking/v1beta1/validatorsWhen called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
Validator
/cosmos/staking/v1beta1/validators/{validator_addr}Validator queries validator info for given validator address.
Path Parameters
Responses
objectValidator defines a validator, together with the total amount of the Validator's bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.
ValidatorDelegations
/cosmos/staking/v1beta1/validators/{validator_addr}/delegationsWhen called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Path Parameters
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.
Responses
Delegation
/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}Delegation queries delegate info for given validator delegator pair.
UnbondingDelegation
/cosmos/staking/v1beta1/validators/{validator_addr}/delegations/{delegator_addr}/unbonding_delegationUnbondingDelegation queries unbonding info for given validator delegator pair.
ValidatorUnbondingDelegations
/cosmos/staking/v1beta1/validators/{validator_addr}/unbonding_delegationsWhen called from another module, this query might consume a high amount of gas if the pagination field is incorrectly set.
Path Parameters
Query Parameters
stringkey is a value returned in PageResponse.next_key to begin querying the next page most efficiently. Only one of offset or key should be set.
string <uint64>offset is a numeric offset that can be used when key is unavailable. It is less efficient than using key. Only one of offset or key should be set.
string <uint64>limit is the total number of results to be returned in the result page. If left empty it will default to a value to be set by each app.
booleancount_total is set to true to indicate that the result set should include a count of the total number of items available for pagination in UIs. count_total is only respected when offset is used. It is ignored when key is set.