> For the complete documentation index, see [llms.txt](https://docs.artinals.com/artinals-protocol/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.artinals.com/artinals-protocol/art20/markdown/tokenidcounter.md). Agents can also search and read this documentation through its [MCP server](https://docs.artinals.com/artinals-protocol/~gitbook/mcp).

# TokenIdCounter

**TokenIdCounter** keeps track of the last assigned token ID (artinals\_id) to ensure uniqueness and sequential ordering for minted NFTs.
