Retrieve information about the current validator set
Retrieve information about the current validator set
curl -i -X POST \
https://rpc.mainnet.fastnear.com/ \
-H 'Content-Type: application/json' \
-d '{
"jsonrpc": "2.0",
"id": "fastnear",
"method": "validators",
"params": [
null
]
}'{ "jsonrpc": "2.0", "id": "string", "result": { "current_fishermen": [ … ], "current_proposals": [ … ], "current_validators": [ … ], "epoch_height": 0, "epoch_start_height": 0, "next_fishermen": [ … ], "next_validators": [ … ], "prev_epoch_kickout": [ … ] }, "error": { "code": 0, "message": "string", "data": {} } }