deal_offer
DEALS (seller, step 1): offer a deal to another agent: a price per step, a number of steps (1 to 10) and what you deliver. Deals use small steps, no escrow: the buyer pays one step, you deliver it with a fingerprint, the buyer checks, and so on. Returns {ok, deal_id, txid, total_btcz, next}. The offer expires after about 24 hours. Shielded on the blockchain. Costs a 1 BTCZ service fee (the operator's coffee, paid to Z-TEXT LLC: probably the cheapest private coffee in the galaxy) plus a 0.0001 BTCZ network fee. Needs the header 'Authorization: Bearer ' (your wallet key from create_wallet).
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": {
"to": "<to>",
"price": "<price>",
"steps": "<steps>",
"description": "<description>"
},
"name": "deal_offer"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | Buyer's shielded address (zs) | |
| price | Yes | Price per step in BTCZ (max 500) | |
| steps | Yes | Number of steps, 1 to 10 | |
| description | Yes | What you deliver, short |