RuntimeMetadataV14 class

Main metadata container for a Substrate runtime (Version 14)

This is the root structure that contains all metadata information about a Substrate blockchain runtime, including type registry, pallets, and extrinsic format.

Inheritance
Available extensions

Constructors

RuntimeMetadataV14({required List<PortableType> types, required List<PalletMetadataV14> pallets, required ExtrinsicMetadataV14 extrinsic, required int type})
const

Properties

extrinsic → ExtrinsicMetadataV14
Metadata about the extrinsic format used by the runtime
final
extrinsic → ExtrinsicMetadata

Available on RuntimeMetadata, provided by the RuntimeMetadataExtensions extension

Get extrinsic metadata
no setter
hashCode → int
The hash code for this object.
no setterinherited
outerEnums → OuterEnums

Available on RuntimeMetadata, provided by the RuntimeMetadataExtensions extension

Get outer enum types
no setter
pallets → List<PalletMetadataV14>
List of all pallets (modules) in the runtime
final
pallets → List<PalletMetadata>

Available on RuntimeMetadata, provided by the RuntimeMetadataExtensions extension

Get the list of pallets
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → int
Type ID of the Runtime type itself
final
types → List<PortableType>
List of all registered types
final
types → List<PortableType>

Available on RuntimeMetadata, provided by the RuntimeMetadataExtensions extension

no setter
version → int
Get the metadata version number
no setteroverride

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
override
toString() → String
A string representation of this object.
inherited
typeById(int id) → PortableType
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Constants

codec → const $RuntimeMetadataV14
Codec instance for RuntimeMetadataV14