Provides runtime version information for Substrate-based blockchains, returning the current spec and implementation versions.
# Cargo.toml
[dependencies]
sp-version = "44.0.0"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Constructs and prints a RuntimeVersion struct for a Substrate runtime.
Pin to a specific version and follow the Substrate release notes for migration guides.
No dependency data recorded yet.