cURL
curl --request POST \ --url 'https://api.avax.network/ext/bc/P#platform.sampleValidators' \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "method": "platform.sampleValidators", "params": {}, "id": 1 } '
{ "jsonrpc": "2.0", "result": { "validators": [ "NodeID-111111111111111111116DBWJs" ] }, "id": 1 }
SampleValidators returns a sampling of the list of current validators
JSON-RPC request
"2.0"
"platform.sampleValidators"
Method parameters
Show child attributes
External type: avajson.Uint16
Avalanche ID in cb58 format
"2oYMBNV4eNHyqk2fjjV5nVQLDbtmNJzq5s3qs3Lo6ftnC6FByM"
1
Successful response
Method result
Avalanche Node ID in cb58 format
Was this page helpful?