DeFi Saver
Search…
UnwrapEth
Action that unwraps WETH9 to ETH.
if amount is uint256.max the whole WETH balance is unwrapped.

Parameters:

  • uint256 amount - Amount of WETH to unwrap.
  • address to - Address where to send the unwrapped ETH.
Last modified 5mo ago
Copy link