post https://api.infstones.com/neo/mainnet/
Gets the validators list of the next block.
Parameters
None
Result
An array containing multiple validators. Every validator contains information about the public key, the votes, and whether it is a validator or not.
Example
Request
curl <your-endpoint> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc": "2.0", "method": "getnextblockvalidators", "params":[],"id": 1}'
Return
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"publickey": "02237309a0633ff930d51856db01d17c829a5b2e5cc2638e9c03b4cfa8e9c9f971",
"votes": "654386",
"active": false
},
{
"publickey": "022f1beae94cf0d266d7d26691b431958c8d13768103ab20aed817b57568da293f",
"votes": "1002177",
"active": false
},
{
"publickey": "0239a37436652f41b3b802ca44cbcb7d65d3aa0b88c9a0380243bdbe1aaa5cb35b",
"votes": "2022706",
"active": true
},
{
"publickey": "02486fd15702c4490a26703112a5cc1d0923fd697a33406bd5a1c00e0013b09a70",
"votes": "2045887",
"active": true
},
{
"publickey": "0248a37e04c7a5fb9fdc9f0323b2955a94cbb2296d2ad1feacea24ec774a87c4a4",
"votes": "656698",
"active": false
},
{
"publickey": "024c7b7fb6c310fccf1ba33b082519d82964ea93868d676662d4a59ad548df0e7d",
"votes": "315",
"active": false
},
{
"publickey": "024c8b6b34990a164fc7860dc497babd71911d049bdf8e186f5f51258b98509434",
"votes": "603",
"active": false
},
{
"publickey": "02784c0e81f6e3eadbd1516f9311d1fe0662f9c360ea331d9d6a4934800c96ed47",
"votes": "0",
"active": false
},
{
"publickey": "02946248f71bdf14933e6735da9867e81cc9eea0b5895329aa7f71e7745cf40659",
"votes": "712651",
"active": false
},
{
"publickey": "029b46bf20b19fb3da1a4591bac09acd86c460ae29cb74c7634d658702205ec2f7",
"votes": "151",
"active": false
},
{
"publickey": "02aaec38470f6aad0042c6e877cfd8087d2676b0f516fddd362801b9bd3936399e",
"votes": "2030601",
"active": true
},
{
"publickey": "02ada21c39ccc5ff4a0547270bee2eb940c394c3afe0d8f5470e2fe5b56759cee2",
"votes": "0",
"active": false
},
{
"publickey": "02beaf473e48740f8ac1b70ff2b6cdb850a7c247b9d036508d6f0bdaa1e750eb3f",
"votes": "305",
"active": false
},
{
"publickey": "02ca0e27697b9c248f6f16e085fd0061e26f44da85b58ee835c110caa5ec3ba554",
"votes": "2032819",
"active": true
},
{
"publickey": "02cc10d0e929ca752cfd3408bedda06463e2d93fd435e4c2b86a895b3792dee4c8",
"votes": "650039",
"active": false
},
{
"publickey": "02df48f60e8f3e01c48ff40b9b7f1310d7a8b2a193188befe1c2e3df740e895093",
"votes": "2001847",
"active": false
},
{
"publickey": "02e4e0db9314a42bebcb7e348a7e1ab8d4a87f518371485b0d66dbc0368f8cf58d",
"votes": "645386",
"active": false
},
{
"publickey": "02ec143f00b88524caf36a0121c2de09eef0519ddbe1c710a00f0e2663201ee4c0",
"votes": "644377",
"active": false
},
{
"publickey": "034f7ea4ca4506ef288c5d5ed61686b9f39a0bc5f7670858305e32ea504ab543f3",
"votes": "50",
"active": false
},
{
"publickey": "0353f7aff015d3d204eecd508f4aa67f447df4d15ec4ba649f4fa91bdb7a78a354",
"votes": "1003874",
"active": false
},
{
"publickey": "035d574cc6a904e82dfd82d7f6fc9c2ca042d4410a4910ecc8c07a07db49dc6513",
"votes": "648459",
"active": false
},
{
"publickey": "0389ba00856f58bdc2b7c3fd6c2e73ed4829252f38083c1e295574ca599e93fe82",
"votes": "1000071",
"active": false
},
{
"publickey": "0392fbd1d809a3c62f7dcde8f25454a1570830a21e4b014b3f362a79baf413e115",
"votes": "650507",
"active": false
},
{
"publickey": "03a3aba8edacd820f0b6c55f0bad25b733af00694c8194c04b71ce628c197fbe98",
"votes": "672729",
"active": false
},
{
"publickey": "03b209fd4f53a7170ea4444e0cb0a6bb6a53c2bd016926989cf85f9b0fba17a70c",
"votes": "3015499",
"active": true
},
{
"publickey": "03b8d9d5771d8f513aa0869b9cc8d50986403b78c6da36890638c3d46a5adce04a",
"votes": "2031978",
"active": true
},
{
"publickey": "03d9e8b16bd9b22d3345d6d4cde31be1c3e1d161532e3d0ccecb95ece2eb58336e",
"votes": "12053613",
"active": true
},
{
"publickey": "03fd04de983f4e04c9629ab3cfc83f41be7431b96bf852a91873c38ca8f737ee2c",
"votes": "696922",
"active": false
}
]
}