platform_get_validators_at
Get the validators and their weights of a Subnet/L1 at a given P-Chain height
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"height": "<height>"
},
"name": "platform_get_validators_at"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| height | Yes | The P-Chain height to query validators at, or "proposed" | |
| network | No | Avalanche network to query (default: mainnet) | |
| subnetID | No | The Subnet ID to query validators for (default: Primary Network) |