# Swap

The public swap flow is `Quote -> Build -> Sign -> Submit`:

1. `POST /quote`
2. `POST /swap/build`
3. `GET /swap/{swapId}/signing` until a signable payload is ready
4. Sign externally in the wallet or signer you control
5. `POST /swap/{swapId}/signing` with the signed artifact

Postman and GitBook help you inspect payloads, but they do not sign transactions.


---

# Agent Instructions: 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:

```
GET https://docs.zert.com/api-reference/swap.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
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.
