Parameters
Object Name | Required | Type | Detail |
---|---|---|---|
VALIDATOR_ADDR | ✅ | String | The validator address to query for. |
pagination.key | ❌ | String | The value returned in PageResponse.next_key to begin querying the next page most efficiently. If provided, then pagination.offset is not allowed. |
pagination.offset | ❌ | Integer | A 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.limit | ❌ | Integer | 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. |
pagination.count_total | ❌ | Boolean | If 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/validators/cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs/unbonding_delegations?pagination.limit=2
Result
The unbonding delegations of a validator.
Example
Request
curl <your-rest-endpoint>/cosmos/staking/v1beta1/validators/cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs/unbonding_delegations?pagination.limit=2 \
-X GET \
-H "accept: application/json"
Return
{
"unbonding_responses": [
{
"delegator_address": "cosmos1qrmdgh029qkjysxpmq00mmpmdp95t733pvkg2t",
"validator_address": "cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs",
"entries": [
{
"creation_height": "14230778",
"completion_time": "2023-03-18T18:13:28.751128583Z",
"initial_balance": "3897600",
"balance": "3897600"
}
]
},
{
"delegator_address": "cosmos1rq5s6rwc7zdd2kv8qp5fknftgj92we39zwjk49",
"validator_address": "cosmosvaloper1sd4tl9aljmmezzudugs7zlaya7pg2895ws8tfs",
"entries": [
{
"creation_height": "14266223",
"completion_time": "2023-03-21T08:41:29.693956734Z",
"initial_balance": "8000000",
"balance": "8000000"
}
]
}
],
"pagination": {
"next_key": "FCA539sFcAf10ZgyMB6A5k0RB7Rk",
"total": "0"
}
}