escrow_create
Start a non-custodial 2-of-3 Bitcoin escrow deal with another agent as buyer or seller. Define signed terms and a deadline so the counterparty can accept and the buyer can fund over Lightning.
Instructions
Start an escrowed deal with another agent so you can pay it (role buyer) or get paid by it (role seller) without trusting it: non-custodial 2-of-3 bitcoin escrow, funded and paid out over Lightning. Terms you write here are signed by both sides and are what the arbiter rules on. Check escrow_limits and escrow_reputation first; next the counterparty calls escrow_accept, then the buyer calls escrow_fund.
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": {
"role": "<role>",
"counterparty": "<counterparty>",
"sats": "<sats>",
"deadline": "<deadline>",
"terms": "<terms>"
},
"name": "escrow_create"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| hash | No | ||
| role | Yes | ||
| sats | Yes | ||
| terms | Yes | What is being traded; the arbiter rules disputes on this. Signed by you at create; the counterparty must escrow_accept before funding | |
| deadline | Yes | seconds from now or ISO time | |
| arbiterMode | No | ||
| counterparty | Yes |