Indexer: Validator delegations (v1)
getValidatorDelegationsFetch validator delegation records and Stargate NFT delegation details. Filter by validator address, token ID, or statuses with pagination and sorting.
Instructions
Retrieve delegation records via /api/v1/validators/delegations. Filter by validator, tokenId, and one or more statuses. Supports pagination and sort direction. Get information on delegations to a validator and the Stargate NFTs that are delegated to the validator
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getValidatorDelegations"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Zero-based results page number (0 is the first page) | |
| size | No | Results per page (1..150); API default is typically 20 | |
| cursor | No | Opaque cursor for fetching the next page when provided by the API | |
| tokenId | No | Filter by specific tokenId | |
| statuses | No | Filter by one or more delegation statuses | |
| direction | No | Sort direction for time-based queries; defaults to 'DESC' (newest first) | |
| validator | No | Filter delegations by validator address |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | ||
| data | No | ||
| error | No | ||
| network | Yes |