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
1
Successful response
Method result
Was this page helpful?