EstimateGasParameters class

Implementers
Annotations
  • @freezed

Constructors

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

Properties

accessList List<Map<String, dynamic>>?
no setterinherited
account String?
no setterinherited
chainId int?
no setterinherited
copyWith → $EstimateGasParametersCopyWith<EstimateGasParameters>
Create a copy of EstimateGasParameters 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(EstimateGasParametersLegacy value), required TResult eip1559(EstimateGasParametersEIP1559 value), required TResult eip4844(EstimateGasParametersEIP4844 value)}) → TResult
inherited
mapOrNull<TResult extends Object?>({TResult? legacy(EstimateGasParametersLegacy value)?, TResult? eip1559(EstimateGasParametersEIP1559 value)?, TResult? eip4844(EstimateGasParametersEIP4844 value)?}) → TResult?
inherited
maybeMap<TResult extends Object?>({TResult legacy(EstimateGasParametersLegacy value)?, TResult eip1559(EstimateGasParametersEIP1559 value)?, TResult eip4844(EstimateGasParametersEIP4844 value)?, required TResult orElse()}) → TResult
inherited
maybeWhen<TResult extends Object?>({TResult legacy(List<Map<String, dynamic>>? accessList, String? account, int? chainId, String? data, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, String? to, BigInt? value)?, TResult eip1559(List<Map<String, dynamic>>? accessList, String? account, int? chainId, String? data, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, String? to, BigInt? value)?, TResult eip4844(List<Map<String, dynamic>>? accessList, String? account, int? chainId, String? data, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, String? to, BigInt? value)?, 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(List<Map<String, dynamic>>? accessList, String? account, int? chainId, String? data, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, String? to, BigInt? value), required TResult eip1559(List<Map<String, dynamic>>? accessList, String? account, int? chainId, String? data, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, String? to, BigInt? value), required TResult eip4844(List<Map<String, dynamic>>? accessList, String? account, int? chainId, String? data, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, String? to, BigInt? value)}) → TResult
inherited
whenOrNull<TResult extends Object?>({TResult? legacy(List<Map<String, dynamic>>? accessList, String? account, int? chainId, String? data, BigInt? gas, FeeValuesLegacy? feeValues, BigInt? nonce, String? to, BigInt? value)?, TResult? eip1559(List<Map<String, dynamic>>? accessList, String? account, int? chainId, String? data, BigInt? gas, FeeValuesEIP1559? feeValues, BigInt? nonce, String? to, BigInt? value)?, TResult? eip4844(List<Map<String, dynamic>>? accessList, String? account, int? chainId, String? data, BigInt? gas, FeeValuesEIP4844? feeValues, BigInt? nonce, String? to, BigInt? value)?}) → TResult?
inherited

Operators

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