EncodedExtrinsic class
Result of encoding an extrinsic
Constructors
- EncodedExtrinsic({required Uint8List bytes, required Uint8List hash, required EncodedExtrinsicInfo info})
-
const
Properties
- bytes → Uint8List
-
The complete extrinsic bytes (with length prefix)
final
- hash → Uint8List
-
The extrinsic hash
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- hashHex → String
-
Get hash as hex
no setter
- info → EncodedExtrinsicInfo
-
Information about the extrinsic
final
-
props
→ List<
Object> -
The list of properties that will be used to determine whether
two instances are equal.
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- stringify → bool?
-
If set to
true, thetoStringmethod will be overridden to output this instance'sprops.no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
submit(
Provider provider) → Future< Uint8List> - Submit this extrinsic to a node
-
submitAndWatch(
Provider provider, ExtrinsicListener onStatusChange) → Future< StreamSubscription< ExtrinsicStatus> > -
toHex(
) → String - Get hex representation
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
fromSignedData(
ChainInfo chainInfo, SignedData signedData) → EncodedExtrinsic - Create from SignedData