TxDestination class
One recipient in a Mochimo transaction.
The on-wire entry is 44 bytes: a 20-byte tag, a 16-byte reference, and an
8-byte little-endian amount. That is MDST in src/types.h.
Constructors
- TxDestination({required Uint8List tag, required BigInt amount, Uint8List? reference, String? memo})
Properties
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toBytes(
) → Uint8List -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Methods
-
encodeMemo(
String memo) → Uint8List - Encodes a memo into the 16-byte reference field.
-
isValidReference(
Uint8List reference) → bool -
The node's reference state machine from
mdst_val__reference.