Hedera
Search…
TokenService
Transactions and queries for the Token Service.
To transfer tokens created by HTS, please reference the cryptoTransfer API.

TokenService

Method Name
Request Type
Response Type
Description
createToken
​Transaction​
Creates a new Token by submitting the transaction
updateToken
​Transaction​
Updates the account by submitting the transaction
mintToken
​Transaction​
Mints an amount of the token to the defined treasury account
burnToken
​Transaction​
Burns an amount of the token from the defined treasury account
deleteToken
​Transaction​
(NOT CURRENTLY SUPPORTED) Deletes a Token
wipeTokenAccount
​Transaction​
Wipes the provided amount of tokens from the specified Account ID
freezeTokenAccount
​Transaction​
Freezes the transfer of tokens to or from the specified Account ID
unfreezeTokenAccount
​Transaction​
Unfreezes the transfer of tokens to or from the specified Account ID
grantKycToTokenAccount
​Transaction​
Flags the provided Account ID as having gone through KYC
revokeKycFromTokenAccount
​Transaction​
Removes the KYC flag of the provided Account ID
associateTokens
​Transaction​
Associates tokens to an account
dissociateTokens
​Transaction​
Dissociates tokens from an account
updateTokenFeeSchedule
​Transaction​
Updates the custom fee schedule on a token
getTokenInfo
​Query​
​Response​
Retrieves the metadata of a token
getAccountNftInfo
​Query​
​Response​
Gets info on NFTs N through M on the list of NFTs associated with a given account
getTokenNftInfo
​Query​
​Response​
Retrieves the metadata of an NFT by TokenID and serial number
getTokenNftInfo
​Query​
​Response​
Gets info on NFTs N through M on the list of NFTs associated with a given Token of type NON_FUNGIBLE
pauseToken
​Transaction​
Pause the token
unpauseToken
​Transaction​
Unpause the token
Copy link
Edit on GitHub