# TokenService

Transactions and queries for the Token Service.

{% hint style="info" %}
To transfer tokens created by HTS, please reference the [`cryptoTransfer`](../cryptocurrency-accounts/cryptotransfer) API.
{% endhint %}

## TokenService

| Method Name                 | Request Type                                                                                                                                   | Response Type                                               | Description                                                                                            |
| --------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------- | ------------------------------------------------------------------------------------------------------ |
| `createToken`               | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Creates a new Token by submitting the transaction                                                      |
| `updateToken`               | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Updates the account by submitting the transaction                                                      |
| `mintToken`                 | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Mints an amount of the token to the defined treasury account                                           |
| `burnToken`                 | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Burns an amount of the token from the defined treasury account                                         |
| `deleteToken`               | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | (NOT CURRENTLY SUPPORTED) Deletes a Token                                                              |
| `wipeTokenAccount`          | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Wipes the provided amount of tokens from the specified Account ID                                      |
| `freezeTokenAccount`        | [Transaction](https://github.com/theekrystallee/hedera-style-guide/blob/sdk-v1/deprecated/hedera-api/token-service/broken-reference/README.md) | [TransactionResponse](../miscellaneous/transactionresponse) | Freezes the transfer of tokens to or from the specified Account ID                                     |
| `unfreezeTokenAccount`      | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Unfreezes the transfer of tokens to or from the specified Account ID                                   |
| `grantKycToTokenAccount`    | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Flags the provided Account ID as having gone through KYC                                               |
| `revokeKycFromTokenAccount` | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Removes the KYC flag of the provided Account ID                                                        |
| `associateTokens`           | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Associates tokens to an account                                                                        |
| `dissociateTokens`          | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Dissociates tokens from an account                                                                     |
| `updateTokenFeeSchedule`    | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Updates the custom fee schedule on a token                                                             |
| `getTokenInfo`              | [Query](../miscellaneous/query)                                                                                                                | [Response](../miscellaneous/response)                       | Retrieves the metadata of a token                                                                      |
| `getAccountNftInfo`         | [Query](../miscellaneous/query)                                                                                                                | [Response](../miscellaneous/response)                       | Gets info on NFTs N through M on the list of NFTs associated with a given account                      |
| `getTokenNftInfo`           | [Query](../miscellaneous/query)                                                                                                                | [Response](../miscellaneous/response)                       | Retrieves the metadata of an NFT by TokenID and serial number                                          |
| `getTokenNftInfo`           | [Query](../miscellaneous/query)                                                                                                                | [Response](../miscellaneous/response)                       | Gets info on NFTs N through M on the list of NFTs associated with a given Token of type `NON_FUNGIBLE` |
| `pauseToken`                | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Pause the token                                                                                        |
| `unpauseToken`              | [Transaction](../miscellaneous/transaction)                                                                                                    | [TransactionResponse](../miscellaneous/transactionresponse) | Unpause the token                                                                                      |
