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

# Tip accounts

> Our eight tip accounts, the minimum tip, the rules a tip must follow, and how to size it.

Every transaction you send us pays a tip to one of our eight tip accounts, inside the transaction itself. The minimum
tip is **0.0001 SOL** (100,000 lamports) per send.

> [!NOTE]
>
> The tip accounts are published at launch. `getTipAccounts` (JSON-RPC) and `GET /v1/tip-accounts` are the source of
> truth: fetch the list when your program starts, and do not copy addresses into your code. A send that tips an account
> we no longer use is refused with `tip_account_retired`: fetch the list again.

| | Address |
| - | - |
| Tip account 1 | published at launch |
| Tip account 2 | published at launch |
| Tip account 3 | published at launch |
| Tip account 4 | published at launch |
| Tip account 5 | published at launch |
| Tip account 6 | published at launch |
| Tip account 7 | published at launch |
| Tip account 8 | published at launch |

```bash JSON-RPC theme={null}
curl -s https://sender.tracefall.xyz \
  -H 'Content-Type: application/json' \
  -d '{"jsonrpc":"2.0","id":1,"method":"getTipAccounts","params":[]}'
# {"jsonrpc": "2.0", "id": 1, "result": ["<tip account 1>", "<tip account 2>", "…", "<tip account 8>"]}
```

```bash REST theme={null}
curl -s https://sender.tracefall.xyz/v1/tip-accounts
# ["<tip account 1>", "<tip account 2>", "…", "<tip account 8>"]
```

## The rules

* **A top-level System Program transfer.** The tip is a System Program `Transfer` instruction of your transaction
  itself, from an account that signs the transaction. A transfer made by another program (a CPI) does not count, since
  we cannot read it before the transaction runs. Nor does `TransferWithSeed`.
* **A static account key.** The tip account must be one of the transaction's static account keys, never loaded from an
  address lookup table.
* **At least 0.0001 SOL.** We add up your transfers to our tip accounts in one transaction. The sum must reach the
  minimum.
* **One tip account per send.** Put the whole tip in one transfer to one tip account. A tip split over several of our
  accounts still counts toward the minimum, but the bundles that carry your transaction are paid from one of those
  accounts alone, so they bid less.
* **One at random.** Pick that tip account at random for each transaction. Transactions that write to the same account
  cannot run side by side in a block, so spreading the tips over all eight keeps them from queuing behind each other.
* **Current accounts only.** A transfer to a tip account we no longer use is refused with `tip_account_retired`. Fetch
  the list again with `getTipAccounts` and tip one of those.
* **Refused, never dropped.** A transaction without a valid tip is refused with an error that says why, and names the
  minimum when the tip is too small ([Errors](https://docs.tracefall.xyz/errors.md)). We never drop one silently.
* **Paid only if it succeeds.** The tip is an instruction of your transaction. If your transaction fails or never lands,
  the transfer does not happen and you pay us nothing.
* **No Jito tip needed.** We pay the block builders ourselves. If your transaction holds a Jito tip of its own, we leave
  it as it is.

## Sizing your tip

The minimum is all a send needs. Above it, the choice is yours:

* Only part of your tip goes to the block builders, as the bid of the bundles that carry your transaction. A larger tip
  makes those bundles more competitive when slots are busy.
* `GET /v1/tip-floor` shows what tips land on Jito now, in Jito's own shape (a one-element JSON array in SOL from a
  reading at most 30 seconds old; older or absent readings answer 503 `unavailable`). It counts against your send rate.
  Since only part of your tip reaches the builders, tip us well above the percentile you aim for. The tip floor is not a
  Jito tip.
* Tip one tip account per send. A tip split over several accounts bids less.
* Plain copies are ordered by your priority fee, not by your tip to us. Set a priority fee as you would on any path.

```bash theme={null}
curl -s https://sender.tracefall.xyz/v1/tip-floor
```

## The instruction

```ts web3.js theme={null}
import { PublicKey, SystemProgram } from '@solana/web3.js';

const tipAccount = new PublicKey(tipAccounts[Math.floor(Math.random() * tipAccounts.length)]);
const tip = SystemProgram.transfer({
  fromPubkey: payer.publicKey,
  toPubkey: tipAccount,
  lamports: 100_000, // 0.0001 SOL, the minimum
});
// Add `tip` to your transaction's instructions, next to your own.
```

```ts Kit theme={null}
import { address } from '@solana/kit';
import { getTransferSolInstruction } from '@solana-program/system';

const tip = getTransferSolInstruction({
  source: payer, // the signer that pays the tip
  destination: address(tipAccounts[Math.floor(Math.random() * tipAccounts.length)]),
  amount: 100_000n, // 0.0001 SOL, the minimum
});
// Add `tip` to your transaction message's instructions, next to your own.
```

```rust Rust theme={null}
use rand::seq::SliceRandom;
use solana_system_interface::instruction::transfer;

let tip_account = Pubkey::from_str(tip_accounts.choose(&mut rand::thread_rng()).unwrap())?;
let tip = transfer(&payer.pubkey(), &tip_account, 100_000); // 0.0001 SOL, the minimum
// Add `tip` to your transaction's instructions, next to your own.
```

> [!WARNING]
>
> Building a v0 transaction with address lookup tables? Compilers load every key they can from the tables you pass. If a
> table you pass holds one of our tip accounts, that tip is loaded from the table and does not count; with no other tip,
> the send is refused with `tip_in_lookup_table`. Keep our tip accounts out of the tables you compile with.


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