Solana tools
Explore 20lab Solana Tools
Effortlessly manage your Solana tokens with our toolset.Tools
Withdraw fees
Blockchain
Token address
Calculate fees to claim
The tax withdraw tool is a specialized utility that allows token creators and managers to collect accumulated transfer fees from tokens with the transfer fee extension. This tool is essential for:
- Converting collected fees into project operating funds
- Implementing buyback and burn mechanisms
- Distributing fee revenue to stakeholders or DAO treasuries
- Executing fee-based tokenomics strategies
This tool provides a straightforward interface to withdraw accumulated fees to specified wallets, enabling projects to utilize this revenue stream efficiently.
Only the current Transfer Fee Withdraw Authority can collect accumulated fees. This is typically:
- The original token creator who deployed the token
- Any wallet address that has been transferred the withdraw authority
- A multisig wallet if the withdraw authority has been transferred to one
- A governance program if fee withdrawal control has been delegated to it
If the transfer fee withdraw authority has been revoked (set to null) or transferred to an inaccessible address, collected fees cannot be withdrawn. This creates a permanent "black hole" where fees accumulate but can never be accessed, effectively functioning as an auto-burn mechanism that continuously reduces circulating supply with every transaction.
To withdraw accumulated fees with the 20lab tax withdraw tool:
- Connect the wallet that holds the transfer fee withdraw authority
- Enter your token's mint address
- View the total amount of accumulated fees available for withdrawal across all accounts
- Confirm the transaction to initiate the withdrawal process
Once confirmed, the tool will automatically identify and process accounts with the largest withheld fee amounts in batches. The collected fees will be transferred directly to your connected wallet. This batch processing approach efficiently gathers fees that are distributed across multiple user accounts.
Transfer fees in the Token-2022 program work quite differently from traditional fee collection:
- Withheld Amounts - Fees are stored as "withheld" amounts in each recipient's Associated Token Account (ATA)
- Decentralized Storage - Rather than a central fee account, fees remain distributed across all user wallets
- Account-Level Tracking - Each ATA maintains its own record of withheld fees
- On-Chain Visibility - These withheld amounts are visible in token account data
When withdrawing fees, the 20lab tax withdraw tool automatically identifies accounts with the largest withheld amounts and processes them in batches for efficiency. This unique design means fees aren't actually moved until withdrawal, reducing transaction overhead during normal token transfers.
There are no technical restrictions on fee withdrawal frequency or timing:
- You can withdraw as often as you wish - daily, weekly, monthly, etc.
- There is no minimum threshold required before withdrawing
- You can withdraw partial amounts or the entire balance
- Each withdrawal requires a small Solana network fee
The optimal withdrawal frequency depends on your project's specific needs and tokenomics strategy. Some projects withdraw regularly on a fixed schedule for operational expenses, while others accumulate fees for longer periods before executing larger buybacks or distributions.
There are minimal restrictions on fee withdrawals, provided you have the proper authority:
- You must possess the transfer fee withdraw authority to access the funds
- You can only withdraw up to the amount of fees that have been collected
- Standard Solana network constraints apply (network availability, transaction size limits)
- No time-locks or waiting periods are imposed by the protocol
While the protocol itself doesn't impose restrictions, many projects establish their own governance procedures or schedules for fee withdrawals to maintain transparency and trust with their community. These self-imposed guidelines often include public disclosure of withdrawal amounts and their intended use.
Projects utilize withdrawn fees in various strategic ways:
- Project Development - Funding ongoing development, marketing, and operations
- Buyback & Burn - Purchasing tokens from the market and burning them to reduce supply
- Staking Rewards - Distributing fees to token stakers as additional yield
- DAO Treasury - Transferring to governance-controlled treasuries for community allocation
- Liquidity Provision - Adding to liquidity pools to enhance market stability
The most successful projects clearly communicate how collected fees will be used and provide regular reports on fee utilization. This transparency helps build community trust and demonstrate the value being created through the fee mechanism.
There are two approaches to creating a burn mechanism with transfer fees:
- Manual Burn Process:
- First withdraw the fees to your wallet using the tax withdraw tool
- Then use the 20lab burn tokens tool to permanently remove the tokens from circulation
- Both steps can be performed in quick succession
- For complete transparency, you can announce burns in advance and provide transaction IDs
- Permanent Auto-Burn Setup:
- Revoke the transfer fee withdraw authority completely (set to null)
- This creates a permanent black hole where fees accumulate but can never be withdrawn
- Every transaction will automatically reduce circulating supply
- While effective, this approach is irreversible and less elegant than manual burns