RawEVMTransactionType0 class

Inheritance

Constructors

RawEVMTransactionType0.new({required BigInt nonce, required BigInt gasLimit, required String to, required BigInt value, required Uint8List data, required BigInt gasPrice, required BigInt r, required BigInt s, required int v})
const
RawEVMTransactionType0.fromHex(String messageHex)
factory
RawEVMTransactionType0.fromUnsignedHex(String messageHex)
factory
RawEVMTransactionType0.unsigned({required BigInt nonce, required BigInt gasLimit, required String to, required BigInt value, required Uint8List data, required BigInt gasPrice, int? chainId})

Properties

chainId → int?
The chainId is optional for transactions with v = 27 or v = 28 (EIP-155) For other transactions, chainId is calculated as (v - 35) / 2 for odd v and (v - 36) / 2 for even v
no setteroverride
data → Uint8List
finalinherited
gasFee → BigInt
no setteroverride
gasLimit → BigInt
finalinherited
gasPrice → BigInt
final
hashCode → int
The hash code for this object.
no setterinherited
hasSignature → bool
no setteroverride
nonce → BigInt
finalinherited
r → BigInt
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
s → BigInt
final
sender → String
no setteroverride
serialized → Uint8List
Used for Signing the transaction
no setteroverride
serializedHex → String
no setterinherited
signingTxHash → Uint8List
no setteroverride
to → String
finalinherited
txHash → String
no setterinherited
txType → int
no setterinherited
v → int
final
value → BigInt
finalinherited

Methods

addSignature(Signature signature) → RawEVMTransactionType0
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
serializedUnsigned([int? chainId]) → Uint8List
sign({required Uint8List privateKey, required int chainId}) → RawEVMTransactionType0
toString() → String
A string representation of this object.
inherited

Operators

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