Documentation Index
Fetch the complete documentation index at: https://hedera-0c6e0218-feat-hip-1313-high-volume-entity-creation.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Check out the “Getting Started with the Hedera Token Service” video tutorial in JavaScript here.
NFTs
For non-fungible tokens, the token ID represents an NFT class. Once the token is created, you must mint each NFT using the token mint operation.Token Properties
Token Properties
- Treasury key is required to sign
- Admin key, if specified
- Transaction fee payer key
- For fungible tokens, a
CryptoTransferfee is added to transfer the newly created token to the treasury account - Please see the transaction and query fees table for the base transaction fee
- Please use the Hedera fee estimator to estimate your transaction fee cost
Constructor
| Constructor | Description |
|---|---|
new TokenCreateTransaction() | Initializes the TokenCreateTransaction object |
Transaction Properties
| Method | Type | Requirement |
|---|---|---|
setTokenName(<name>) | String | Required |
setTokenSymbol(<symbol>) | String | Required |
setDecimals(<decimals>) | int | Optional |
setInitialSupply(<initialSupply>) | long | Optional |
setTreasuryAccountId(<treasuryAccountId>) | AccountId | Required |
setAdminKey(<key>) | Key | Optional |
setKycKey(<key>) | Key | Optional |
setFreezeKey(<key>) | Key | Optional |
setWipeKey(<key>) | Key | Optional |
setSupplyKey(<key>) | Key | Optional |
setPauseKey(<key>) | Key | Optional |
setFeeScheduleKey(<key>) | Key | Optional |
setMetadataKey(<key>) | Key | Optional |
setFreezeDefault(<freezeDefault>) | boolean | Optional |
setExpirationTime(<expirationTime>) | Instant | Optional |
setAutoRenewAccountId(<autoRenewAccountId>) | AccountId | Optional |
setAutoRenewPeriod(<autoRenewPeriod>) | Duration | Optional |
setTokenMemo(<memo>) | String | Optional |
setTokenType(<tokenType>) | TokenType | Optional |
setSupplyType(<supplyType>) | TokenSupplyType | Optional |
setMaxSupply(<maxSupply>) | long | Optional |
setCustomFees(<customFees>) | List<CustomFee> | Optional |
setMetadata(<metadata>) | byte[] | Optional |
setHighVolume(<highVolume>) | boolean | Optional |
Get Transaction Values
| Method | Type | Description |
|---|---|---|
getTokenName() | String | Returns the name of the token |
getTokenSymbol() | String | Returns the symbol of the token |
getDecimals() | int | Returns the number of decimals |
getInitialSupply() | long | Returns the initial supply of tokens |
getTreasuryAccountId() | AccountId | Returns the treasury account ID |
getAdminKey() | Key | Returns the admin key |
getKycKey() | Key | Returns the KYC key |
getFreezeKey() | Key | Returns the freeze key |
getWipeKey() | Key | Returns the wipe key |
getSupplyKey() | Key | Returns the supply key |
getPauseKey() | Key | Returns the pause key |
getFeeScheduleKey() | Key | Returns the fee schedule key |
getMetadataKey() | Key | Returns the metadata key |
getFreezeDefault() | boolean | Returns the freeze default value |
getTokenType() | TokenType | Returns the token type |
getSupplyType() | TokenSupplyType | Returns the supply type |
getMaxSupply() | long | Returns the max supply |
getHighVolume() | boolean | Returns whether this transaction uses high-volume throttles |
This transaction supports high-volume entity creation
(HIP-1313). Setting
setHighVolume(true) routes the transaction through dedicated
high-volume throttle capacity with variable-rate pricing. Always pair this with
setMaxTransactionFee() to cap your costs.