withdrawWETH
Convert WETH to native ETH by withdrawing a specified amount from a specific blockchain chain using this Ethereum-based automation tool.
Instructions
Withdraw WETH back to native ETH
Input Schema
Name | Required | Description | Default |
---|---|---|---|
amount | Yes | Amount of WETH to withdraw (in ether) | |
chainId | Yes | Chain ID to withdraw on |
Input Schema (JSON Schema)
{
"$schema": "http://json-schema.org/draft-07/schema#",
"additionalProperties": false,
"properties": {
"amount": {
"description": "Amount of WETH to withdraw (in ether)",
"type": "number"
},
"chainId": {
"description": "Chain ID to withdraw on",
"type": "number"
}
},
"required": [
"chainId",
"amount"
],
"type": "object"
}