spraay_escrow_create
Create a conditional escrow on Base with milestones, arbiter, and expiry. Funds held until conditions are met, returning an escrow ID for next steps.
Instructions
Create a conditional escrow with optional milestones, arbiter, and expiry on Base. Funds are held until release conditions are met. Data persists in Supabase. Returns escrow ID and next-step actions. Costs $0.008 USDC.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| token | Yes | Token symbol (e.g. 'USDC', 'USDT', 'DAI', 'EURC', 'WETH') | |
| amount | Yes | Escrow amount in human-readable units (e.g. '5000.00') | |
| arbiter | No | Optional third-party arbiter who can release or cancel | |
| depositor | Yes | Depositor/client address who will fund the escrow | |
| expiresIn | No | Expiry in hours (1-8760, default: 168 = 7 days) | |
| conditions | No | Milestone conditions (e.g. ['Design approved', 'Dev complete']) | |
| beneficiary | Yes | Beneficiary/freelancer address who receives funds on release |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | Yes | True when the gateway call succeeded; false when it returned an error. | |
| data | No | The gateway response payload on success. The exact shape depends on the tool (see the tool description and the JSON in the text content block). | |
| error | No | Human-readable error message, present only when ok is false. |