From 70875bd354b8933f847a315d5a972beb2e70972a Mon Sep 17 00:00:00 2001 From: "mintlify[bot]" <109931778+mintlify[bot]@users.noreply.github.com> Date: Mon, 18 May 2026 22:13:07 +0000 Subject: [PATCH 1/4] fix: repair 14 broken doc links reported by mint broken-links --- .../hedera-agent-kit-js/create-js-plugins.mdx | 2 +- .../sdks/accounts-and-hbar/create-an-account.mdx | 6 +++--- .../sdks/smart-contracts/create-a-smart-contract.mdx | 8 +++++--- .../sdks/smart-contracts/update-a-smart-contract.mdx | 11 +++++++---- .../token-service/associate-tokens-to-an-account.mdx | 2 +- .../sdks/token-service/define-a-token.mdx | 4 ++-- 6 files changed, 19 insertions(+), 14 deletions(-) diff --git a/hedera/open-source-solutions/ai-studio-on-hedera/hedera-ai-agent-kit/hedera-agent-kit-js/create-js-plugins.mdx b/hedera/open-source-solutions/ai-studio-on-hedera/hedera-ai-agent-kit/hedera-agent-kit-js/create-js-plugins.mdx index fc516a3a..34a5216d 100644 --- a/hedera/open-source-solutions/ai-studio-on-hedera/hedera-ai-agent-kit/hedera-agent-kit-js/create-js-plugins.mdx +++ b/hedera/open-source-solutions/ai-studio-on-hedera/hedera-ai-agent-kit/hedera-agent-kit-js/create-js-plugins.mdx @@ -34,7 +34,7 @@ export type Tool = { }; ``` -See [typescript/src/shared/tools.ts](../typescript/src/shared/tools.ts) for the full definition. +See [packages/core/src/shared/tools.ts](https://github.com/hashgraph/hedera-agent-kit-js/blob/main/packages/core/src/shared/tools.ts) for the full definition. #### BaseTool (Recommended for v4) diff --git a/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-an-account.mdx b/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-an-account.mdx index 017b2b4d..add8ccc6 100644 --- a/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-an-account.mdx +++ b/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-an-account.mdx @@ -4,7 +4,7 @@ title: "Create an account" ## Create an account using the account create API -A transaction that creates a Hedera account. A Hedera account is required to interact with any of the Hedera network services as you need an account to pay for all associated transaction/query fees. You can visit the [Hedera Developer Portal](https://portal.hedera.com/) to create a previewnet or testnet account. You can also use third-party wallets to generate free [mainnet accounts](/networks/mainnet/mainnet-access). To process an account create transaction, you will need an existing account to pay for the transaction fee. To obtain the new account ID, request the [receipt](/hedera/sdks-and-apis/sdks/transactions/get-a-transaction-receipt) of the transaction. +A transaction that creates a Hedera account. A Hedera account is required to interact with any of the Hedera network services as you need an account to pay for all associated transaction/query fees. You can visit the [Hedera Developer Portal](https://portal.hedera.com/) to create a previewnet or testnet account. You can also use third-party wallets to generate free [mainnet accounts](/hedera/networks/mainnet/mainnet-access). To process an account create transaction, you will need an existing account to pay for the transaction fee. To obtain the new account ID, request the [receipt](/hedera/sdks-and-apis/sdks/transactions/get-a-transaction-receipt) of the transaction. When creating a **new account** using the `AccountCreateTransaction()` API you will need an existing account to pay for the associated transaction fee. @@ -15,7 +15,7 @@ When creating a **new account** using the `AccountCreateTransaction()` API you w ## Transaction Fees and Signing - The sender pays for the token association fee and the rent for the first auto-renewal period. -- See the transaction and query [fees](/networks/mainnet/fees) table for the base transaction fee. +- See the transaction and query [fees](/hedera/networks/mainnet/fees) table for the base transaction fee. - Use the [Hedera fee estimator](https://hedera.com/fees) to estimate your transaction fee cost. - The account paying for the transaction fee is required to sign the transaction. @@ -41,7 +41,7 @@ Accounts have a property, `maxAutoAssociations`, and the property's value determ | Property Value | Description | |---|---| | `0` | Automatic token associations or **token airdrops** are not allowed, and the account must be manually associated with a token. This also applies if the value is less than or equal to `usedAutoAssociations`. | -| `-1` | Unlimited automatic token associations are allowed, and this is the default for accounts created via [auto account creation](/sdks-and-apis/sdks/accounts-and-hbar/create-an-account) and for accounts that began as hollow accounts and are now complete. Accounts with `-1` can receive new tokens without manually associating them. The sender still pays the `maxAutoAssociations` fee and initial rent for each association. | +| `-1` | Unlimited automatic token associations are allowed, and this is the default for accounts created via [auto account creation](/hedera/core-concepts/accounts/auto-account-creation) and for accounts that began as hollow accounts and are now complete. Accounts with `-1` can receive new tokens without manually associating them. The sender still pays the `maxAutoAssociations` fee and initial rent for each association. | | `> 0` | If the value is a positive number (number greater than 0), the number of automatic token associations an account can have is limited to that number. | diff --git a/hedera/sdks-and-apis/sdks/smart-contracts/create-a-smart-contract.mdx b/hedera/sdks-and-apis/sdks/smart-contracts/create-a-smart-contract.mdx index 44929d9c..281e4ade 100644 --- a/hedera/sdks-and-apis/sdks/smart-contracts/create-a-smart-contract.mdx +++ b/hedera/sdks-and-apis/sdks/smart-contracts/create-a-smart-contract.mdx @@ -53,7 +53,8 @@ With [HIP-904](https://hips.hedera.com/hip/hip-904), contracts now support Admin | **Automatic Token Associations** | The maximum number of tokens that this contract can be automatically associated with (i.e., receive air-drops from). | | **Constructor Parameters** | The constructor parameters to pass. | | **Memo** | The memo to be associated with this contract. (max 100 bytes) | -| **Hooks** | Details of [Hiero Hooks](/hedera/core-concepts/accounts/hiero-hooks) to attach immediately after creating this contract. See [Create and Manage Hooks](/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-and-manage-hooks). | +{/* TODO: Restore link to "Create and Manage Hooks" SDK page once that page is published — see https://hips.hedera.com/hip/hip-1195 */} +| **Hooks** | Details of [Hiero Hooks](/hedera/core-concepts/accounts/hiero-hooks) to attach immediately after creating this contract. | ## `ContractCreateFlow()` @@ -198,8 +199,9 @@ Creates a smart contract instance using the file ID of the contract bytecode. | `setAutoRenewAccountId()` | Duration | Optional | | `setMaxAutomaticTokenAssociations()` | int | Optional | -| `addHook()` | [HookCreationDetails](/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-and-manage-hooks) | Optional | -| `setHooks()` | list\<[HookCreationDetails](/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-and-manage-hooks)> | Optional | +{/* TODO: Restore links to "Create and Manage Hooks" SDK page (HookCreationDetails) once that page is published. */} +| `addHook()` | HookCreationDetails | Optional | +| `setHooks()` | list\ | Optional | diff --git a/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx b/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx index 8a9c5b7a..2081e733 100644 --- a/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx +++ b/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx @@ -28,7 +28,8 @@ A transaction that allows you to modify the smart contract entity state like adm | **Auto Renew Account ID** | Indicates the account that will pay the contract's auto-renew fee. If the Auto Renew account id is cleared, then the smart contract's account will be charged the auto-renew fee. | | **Automatic Token Associations** | The maximum number of tokens that this contract can be automatically associated with (i.e., receive air-drops from). | | **Memo** | The new memo to be associated with this contract. | -| **Hooks** | Add or remove [Hiero Hooks](/hedera/core-concepts/accounts/hiero-hooks) from the contract. Deletions are processed before creations, enabling atomic hook replacement. See [Create and Manage Hooks](/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-and-manage-hooks). | +{/* TODO: Restore link to "Create and Manage Hooks" SDK page once that page is published — see https://hips.hedera.com/hip/hip-1195 */} +| **Hooks** | Add or remove [Hiero Hooks](/hedera/core-concepts/accounts/hiero-hooks) from the contract. Deletions are processed before creations, enabling atomic hook replacement. | ### Methods @@ -45,8 +46,9 @@ A transaction that allows you to modify the smart contract entity state like adm | `setAutoRenewPeriod()` | Duration | Optional | | `setAutoRenewAccountId()` | [AccountId](/hedera/sdks-and-apis/sdks/specialized-types#accountid) | Optional | | `clearAutoRenewAccountId()` | | Optional | -| `addHookToCreate()` | [HookCreationDetails](/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-and-manage-hooks) | Optional | -| `setHooksToCreate()` | list\<[HookCreationDetails](/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-and-manage-hooks)> | Optional | +{/* TODO: Restore links to "Create and Manage Hooks" SDK page (HookCreationDetails) once that page is published. */} +| `addHookToCreate()` | HookCreationDetails | Optional | +| `setHooksToCreate()` | list\ | Optional | | `addHookToDelete()` | long | Optional | | `setHooksToDelete()` | list\ | Optional | @@ -225,7 +227,8 @@ fmt.Printf("Hook added to contract: %v\n", receipt.Status) #### Delete hooks from an existing contract -This example removes a hook by its ID. A hook must have zero storage slots before it can be deleted — clear storage first using [`HookStoreTransaction`](/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-a-hookstore-transaction). +{/* TODO: Restore link to "Create a HookStore Transaction" SDK page once that page is published. */} +This example removes a hook by its ID. A hook must have zero storage slots before it can be deleted — clear storage first using `HookStoreTransaction`. diff --git a/hedera/sdks-and-apis/sdks/token-service/associate-tokens-to-an-account.mdx b/hedera/sdks-and-apis/sdks/token-service/associate-tokens-to-an-account.mdx index 43fc1718..2e9cedd7 100644 --- a/hedera/sdks-and-apis/sdks/token-service/associate-tokens-to-an-account.mdx +++ b/hedera/sdks-and-apis/sdks/token-service/associate-tokens-to-an-account.mdx @@ -47,7 +47,7 @@ There is currently no limit on the number of token IDs that can be associated wi |--------|------|-------------| | `getAccountId()` | AccountId | Returns the account to be associated | | `getTokenIds()` | List<TokenId> | Returns the list of tokens to be associated | -| `getHighVolume()` | boolean | Returns whether this transaction uses [high-volume throttles](/core-concepts/high-volume-entity-creation) | +| `getHighVolume()` | boolean | Returns whether this transaction uses [high-volume throttles](/hedera/core-concepts/high-volume-entity-creation) | diff --git a/hedera/sdks-and-apis/sdks/token-service/define-a-token.mdx b/hedera/sdks-and-apis/sdks/token-service/define-a-token.mdx index 5ebfcbcc..dcba9553 100644 --- a/hedera/sdks-and-apis/sdks/token-service/define-a-token.mdx +++ b/hedera/sdks-and-apis/sdks/token-service/define-a-token.mdx @@ -101,10 +101,10 @@ For non-fungible tokens, the token ID represents an NFT class. Once the token is | `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](/core-concepts/high-volume-entity-creation) | +| `getHighVolume()` | boolean | Returns whether this transaction uses [high-volume throttles](/hedera/core-concepts/high-volume-entity-creation) | -This transaction supports [high-volume entity creation](/core-concepts/high-volume-entity-creation) +This transaction supports [high-volume entity creation](/hedera/core-concepts/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. From bd4079457043a0f8317b257354d9058f689c9cc6 Mon Sep 17 00:00:00 2001 From: krystal <56278409+theekrystallee@users.noreply.github.com> Date: Mon, 18 May 2026 15:53:04 -0700 Subject: [PATCH 2/4] Apply suggestions from code review Co-authored-by: krystal <56278409+theekrystallee@users.noreply.github.com> Signed-off-by: krystal <56278409+theekrystallee@users.noreply.github.com> --- .../sdks/smart-contracts/create-a-smart-contract.mdx | 4 ++-- .../sdks/smart-contracts/update-a-smart-contract.mdx | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/hedera/sdks-and-apis/sdks/smart-contracts/create-a-smart-contract.mdx b/hedera/sdks-and-apis/sdks/smart-contracts/create-a-smart-contract.mdx index 281e4ade..d9e6e946 100644 --- a/hedera/sdks-and-apis/sdks/smart-contracts/create-a-smart-contract.mdx +++ b/hedera/sdks-and-apis/sdks/smart-contracts/create-a-smart-contract.mdx @@ -53,8 +53,8 @@ With [HIP-904](https://hips.hedera.com/hip/hip-904), contracts now support Admin | **Automatic Token Associations** | The maximum number of tokens that this contract can be automatically associated with (i.e., receive air-drops from). | | **Constructor Parameters** | The constructor parameters to pass. | | **Memo** | The memo to be associated with this contract. (max 100 bytes) | -{/* TODO: Restore link to "Create and Manage Hooks" SDK page once that page is published — see https://hips.hedera.com/hip/hip-1195 */} | **Hooks** | Details of [Hiero Hooks](/hedera/core-concepts/accounts/hiero-hooks) to attach immediately after creating this contract. | +{/* TODO: Restore link to "Create and Manage Hooks" SDK page once that page is published — see https://hips.hedera.com/hip/hip-1195 */} ## `ContractCreateFlow()` @@ -199,9 +199,9 @@ Creates a smart contract instance using the file ID of the contract bytecode. | `setAutoRenewAccountId()` | Duration | Optional | | `setMaxAutomaticTokenAssociations()` | int | Optional | -{/* TODO: Restore links to "Create and Manage Hooks" SDK page (HookCreationDetails) once that page is published. */} | `addHook()` | HookCreationDetails | Optional | | `setHooks()` | list\ | Optional | +{/* TODO: Restore links to "Create and Manage Hooks" SDK page (HookCreationDetails) once that page is published. */} diff --git a/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx b/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx index 2081e733..2c8f38fc 100644 --- a/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx +++ b/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx @@ -28,8 +28,8 @@ A transaction that allows you to modify the smart contract entity state like adm | **Auto Renew Account ID** | Indicates the account that will pay the contract's auto-renew fee. If the Auto Renew account id is cleared, then the smart contract's account will be charged the auto-renew fee. | | **Automatic Token Associations** | The maximum number of tokens that this contract can be automatically associated with (i.e., receive air-drops from). | | **Memo** | The new memo to be associated with this contract. | -{/* TODO: Restore link to "Create and Manage Hooks" SDK page once that page is published — see https://hips.hedera.com/hip/hip-1195 */} | **Hooks** | Add or remove [Hiero Hooks](/hedera/core-concepts/accounts/hiero-hooks) from the contract. Deletions are processed before creations, enabling atomic hook replacement. | +{/* TODO: Restore link to "Create and Manage Hooks" SDK page once that page is published — see https://hips.hedera.com/hip/hip-1195 */} ### Methods @@ -46,6 +46,10 @@ A transaction that allows you to modify the smart contract entity state like adm | `setAutoRenewPeriod()` | Duration | Optional | | `setAutoRenewAccountId()` | [AccountId](/hedera/sdks-and-apis/sdks/specialized-types#accountid) | Optional | | `clearAutoRenewAccountId()` | | Optional | +| `addHookToCreate()` | HookCreationDetails | Optional | +| `setHooksToCreate()` | list\ | Optional | +| `addHookToDelete()` | long | Optional | +| `setHooksToDelete()` | list\ | Optional | {/* TODO: Restore links to "Create and Manage Hooks" SDK page (HookCreationDetails) once that page is published. */} | `addHookToCreate()` | HookCreationDetails | Optional | | `setHooksToCreate()` | list\ | Optional | From fd3d992a855b10717e932515905e6b119a987482 Mon Sep 17 00:00:00 2001 From: krystal <56278409+theekrystallee@users.noreply.github.com> Date: Mon, 18 May 2026 15:55:51 -0700 Subject: [PATCH 3/4] Apply suggestions from code review Co-authored-by: krystal <56278409+theekrystallee@users.noreply.github.com> Signed-off-by: krystal <56278409+theekrystallee@users.noreply.github.com> --- .../sdks/smart-contracts/update-a-smart-contract.mdx | 4 ---- 1 file changed, 4 deletions(-) diff --git a/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx b/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx index 2c8f38fc..8c1d506e 100644 --- a/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx +++ b/hedera/sdks-and-apis/sdks/smart-contracts/update-a-smart-contract.mdx @@ -51,10 +51,6 @@ A transaction that allows you to modify the smart contract entity state like adm | `addHookToDelete()` | long | Optional | | `setHooksToDelete()` | list\ | Optional | {/* TODO: Restore links to "Create and Manage Hooks" SDK page (HookCreationDetails) once that page is published. */} -| `addHookToCreate()` | HookCreationDetails | Optional | -| `setHooksToCreate()` | list\ | Optional | -| `addHookToDelete()` | long | Optional | -| `setHooksToDelete()` | list\ | Optional | ***Note:** The new expiration time must be an instance of type **`Timestamp`**, thus, the **`Timestamp`** object has to be imported from the SDK package. The new expiration time has to be initialized as a new instance of that type.* From cb4d5fce30d7934d5d2a4e6306528224628fc08c Mon Sep 17 00:00:00 2001 From: krystal <56278409+theekrystallee@users.noreply.github.com> Date: Mon, 18 May 2026 16:10:03 -0700 Subject: [PATCH 4/4] Apply suggestions from code review Co-authored-by: krystal <56278409+theekrystallee@users.noreply.github.com> Signed-off-by: krystal <56278409+theekrystallee@users.noreply.github.com> --- .../sdks/accounts-and-hbar/create-an-account.mdx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-an-account.mdx b/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-an-account.mdx index add8ccc6..e08463b2 100644 --- a/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-an-account.mdx +++ b/hedera/sdks-and-apis/sdks/accounts-and-hbar/create-an-account.mdx @@ -38,11 +38,6 @@ Accounts have a property, `maxAutoAssociations`, and the property's value determ | `0` | Automatic **token** associations or **token airdrops** are not allowed, and the account must be manually associated with a token. This also applies if the value is less than or equal to `usedAutoAssociations`. | | `-1` | Unlimited automatic token associations are allowed, and this is the default for accounts created via [auto account creation](../../../core-concepts/accounts/auto-account-creation) and for accounts that began as hollow accounts and are now complete. Accounts with `-1` can receive new tokens without manually associating them. The sender still pays the `maxAutoAssociations` fee and initial rent for each association. | | `> 0` | If the value is a positive number (number greater than 0), the number of automatic token associations an account can have is limited to that number. | -| Property Value | Description | -|---|---| -| `0` | Automatic token associations or **token airdrops** are not allowed, and the account must be manually associated with a token. This also applies if the value is less than or equal to `usedAutoAssociations`. | -| `-1` | Unlimited automatic token associations are allowed, and this is the default for accounts created via [auto account creation](/hedera/core-concepts/accounts/auto-account-creation) and for accounts that began as hollow accounts and are now complete. Accounts with `-1` can receive new tokens without manually associating them. The sender still pays the `maxAutoAssociations` fee and initial rent for each association. | -| `> 0` | If the value is a positive number (number greater than 0), the number of automatic token associations an account can have is limited to that number. | The sender pays the `maxAutoAssociations` fee and the rent for the first auto-renewal period for the association. This is in addition to the typical transfer fees. This ensures the receiver can receive tokens without association and makes it a smoother transfer process.