EthereumSignTx class

Legacy (type 0) and EIP-2930-less transactions.

All quantities are big-endian with no leading zeros; see bigIntToMinimalBytes.

Inheritance

Constructors

EthereumSignTx({required List<int> addressN, required Uint8List nonce, required Uint8List gasPrice, required Uint8List gasLimit, required String to, required Uint8List value, required Uint8List dataInitialChunk, required int dataLength, required int chainId, int? txType, EthereumDefinitions? definitions, bool? chunkify})
const

Properties

addressN → List<int>
final
chainId → int
final
chunkify → bool?
final
dataInitialChunk → Uint8List
final
dataLength → int
final
definitions → EthereumDefinitions?
final
gasLimit → Uint8List
final
gasPrice → Uint8List
final
hashCode → int
The hash code for this object.
no setterinherited
messageType → int
no setteroverride
nonce → Uint8List
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
to → String
final
txType → int?
final
value → Uint8List
final

Methods

encode() → Uint8List
Serialized body. Messages without fields keep this default.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

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