Skip to main content

grandpa_subscribeJustifications RPC method

Allows clients to subscribe to grandpa justifications.

Parameters

This method does not accept any parameters

Returns

JustificationNotification string

A notification containing the grandpa justification. This provides information about finalized blocks and their associated justifications

Code Examples

wscat -c wss://api-polkadot.dwellir.com/<API-KEY> \
# wait for connection
{"id":1,"jsonrpc":"2.0","method":"grandpa_subscribeJustifications","params":[]}'