Prepare an unsigned buyer-started deal
prepare_dealBuilds two unsigned transactions for a buyer-started USDC escrow deal: a USDC approve and proposeDeal. Returns calldata only; does not sign, store, or broadcast, and rejects paused or closed funding.
Instructions
Build two unsigned transactions for a buyer-started deal: a USDC approve and proposeDeal. Returns calldata only. Does not store the manifest, does not hold a key, does not sign, and does not broadcast. Refuses when funding is paused or closed.
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": {
"buyer": "<buyer>",
"seller": "<seller>",
"amount_usdc": "<amount_usdc>",
"mode": "<mode>",
"fallback_seller_bps": "<fallback_seller_bps>",
"acceptance_window": "<acceptance_window>",
"delivery_window": "<delivery_window>",
"decision_window": "<decision_window>",
"arbitration_window": "<arbitration_window>",
"manifest": "<manifest>"
},
"name": "prepare_deal"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | ||
| salt | No | Optional 0x-prefixed 32-byte salt. A random salt is used when omitted. | |
| buyer | Yes | Checksummed buyer address. This wallet would sign. The tool does not sign. | |
| seller | Yes | Checksummed seller address, different from the buyer. | |
| manifest | Yes | Agreed deal text. It is hashed locally and is not stored by this tool. | |
| amount_usdc | Yes | ||
| decision_window | Yes | ||
| delivery_window | Yes | ||
| acceptance_window | Yes | ||
| arbitration_window | Yes | ||
| fallback_seller_bps | Yes |