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

# Transaction safety

> Atomic fees, protected MEV submission with no public fallback, honest confirmation windows, and hard spend ceilings.

## Atomic, or nothing

A primal. transaction is all-or-nothing. The swap, the platform fee, and any recovery step live
in the same transaction: if it fails, everything in it fails together. There is no state where
you paid a fee for a trade that did not happen, and no state where a partial action left your
wallet somewhere in between.

## Protected submission

Anti-MEV modes **Red** and **Sec** route your transaction through a protected lane instead of
the public mempool, where sandwich bots watch for victims. The guarantee behind both modes:

* **No public fallback.** If the protected lane cannot land the transaction, it fails. The
  terminal never silently downgrades a protected trade to a public one. A failed transaction
  costs nothing; a sandwich does.
* **Sec bundles are atomic.** The strongest mode lands your trade as an all-or-nothing bundle,
  and it is the default on every shipped preset.

Full mode breakdown: [Presets: fees, slippage, MEV](/trading/presets).

## Honest confirmation

A submitted transaction is watched until the chain gives a final answer. Solana allows landing
up to the blockhash expiry (about 2 minutes), so the terminal keeps watching for late fills
instead of declaring a transaction dead early. What you see marked as failed truly failed, and a
fill that lands at the edge is reported as the trade it is. Details in
[Confirmations](/trading/confirmations).

## Spend ceilings

Auto mode resolves priority fees and tips from live network conditions, but it operates under
the **Max auto fee** ceiling you set per preset. Auto never spends past it, no matter what the
network is doing.
