GET
/
stake
/
delegator
/
delegations
Get Delegator Delegations
curl --request GET \
  --url https://prv.stake.biya.io/stake/delegator/delegations
{
  "delegationResponses": [
    {
      "delegation": {
        "validatorAddress": "<string>",
        "shares": "<string>"
      },
      "balance": {
        "denom": "<string>",
        "amount": "<string>"
      }
    }
  ],
  "pagination": {
    "page": 123,
    "pageSize": 123,
    "total": "<string>",
    "totalPages": 123,
    "hasPrev": true,
    "hasNext": true
  }
}

Query Parameters

delegatorAddress
string

Delegator address

pagination.page
integer

页码,从1开始,默认1(基于页数的分页)

pagination.pageSize
integer

每页大小,默认20,最大100

pagination.cursor
string

游标(基于游标的分页,用于大数据集优化,优先级高于 page) 对于区块:使用区块高度(height) 对于交易:使用交易号(tx_number)或区块高度+交易号的组合

Response

200 - application/json

OK

DelegatorDelegationsResponse represents all delegations for a delegator This corresponds to QueryDelegatorDelegations response

delegationResponses
object[]

List of delegation responses

pagination
object

Pagination information 分页响应信息