Home

Get runtime version

POST
https://dot.nownodes.io/

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Returns the version information of the runtime.

The state_getRuntimeVersion method provides detailed version information about the current runtime, including spec version, transaction version, and supported APIs. This information is crucial for compatibility checking and ensuring clients interact correctly with the chain.

This method is essential for:

  • Client compatibility verification
  • Runtime upgrade detection
  • Transaction version validation
  • Network protocol compatibility

Body

application/json
jsonrpcstring2.0required

JSON-RPC version identifier

methodstringstate_getRuntimeVersionrequired

The method to be invoked

idinteger | stringrequired

Request identifier for matching responses

paramsArray<string>required

Optional parameters array. Can be empty or contain an optional block hash for historical runtime version.

Response

200OK

Runtime version information retrieved successfully

400Bad Request

Invalid block hash or request

500Internal Server Error

Internal server error