RuntimeMetadataV15 class

Main metadata container for a Substrate runtime (Version 15)

Inheritance
Available extensions

Constructors

RuntimeMetadataV15({required List<PortableType> types, required List<PalletMetadataV15> pallets, required ExtrinsicMetadataV15 extrinsic, required int type, required List<RuntimeApiMetadataV15> apis, required OuterEnumsV15 outerEnums, required CustomMetadataV15 customMetadata})
const

Properties

apis → List<RuntimeApiMetadataV15>
List of runtime APIs exposed by the runtime
final
customMetadata → CustomMetadataV15
Custom metadata fields
final
extrinsic → ExtrinsicMetadataV15
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 → OuterEnumsV15
Outer enum type IDs
final
outerEnums → OuterEnums

Available on RuntimeMetadata, provided by the RuntimeMetadataExtensions extension

Get outer enum types
no setter
pallets → List<PalletMetadataV15>
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 $RuntimeMetadataV15
Codec instance for RuntimeMetadataV15