swapExactTokensForEthTx method
Implementation
Future<RawEvmTransaction> swapExactTokensForEthTx({
required BigInt amountIn,
required BigInt amountOutMin,
required List<String> path,
required String to,
required BigInt deadline,
required String sender,
}) async {
final function = abi.getFunction("swapExactTokensForETH")!;
final result = await buildTransactionForFunction(
sender: sender,
function: function
.addValues(values: [amountIn, amountOutMin, path, to, deadline]),
);
return result;
}