depositWETH
Convert ETH to WETH by depositing ETH into the Wrapped Ether contract, enabling use in DeFi applications.
Instructions
Deposit ETH into the WETH contract, receiving WETH in return
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"chainId": "<chainId>",
"amount": "<amount>"
},
"name": "depositWETH"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chainId | Yes | Chain ID to deposit on | |
| amount | Yes | Amount of ETH to deposit (in ether) |