xrp_create_escrow
Create an escrow on XRP Ledger Testnet to lock XRP until a condition or time-based release, enabling conditional payments with cancel and finish options.
Instructions
Create time or condition-locked escrow
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": {
"privateKey": "<privateKey>",
"destination": "<destination>",
"amount": "<amount>"
},
"name": "xrp_create_escrow"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | Amount in XRP | |
| condition | No | Crypto condition (optional) | |
| privateKey | Yes | Sender private key | |
| destination | Yes | Recipient address | |
| cancel_after | No | Unix timestamp when escrow can be cancelled | |
| finish_after | No | Unix timestamp when escrow can be finished |