TransactionRequest constructor
TransactionRequest({})
Implementation
factory TransactionRequest({
String? to,
String? from,
BigInt? value,
BigInt? gasLimit,
BigInt? gasPrice,
int? nounce,
String? data,
BigInt? maxFeePerGas,
BigInt? maxPriorityFeePerGas,
AccessList? accessList,
}) {
return TransactionRequest._(
_TransactionRequestImpl(
to: to,
from: from,
data: data,
value: value?.toBigNumber,
nonce: nounce,
gasLimit: gasLimit?.toBigNumber,
gasPrice: gasPrice?.toBigNumber,
accessList: accessList?.impl,
maxFeePerGas: maxFeePerGas?.toBigNumber,
maxPriorityFeePerGas: maxPriorityFeePerGas?.toBigNumber,
),
);
}