> ## Documentation Index
> Fetch the complete documentation index at: https://pons-labs-llc.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Snipe tax

> The extra tax on buys in the first seconds of a v3 launch, how it decays, and who doesn't pay it.

For the first few seconds after a launch, buys pay an extra snipe tax on top of
the hook fee, and it drops to zero over that time. It's there to discourage bots
from buying in the opening seconds, and it uses the same decay as v2's bonding
curves. Three seconds is roughly thirty blocks on this chain, so the window lasts
well beyond the launch block.

```text The decay theme={null}
snipeTaxStartBps >> ((elapsed × 14) / snipeTaxSeconds)

clamped so the hook fee, the snipe tax and the creator tax together
leave 100 bps below the whole leg. At the 99% over 3s defaults, with
no creator tax:

  elapsed   snipe tax                     total off the quote leg
  0s        9,900 bps, clamped to 9,800                       99%
  1s        618 bps                                         7.18%
  2s        19 bps                                          1.19%
  3s+       0                                                  1%
```

Sells are never taxed. The creator's opening buy doesn't pay it either. That buy
runs with the hook as the caller, and Uniswap v4 doesn't run the swap callbacks
for it, so it isn't taxed and doesn't end the window.

> [!NOTE]
>
> To quote a buy during the window, read `currentSnipeTaxBps(poolId, zeroForOne)`
> from the hook and include it. Otherwise your quote will be higher than what the
> trade actually returns. The value it returns is before the clamp, and the clamp
> only applies to the snipe tax: the tax charged is the lower of that value and
> `10000 - hookFeeBps - creatorTaxBps - 100`. The total taken from the quote side
> is that amount plus `hookFeeBps` plus `creatorTaxBps`.

The window can't be started again. Only the factory can call the hook function
that starts it, and the factory only does that during a launch, so the tax can't
come back on a pool that's already trading.


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