Skip to main content

state_subscribeRuntimeVersion RPC method

Retrieves the runtime version via subscription.


subscription string

Allows the client to manage the subscription. If provided, the client can use this subscription identifier to unsubscribe from receiving updates later


specName string

The name of the specification associated with the runtime version

implName string

The name of the implementation associated with the runtime version

authoringVersion integer

The authoring version of the runtime

specVersion integer

The specification version of the runtime

implVersion integer

The implementation version of the runtime

apis array

An array of APIs supported by the runtime

transactionVersion integer

The transaction version of the runtime

stateVersion integer

The state version of the runtime

Code Examples

wscat -c wss://<API-KEY> \
# wait for connection