> ## Documentation Index
> Fetch the complete documentation index at: https://docs.route.fun/llms.txt
> Use this file to discover all available pages before exploring further.

# Submit and track

> Send the user's signed swap to Route. Route checks it, broadcasts it and tracks it to inclusion.

Robinhood Chain, switched on per partner key. With it on, every build (`/quote` with `recipient`) also returns
`submit.ticket`, valid for `submit.validForS` seconds and never past `swap.deadline`.

**1. Build**

`GET /quote` with `recipient` as usual. Keep `submit.ticket`.

**2. Sign, do not broadcast**

The user signs `tx` exactly as returned.

**3. Submit**

[`POST /submit`](https://docs.route.fun/api-reference/submit) with `{ "raw": "<signed transaction>", "ticket": "<submit.ticket>" }`.

**4. Track**

Poll [`GET /status/<transaction hash>`](https://docs.route.fun/api-reference/status) until `status` is not `pending`.

```bash theme={null}
curl "https://partners.route.fun/submit" \
  -H "Authorization: Bearer $ROUTE_API_KEY" \
  -H "content-type: application/json" \
  -d '{"raw": "0x02f8...", "ticket": "<submit.ticket>"}'
```

## What Route does with it

* Refuses anything that is not exactly the build: another target, value, calldata, chain, or another key's ticket (`400`).
* Simulates it at the latest block as the sender. If the swap would now revert, for example because the price moved below the
  signed `minOut`, nothing is sent: `422` with `requote: true` and `shortfallBps`. Quote again and sign the new transaction.
* Also refuses a used or skipped nonce, a gas limit below the estimate, a fee cap below the base fee, or a balance that cannot pay
  (`422`, `requote: false`: fix the transaction).
* Broadcasts it and sends it again every 6 seconds while it is pending, at most 3 times.

Route never changes the transaction. The user's signed `minOut` and `deadline` still protect the swap on chain. Submitting the same
signed transaction again returns its existing record.

## Status

| `status` | Meaning |
| - | - |
| `pending` | Broadcast, not in a block yet |
| `landed` | Included and succeeded. `amountOut` is what the recipient received. |
| `reverted` | Included and reverted; only gas was spent |
| `dropped` | Will not land: its nonce was used by another transaction, or it was not included within 15 minutes |

`realizedBps` compares `amountOut` with the quoted `swap.netOut`; `vsMinOutBps` compares it with `minOut`. Records are visible only
to the key that submitted them. [Gasless](https://docs.route.fun/execution/gasless.md) relays are tracked the same way.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.