First, get your node’s ID:

curl -X POST --data '{ "jsonrpc": "2.0", "method": "info.getNodeID", "params":{}, "id": 1 }' -H 'content-type:application/json;' 127.0.0.1:9650/ext/info

The response contains your node’s ID:

{ "jsonrpc": "2.0", "result": { "nodeID": "NodeID-ARCLrphAHZ28xZEBfUL7SVAmzkTZNe1LK" }, "id": 1 }

Then look on the explorer’s validator page and verify your node is present. You can check with this API call, which gets the list of validators:

curl -X POST --data '{ "jsonrpc": "2.0", "method": "platform.getCurrentValidators", "params": {}, "id": 4 }' -H 'content-type:application/json;' 127.0.0.1:9650/ext/P

Check if your node is in that list. If it’s not there, check the pending validator list:

curl -X POST --data '{ "jsonrpc": "2.0", "method": "platform.getPendingValidators", "params": {}, "id": 4 }' -H 'content-type:application/json;' 127.0.0.1:9650/ext/P

If your node is not on either list, it is not a validator.

Please note that even if your node is off, it will appear in the validator list. In order to receive staking rewards, your node must also be running and connected to other nodes.

Chat with Ava Labs | Validate on Avalanche | Build on Avalanche

Did this answer your question?