ExtrinsicsCodec class

Mixed-in types

Constructors

ExtrinsicsCodec({required ChainInfo chainInfo})
const

Properties

chainInfo ChainInfo
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

decode(Input input) Map<String, dynamic>
override
encode(Map<String, dynamic> value) Uint8List
Convert self to an owned vector.
inherited
encodeTo(Map<String, dynamic> value, Output output) → void
Convert self to a slice and append it to the destination.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
sizeHint(Map<String, dynamic> value) int
If possible give a hint of expected size of the encoding.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

computeHash(Uint8List extrinsicBytes, [int digestSize = 32]) String
computeHashFromString(String extrinsic, [int digestSize = 32]) String