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

# Endpoints

> The base URL, every endpoint, and how to keep your connection warm.

The base URL is `https://sender.tracefall.xyz`. It runs in **Frankfurt**.

| Endpoint | What it does |
| - | - |
| `POST /` | JSON-RPC 2.0: `sendTransaction`, `sendBundle`, `getTipAccounts` and `getHealth`. A batch may hold up to 32 calls. Any other method answers `-32601` |
| `POST /api/v1/transactions`, `POST /api/v1/bundles` | The same JSON-RPC at Jito's paths, so a client of Jito's SDKs switches by changing its base URL. `?bundleOnly=true` on the first sends with `bundleOnly` |
| `POST /v1/tx` | The fast path. The body is the raw transaction or its base64. The answer is one word |
| `POST /v1/transactions` | REST, one transaction: raw bytes, or JSON `{"transaction": "<base64>", "bundleOnly": false}`. Answers `{"signature", "status"}` |
| `POST /v1/bundles` | REST, one bundle of 1 to 4 transactions: `{"transactions": ["<base64>", …]}`. Answers `{"bundleId", "status"}` |
| `GET /v1/ws` | WebSocket. One message per transaction, one answer per message, in order |
| `GET /v1/tip-accounts` | The eight tip accounts, a JSON array of base58 strings, as `getTipAccounts` answers them |
| `GET /v1/tip-floor` | Jito's landed-tip percentiles, in Jito's own shape |
| `GET /v1/transactions/{signature}` | What we did with a transaction we took in the last 24 hours: when we received it, each path it took and the result, and the slot it landed in |
| `GET /v1/ping` | Keep-alive. With a key, it answers `{"key", "tier"}`: the key's prefix and its tier. Without one, it answers `pong` |
| `GET /health` | `{"status": "ok"}`. Needs no key |

[Sending](https://docs.tracefall.xyz/sending.md) shows each protocol, and the [API reference](https://docs.tracefall.xyz/api-reference/sending/send-a-transaction.md) lists the
endpoints with their answers.

## Keep the connection warm

A new TLS connection costs more than the rest of the path together. Open one connection, keep it alive, and send every
transaction on it. On a quiet connection, call `GET /v1/ping` every 30 to 60 seconds so that it is still open when the
next transaction is signed. Pings count against no send rate.

```bash theme={null}
curl -s https://sender.tracefall.xyz/v1/ping
# pong
```

A WebSocket stays open by itself: we ping it every 30 seconds, and standard clients answer on their own.

## Health

`GET /health` answers `{"status": "ok"}` while we serve. It needs no key, so a load balancer or an uptime check can call
it. While we start, it answers 503 with `{"status": "starting"}`. The JSON-RPC `getHealth` answers `"ok"`, as an RPC
node does; while we start it is refused with `unavailable`.


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