TransactionExtensionMetadata class

Metadata about a transaction extension (V16)

Transaction extensions replace signed extensions in V16. They provide a more flexible mechanism for extending extrinsic functionality. Each extension can contribute both explicit data (included in the extrinsic) and implicit data (derived and included in the signed payload).

Reference: https://github.com/paritytech/frame-metadata/blob/main/frame-metadata/src/v16.rs#L181-L196

Constructors

TransactionExtensionMetadata({required String identifier, required int type, required int implicit})
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
identifier → String
Identifier for this extension
final
implicit → int
Type ID of the implicit data (derived, included in signed payload)
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
type → int
Type ID of the extension data (included in extrinsic)
final

Methods

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

Operators

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

Constants

codec → const $TransactionExtensionMetadata
Codec instance for TransactionExtensionMetadata