compound_v3_tx_build
Build an unsigned Compound v3 (Comet) supply/withdraw tx for base or collateral with allowance (approval tx), pause and implicit-borrow warnings. 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": "compound_v3_tx_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| from | No | 0x... | |
| asset | No | optional collateral | |
| chain | No | base | |
| action | No | supply|withdraw | |
| amount | No | 5|max | |
| market | No | USDC|WETH|0x... |