> 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/api-rest/deploy.md).

# Single Release Escrow

Single-release locks the full amount and settles it in **one release**: once every milestone is approved, a release signer pays the whole escrow out to the receiver.

{% hint style="info" %}
Want milestone-by-milestone payouts instead? Use the Multi Release Escrow.
{% endhint %}

### Setup

* [Deploy](/trustless-work/v2-en/api-rest/deploy/initialize-escrow.md) — create the escrow and define its properties.
* [Fund Escrow](/trustless-work/v2-en/api-rest/deploy/fund-escrow.md) — lock the funds.

### Progress and updates

* [Change Milestone Status](/trustless-work/v2-en/api-rest/deploy/change-milestone-status.md) — the service provider reports progress.
* [Approve Milestones](/trustless-work/v2-en/api-rest/deploy/change-milestone-flag.md) — approvers confirm completion.
* [Approve and Release Milestones](/trustless-work/v2-en/api-rest/deploy/approve-and-release-milestones.md) — approve and settle in one atomic transaction.
* [Manage Milestones](/trustless-work/v2-en/api-rest/deploy/manage-milestones.md) — the admin adds milestones or edits descriptions.
* [Update Escrow](/trustless-work/v2-en/api-rest/deploy/update-escrow-properties.md) — the admin replaces escrow properties.

### Settlement and disputes

* [Release Funds](/trustless-work/v2-en/api-rest/deploy/release-funds.md) — pay the escrow out to the receiver.
* [Dispute Escrow](/trustless-work/v2-en/api-rest/deploy/change-dispute-flag.md) — freeze the escrow pending resolution.
* [Resolve Dispute](/trustless-work/v2-en/api-rest/deploy/resolving-disputes.md) — the dispute resolver distributes the funds.
* [Withdraw Remaining Funds](/trustless-work/v2-en/api-rest/deploy/withdraw-remaining-funds.md) — recover leftovers after settlement.

### Maintenance and on-chain reads

* [Extend TTL](/trustless-work/v2-en/api-rest/deploy/extend-ttl.md) — keep the contract storage alive.
* [Get Escrow](/trustless-work/v2-en/api-rest/deploy/get-escrow.md) — authoritative state, straight from the contract.
* [Get Escrow Balances](/trustless-work/v2-en/api-rest/deploy/get-escrow-balances.md) — chain balances for up to 20 escrows.

***

Every write endpoint returns an **unsigned XDR**: you sign it locally and submit it via [Send Transaction](/trustless-work/v2-en/api-rest/stellar/send-transaction.md). For lists, dashboards and history, use the [read-model endpoints](/trustless-work/v2-en/api-rest/escrows/list-escrows.md).


---

# 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/api-rest/deploy.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.
