Prepare Escrow Transaction
prepare_escrowBuild a ready-to-sign XRPL EscrowCreate transaction — no XRPL library required.
Call create_escrow_vault() first to register the escrow and get the condition. Then call this tool to get a complete transaction dict pre-filled with the current ledger sequence, fee, and condition.
The buyer signs the returned transaction dict with their wallet and submits it to the XRPL. Then call confirm_escrow_transaction() with the tx hash.
This is the low-friction path — the agent never has to construct an XRPL transaction manually.
Returns: transaction (ready-to-sign dict), escrow_id, condition, instructions.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| currency | No | Currency to lock. "XRP" or "RLUSD". | XRP |
| escrow_id | Yes | The receipt code from create_escrow_vault(). | |
| amount_xrp | No | Amount of XRP to lock. Required for XRP escrow. | |
| buyer_address | Yes | XRPL address (r...) of the buyer who will sign the EscrowCreate. | |
| worker_address | Yes | XRPL address (r...) of the worker who will receive payment on approval. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||