Skip to main content

chain_subscribeRuntimeVersion RPC Method

Enables clients to subscribe and receive updates regarding changes to the runtime version.

Updated on
Oct 4, 2023

chain_subscribeRuntimeVersion RPC Method

Parameters

subscription
string
Allows the client to manage the subscription

Returns

specName
string
The name of the specification (runtime) of the blockchain
implName
string
The name of the implementation (client) running the blockchain
authoringVersion
integer
The authoring version used for block authorship
specVersion
integer
The specification version of the runtime
implVersion
integer
The implementation version of the runtime
apis
array
An array containing the supported APIs by the runtime
transactionVersion
integer
The transaction version used for transactions in the blockchain
stateVersion
integer
The state version of the runtime, representing the state storage format
Request
1
wscat -c \
2
# wait for connection
3
{"id":1,"jsonrpc":"2.0","method":"chain_subscribeRuntimeVersion","params":[]}
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free