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

# Best practices

> What makes a transaction land sooner, on every path.

* **Keep connections open.** A new TLS connection costs more than the rest of the path together. Reuse one HTTP client
  with keep-alive, or hold one WebSocket open. On a quiet connection, call `GET /v1/ping` every 30 to 60 seconds.
* **Send base64 or raw bytes.** Base64 over JSON-RPC, or the raw bytes over the fast path, REST or a WebSocket binary
  frame. Avoid base58: it is larger and slower to read.
* **Set a priority fee** (a compute-unit price) as you would for any other path. Your tip to us does not replace it: the
  leaders that receive your plain copies order by priority fee.
* **Size your tip** with `GET /v1/tip-floor` when slots are busy ([Sizing your tip](https://docs.tracefall.xyz/tip-accounts.md#sizing-your-tip)).
* **Use a fresh blockhash**, from your own RPC node, just before you sign. A transaction whose blockhash has expired
  cannot land on any path.
* **Set `skipPreflight: true`.** We never simulate, whatever you set. Setting it keeps your client, and any RPC node you
  also send to, from waiting on a simulation.
* **Send to us first, or at the same moment as your other paths.** Never after: by then your transaction may already be
  on its way to a leader. Sending the same transaction to us and elsewhere is fine. It lands only once.
* **Do not wait for our answer** before sending elsewhere.
* **Confirm on your own RPC node**, and [resend the same bytes](https://docs.tracefall.xyz/sending-again.md) at most once a second until it confirms.
* **Send from close by.** We run in Frankfurt today.
* **`jitodontfront`** makes Jito refuse any bundle that puts a transaction ahead of yours, and every bundle we send puts
  yours first. It does not reach the leaders that receive your plain copies: to keep a swap off those paths, send it
  with [bundleOnly](https://docs.tracefall.xyz/bundle-only.md).
* **Keep your own checks** of price and state in a swap (a minimum amount out), even with `bundleOnly`. A bundle
  protects in the normal case, not always ([bundleOnly](https://docs.tracefall.xyz/bundle-only.md)).
* **From a browser**, use the [fast path](https://docs.tracefall.xyz/sending.md#fast-path) or a [WebSocket](https://docs.tracefall.xyz/sending.md#websocket), neither of which
  needs a CORS preflight. Send keyless, or with a key limited per visitor address: a key in a web page is public.


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