MOVR
POST
GET
Last updated on January 1, 1970
3 min read
Method grandpa_roundState undefined ()
connect with JSON-RPC protocol
grandpa_roundState
Returns the state of the current best round state as well as the ongoingbackground rounds.
Parameters
-
Request
curl --location --request POST 'https://movr.getblock.io/mainnet/'
--header 'x-api-key: YOUR-API-KEY'
--header 'Content-Type: application/json'
--data-raw '{"jsonrpc": "2.0",
"method": "grandpa_roundState",
"params": [],
"id": "getblock.io"}'
Response
{
"id": "getblock.io",
"jsonrpc": "2.0",
"result": {
"background": [],
"best": {
"precommits": {
"currentWeight": 0,
"missing": [
"12cCLNxo2WqvqizuMrgHtpjUz2s5xmomTM7y3FWESbvjcwq",
"16mnvMThaT5GkGrCktQgGdwfoSqx1zEzVkMAABTbGGX8Hn2U",
"16nbm1KzDpQKx8CfDcaXW6Mb9HbLbUKRo34Vsjq5SYnWNUwB"
]
},
"prevotes": {
"currentWeight": 0,
"missing": [
"12cCLNxo2WqvqizuMrgHtpjUz2s5xmomTM7y3FWESbvjcwq",
"14ZryeDT1MmSSX29QaJ2pbNjJDv8hoLTfwFmDwe6mDMh3Vj",
"15E5zYJhV2iqZXmL1FKe8MdFocj9n1phEaJob4izAaXA9bw",
"16nbm1KzDpQKx8CfDcaXW6Mb9HbLbUKRo34Vsjq5SYnWNUwB"
]
},
"round": 17242,
"thresholdWeight": 199,
"totalWeight": 297
},
"setId": 1477
}
}
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" }