Introduction
Introduction
@trustless-work/escrow v5 — React/TypeScript client for Trustless Work Core API v2 escrows.
Surface
What it does
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.
Quick links
What you'll do with the SDK
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.