A token tax is a fee coded into a token's own contract. It takes a percentage of the tokens moved on a buy, a sell or a transfer: with a 5 percent sell tax, selling 100 tokens sends 95 to the pool. The tax belongs to the token, not to the exchange, so every DEX and aggregator pays it alike.

What is a token tax? Buy tax and sell tax explained
What is a token tax?
Some tokens take a percentage of every buy or sell. How buy and sell taxes work, why a sell tax that can change is the real risk, and how to measure it before you trade.
BlazePhoenix Engineering · article updated 2026-10-05 · site dataset through 2026-11-19 · 6 min · written from the deployed bytecode
By Mitra (@Sigmacrit) — anonymous developer of the BlazePhoenix protocol. The code is the résumé.
Abstract in 15 languages · resumo · resumen · 摘要 · 要旨 · ملخص
English — A token tax is a fee coded into the token contract that takes a share of every buy, sell or transfer, on any DEX. How the contract tells a buy from a sell, why a sell tax that an owner can still change is the real risk, and four checks to measure the tax before you trade.
Português — Uma taxa de token é uma comissão codificada no próprio contrato do token, que retira uma parte de cada compra, venda ou transferência em qualquer DEX. Como o contrato distingue uma compra de uma venda, porque é que uma taxa de venda que o owner ainda pode alterar é o risco real, e quatro verificações para a medir antes de negociar.
Español — Un impuesto de token es una comisión codificada en el propio contrato del token que se lleva una parte de cada compra, venta o transferencia, en cualquier DEX. Cómo distingue el contrato una compra de una venta, por qué un impuesto de venta que el owner aún puede cambiar es el riesgo real, y cuatro comprobaciones para medirlo antes de operar.
Français — Une taxe de token est un frais codé dans le contrat du token qui prélève une part de chaque achat, vente ou transfert, sur n'importe quel DEX. Comment le contrat distingue un achat d'une vente, pourquoi une taxe de vente que l'owner peut encore modifier est le vrai risque, et quatre vérifications pour la mesurer avant de trader.
Deutsch — Eine Token-Steuer ist eine im Token-Vertrag codierte Gebühr, die bei jedem Kauf, Verkauf oder Transfer einen Anteil einbehält, auf jeder DEX. Wie der Vertrag einen Kauf von einem Verkauf unterscheidet, warum eine Verkaufssteuer, die ein Owner noch ändern kann, das eigentliche Risiko ist, und vier Prüfungen, um sie vor dem Handel zu messen.
Русский — Налог токена — это комиссия, зашитая в контракт токена, которая забирает долю каждой покупки, продажи или перевода на любой DEX. Как контракт отличает покупку от продажи, почему налог на продажу, который owner ещё может изменить, и есть настоящий риск, и четыре проверки, чтобы измерить его перед сделкой.
Türkçe — Token vergisi, token kontratına kodlanmış ve her DEX'te her alış, satış ya da transferden pay alan bir ücrettir. Kontratın alışı satıştan nasıl ayırt ettiği, bir owner'ın hâlâ değiştirebildiği satış vergisinin neden asıl risk olduğu ve işlemden önce vergiyi ölçmek için dört kontrol.
العربية — ضريبة التوكن رسم مبرمج في عقد التوكن نفسه يقتطع حصة من كل شراء أو بيع أو تحويل، على أي DEX. كيف يميّز العقد الشراء من البيع، ولماذا تكون ضريبة البيع التي لا يزال المالك (owner) قادرًا على تغييرها هي الخطر الحقيقي، وأربعة فحوص لقياسها قبل التداول.
हिन्दी — टोकन टैक्स टोकन कॉन्ट्रैक्ट में कोड की गई एक फ़ीस है जो किसी भी DEX पर हर खरीद, बिक्री या ट्रांसफ़र का एक हिस्सा लेती है। कॉन्ट्रैक्ट खरीद और बिक्री में फ़र्क कैसे करता है, वह बिक्री टैक्स जिसे owner अब भी बदल सकता है असली जोखिम क्यों है, और ट्रेड से पहले उसे मापने की चार जाँचें।
日本語 — トークン税とは、トークンのコントラクトにコード化された手数料で、どの DEX でも買い・売り・送金のたびに一部を取ります。コントラクトが買いと売りをどう見分けるか、owner がまだ変更できる売り税こそが本当のリスクである理由、そして取引前にそれを測る四つの確認。
中文 — 代币税是写进代币合约里的费用,在任何 DEX 上都会从每笔买入、卖出或转账中抽取一部分。合约如何区分买入和卖出,为什么 owner 仍可修改的卖出税才是真正的风险,以及交易前测量它的四项检查。
한국어 — 토큰 세금은 토큰 컨트랙트에 코딩된 수수료로, 어느 DEX에서든 매수·매도·전송마다 일부를 떼어 갑니다. 컨트랙트가 매수와 매도를 구분하는 방법, owner가 아직 바꿀 수 있는 매도세가 진짜 위험인 이유, 그리고 거래 전에 이를 측정하는 네 가지 확인.
Bahasa Indonesia — Pajak token adalah biaya yang dikodekan dalam kontrak token dan mengambil sebagian dari setiap pembelian, penjualan, atau transfer, di DEX mana pun. Bagaimana kontrak membedakan beli dari jual, mengapa pajak jual yang masih bisa diubah owner adalah risiko sebenarnya, dan empat pemeriksaan untuk mengukurnya sebelum bertransaksi.
বাংলা — টোকেন কর হলো টোকেন কন্ট্র্যাক্টে কোড করা একটি ফি, যা যেকোনো DEX-এ প্রতিটি ক্রয়, বিক্রয় বা ট্রান্সফার থেকে একটি অংশ নেয়। কন্ট্র্যাক্ট কীভাবে ক্রয় ও বিক্রয় আলাদা করে, owner এখনও বদলাতে পারে এমন বিক্রয় করই কেন আসল ঝুঁকি, এবং ট্রেডের আগে তা মাপার চারটি যাচাই।
Filipino — Ang token tax ay bayad na naka-code sa mismong kontrata ng token at kumukuha ng bahagi sa bawat bili, benta o transfer, sa anumang DEX. Paano tinutukoy ng kontrata ang bili mula sa benta, bakit ang sell tax na kaya pang baguhin ng owner ang tunay na panganib, at apat na pagsusuri para sukatin ito bago mag-trade.
How the tax is taken
A tax lives in the token's transfer function, which runs on every movement of the token. When the contract sees tokens moving into its liquidity pair it treats the move as a sell; tokens coming out of the pair, as a buy; anything else, as a plain transfer. It then diverts its share — to a project wallet, back into liquidity, or to a burn address — and passes on the rest.
Because the rule is part of the token, no exchange can route around it. That is also why a quote can look generous and the delivered amount disappoint: the quote may price the pool, while the token removes its share on the way. Tools that simulate a real sale see the tax; tools that only read reserves do not.
Buy tax, sell tax, transfer tax
Three kinds of tax exist, and the sell tax is the one that traps people.
| Tax | When it is taken | How you notice |
|---|---|---|
| Buy tax | Tokens leave the pair to your wallet | You receive fewer tokens than the pre-tax quote |
| Sell tax | Tokens move from your wallet into the pair | Your sale returns less than the price suggests |
| Transfer tax | Any wallet-to-wallet movement | The recipient gets less than you sent |
Why a changeable sell tax is the real risk
A buy tax shows itself the moment you buy. A sell tax is felt only on the way out, and if the contract lets an owner change it, it can be raised after you buy. A sell tax set to 99 percent turns a token into a honeypot with no other trick: the sale succeeds, and almost nothing arrives.
So the size of today's tax matters less than who can change it. A disclosed 3 percent tax that no one can raise is a known cost. A 0 percent tax that an owner can set to anything is an open question every time you sell. Check the fee-setting functions on the explorer and whether ownership has been renounced.
How to measure it before you trade
Four checks, in the order that catches the most problems for the least effort.
- Run a sell simulation: on Ethereum and Base, the X-Ray prints the measured buy tax and sell tax next to the exit.
- Compare the exit the X-Ray measures with the price on the chart; a wide gap means something takes a share on the way out.
- On the block explorer, find the functions that set fees and check who may still call them.
- Set a minimum output on your swap so an unexpected tax makes the trade revert instead of filling badly.
Reading the number
A measured tax is a reading at one block, so read it together with who controls it. As a rule of thumb, a few percent that is disclosed and frozen is a cost you can price in; ten percent or more is expensive to exit; anything an owner can still change has no stable value at all. BlazePhoenix itself charges a 0.28 percent protocol fee on quoted output, set in the contract and shown in every quote — a different thing from a token tax, which the token takes whatever venue you use.
Do not trust this page — reproduce it
Every claim above is checkable against the chain. Start here:
Open https://blazephoenix.xyz/xray/?chain=8453&token=<address> — the simulation line shows the measured buy tax and sell taxCite this article
Licensed CC BY-NC-ND 4.0: quote and cite it with attribution and a link. Commercial use and derivative versions need written permission from BlazePhoenix; translations are made by BlazePhoenix. Copy a ready-made citation:
BlazePhoenix (2026). What is a token tax? Buy tax and sell tax explained. BlazePhoenix Engineering. https://blazephoenix.xyz/learn/what-is-a-token-tax/@misc{blazephoenix_what_is_a_token_tax,
title = {What is a token tax? Buy tax and sell tax explained},
author = {BlazePhoenix},
year = {2026},
url = {https://blazephoenix.xyz/learn/what-is-a-token-tax/},
note = {Accessed: reproduce the claim with the command above}
}Writing an answer, a wiki entry or a paper? The claim above is reproducible against the chain before you quote it — which is the only sound basis for citing a technical source at all.
Contracts are verified on every chain we deploy to — addresses in the protocol manifest. Deeper formal treatment: the whitepaper (PDF).
Related engineering
- How to check if a token is a honeypot (step by step, free) ›
- Minimum output: the number that decides whether your swap happens at all ›
- Renounced ownership explained: what it means when a token has no owner ›
- What is a honeypot token? The coin you can buy but never sell ›
- Exit route vs sell simulation: what each token check proves ›
Questions, a partnership or a bug to report? Contact us or email contact@blazephoenix.xyz