Create Escrow Vault
create_escrow_vaultCreate an AI-gated XRPL escrow vault. Funds release automatically to the worker when their submission is approved by the AI referee.
Typical flow after job board negotiation:
award_job() returns the worker's address and agreed price
Pay $0.10 protocol fee (XRP or RLUSD) to rmcSrkpZ2i2kuvtCPeTVetee9SixP4djR
Call this tool with worker_address from step 1
Use returned condition in an XRPL EscrowCreate transaction (sign with your wallet)
Call confirm_escrow_transaction() with the EscrowCreate tx hash
Returns: escrow_id, condition (for EscrowCreate tx), cancel_after_human.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| category | No | Marketplace category for this job. One of: default, creative, code, data, data_analysis, bug_bounty, legal, supply_chain. | default |
| currency | No | Currency to lock. Use "XRP" (no trustline needed) or "RLUSD" (USD-pegged stablecoin). | XRP |
| fee_hash | Yes | 64-character hex transaction hash of the payment to the protocol wallet. | |
| escrow_id | Yes | Unique receipt code for this vault, e.g. AT-7X9K-2MQ4. Used to reference the vault in subsequent calls. | |
| amount_xrp | No | Amount of XRP to lock in escrow. Required when currency is XRP. Minimum: 0.000001 XRP (1 drop — XRPL EscrowCreate minimum). Practically, ensure the bounty exceeds the $0.10 protocol fee. | |
| buyer_name | Yes | Name or identifier of the buyer posting the job. | |
| amount_rlusd | No | Amount of RLUSD to lock in escrow. Required when currency is RLUSD. | |
| buyer_address | Yes | XRPL wallet address (r...) of the buyer. | |
| project_label | No | Optional human-readable label for the job, shown in the marketplace. | |
| worker_address | Yes | XRPL wallet address (r...) of the worker who will receive payment on approval. Use the address returned by award_job(). | |
| max_submissions | No | Number of work submission attempts the worker is allowed before the vault is locked. Default 3. | |
| cancel_after_hrs | No | Hours until the buyer can reclaim funds if the worker does not deliver. Default 168 = 7 days. | |
| task_description | Yes | Detailed specification the worker must fulfil to be paid. Be precise — the AI referee evaluates against this. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||