Introduction
How to get started in Trustless Work API REST
What is the Trustless Work API?
The Trustless Work REST API lets you create and manage decentralized escrow contracts on Stellar using Soroban smart contracts.
Use it to deploy escrows, fund them, track milestones, and release funds.
Base URLs
https://api.trustlesswork.comhttps://dev.api.trustlesswork.comCore capabilities
Deploy escrows with roles, milestones, and conditions.
Fund escrows using Stellar assets (example: USDC).
Approve / update milestones to drive releases.
Dispute and resolution flows (escrow-level or milestone-level).
Release funds only when conditions are met.
Query status for escrows, milestones, and balances.
Escrow types
Single-release escrow
One release action for the full amount.
Multi-release escrow
Multiple milestone payouts.
Each milestone can be approved, disputed, and released independently.
Rate limits
Limit: 50 requests per 60 seconds per client.
Transactions, signing, and permissions
Actions are role-gated (approve, dispute, resolve, release).
Endpoint map (high level)
Use Swagger for the full spec. These groups cover most integrations:
Deployment
/deployer/single-release/deployer/multi-release
Funding
/escrow/{type}/fund-escrow
Milestones
/escrow/{type}/approve-milestone/escrow/{type}/change-milestone-status
Release
/escrow/{type}/release-funds(single)/escrow/{type}/release-milestone-funds(multi)
Disputes
/escrow/{type}/dispute-escrow/escrow/{type}/resolve-dispute/escrow/{type}/dispute-milestone(multi)/escrow/{type}/resolve-milestone-dispute(multi)
Updates
/escrow/{type}/update-escrow
Query / helpers
/escrow/get-multiple-escrow-balance/helper/get-escrows-by-signer/helper/get-escrows-by-role/helper/set-trustline/helper/send-transaction
Fees
Mainnet charges a 0.3% protocol fee.
API docs (Swagger)
Dev resources
GitHub repository
Last updated