Skip to main content

grandpa_roundState RPC Method

Returns the state of the current best round state as well as the ongoing background rounds.

Updated on
Oct 04, 2023

Parameters

This method does not accept any parameters

Returns

result
object

An object containing information about the current best round state and ongoing background rounds:

setId
integer

The identifier for the round set, which represents a specific set of validators involved in the finality process

best
object

An object representing the current best round state

round
integer

The current round number or identifier

totalWeight
integer

The total weight or stake of validators participating in the current best round

thresholdWeight
integer

The threshold weight required for finality to be achieved

prevotes
array | object

The information about prevotes in the current best round

currentWeight
integer

The current weight or stake of validators who have prevoted

missing
array

Information about any missing prevotes in the current round

precommits
array | object

Information about precommits in the current best round

currentWeight
integer

The current weight or stake of validators who have precommitted

missing
array

Information about any missing precommits in the current round

background
array

Information about ongoing background rounds, which may include additional details about other rounds that are still being processed

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free