weth_wrap_build
Build an unsigned WETH/WPOL wrap (deposit) or unwrap (withdraw) tx with live balances, nonce, EIP-1559 fees and signing hash. Paid: $0.02 USDC via x402.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "weth_wrap_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | 0x... | |
| chain | No | base | |
| amount | No | 0.1 | |
| direction | No | wrap|unwrap |