cURL
curl --request POST \ --url 'https://api.avax.network/ext/bc/P#platform.getCurrentValidators' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "method": "platform.getCurrentValidators", "params": {}, "id": 1 } '
{ "jsonrpc": "2.0", "result": { "validators": [ {} ] }, "id": 1 }
GetCurrentValidators returns the current validators. If a single nodeID is provided, full delegators information is also returned. Otherwise only delegators’ number and total weight is returned.
JSON-RPC request
"2.0"
"platform.getCurrentValidators"
Method parameters
Show child attributes
Avalanche ID in cb58 format
"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"
Avalanche Node ID in cb58 format
1
Successful response
Method result
Was this page helpful?