Skip to main content

grandpa_proveFinality RPC method

Get finality proof for a given block number, returning the justification for the last block in the set.

Parameters

BlockNumber string REQUIRED

The block number for which you want to retrieve the finality proof

Returns

EncodedFinalityProofs array

An array containing the encoded finality proofs, providing cryptographic evidence of the finality of the specified block

Code Examples

curl https://api-polkadot.dwellir.com/<API-KEY> \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"grandpa_proveFinality","params":["BlockNumber"],"id":1,"jsonrpc":"2.0"}'