market_take-back
Reclaim stage funds after an unreleased 30-day hold ends: returns ledger escrow via cancel, closes payment channels, and refunds card-paid USD stages in the web app.
Instructions
Buyer: after a stage’s 30-day hold has ended unreleased, take its funds back (a stage funded by reference). Ledger escrows return with EscrowCancel and payment channels by closing; a card-paid USD stage is refunded in the web app.
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": {
"contract": "<contract>"
},
"name": "market_take-back"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as | No | Practice market only: act as this party id. | |
| demo | No | Use the practice market on this computer (nothing published, no real money). | |
| network | No | Which market (default testnet). Validate on testnet, then use mainnet (real XRP). | |
| contract | Yes | Contract id. |