@@ -1002,7 +1002,7 @@ export function isDomainID(domainID: unknown): domainID is string {
10021002
10031003/**
10041004 * Shortens long field names to their compact form equivalents.
1005- * Reverse operation of expandKeys.
1005+ * Reverse operation of { @link expandKeys} .
10061006 *
10071007 * @param input - Object with potentially long field names.
10081008 * @param mappings - Array of field mappings with long and compact names.
@@ -1040,15 +1040,15 @@ function shortenKeys(
10401040}
10411041
10421042/**
1043- * Encodes MPTokenMetadata object to a hex string.
1043+ * Encodes { @link MPTokenMetadata} object to a hex string.
10441044 * Steps:
10451045 * 1. Shorten long field names to their compact form equivalents.
10461046 * 2. Sort the fields alphabetically for deterministic encoding.
10471047 * 3. Stringify the object.
10481048 * 4. Convert to hex.
10491049 *
1050- * @param mptokenMetadata - MPTokenMetadata to encode.
1051- * @returns Hex encoded MPTokenMetadata.
1050+ * @param mptokenMetadata - { @link MPTokenMetadata} to encode.
1051+ * @returns Hex encoded { @link MPTokenMetadata} .
10521052 * @throws Error if input is not a JSON object.
10531053 * @category Utilities
10541054 */
@@ -1091,7 +1091,7 @@ export function encodeMPTokenMetadata(
10911091
10921092/**
10931093 * Expands compact field names to their long form equivalents.
1094- * Reverse operation of shortenKeys.
1094+ * Reverse operation of { @link shortenKeys} .
10951095 *
10961096 * @param input - Object with potentially compact field names.
10971097 * @param mappings - Array of field mappings with long and compact names.
@@ -1129,11 +1129,11 @@ function expandKeys(
11291129}
11301130
11311131/**
1132- * Decodes hex encoded MPTokenMetadata to a JSON object with long field names .
1133- * Converts compact field names back to their long form equivalents.
1132+ * Decodes hex- encoded { @link MPTokenMetadata} into a JSON object.
1133+ * Converts compact field names to their corresponding long- form equivalents.
11341134 *
1135- * @param input - Hex encoded MPTokenMetadata.
1136- * @returns Decoded MPTokenMetadata object with long field names.
1135+ * @param input - Hex encoded { @link MPTokenMetadata} .
1136+ * @returns Decoded { @link MPTokenMetadata} object with long field names.
11371137 * @throws Error if input is not valid hex or cannot be parsed as JSON.
11381138 * @category Utilities
11391139 */
@@ -1187,10 +1187,10 @@ export function decodeMPTokenMetadata(input: string): MPTokenMetadata {
11871187}
11881188
11891189/**
1190- * Validates MPTokenMetadata adheres to XLS-89 standard.
1190+ * Validates { @link MPTokenMetadata} adheres to XLS-89 standard.
11911191 *
1192- * @param input - Hex encoded MPTokenMetadata.
1193- * @returns Validation messages if MPTokenMetadata does not adheres to XLS-89 standard.
1192+ * @param input - Hex encoded { @link MPTokenMetadata} .
1193+ * @returns Validation messages if { @link MPTokenMetadata} does not adheres to XLS-89 standard.
11941194 * @category Utilities
11951195 */
11961196export function validateMPTokenMetadata ( input : string ) : string [ ] {
0 commit comments