SendTransactionParameters class

Implementers
Annotations
  • @freezed

Constructors

SendTransactionParameters.eip1559({required String to, List<Map<String, dynamic>>? accessList, required String account, int? chainId, String? data, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, BigInt? value, dynamic connector})
const
factory
SendTransactionParameters.eip4844({required String to, List<Map<String, dynamic>>? accessList, required String account, int? chainId, String? data, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, BigInt? value, dynamic connector})
const
factory
SendTransactionParameters.legacy({required String to, List<Map<String, dynamic>>? accessList, required String account, int? chainId, String? data, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, BigInt? value, dynamic connector})
const
factory

Properties

accessList List<Map<String, dynamic>>?
no setterinherited
account String
no setterinherited
chainId int?
no setterinherited
connector → dynamic
no setterinherited
copyWith → $SendTransactionParametersCopyWith<SendTransactionParameters>
Create a copy of SendTransactionParameters with the given fields replaced by the non-null parameter values.
no setterinherited
data String?
no setterinherited
feeValues FeeValues?
no setterinherited
gas BigInt?
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
nonce BigInt?
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
to String
no setterinherited
value BigInt?
no setterinherited

Methods

map<TResult extends Object?>({required TResult legacy(SendTransactionParametersLegacy value), required TResult eip1559(SendTransactionParametersEIP1559 value), required TResult eip4844(SendTransactionParametersEIP4844 value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? legacy(SendTransactionParametersLegacy value)?, TResult? eip1559(SendTransactionParametersEIP1559 value)?, TResult? eip4844(SendTransactionParametersEIP4844 value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult legacy(SendTransactionParametersLegacy value)?, TResult eip1559(SendTransactionParametersEIP1559 value)?, TResult eip4844(SendTransactionParametersEIP4844 value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult legacy(String to, List<Map<String, dynamic>>? accessList, String account, int? chainId, String? data, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, BigInt? value, dynamic connector)?, TResult eip1559(String to, List<Map<String, dynamic>>? accessList, String account, int? chainId, String? data, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, BigInt? value, dynamic connector)?, TResult eip4844(String to, List<Map<String, dynamic>>? accessList, String account, int? chainId, String? data, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, BigInt? value, dynamic connector)?, required TResult orElse()}) → TResult
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
when<TResult extends Object?>({required TResult legacy(String to, List<Map<String, dynamic>>? accessList, String account, int? chainId, String? data, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, BigInt? value, dynamic connector), required TResult eip1559(String to, List<Map<String, dynamic>>? accessList, String account, int? chainId, String? data, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, BigInt? value, dynamic connector), required TResult eip4844(String to, List<Map<String, dynamic>>? accessList, String account, int? chainId, String? data, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, BigInt? value, dynamic connector)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? legacy(String to, List<Map<String, dynamic>>? accessList, String account, int? chainId, String? data, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, BigInt? value, dynamic connector)?, TResult? eip1559(String to, List<Map<String, dynamic>>? accessList, String account, int? chainId, String? data, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, BigInt? value, dynamic connector)?, TResult? eip4844(String to, List<Map<String, dynamic>>? accessList, String account, int? chainId, String? data, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, BigInt? value, dynamic connector)?}) → TResult?
inherited

Operators

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