> For the complete documentation index, see [llms.txt](https://docs.leap-blockchain.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.leap-blockchain.com/leap-trading-sol-bot/leap-trading-bot-setup/afk-sniper.md).

# AFK Sniper

AFK Mode lets your bot automatically buy tokens based on preset filters. Once activated, it constantly monitors the market you choose and buys tokens that match your defin

<figure><img src="https://3201142122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQQMN8ExGmmEQaylKsqeA%2Fuploads%2FdCKXVRXIhwvb3JrnKwEp%2FScreenshot%202025-08-25%20at%2020.48.44.png?alt=media&amp;token=01634ef0-fbfb-478a-92bb-7dfb413a941a" alt=""><figcaption></figcaption></figure>

## Market Selection

Choose which market to AFK snipe from. This defines the pool of tokens your filters will be applied to.\
Currently supported markets you can find [Here](/leap-trading-sol-bot/features.md).&#x20;

**Developer Blacklist:**\
Insert any amount of wallet addresses of developers that you want to ignore

**Developer Whitelist**\
Only buy from dev wallet eddress added here and ignore all other tokens released

**Program Blacklist** \
Insert any Program addresses that you want to ignore

**Program Whitelist**\
Only buy from programs whitelisted here

**Task Name**: Enter the name for this task.

<figure><img src="https://3201142122-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FQQMN8ExGmmEQaylKsqeA%2Fuploads%2F1JVLWBOrDZmBbrPRfJ7l%2FScreenshot%202025-08-25%20at%2020.53.46.png?alt=media&amp;token=c52193f2-2cc1-411c-8bd4-5b3d66d0d84a" alt=""><figcaption></figcaption></figure>

**Wallet**: Select the wallet you want to use for this task.

* **Use Filtred API:** If you have their API added in settings you will be able to add it here
* **Don't Sell**: Do not sell the token. Your sell logic will not run while this is enabled.
* **Buy Once**: Only buy the first time the source posts a token; ignore subsequent mentions

### **Transaction Details**

**Buy Amount (SOL)**: Fixed SOL you want to spend on each buy.

**Buy Wallet %**: Spend a percentage of your current wallet balance per buy (useful when your balance changes). Use this instead of a fixed **Buy Amount** if you prefer sizing by percentage.

***
