RawEVMTransactionType2 class

Inheritance

Constructors

RawEVMTransactionType2.new({required BigInt nonce, required BigInt gasLimit, required String to, required BigInt value, required Uint8List data, required int chainId, required BigInt maxFeePerGas, required BigInt maxPriorityFeePerGas, required List<AccessListItem> accessList, required Uint8List signatureR, required Uint8List signatureS, required int signatureYParity})
const
RawEVMTransactionType2.fromHex(String rawTxHex)
factory
RawEVMTransactionType2.fromUnsignedHex(String rawTxHex)
factory
RawEVMTransactionType2.unsigned({required BigInt nonce, required BigInt gasLimit, required String to, required BigInt value, required Uint8List data, required int chainId, required BigInt maxFeePerGas, required BigInt maxPriorityFeePerGas, required List<AccessListItem> accessList})

Properties

accessList → List<AccessListItem>
final
chainId → int
final
data → Uint8List
finalinherited
gasFee → BigInt
no setterinherited
gasLimit → BigInt
finalinherited
hashCode → int
The hash code for this object.
no setterinherited
hasSignature → bool
no setteroverride
maxFeePerGas → BigInt
final
maxPriorityFeePerGas → BigInt
final
nonce → BigInt
finalinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sender → String
no setteroverride
serialized → Uint8List
Used for Signing the transaction
no setteroverride
serializedHex → String
no setterinherited
serializedUnsigned → Uint8List
no setter
signatureR → Uint8List
final
signatureS → Uint8List
final
signatureYParity → int
final
signingTxHash → Uint8List
no setteroverride
to → String
finalinherited
txHash → String
no setterinherited
txType → int
no setterinherited
value → BigInt
finalinherited

Methods

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

Operators

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