Returns version information related to the runtime.
successful operation
Block number and hash at which the call was made.
The version of the authorship interface. An authoring node will not attempt to author blocks unless this is equal to its native runtime.
Type of the chain. It will return one of the following enum variants as a key. Live, Development, Local, or Custom. Each variant will have a value as null except when the ChainType is Custom, it will return a string.
"{\"live\": null}"
Version of the implementation specification. Non-consensus-breaking optimizations are about the only changes that could be made which would result in only the impl_version
changing. The impl_version
is set to 0 when spec_version
is incremented.
Identifies the different Substrate runtimes.
Version of the runtime specification.
All existing dispatches are fully compatible when this number doesn't change. This number must change when an existing dispatchable (module ID, dispatch ID) is changed, either through an alteration in its user-level semantics, a parameter added/removed/changed, a dispatchable being removed, a module being removed, or a dispatchable/module changing its index.
Arbitrary properties defined in the chain spec.