permit2_approve_build
Build Permit2 on-chain approve(token,spender,uint160,uint48) with expiry, current Permit2 allowance/nonce and the one-time ERC-20 → Permit2 approval step. 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": "permit2_approve_build"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| chain | No | base | |
| owner | No | 0x... | |
| token | No | USDC|0x... | |
| amount | No | 5|max | |
| spender | No | 0x... | |
| expiry_days | No | 30 |