> For the complete documentation index, see [llms.txt](https://docs.trustlesswork.com/trustless-work/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.trustlesswork.com/trustless-work/v2-en/escrow-react-sdk/introduction.md).

# 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`.

{% hint style="info" %}
Auth, users, platforms, wallets, admin, and access grants are **out of scope** for this package.
{% endhint %}

#### Quick links

<table data-view="cards"><thead><tr><th>Title</th><th data-card-target data-type="content-ref">Link</th></tr></thead><tbody><tr><td>Getting started</td><td></td></tr><tr><td>Architecture</td><td></td></tr><tr><td>Operate hooks</td><td></td></tr><tr><td>REST reads</td><td></td></tr><tr><td>NPM package</td><td><a href="https://www.npmjs.com/package/@trustless-work/escrow">https://www.npmjs.com/package/@trustless-work/escrow</a></td></tr><tr><td>GitHub repo</td><td><a href="https://github.com/Trustless-Work/react-library-trustless-work">https://github.com/Trustless-Work/react-library-trustless-work</a></td></tr></tbody></table>

#### 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`.

{% hint style="warning" %}
Every operate (write) call returns an **unsigned XDR**. Your app must sign it with the correct role wallet, then submit.
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.trustlesswork.com/trustless-work/v2-en/escrow-react-sdk/introduction.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
