q402_escrow_lock
Fund a pending escrow by gaslessly locking buyer funds into the vault using EIP-7702. Server signs for agent wallets to eliminate local key handling; always confirm escrow details first.
Instructions
Fund a pending escrow: the BUYER gaslessly locks the amount into the vault via EIP-7702 (Q402 relays + sponsors gas). MOVES REAL FUNDS. If the escrow is funded by an Agent Wallet (created with walletId), the server signs it for you - no local key needed. Otherwise requires Q402_PRIVATE_KEY = the buyer's key. ALWAYS confirm the exact amount/seller/chain with the user before calling (confirm:true).
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": {
"escrowId": "<escrowId>",
"confirm": "<confirm>"
},
"name": "q402_escrow_lock"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | MUST be true, only after the user explicitly confirmed this exact escrow action in chat. | |
| escrowId | Yes | The esc_... id from escrow_create. |