> For the complete documentation index, see [llms.txt](https://w3block.gitbook.io/w3block-eng/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://w3block.gitbook.io/w3block-eng/dev-docs/api/key-api-services/tokens.md).

# Tokens

Tokens are the heart of what the key services works with. There are 3 main modules that the API works with to be able to make you do anything with and for your tokens:

* [Contracts](/w3block-eng/dev-docs/api/key-api-services/tokens/contracts.md)&#x20;
* [Categories](/w3block-eng/dev-docs/api/key-api-services/tokens/categories.md)
* [Token Collections](/w3block-eng/dev-docs/api/key-api-services/tokens/token-collections.md)

The following diagram explains the relationship between those modules:

<figure><img src="https://1252698937-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FbmRmI05XeTJMnZOQb2HY%2Fuploads%2F643CX0KjI1OcqCaEKjnA%2Fkey-contract-relations.svg?alt=media&amp;token=2f62205c-6748-4c9a-a096-14fe928b2a5c" alt=""><figcaption></figcaption></figure>

A Token Collection is going to be your template for minting tokens and to create it you will need to specify a contract and a base template(this one is linked to a more general category). So we can start talking about Contracts and Categories.

{% content-ref url="/pages/74dUnOihIi51JqWsf5wB" %}
[Contracts](/w3block-eng/dev-docs/api/key-api-services/tokens/contracts.md)
{% endcontent-ref %}

{% content-ref url="/pages/IakqMtoEs8G4eCXwFbYw" %}
[Categories](/w3block-eng/dev-docs/api/key-api-services/tokens/categories.md)
{% endcontent-ref %}
