Skip to main content

Module runtime

Module runtime 

Source
Expand description

Runtime: one immutable object per spec version, parsed from the raw MetadataVersioned bytes the transport already downloads and caches.

Every metadata question the SDK asks — storage entries, call composition, constants, module errors, runtime APIs, the codegen IR — is answered here, keyed by portable-registry type ids internally and by names at the seam (ids are not stable across spec versions, so they never leave the process; see the spec’s §4.2).

Immutable and Send + Sync: decoded values are materialized fresh per call and nothing mutates after parse.

Modules§

type_string
The type-string compatibility grammar.

Structs§

ConstantInfo
ExtrinsicInfo
PalletInfo
Runtime
One runtime’s complete metadata view.
RuntimeApiInfo
RuntimeApiMethodInfo
RuntimeApiParamInfo
SignedExtensionInfo
StorageInfo
One storage item’s full description: everything needed to build keys for and decode values of it.