1

Yes, it's possible. You can directly interact with UniswapV3 or Sushiswap router contracts to swap ETH to DAI and send that to a particular receiver address. Here's the example with Sushiswap (UniswapV2) router: payableAmount: ETH amount you want to swap path: [WETH, DAI] to: walletB


Only top voted, non community-wiki answers of a minimum length are eligible