Skip to main content

bor_getCurrentValidators

POST

Returns the list of currently active validators on the network. This method is used to identify the current validators of the network and provides important information for understanding the network's governance and security status. The validator list may change according to the network's consensus protocol and governance mechanism, and this method allows you to query the currently active validators.
Responses
IDinteger
Validator ID
signerstring
Validator signer address
powerinteger
Validator voting power (weight)
accuminteger
Accumulated voting power
codestringrequired
Code identifying the cause of the failed request.
messagestringrequired
Detailed message including the name and value of the invalid parameter.
{
"code": "ERROR_CODE",
"message": "Unauthorized"
}
cURL
curl -X POST 'https://polygon-mainnet.nodit.io' \
-H 'Content-Type: application/json' \
-H 'X-API-KEY: nodit-demo' \
-d '{
"jsonrpc": "2.0",
"id": 1,
"method": "bor_getCurrentValidators",
"params": []
}'