bond_v2_accept
Fetch and verify a seller's delivery, then accept the bonded job and pay the balance only if it matches the on-chain commitment; refuses mismatches and reports accepted, refused, or failed.
Instructions
Agent402 Bond v2, buyer side. Fetch and verify the delivery again, then accept and pay the balance to the seller in one instruction (before the accept deadline, within the daily cap, with human confirmation). Refuses if the result does not match what the seller committed to on chain. The program does not judge quality: accept only work you checked. Returns result "accepted" with the transaction; "refused" means nothing was signed and "failed" means the transaction did not land (see payment_history). Then call bond_v2_settle to claim and close.
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": {
"url": "<url>",
"deal": "<deal>"
},
"name": "bond_v2_accept"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Seller job base URL from bond_find_sellers (the tool appends /quote, /open or /deliver). Its host must be in X402_ALLOWED_DOMAINS. | |
| deal | Yes | Bond v2 deal account address (base58), as returned by bond_v2_start. |