Skip to main content

state_getRuntimeVersion RPC Method

Retrieves the runtime version.

Updated on
Oct 04, 2023

Parameters

BlockHash
string

The hash of a specific block in the chain. If not provided, the request will return the runtime version from the latest block

Returns

specName
string

The name of the specification or the runtime specification used in the Polkadot network

implName
string

The name of the implementation used for the Polkadot runtime

authoringVersion
integer

The authoring version, which is a version identifier used during block authoring

specVersion
integer

The version of the runtime specification

implVersion
integer

The version of the implementation of the Polkadot runtime

apis
array

The supported APIs or interfaces exposed by the runtime

transactionVersion
integer

The transaction version used in the runtime

stateVersion
integer

The state version of the Polkadot runtime

Request
Don't have an account yet?
Create your Quicknode endpoint in seconds and start building
Get started for free