For the complete documentation index, see llms.txt. This page is also available as Markdown.

grandpa

Method Name: proveFinality

Parameter: blockNumber: BlockNumber

Return Type: Option<EncodedFinalityProofs>

  • interface: api.rpc.grandpa.proveFinality

  • jsonrpc: grandpa_proveFinality

The proveFinality method proves finality for the given block number, returning the Justification for the last block in the set for the given parameter blockNumber.

Method Name: roundState

Parameter: -

Return Type: ReportedRoundStates​

  • interface: api.rpc.grandpa.roundState

  • jsonrpc: grandpa_roundState

The roundState method returns the state of the current best round state as well as the ongoing background rounds.

Method Name: subscribeJustifications

Parameters: -

Return Type: JustificationNotification

  • interface: api.rpc.grandpa.subscribeJustifications

  • jsonrpc: grandpa_subscribeJustifications

The subscribeJustifications method subscribes to grandpa justifications.

Last updated