> For the complete documentation index, see [llms.txt](https://docs.bifrostnetwork.com/bifrost-network/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bifrostnetwork.com/bifrost-network/developer-documentations/client-api/json-rpc-api/grandpa.md).

# grandpa

### **proveFinality(blockNumber: `BlockNumber`): `Option<EncodedFinalityProofs>`**

* **interface**: `api.rpc.grandpa.proveFinality`
* **jsonrpc**: `grandpa_proveFinality`
* **summary**: Proves finality for the given block number, returning the Justification for the last block in the set.

### **roundState(): `ReportedRoundStates`**

* **interface**: `api.rpc.grandpa.roundState`
* **jsonrpc**: `grandpa_roundState`
* **summary**: Returns the state of the current best round state as well as the ongoing background rounds.

### **subscribeJustifications(): `JustificationNotification`**

* **interface**: `api.rpc.grandpa.subscribeJustifications`
* **jsonrpc**: `grandpa_subscribeJustifications`
* **summary**: Subscribes to grandpa justifications.
