cosmos/staking/v1beta1/delegators/{delegator_addr}/redelegations

Parameters

Object NameRequiredTypeDetail
DELEGATOR_ADDRStringThe delegator address to query.
src_validator_addrStringThe validator address to redelegate from.
dst_validator_addrStringThe validator address to redelegate to.
pagination.keyStringThe value returned in PageResponse.next_key to begin querying the next page most efficiently. If provided, then pagination.offset is not allowed.
pagination.offsetIntegerA numeric offset that can be used when pagination.key is unavailable. It is less efficient than pagination.key. If provided, then pagination.key is not allowed.
pagination.limitIntegerThe 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.
pagination.count_totalBooleanIf set to true, the result will include a count of the total number of items available for pagination. count_total is only respected when offset is used. It is ignored when key is set.
/cosmos/staking/v1beta1/delegators/cosmos1uer4mwcq2vlt8l23ncwyjj70mug5pzx82cvlyw/redelegations

Result

The redelegations of given address.

Example

Request

curl <your-rest-endpoint>/cosmos/staking/v1beta1/delegators/cosmos1uer4mwcq2vlt8l23ncwyjj70mug5pzx82cvlyw/redelegations \
  -X GET \
  -H "accept: application/json"

Return

{
    "redelegation_responses": [],
    "pagination": {
        "next_key": null,
        "total": "0"
    }
}