depositWETH
Convert ETH into WETH by depositing it into the WETH contract on a specified blockchain. Specify the chain ID and ETH amount to receive WETH in return.
Instructions
Deposit ETH into the WETH contract, receiving WETH in return
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | Amount of ETH to deposit (in ether) | |
chainId | Yes | Chain ID to deposit on |