List delegations
Get a list of the token delegations on the network
Query Parameters
Party ID to list delegations for, if provided.
Node ID to list delegations for, if provided.
Epoch ID to list delegations for, if provided.
Number of records to be returned that sort greater than row identified by cursor supplied in 'after'.
If paging forwards, the cursor string for the last row of the previous page.
Number of records to be returned that sort less than row identified by cursor supplied in 'before'.
If paging forwards, the cursor string for the first row of the previous page.
Newest records first, older records last, default is true.
- 200
- 500
- default
A successful response.
Schema
delegations object
Page of delegations data and corresponding page information.
edges object[]
Page of delegations data and their corresponding cursors.
node object
How much a party is delegating to a node and when.
pageInfo object
Page information that is used for fetching further pages.
{
"delegations": {
"edges": [
{
"cursor": "string",
"node": {
"amount": "string",
"epochSeq": "string",
"nodeId": "string",
"party": "string"
}
}
],
"pageInfo": {
"endCursor": "string",
"hasNextPage": true,
"hasPreviousPage": true,
"startCursor": "string"
}
}
}
An internal server error
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}
An unexpected error response.
Schema
details object[]
{
"code": 0,
"details": [
{
"@type": "string"
}
],
"message": "string"
}