Introduction
Introduction
Surface
What it does
Quick links
Title
Link
Title
Link
Title
Link
Title
Link
@trustless-work/escrow v5 — React/TypeScript client for Trustless Work Core API v2 escrows.
REST operate
Build unsigned XDR then you sign then sendTransaction
REST reads
GET /escrows* (list, detail, events, milestones, financial)
GraphQL reads
POST /graphql (escrow / escrows)
Identity is always contractId (Soroban C…). Types: single-release or multi-release.
Auth, users, platforms, wallets, admin, and access grants are out of scope for this package.
Deploy escrows (useDeployEscrow) — single-release or multi-release.
Fund, update, manage milestones, approve, release, dispute, resolve, withdraw.
Read escrows via REST (useListEscrows, useGetEscrow, and related hooks) or GraphQL.
Submit signed XDR with useSendTransaction.
Every operate (write) call returns an unsigned XDR. Your app must sign it with the correct role wallet, then submit.