grandpa_roundState
Returns both the running background rounds and the status of the current best round state.
Example Request and Result for grandpa_roundState method
In this section, we provide an illustrative example of a request made to retrieve details contents using the grandpa_roundState
method. Additionally, we present the resulting response containing information about the running background rounds of the current best round state.
Parameters
- none
info
The example in this section uses a non-existing project id.
Make sure you replace it with your Vara Mainnet endpoint when issuing the API calls.
Don't have a project id? Here's a straightforward guide on how to obtain one!
Retrieves the running background rounds of the current best round state
POST
https://vara-mainnet.blastapi.io/<project-id>
- 200: OK Expand for a detailed response example
{
"jsonrpc": "2.0",
"result": {
"setId": 1828,
"best": {
"round": 2470,
"totalWeight": 55,
"thresholdWeight": 37,
"prevotes": {
"currentWeight": 0,
"missing": [
"5CMFvqcntXQ4fhDvvURiE2UQe79Mu1kPm1sqnxrGSoZRPWt6",
"5CXpK1nnvgTXGkNtYxAgDc9dmVExC9tKL3K9sExGUq84hMPy",
"5CnH1NMWC6FHtMZ3vSojUAnfeAwMAwwpR6mUhj5KehiCppNc",
"5Cocyk8htPZqfzcwmgybXL2wb4Z9uVpNktSXCT2nm5rAewR5",
"5Cp5FM48LHHnuqHLbZ3zWZzYXbnVdHYCg1G7d7FtL2mex3xH",
"5CseGsmR4Lrqv3T1yRmwrEDcJ6rbTJ9S4CBUEY5cjNZhufvr",
"5CsjkN7EanxSzKs5jQfriGoAjKQ8nqsrgJ7zzPbWHXTRkMgm",
"5DB5n2TWyRVEVbKV54q56XBLePZoxteuAix59vewavM3md2P",
"5DPbLSsDdR7yzzfFjY9jvbk5ZMh8eNp5EouRkzAVR4KgFpYZ",
"5DkNDUy8RXkhKgnBrnfsRC5VULUz8XvNynyjZvvNrHgux4rB",
"5Dtrtbym6rJYR1kszxHE2M1881DUWKBScCzfJQReQAsbQHH4",
"5DyCHLjKgyrr6WXEb16773Vutxu8XYxV81nAaY1aMZHUYFdb",
"5E2MLQGcTGMkdHGbRwW1uw5KQbqLxUTH2A7srRLGhVU6VKRC",
"5E5WaUxL5RQX93rbHsZr7JkXPFCRsZiNqCv9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8uh8CdYz3SFJj3iUNNiFkZuSCLFCPf5aXtJrMNuXix",
"5HFSNaNRYVR3mdMRvbnrbZ7D56AvLv6TYtZwSuTYfo4h2C6q",
"5HGUBD1VNRzDsSwH8tsXqdKc46mW8fxFN2qcWsi3V2Xn4Hmw",
"5HLovgSyYaVr2oPo3VzkGextg9fvh46yFA2kTNxfmSayGNwS",
"5HNtSFf1tfUB1KRuRppTmgm37iENHZTgVn2Ydmf65ZKEefmu",
"5HPWfn8a7VPe5jPuVgsKAVUJa2f3xP9GR2WE1NpR8f8irR7R",
"5HPhEN46mVY18ts2q4QidYo5tj9BRtJgp5hMDRaFzZbDgXTn",
"5HVKhMPGujAnm8rpDmMHpyMEPJUKHNu2A2G4nThK57TBLwSx",
"5HbeVcG39GjAGARLFLKZHTtadJY7SCpgcsVCrU3S95m71ebe",
"5He8ayGG3YruJrLvMvWXmQ7xJHWMmW7p9cqSJuRg249puSvT",
"5HeavnY1Xszi1yFqVEnk6sjhGhPBdS7aqEbrCPQMW46qgPgq",
"5HfWom5U3HqLsNFbypJfVWa4mrDzyePfy2CaZebKsuA8Hrug",
"5Hgt9syCuSfQwmJamjrDBBcCwDY4EMuTjpKDHbpLq3jq1beL"
]
}
},
"background": [
{
"round": 2469,
"totalWeight": 55,
"thresholdWeight": 37,
"prevotes": {
"currentWeight": 55,
"missing": []
},
"precommits": {
"currentWeight": 52,
"missing": [
"5DkNDUy8RXkhKgnBrnfsRC5VULUz8XvNynyjZvvNrHgux4rB",
"5EJ62R67uehnzUkKkEghP6QduMFSzPam4GNjKjobywMrhA4w",
"5HNtSFf1tfUB1KRuRppTmgm37iENHZTgVn2Ydmf65ZKEefmu"
]
}
}
]
},
"id": 1
}
Curl Request example
curl --location 'https://vara-mainnet.blastapi.io/<project-id>' \
--header 'Content-Type: application/json' \
--data '{
"jsonrpc": "2.0",
"method": "grandpa_roundState",
"params": [],
"id": 1
}'