NEO
NEO
POST
GET
Last updated on January 1, 1970
1 min read
Method getnextblockvalidators NEO (NEO)
connect with JSON-RPC protocol
getnextblockvalidators
Gets the validators list of the next block.result returns an array containing multiple validators.Every validator contains information about the public key, the votes,and whether it is a validator or not.The default vote of validator is 0 when voting has not started.
Parameters
-
Request
curl --location --request POST 'https://neo.getblock.io'
--header 'x-api-key: YOUR-API-KEY'
--header 'Content-Type: application/json'
--data-raw '{"jsonrpc": "2.0",
"method": "getnextblockvalidators",
"params": [],
"id": "getblock.io"}'
Response
{
"result": [
{
"publickey": "03aa052fbcb8e5b33a4eefd662536f8684641f04109f1d5e69cdda6f084890286a",
"votes": "0",
"active": true
}
],
"id": "getblock.io",
"jsonrpc": "2.0"
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }