Eip1559TxData class

Inheritance

Constructors

Eip1559TxData({required EthTxDataRaw data, required TxNetwork network})
Eip1559TxData.deserialize(String hash)
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 EIP-1559 transaction. If sig is true, return with signature, false without signature. Default is true.
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