LegacyTxData class
Constructors
- LegacyTxData({required EthTxDataRaw data, required TxNetwork network})
- LegacyTxData.deserialize(String hash, {int? chainId})
-
factory
Properties
- data → EthTxDataRaw
-
finalinherited
- hashCode → int
-
The hash code for this object.
no setterinherited
- isSigned ↔ bool
-
getter/setter pairinherited
- message ↔ String
-
getter/setter pairinherited
- network → TxNetwork
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- signature ↔ String
-
getter/setter pairinherited
- txType → EthTxType
-
finalinherited
Methods
-
getMessageToSign(
) → Uint8List -
Returns the serialized unsigned tx (hashed or raw), which can be used.
override
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
raw(
) → List -
Returns the serialized unsigned tx (hashed or raw), which can be used.
override
-
serialize(
{bool sig = true}) → Uint8List -
Returns the serialized encoding of the legacy transaction.
override
-
toBroadcast(
) → Map< String, dynamic> -
override
-
toJson(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited