> For the complete documentation index, see [llms.txt](https://docs.getdig.ai/dig/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.getdig.ai/dig/dig-on-chain/dig-modules/tax.md).

# Tax

Stay ahead of hidden costs by tracking transaction fees and tax structures. Whether it’s buy/sell fees, dynamic taxes, or custom smart contract rules, this module helps you factor in costs and optimize your trades accordingly.
