@aptos-labs/ts-sdk 1.33.0 → 1.33.2-sc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (718) hide show
  1. package/README.md +11 -6
  2. package/dist/common/{accountAddress-fJZJVSBc.d.ts → accountAddress-Cf1amU98.d.ts} +293 -1
  3. package/dist/common/{chunk-F43XVDYJ.js → chunk-IHUCZKG2.js} +1 -1
  4. package/dist/common/chunk-IHUCZKG2.js.map +1 -0
  5. package/dist/common/cli/index.d.ts +56 -9
  6. package/dist/common/cli/index.js +1 -1
  7. package/dist/common/cli/index.js.map +1 -1
  8. package/dist/common/index.d.ts +2126 -305
  9. package/dist/common/index.js +33 -33
  10. package/dist/common/index.js.map +1 -1
  11. package/dist/esm/{Ed25519Account-B3xHXAQe.d.mts → Ed25519Account-D4j3_WIS.d.mts} +122 -12
  12. package/dist/esm/account/AbstractKeylessAccount.d.mts +82 -7
  13. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  14. package/dist/esm/account/Account.d.mts +6 -4
  15. package/dist/esm/account/Account.mjs +1 -1
  16. package/dist/esm/account/AccountUtils.d.mts +65 -0
  17. package/dist/esm/account/AccountUtils.mjs +2 -0
  18. package/dist/esm/account/Ed25519Account.d.mts +4 -2
  19. package/dist/esm/account/Ed25519Account.mjs +1 -1
  20. package/dist/esm/account/EphemeralKeyPair.d.mts +30 -1
  21. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  22. package/dist/esm/account/FederatedKeylessAccount.d.mts +26 -5
  23. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  24. package/dist/esm/account/KeylessAccount.d.mts +31 -5
  25. package/dist/esm/account/KeylessAccount.mjs +1 -1
  26. package/dist/esm/account/MultiKeyAccount.d.mts +41 -5
  27. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  28. package/dist/esm/account/SingleKeyAccount.d.mts +5 -3
  29. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  30. package/dist/esm/account/index.d.mts +5 -2
  31. package/dist/esm/account/index.mjs +1 -1
  32. package/dist/esm/account/utils.d.mts +19 -0
  33. package/dist/esm/account/utils.mjs +2 -0
  34. package/dist/esm/api/account.d.mts +26 -4
  35. package/dist/esm/api/account.mjs +1 -1
  36. package/dist/esm/api/ans.d.mts +19 -2
  37. package/dist/esm/api/ans.mjs +1 -1
  38. package/dist/esm/api/aptos.d.mts +7 -2
  39. package/dist/esm/api/aptos.mjs +1 -1
  40. package/dist/esm/api/aptosConfig.d.mts +17 -0
  41. package/dist/esm/api/aptosConfig.mjs +1 -1
  42. package/dist/esm/api/coin.d.mts +8 -3
  43. package/dist/esm/api/coin.mjs +1 -1
  44. package/dist/esm/api/digitalAsset.d.mts +30 -2
  45. package/dist/esm/api/digitalAsset.mjs +1 -1
  46. package/dist/esm/api/event.d.mts +7 -0
  47. package/dist/esm/api/event.mjs +1 -1
  48. package/dist/esm/api/faucet.d.mts +12 -2
  49. package/dist/esm/api/faucet.mjs +1 -1
  50. package/dist/esm/api/fungibleAsset.d.mts +12 -2
  51. package/dist/esm/api/fungibleAsset.mjs +1 -1
  52. package/dist/esm/api/general.d.mts +15 -1
  53. package/dist/esm/api/general.mjs +1 -1
  54. package/dist/esm/api/index.d.mts +5 -2
  55. package/dist/esm/api/index.mjs +1 -1
  56. package/dist/esm/api/keyless.d.mts +10 -3
  57. package/dist/esm/api/keyless.mjs +1 -1
  58. package/dist/esm/api/object.d.mts +4 -0
  59. package/dist/esm/api/object.mjs +1 -1
  60. package/dist/esm/api/staking.d.mts +6 -0
  61. package/dist/esm/api/staking.mjs +1 -1
  62. package/dist/esm/api/table.d.mts +6 -0
  63. package/dist/esm/api/table.mjs +1 -1
  64. package/dist/esm/api/transaction.d.mts +25 -6
  65. package/dist/esm/api/transaction.mjs +1 -1
  66. package/dist/esm/api/transactionSubmission/build.d.mts +72 -1
  67. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  68. package/dist/esm/api/transactionSubmission/helpers.d.mts +2 -0
  69. package/dist/esm/api/transactionSubmission/helpers.mjs +1 -1
  70. package/dist/esm/api/transactionSubmission/management.d.mts +9 -2
  71. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  72. package/dist/esm/api/transactionSubmission/sign.d.mts +8 -2
  73. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  74. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  75. package/dist/esm/api/transactionSubmission/simulate.d.mts +7 -1
  76. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  77. package/dist/esm/api/transactionSubmission/submit.d.mts +7 -1
  78. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  79. package/dist/esm/api/utils.d.mts +2 -0
  80. package/dist/esm/api/utils.mjs +1 -1
  81. package/dist/esm/bcs/consts.d.mts +1 -0
  82. package/dist/esm/bcs/deserializer.d.mts +57 -2
  83. package/dist/esm/bcs/deserializer.mjs +1 -1
  84. package/dist/esm/bcs/index.d.mts +1 -0
  85. package/dist/esm/bcs/index.mjs +1 -1
  86. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +11 -0
  87. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +1 -1
  88. package/dist/esm/bcs/serializable/fixedBytes.d.mts +13 -0
  89. package/dist/esm/bcs/serializable/fixedBytes.mjs +1 -1
  90. package/dist/esm/bcs/serializable/movePrimitives.d.mts +25 -0
  91. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  92. package/dist/esm/bcs/serializable/moveStructs.d.mts +57 -0
  93. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  94. package/dist/esm/bcs/serializer.d.mts +61 -0
  95. package/dist/esm/bcs/serializer.mjs +1 -1
  96. package/dist/esm/{chunk-XVPWTWPY.mjs → chunk-32WLD3F3.mjs} +2 -2
  97. package/dist/esm/chunk-32WLD3F3.mjs.map +1 -0
  98. package/dist/esm/chunk-35DKMW7Q.mjs +2 -0
  99. package/dist/esm/chunk-35DKMW7Q.mjs.map +1 -0
  100. package/dist/esm/chunk-3OLFJ65O.mjs +2 -0
  101. package/dist/esm/chunk-3OLFJ65O.mjs.map +1 -0
  102. package/dist/esm/chunk-3XH3NNSR.mjs +2 -0
  103. package/dist/esm/chunk-3XH3NNSR.mjs.map +1 -0
  104. package/dist/esm/chunk-4RXKALLC.mjs +2 -0
  105. package/dist/esm/chunk-4RXKALLC.mjs.map +1 -0
  106. package/dist/esm/{chunk-64IZ5PQR.mjs → chunk-4UYVRG5Z.mjs} +2 -2
  107. package/dist/esm/chunk-4UYVRG5Z.mjs.map +1 -0
  108. package/dist/esm/chunk-4YLUM62M.mjs +2 -0
  109. package/dist/esm/chunk-4YLUM62M.mjs.map +1 -0
  110. package/dist/esm/{chunk-KKLF7DQV.mjs → chunk-4ZJJINCW.mjs} +2 -2
  111. package/dist/esm/chunk-4ZJJINCW.mjs.map +1 -0
  112. package/dist/esm/{chunk-U7UTBXJD.mjs → chunk-66AQ2MJ6.mjs} +2 -2
  113. package/dist/esm/chunk-66AQ2MJ6.mjs.map +1 -0
  114. package/dist/esm/{chunk-LZ5PSDOS.mjs → chunk-67BUAZ6O.mjs} +2 -2
  115. package/dist/esm/chunk-67BUAZ6O.mjs.map +1 -0
  116. package/dist/esm/{chunk-A3USS2NC.mjs → chunk-67ZANQ3R.mjs} +2 -2
  117. package/dist/esm/chunk-67ZANQ3R.mjs.map +1 -0
  118. package/dist/esm/{chunk-JUQBFGUD.mjs → chunk-6IIAGMDR.mjs} +2 -2
  119. package/dist/esm/chunk-6IIAGMDR.mjs.map +1 -0
  120. package/dist/esm/{chunk-BWV6OYLG.mjs → chunk-6IPM5P4L.mjs} +2 -2
  121. package/dist/esm/chunk-6IPM5P4L.mjs.map +1 -0
  122. package/dist/esm/{chunk-WXLSHECY.mjs → chunk-6XHBRRS6.mjs} +2 -2
  123. package/dist/esm/chunk-6XHBRRS6.mjs.map +1 -0
  124. package/dist/esm/chunk-7HLNV3QL.mjs +2 -0
  125. package/dist/esm/chunk-7HLNV3QL.mjs.map +1 -0
  126. package/dist/esm/{chunk-CK5NDXQT.mjs → chunk-A3NEASNH.mjs} +2 -2
  127. package/dist/esm/chunk-A3NEASNH.mjs.map +1 -0
  128. package/dist/esm/{chunk-2CJC43CV.mjs → chunk-A5L76YP7.mjs} +1 -1
  129. package/dist/esm/chunk-A5L76YP7.mjs.map +1 -0
  130. package/dist/esm/{chunk-P74XXLE4.mjs → chunk-AD3A7DTH.mjs} +2 -2
  131. package/dist/esm/chunk-AD3A7DTH.mjs.map +1 -0
  132. package/dist/esm/chunk-AIABPCUF.mjs +2 -0
  133. package/dist/esm/{chunk-YQHOQJRQ.mjs.map → chunk-AIABPCUF.mjs.map} +1 -1
  134. package/dist/esm/{chunk-AOROYJ74.mjs → chunk-AZWVCBK2.mjs} +2 -2
  135. package/dist/esm/chunk-AZWVCBK2.mjs.map +1 -0
  136. package/dist/esm/chunk-BFIXIXHO.mjs +2 -0
  137. package/dist/esm/chunk-BFIXIXHO.mjs.map +1 -0
  138. package/dist/esm/{chunk-6ZOVTYLJ.mjs → chunk-BI3BTSUB.mjs} +2 -2
  139. package/dist/esm/chunk-BI3BTSUB.mjs.map +1 -0
  140. package/dist/esm/{chunk-OIOGOW6I.mjs → chunk-C3Q23D22.mjs} +1 -1
  141. package/dist/esm/chunk-C3Q23D22.mjs.map +1 -0
  142. package/dist/esm/{chunk-KPPM2BSC.mjs → chunk-CDYLZDD2.mjs} +2 -2
  143. package/dist/esm/chunk-CDYLZDD2.mjs.map +1 -0
  144. package/dist/esm/{chunk-5XLZACVT.mjs → chunk-CGTHWGSJ.mjs} +2 -2
  145. package/dist/esm/chunk-CGTHWGSJ.mjs.map +1 -0
  146. package/dist/esm/{chunk-P6RNNESB.mjs → chunk-CNCRJ56P.mjs} +2 -2
  147. package/dist/esm/chunk-CNCRJ56P.mjs.map +1 -0
  148. package/dist/esm/{chunk-VQZMI3EZ.mjs → chunk-CWKNJZB6.mjs} +2 -2
  149. package/dist/esm/chunk-CWKNJZB6.mjs.map +1 -0
  150. package/dist/esm/chunk-CWRANLXZ.mjs +2 -0
  151. package/dist/esm/chunk-CWRANLXZ.mjs.map +1 -0
  152. package/dist/esm/{chunk-476F5NJ6.mjs → chunk-CYMVZJHC.mjs} +2 -2
  153. package/dist/esm/chunk-CYMVZJHC.mjs.map +1 -0
  154. package/dist/esm/{chunk-V4FKFCBL.mjs → chunk-DAFSKSZ5.mjs} +1 -1
  155. package/dist/esm/chunk-DAFSKSZ5.mjs.map +1 -0
  156. package/dist/esm/chunk-DPW6ELCQ.mjs +2 -0
  157. package/dist/esm/chunk-DPW6ELCQ.mjs.map +1 -0
  158. package/dist/esm/{chunk-HKVZ7CAG.mjs → chunk-DW3ETAZB.mjs} +2 -2
  159. package/dist/esm/chunk-DW3ETAZB.mjs.map +1 -0
  160. package/dist/esm/{chunk-AJ5JHBAE.mjs → chunk-EBMEXURY.mjs} +2 -2
  161. package/dist/esm/chunk-EBMEXURY.mjs.map +1 -0
  162. package/dist/esm/{chunk-4IQZOAN7.mjs → chunk-EBS4BKER.mjs} +2 -2
  163. package/dist/esm/chunk-EBS4BKER.mjs.map +1 -0
  164. package/dist/esm/{chunk-VAKNMHOA.mjs → chunk-ECZYQTNN.mjs} +2 -2
  165. package/dist/esm/chunk-ECZYQTNN.mjs.map +1 -0
  166. package/dist/esm/chunk-EMURYYVO.mjs +2 -0
  167. package/dist/esm/chunk-EMURYYVO.mjs.map +1 -0
  168. package/dist/esm/chunk-F2ZTBAJJ.mjs +2 -0
  169. package/dist/esm/chunk-F2ZTBAJJ.mjs.map +1 -0
  170. package/dist/esm/chunk-FC2IYWI7.mjs +2 -0
  171. package/dist/esm/chunk-FC2IYWI7.mjs.map +1 -0
  172. package/dist/esm/chunk-FKJ3GCBI.mjs +2 -0
  173. package/dist/esm/chunk-FKJ3GCBI.mjs.map +1 -0
  174. package/dist/esm/{chunk-AKIO3OIT.mjs → chunk-FN4C3CKC.mjs} +2 -2
  175. package/dist/esm/chunk-FN4C3CKC.mjs.map +1 -0
  176. package/dist/esm/{chunk-6AEXQEO2.mjs → chunk-FNXO3URE.mjs} +2 -2
  177. package/dist/esm/chunk-FNXO3URE.mjs.map +1 -0
  178. package/dist/esm/{chunk-FH27D7S3.mjs → chunk-FQECACH3.mjs} +2 -2
  179. package/dist/esm/chunk-FQECACH3.mjs.map +1 -0
  180. package/dist/esm/{chunk-LK67PZX3.mjs → chunk-FQXEX2HN.mjs} +2 -2
  181. package/dist/esm/chunk-FQXEX2HN.mjs.map +1 -0
  182. package/dist/esm/{chunk-T6ADNZE5.mjs → chunk-G4O6FXCF.mjs} +2 -2
  183. package/dist/esm/chunk-G4O6FXCF.mjs.map +1 -0
  184. package/dist/esm/chunk-G5ZWH5T3.mjs +2 -0
  185. package/dist/esm/chunk-G5ZWH5T3.mjs.map +1 -0
  186. package/dist/esm/{chunk-HULCIESG.mjs → chunk-GL4OJVYH.mjs} +2 -2
  187. package/dist/esm/chunk-GL4OJVYH.mjs.map +1 -0
  188. package/dist/esm/{chunk-GMKKHGXK.mjs → chunk-GOXRBEIJ.mjs} +1 -1
  189. package/dist/esm/chunk-GOXRBEIJ.mjs.map +1 -0
  190. package/dist/esm/chunk-GP4TLDVZ.mjs +1 -0
  191. package/dist/esm/{chunk-ALOYOMRE.mjs → chunk-H3XZ3FZY.mjs} +2 -2
  192. package/dist/esm/{chunk-ALOYOMRE.mjs.map → chunk-H3XZ3FZY.mjs.map} +1 -1
  193. package/dist/esm/{chunk-O4MRRWRI.mjs → chunk-I7JGKVOC.mjs} +2 -2
  194. package/dist/esm/chunk-I7JGKVOC.mjs.map +1 -0
  195. package/dist/esm/{chunk-6Q2O5G3J.mjs → chunk-IF4UU2MT.mjs} +1 -1
  196. package/dist/esm/chunk-IF4UU2MT.mjs.map +1 -0
  197. package/dist/esm/{chunk-QN7AK5PU.mjs → chunk-IJ2QKE4W.mjs} +2 -2
  198. package/dist/esm/chunk-IJ2QKE4W.mjs.map +1 -0
  199. package/dist/esm/chunk-JJM6ELMS.mjs +2 -0
  200. package/dist/esm/chunk-JJM6ELMS.mjs.map +1 -0
  201. package/dist/esm/{chunk-TQA6HY6A.mjs → chunk-K2CSACQY.mjs} +2 -2
  202. package/dist/esm/chunk-K2CSACQY.mjs.map +1 -0
  203. package/dist/esm/{chunk-2D7OMWVL.mjs → chunk-KFCLSJC3.mjs} +2 -2
  204. package/dist/esm/chunk-KFGXOZ77.mjs +2 -0
  205. package/dist/esm/chunk-KFGXOZ77.mjs.map +1 -0
  206. package/dist/esm/{chunk-B5BXB2BB.mjs → chunk-KG23XFU2.mjs} +2 -2
  207. package/dist/esm/chunk-KG23XFU2.mjs.map +1 -0
  208. package/dist/esm/chunk-KNTAED2Z.mjs +2 -0
  209. package/dist/esm/chunk-KNTAED2Z.mjs.map +1 -0
  210. package/dist/esm/{chunk-4ZNSNWQL.mjs → chunk-KPLWOVKG.mjs} +2 -2
  211. package/dist/esm/chunk-KPLWOVKG.mjs.map +1 -0
  212. package/dist/esm/{chunk-BRV3RLKW.mjs → chunk-MT2RJ7H3.mjs} +2 -2
  213. package/dist/esm/chunk-MT2RJ7H3.mjs.map +1 -0
  214. package/dist/esm/{chunk-ACVIE7IE.mjs → chunk-N4DM5FYH.mjs} +2 -2
  215. package/dist/esm/chunk-N4DM5FYH.mjs.map +1 -0
  216. package/dist/esm/{chunk-Q3CWUEXI.mjs → chunk-N4VVDQA5.mjs} +2 -2
  217. package/dist/esm/chunk-N4VVDQA5.mjs.map +1 -0
  218. package/dist/esm/{chunk-LGTOOAQI.mjs → chunk-N6YTF76Q.mjs} +2 -2
  219. package/dist/esm/chunk-N6YTF76Q.mjs.map +1 -0
  220. package/dist/esm/{chunk-OEM75TVE.mjs → chunk-NDUIXMIA.mjs} +2 -2
  221. package/dist/esm/chunk-NDUIXMIA.mjs.map +1 -0
  222. package/dist/esm/{chunk-FUC7SLH7.mjs → chunk-NW2WUKWV.mjs} +2 -2
  223. package/dist/esm/chunk-NW2WUKWV.mjs.map +1 -0
  224. package/dist/esm/{chunk-I3452DF5.mjs → chunk-ODEDSSQL.mjs} +2 -2
  225. package/dist/esm/chunk-ODEDSSQL.mjs.map +1 -0
  226. package/dist/esm/{chunk-42H7WETG.mjs → chunk-ORMOQWWH.mjs} +2 -2
  227. package/dist/esm/chunk-ORMOQWWH.mjs.map +1 -0
  228. package/dist/esm/{chunk-JKA22FG5.mjs → chunk-P4VF7BN4.mjs} +2 -2
  229. package/dist/esm/chunk-P4VF7BN4.mjs.map +1 -0
  230. package/dist/esm/chunk-P54RNN4V.mjs +2 -0
  231. package/dist/esm/chunk-P54RNN4V.mjs.map +1 -0
  232. package/dist/esm/{chunk-D54FD6XE.mjs → chunk-PHJRCZQ3.mjs} +2 -2
  233. package/dist/esm/chunk-PHJRCZQ3.mjs.map +1 -0
  234. package/dist/esm/{chunk-YITOC4Z6.mjs → chunk-PNDCGNVH.mjs} +2 -2
  235. package/dist/esm/chunk-PNDCGNVH.mjs.map +1 -0
  236. package/dist/esm/{chunk-Y5HLXDYG.mjs → chunk-PTS3BTOU.mjs} +2 -2
  237. package/dist/esm/chunk-PTS3BTOU.mjs.map +1 -0
  238. package/dist/esm/{chunk-737YW3CY.mjs → chunk-PUNTBVRJ.mjs} +2 -2
  239. package/dist/esm/chunk-PUNTBVRJ.mjs.map +1 -0
  240. package/dist/esm/{chunk-MWNYODWU.mjs → chunk-Q2C6ZY5N.mjs} +2 -2
  241. package/dist/esm/chunk-Q2C6ZY5N.mjs.map +1 -0
  242. package/dist/esm/{chunk-R2YT2IM5.mjs → chunk-Q3VS6AEN.mjs} +2 -2
  243. package/dist/esm/{chunk-R2YT2IM5.mjs.map → chunk-Q3VS6AEN.mjs.map} +1 -1
  244. package/dist/esm/{chunk-JNO7KPMG.mjs → chunk-Q4C4U6I4.mjs} +2 -2
  245. package/dist/esm/chunk-Q4C4U6I4.mjs.map +1 -0
  246. package/dist/esm/{chunk-F45G3GP3.mjs → chunk-QHEKBHNU.mjs} +2 -2
  247. package/dist/esm/chunk-R7QOPBWA.mjs +2 -0
  248. package/dist/esm/chunk-R7QOPBWA.mjs.map +1 -0
  249. package/dist/esm/{chunk-J7PJSK3J.mjs → chunk-RJ7F4JDV.mjs} +1 -1
  250. package/dist/esm/chunk-RJ7F4JDV.mjs.map +1 -0
  251. package/dist/esm/chunk-ROT6S6BM.mjs +2 -0
  252. package/dist/esm/chunk-ROT6S6BM.mjs.map +1 -0
  253. package/dist/esm/{chunk-OGBU52BQ.mjs → chunk-SOLQ5VON.mjs} +2 -2
  254. package/dist/esm/chunk-SOLQ5VON.mjs.map +1 -0
  255. package/dist/esm/{chunk-L3J2QVIY.mjs → chunk-SQR3AIY7.mjs} +2 -2
  256. package/dist/esm/chunk-SQR3AIY7.mjs.map +1 -0
  257. package/dist/esm/{chunk-SPRNSFUV.mjs → chunk-STY74NUA.mjs} +2 -2
  258. package/dist/esm/chunk-STY74NUA.mjs.map +1 -0
  259. package/dist/esm/{chunk-YT3IP57B.mjs → chunk-SZRZ3HIL.mjs} +2 -2
  260. package/dist/esm/chunk-SZRZ3HIL.mjs.map +1 -0
  261. package/dist/esm/{chunk-QZT2M7UA.mjs → chunk-T6NQDM7D.mjs} +2 -2
  262. package/dist/esm/chunk-T6NQDM7D.mjs.map +1 -0
  263. package/dist/esm/{chunk-ZMBXHMVQ.mjs → chunk-TOBQ5UE6.mjs} +2 -2
  264. package/dist/esm/chunk-TOBQ5UE6.mjs.map +1 -0
  265. package/dist/esm/{chunk-4ULPBQ3M.mjs → chunk-UF6SI2QE.mjs} +2 -2
  266. package/dist/esm/chunk-UF6SI2QE.mjs.map +1 -0
  267. package/dist/esm/chunk-UIRAXHDH.mjs +1 -0
  268. package/dist/esm/chunk-UIRAXHDH.mjs.map +1 -0
  269. package/dist/esm/{chunk-S3YVCCYI.mjs → chunk-UONSJQUV.mjs} +2 -2
  270. package/dist/esm/chunk-UONSJQUV.mjs.map +1 -0
  271. package/dist/esm/{chunk-S22QVNK7.mjs → chunk-UQ7D5CSM.mjs} +2 -2
  272. package/dist/esm/chunk-UQ7D5CSM.mjs.map +1 -0
  273. package/dist/esm/{chunk-5O3RHPER.mjs → chunk-UYONA6PP.mjs} +2 -2
  274. package/dist/esm/chunk-UYONA6PP.mjs.map +1 -0
  275. package/dist/esm/{chunk-A7TJF3BX.mjs → chunk-VCIJX6R4.mjs} +2 -2
  276. package/dist/esm/chunk-VCIJX6R4.mjs.map +1 -0
  277. package/dist/esm/{chunk-FSBEKFEF.mjs → chunk-VVAKGJDN.mjs} +2 -2
  278. package/dist/esm/chunk-VVAKGJDN.mjs.map +1 -0
  279. package/dist/esm/chunk-VZELORLW.mjs +2 -0
  280. package/dist/esm/chunk-VZELORLW.mjs.map +1 -0
  281. package/dist/esm/{chunk-IHGA5KAD.mjs → chunk-W4BSN6SK.mjs} +1 -1
  282. package/dist/esm/chunk-W4BSN6SK.mjs.map +1 -0
  283. package/dist/esm/chunk-WCMW2L3P.mjs +2 -0
  284. package/dist/esm/chunk-WCMW2L3P.mjs.map +1 -0
  285. package/dist/esm/{chunk-XOOYRVFK.mjs → chunk-X3SO2LDX.mjs} +2 -2
  286. package/dist/esm/chunk-X3SO2LDX.mjs.map +1 -0
  287. package/dist/esm/{chunk-TTERI67T.mjs → chunk-XGF7UNEW.mjs} +2 -2
  288. package/dist/esm/chunk-XGF7UNEW.mjs.map +1 -0
  289. package/dist/esm/chunk-XHPWHA6B.mjs +2 -0
  290. package/dist/esm/chunk-XHPWHA6B.mjs.map +1 -0
  291. package/dist/esm/{chunk-2E3BT4YW.mjs → chunk-XIFIACCB.mjs} +2 -2
  292. package/dist/esm/chunk-XIFIACCB.mjs.map +1 -0
  293. package/dist/esm/chunk-XJJVJOX5.mjs +2 -0
  294. package/dist/esm/{chunk-UGTIALNW.mjs.map → chunk-XJJVJOX5.mjs.map} +1 -1
  295. package/dist/esm/{chunk-OPO5EYF7.mjs → chunk-XKUIMGKU.mjs} +2 -2
  296. package/dist/esm/chunk-XKUIMGKU.mjs.map +1 -0
  297. package/dist/esm/{chunk-7ZVXQAG4.mjs → chunk-XLFX2YQA.mjs} +2 -2
  298. package/dist/esm/chunk-XLFX2YQA.mjs.map +1 -0
  299. package/dist/esm/chunk-XTOIL6MB.mjs +2 -0
  300. package/dist/esm/chunk-XTOIL6MB.mjs.map +1 -0
  301. package/dist/esm/{chunk-RV7PNWDY.mjs → chunk-Y6QTKAQO.mjs} +2 -2
  302. package/dist/esm/chunk-Y6QTKAQO.mjs.map +1 -0
  303. package/dist/esm/{chunk-HBIDHQ2M.mjs → chunk-YOZBVVKL.mjs} +1 -1
  304. package/dist/esm/chunk-YOZBVVKL.mjs.map +1 -0
  305. package/dist/esm/{chunk-QK32EQSF.mjs → chunk-YPGI5HAA.mjs} +2 -2
  306. package/dist/esm/chunk-YPGI5HAA.mjs.map +1 -0
  307. package/dist/esm/{chunk-GT7QFXER.mjs → chunk-ZJNPBHEI.mjs} +2 -2
  308. package/dist/esm/chunk-ZJNPBHEI.mjs.map +1 -0
  309. package/dist/esm/cli/index.d.mts +1 -0
  310. package/dist/esm/cli/index.mjs +1 -1
  311. package/dist/esm/cli/localNode.d.mts +20 -8
  312. package/dist/esm/cli/localNode.mjs +1 -1
  313. package/dist/esm/cli/move.d.mts +36 -0
  314. package/dist/esm/cli/move.mjs +1 -1
  315. package/dist/esm/client/core.d.mts +5 -0
  316. package/dist/esm/client/core.mjs +1 -1
  317. package/dist/esm/client/get.d.mts +34 -1
  318. package/dist/esm/client/get.mjs +1 -1
  319. package/dist/esm/client/index.d.mts +2 -1
  320. package/dist/esm/client/index.mjs +1 -1
  321. package/dist/esm/client/post.d.mts +38 -0
  322. package/dist/esm/client/post.mjs +1 -1
  323. package/dist/esm/core/account/index.d.mts +1 -0
  324. package/dist/esm/core/account/index.mjs +1 -1
  325. package/dist/esm/core/account/utils/address.d.mts +7 -0
  326. package/dist/esm/core/account/utils/address.mjs +1 -1
  327. package/dist/esm/core/account/utils/index.d.mts +1 -0
  328. package/dist/esm/core/account/utils/index.mjs +1 -1
  329. package/dist/esm/core/accountAddress.d.mts +47 -0
  330. package/dist/esm/core/accountAddress.mjs +1 -1
  331. package/dist/esm/core/authenticationKey.d.mts +2 -1
  332. package/dist/esm/core/authenticationKey.mjs +1 -1
  333. package/dist/esm/core/common.d.mts +14 -0
  334. package/dist/esm/core/common.mjs +1 -1
  335. package/dist/esm/core/crypto/ed25519.d.mts +58 -5
  336. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  337. package/dist/esm/core/crypto/ephemeral.d.mts +24 -1
  338. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  339. package/dist/esm/core/crypto/federatedKeyless.d.mts +14 -1
  340. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  341. package/dist/esm/core/crypto/hdKey.d.mts +28 -0
  342. package/dist/esm/core/crypto/hdKey.mjs +1 -1
  343. package/dist/esm/core/crypto/index.d.mts +3 -2
  344. package/dist/esm/core/crypto/index.mjs +1 -1
  345. package/dist/esm/core/crypto/keyless.d.mts +132 -1
  346. package/dist/esm/core/crypto/keyless.mjs +1 -1
  347. package/dist/esm/core/crypto/multiEd25519.d.mts +42 -1
  348. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  349. package/dist/esm/core/crypto/multiKey.d.mts +39 -1
  350. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  351. package/dist/esm/core/crypto/poseidon.d.mts +10 -0
  352. package/dist/esm/core/crypto/poseidon.mjs +1 -1
  353. package/dist/esm/core/crypto/privateKey.d.mts +10 -1
  354. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  355. package/dist/esm/core/crypto/proof.d.mts +3 -0
  356. package/dist/esm/core/crypto/proof.mjs +1 -1
  357. package/dist/esm/core/crypto/publicKey.d.mts +2 -1
  358. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  359. package/dist/esm/core/crypto/secp256k1.d.mts +52 -3
  360. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  361. package/dist/esm/core/crypto/signature.d.mts +7 -0
  362. package/dist/esm/core/crypto/signature.mjs +1 -1
  363. package/dist/esm/core/crypto/singleKey.d.mts +37 -2
  364. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  365. package/dist/esm/core/crypto/utils.d.mts +3 -0
  366. package/dist/esm/core/crypto/utils.mjs +1 -1
  367. package/dist/esm/core/hex.d.mts +21 -0
  368. package/dist/esm/core/hex.mjs +1 -1
  369. package/dist/esm/core/index.d.mts +3 -2
  370. package/dist/esm/core/index.mjs +1 -1
  371. package/dist/esm/errors/index.d.mts +1 -0
  372. package/dist/esm/errors/index.mjs +1 -1
  373. package/dist/esm/index.d.mts +9 -6
  374. package/dist/esm/index.mjs +1 -1
  375. package/dist/esm/internal/account.d.mts +25 -4
  376. package/dist/esm/internal/account.mjs +1 -1
  377. package/dist/esm/internal/ans.d.mts +28 -2
  378. package/dist/esm/internal/ans.mjs +1 -1
  379. package/dist/esm/internal/coin.d.mts +4 -1
  380. package/dist/esm/internal/coin.mjs +1 -1
  381. package/dist/esm/internal/digitalAsset.d.mts +32 -2
  382. package/dist/esm/internal/digitalAsset.mjs +1 -1
  383. package/dist/esm/internal/event.d.mts +6 -0
  384. package/dist/esm/internal/event.mjs +1 -1
  385. package/dist/esm/internal/faucet.d.mts +6 -0
  386. package/dist/esm/internal/faucet.mjs +1 -1
  387. package/dist/esm/internal/fungibleAsset.d.mts +9 -2
  388. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  389. package/dist/esm/internal/general.d.mts +8 -0
  390. package/dist/esm/internal/general.mjs +1 -1
  391. package/dist/esm/internal/keyless.d.mts +7 -2
  392. package/dist/esm/internal/keyless.mjs +1 -1
  393. package/dist/esm/internal/object.d.mts +3 -0
  394. package/dist/esm/internal/object.mjs +1 -1
  395. package/dist/esm/internal/staking.d.mts +6 -1
  396. package/dist/esm/internal/staking.mjs +1 -1
  397. package/dist/esm/internal/table.d.mts +4 -0
  398. package/dist/esm/internal/table.mjs +1 -1
  399. package/dist/esm/internal/transaction.d.mts +15 -0
  400. package/dist/esm/internal/transaction.mjs +1 -1
  401. package/dist/esm/internal/transactionSubmission.d.mts +17 -5
  402. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  403. package/dist/esm/internal/view.d.mts +3 -1
  404. package/dist/esm/internal/view.mjs +1 -1
  405. package/dist/esm/{publicKey-BVXX1nVl.d.mts → publicKey-BMtGNNLg.d.mts} +36 -0
  406. package/dist/esm/transactions/authenticator/account.d.mts +29 -1
  407. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  408. package/dist/esm/transactions/authenticator/index.d.mts +3 -1
  409. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  410. package/dist/esm/transactions/authenticator/transaction.d.mts +24 -2
  411. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  412. package/dist/esm/transactions/index.d.mts +6 -3
  413. package/dist/esm/transactions/index.mjs +1 -1
  414. package/dist/esm/transactions/instances/chainId.d.mts +9 -0
  415. package/dist/esm/transactions/instances/chainId.mjs +1 -1
  416. package/dist/esm/transactions/instances/identifier.d.mts +9 -0
  417. package/dist/esm/transactions/instances/identifier.mjs +1 -1
  418. package/dist/esm/transactions/instances/index.d.mts +3 -1
  419. package/dist/esm/transactions/instances/index.mjs +1 -1
  420. package/dist/esm/transactions/instances/moduleId.d.mts +11 -0
  421. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  422. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +9 -0
  423. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  424. package/dist/esm/transactions/instances/rawTransaction.d.mts +31 -0
  425. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  426. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +8 -1
  427. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  428. package/dist/esm/transactions/instances/signedTransaction.d.mts +11 -1
  429. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  430. package/dist/esm/transactions/instances/simpleTransaction.d.mts +9 -0
  431. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  432. package/dist/esm/transactions/instances/transactionArgument.d.mts +17 -0
  433. package/dist/esm/transactions/instances/transactionPayload.d.mts +49 -0
  434. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  435. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +20 -2
  436. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  437. package/dist/esm/transactions/management/asyncQueue.d.mts +16 -0
  438. package/dist/esm/transactions/management/asyncQueue.mjs +1 -1
  439. package/dist/esm/transactions/management/index.d.mts +4 -2
  440. package/dist/esm/transactions/management/index.mjs +1 -1
  441. package/dist/esm/transactions/management/transactionWorker.d.mts +46 -7
  442. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  443. package/dist/esm/transactions/scriptComposer/index.d.mts +47 -0
  444. package/dist/esm/transactions/scriptComposer/index.mjs +2 -0
  445. package/dist/esm/transactions/scriptComposer/index.mjs.map +1 -0
  446. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +65 -1
  447. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  448. package/dist/esm/transactions/transactionBuilder/index.d.mts +4 -2
  449. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  450. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +37 -3
  451. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  452. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +11 -1
  453. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  454. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +43 -1
  455. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  456. package/dist/esm/transactions/typeTag/index.d.mts +83 -0
  457. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  458. package/dist/esm/transactions/typeTag/parser.d.mts +9 -0
  459. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  460. package/dist/esm/transactions/types.d.mts +90 -2
  461. package/dist/esm/types/index.d.mts +1 -0
  462. package/dist/esm/types/index.mjs +1 -1
  463. package/dist/esm/types/indexer.d.mts +52 -0
  464. package/dist/esm/types/keyless.d.mts +12 -0
  465. package/dist/esm/types/types.d.mts +1 -0
  466. package/dist/esm/utils/apiEndpoints.d.mts +30 -0
  467. package/dist/esm/utils/apiEndpoints.mjs +1 -1
  468. package/dist/esm/utils/const.d.mts +24 -0
  469. package/dist/esm/utils/const.mjs +1 -1
  470. package/dist/esm/utils/helpers.d.mts +21 -0
  471. package/dist/esm/utils/helpers.mjs +1 -1
  472. package/dist/esm/utils/index.d.mts +1 -0
  473. package/dist/esm/utils/index.mjs +1 -1
  474. package/dist/esm/utils/memoize.d.mts +4 -0
  475. package/dist/esm/utils/memoize.mjs +1 -1
  476. package/dist/esm/utils/normalizeBundle.d.mts +9 -0
  477. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  478. package/dist/esm/version.d.mts +1 -1
  479. package/dist/esm/version.mjs +1 -1
  480. package/package.json +10 -4
  481. package/src/account/AbstractKeylessAccount.ts +80 -9
  482. package/src/account/Account.ts +51 -6
  483. package/src/account/AccountUtils.ts +216 -0
  484. package/src/account/Ed25519Account.ts +26 -0
  485. package/src/account/EphemeralKeyPair.ts +30 -0
  486. package/src/account/FederatedKeylessAccount.ts +10 -3
  487. package/src/account/KeylessAccount.ts +13 -1
  488. package/src/account/MultiKeyAccount.ts +75 -12
  489. package/src/account/SingleKeyAccount.ts +63 -6
  490. package/src/account/index.ts +1 -0
  491. package/src/account/utils.ts +16 -0
  492. package/src/api/account.ts +22 -2
  493. package/src/api/ans.ts +15 -0
  494. package/src/api/aptos.ts +3 -0
  495. package/src/api/aptosConfig.ts +24 -0
  496. package/src/api/coin.ts +3 -0
  497. package/src/api/digitalAsset.ts +26 -0
  498. package/src/api/event.ts +6 -0
  499. package/src/api/faucet.ts +11 -2
  500. package/src/api/fungibleAsset.ts +8 -0
  501. package/src/api/general.ts +12 -0
  502. package/src/api/keyless.ts +6 -0
  503. package/src/api/object.ts +3 -0
  504. package/src/api/staking.ts +5 -0
  505. package/src/api/table.ts +5 -0
  506. package/src/api/transaction.ts +19 -3
  507. package/src/api/transactionSubmission/build.ts +89 -2
  508. package/src/api/transactionSubmission/helpers.ts +2 -0
  509. package/src/api/transactionSubmission/management.ts +5 -0
  510. package/src/api/transactionSubmission/sign.ts +4 -0
  511. package/src/api/transactionSubmission/simulate.ts +4 -0
  512. package/src/api/transactionSubmission/submit.ts +4 -0
  513. package/src/api/utils.ts +1 -0
  514. package/src/bcs/deserializer.ts +64 -2
  515. package/src/bcs/serializable/entryFunctionBytes.ts +10 -0
  516. package/src/bcs/serializable/fixedBytes.ts +12 -0
  517. package/src/bcs/serializable/movePrimitives.ts +26 -0
  518. package/src/bcs/serializable/moveStructs.ts +56 -0
  519. package/src/bcs/serializer.ts +64 -1
  520. package/src/cli/localNode.ts +22 -8
  521. package/src/cli/move.ts +42 -0
  522. package/src/client/core.ts +4 -0
  523. package/src/client/get.ts +75 -1
  524. package/src/client/post.ts +37 -0
  525. package/src/core/account/utils/address.ts +6 -0
  526. package/src/core/accountAddress.ts +46 -0
  527. package/src/core/authenticationKey.ts +22 -0
  528. package/src/core/common.ts +14 -0
  529. package/src/core/crypto/ed25519.ts +58 -4
  530. package/src/core/crypto/ephemeral.ts +22 -0
  531. package/src/core/crypto/federatedKeyless.ts +12 -0
  532. package/src/core/crypto/hdKey.ts +29 -0
  533. package/src/core/crypto/keyless.ts +134 -0
  534. package/src/core/crypto/multiEd25519.ts +40 -0
  535. package/src/core/crypto/multiKey.ts +37 -1
  536. package/src/core/crypto/poseidon.ts +20 -0
  537. package/src/core/crypto/privateKey.ts +17 -8
  538. package/src/core/crypto/proof.ts +2 -0
  539. package/src/core/crypto/publicKey.ts +14 -0
  540. package/src/core/crypto/secp256k1.ts +62 -5
  541. package/src/core/crypto/signature.ts +8 -0
  542. package/src/core/crypto/singleKey.ts +34 -2
  543. package/src/core/crypto/utils.ts +2 -0
  544. package/src/core/hex.ts +20 -0
  545. package/src/internal/account.ts +27 -7
  546. package/src/internal/ans.ts +27 -0
  547. package/src/internal/coin.ts +1 -0
  548. package/src/internal/digitalAsset.ts +30 -0
  549. package/src/internal/event.ts +6 -0
  550. package/src/internal/faucet.ts +5 -0
  551. package/src/internal/fungibleAsset.ts +5 -0
  552. package/src/internal/general.ts +7 -0
  553. package/src/internal/keyless.ts +4 -0
  554. package/src/internal/object.ts +2 -0
  555. package/src/internal/staking.ts +5 -1
  556. package/src/internal/table.ts +3 -0
  557. package/src/internal/transaction.ts +16 -0
  558. package/src/internal/transactionSubmission.ts +15 -2
  559. package/src/transactions/authenticator/account.ts +26 -0
  560. package/src/transactions/authenticator/transaction.ts +20 -0
  561. package/src/transactions/index.ts +1 -0
  562. package/src/transactions/instances/chainId.ts +8 -0
  563. package/src/transactions/instances/identifier.ts +8 -0
  564. package/src/transactions/instances/moduleId.ts +10 -0
  565. package/src/transactions/instances/multiAgentTransaction.ts +8 -0
  566. package/src/transactions/instances/rawTransaction.ts +30 -0
  567. package/src/transactions/instances/rotationProofChallenge.ts +6 -0
  568. package/src/transactions/instances/signedTransaction.ts +8 -0
  569. package/src/transactions/instances/simpleTransaction.ts +8 -0
  570. package/src/transactions/instances/transactionArgument.ts +16 -0
  571. package/src/transactions/instances/transactionPayload.ts +50 -0
  572. package/src/transactions/management/accountSequenceNumber.ts +16 -0
  573. package/src/transactions/management/asyncQueue.ts +16 -0
  574. package/src/transactions/management/transactionWorker.ts +42 -5
  575. package/src/transactions/scriptComposer/index.ts +86 -0
  576. package/src/transactions/transactionBuilder/helpers.ts +82 -10
  577. package/src/transactions/transactionBuilder/remoteAbi.ts +75 -1
  578. package/src/transactions/transactionBuilder/signingMessage.ts +10 -0
  579. package/src/transactions/transactionBuilder/transactionBuilder.ts +58 -0
  580. package/src/transactions/typeTag/index.ts +82 -0
  581. package/src/transactions/typeTag/parser.ts +24 -0
  582. package/src/transactions/types.ts +89 -0
  583. package/src/types/index.ts +1 -0
  584. package/src/types/indexer.ts +52 -0
  585. package/src/types/keyless.ts +12 -0
  586. package/src/utils/apiEndpoints.ts +30 -2
  587. package/src/utils/const.ts +24 -1
  588. package/src/utils/helpers.ts +22 -0
  589. package/src/utils/memoize.ts +6 -0
  590. package/src/utils/normalizeBundle.ts +8 -1
  591. package/src/version.ts +1 -1
  592. package/dist/common/chunk-F43XVDYJ.js.map +0 -1
  593. package/dist/esm/chunk-2CJC43CV.mjs.map +0 -1
  594. package/dist/esm/chunk-2E3BT4YW.mjs.map +0 -1
  595. package/dist/esm/chunk-42H7WETG.mjs.map +0 -1
  596. package/dist/esm/chunk-476F5NJ6.mjs.map +0 -1
  597. package/dist/esm/chunk-4IQZOAN7.mjs.map +0 -1
  598. package/dist/esm/chunk-4O5XDQDO.mjs +0 -2
  599. package/dist/esm/chunk-4O5XDQDO.mjs.map +0 -1
  600. package/dist/esm/chunk-4ULPBQ3M.mjs.map +0 -1
  601. package/dist/esm/chunk-4ZNSNWQL.mjs.map +0 -1
  602. package/dist/esm/chunk-5B3SMBXQ.mjs +0 -2
  603. package/dist/esm/chunk-5B3SMBXQ.mjs.map +0 -1
  604. package/dist/esm/chunk-5O3RHPER.mjs.map +0 -1
  605. package/dist/esm/chunk-5XLZACVT.mjs.map +0 -1
  606. package/dist/esm/chunk-64IZ5PQR.mjs.map +0 -1
  607. package/dist/esm/chunk-6AEXQEO2.mjs.map +0 -1
  608. package/dist/esm/chunk-6Q2O5G3J.mjs.map +0 -1
  609. package/dist/esm/chunk-6ZOVTYLJ.mjs.map +0 -1
  610. package/dist/esm/chunk-737YW3CY.mjs.map +0 -1
  611. package/dist/esm/chunk-7ZA434Z3.mjs +0 -2
  612. package/dist/esm/chunk-7ZA434Z3.mjs.map +0 -1
  613. package/dist/esm/chunk-7ZVXQAG4.mjs.map +0 -1
  614. package/dist/esm/chunk-A3USS2NC.mjs.map +0 -1
  615. package/dist/esm/chunk-A7TJF3BX.mjs.map +0 -1
  616. package/dist/esm/chunk-ACVIE7IE.mjs.map +0 -1
  617. package/dist/esm/chunk-AITN3DO4.mjs +0 -2
  618. package/dist/esm/chunk-AITN3DO4.mjs.map +0 -1
  619. package/dist/esm/chunk-AJ5JHBAE.mjs.map +0 -1
  620. package/dist/esm/chunk-AKIO3OIT.mjs.map +0 -1
  621. package/dist/esm/chunk-AOROYJ74.mjs.map +0 -1
  622. package/dist/esm/chunk-AVZYJAXR.mjs +0 -2
  623. package/dist/esm/chunk-AVZYJAXR.mjs.map +0 -1
  624. package/dist/esm/chunk-B5BXB2BB.mjs.map +0 -1
  625. package/dist/esm/chunk-BRV3RLKW.mjs.map +0 -1
  626. package/dist/esm/chunk-BWV6OYLG.mjs.map +0 -1
  627. package/dist/esm/chunk-CK5NDXQT.mjs.map +0 -1
  628. package/dist/esm/chunk-D3OEQLUE.mjs +0 -2
  629. package/dist/esm/chunk-D3OEQLUE.mjs.map +0 -1
  630. package/dist/esm/chunk-D52UKPQF.mjs +0 -2
  631. package/dist/esm/chunk-D52UKPQF.mjs.map +0 -1
  632. package/dist/esm/chunk-D54FD6XE.mjs.map +0 -1
  633. package/dist/esm/chunk-FD6FGKYY.mjs +0 -1
  634. package/dist/esm/chunk-FH27D7S3.mjs.map +0 -1
  635. package/dist/esm/chunk-FSBEKFEF.mjs.map +0 -1
  636. package/dist/esm/chunk-FUC7SLH7.mjs.map +0 -1
  637. package/dist/esm/chunk-GAEAYY44.mjs +0 -1
  638. package/dist/esm/chunk-GMKKHGXK.mjs.map +0 -1
  639. package/dist/esm/chunk-GT7QFXER.mjs.map +0 -1
  640. package/dist/esm/chunk-H7PDLUNP.mjs +0 -2
  641. package/dist/esm/chunk-H7PDLUNP.mjs.map +0 -1
  642. package/dist/esm/chunk-HBIDHQ2M.mjs.map +0 -1
  643. package/dist/esm/chunk-HKVZ7CAG.mjs.map +0 -1
  644. package/dist/esm/chunk-HULCIESG.mjs.map +0 -1
  645. package/dist/esm/chunk-I3452DF5.mjs.map +0 -1
  646. package/dist/esm/chunk-I5OYNCZS.mjs +0 -1
  647. package/dist/esm/chunk-IHGA5KAD.mjs.map +0 -1
  648. package/dist/esm/chunk-J7PJSK3J.mjs.map +0 -1
  649. package/dist/esm/chunk-JKA22FG5.mjs.map +0 -1
  650. package/dist/esm/chunk-JNO7KPMG.mjs.map +0 -1
  651. package/dist/esm/chunk-JUQBFGUD.mjs.map +0 -1
  652. package/dist/esm/chunk-JYGAG754.mjs +0 -2
  653. package/dist/esm/chunk-JYGAG754.mjs.map +0 -1
  654. package/dist/esm/chunk-KKLF7DQV.mjs.map +0 -1
  655. package/dist/esm/chunk-KPPM2BSC.mjs.map +0 -1
  656. package/dist/esm/chunk-L3J2QVIY.mjs.map +0 -1
  657. package/dist/esm/chunk-LGTOOAQI.mjs.map +0 -1
  658. package/dist/esm/chunk-LK67PZX3.mjs.map +0 -1
  659. package/dist/esm/chunk-LRN4ALMT.mjs +0 -2
  660. package/dist/esm/chunk-LRN4ALMT.mjs.map +0 -1
  661. package/dist/esm/chunk-LWXBEIFO.mjs +0 -2
  662. package/dist/esm/chunk-LWXBEIFO.mjs.map +0 -1
  663. package/dist/esm/chunk-LZ5PSDOS.mjs.map +0 -1
  664. package/dist/esm/chunk-MCWOKFVH.mjs +0 -2
  665. package/dist/esm/chunk-MCWOKFVH.mjs.map +0 -1
  666. package/dist/esm/chunk-MHN6XY4Z.mjs +0 -2
  667. package/dist/esm/chunk-MHN6XY4Z.mjs.map +0 -1
  668. package/dist/esm/chunk-MV5PGWJQ.mjs +0 -2
  669. package/dist/esm/chunk-MV5PGWJQ.mjs.map +0 -1
  670. package/dist/esm/chunk-MWNYODWU.mjs.map +0 -1
  671. package/dist/esm/chunk-O4MRRWRI.mjs.map +0 -1
  672. package/dist/esm/chunk-OEM75TVE.mjs.map +0 -1
  673. package/dist/esm/chunk-OGBU52BQ.mjs.map +0 -1
  674. package/dist/esm/chunk-OIOGOW6I.mjs.map +0 -1
  675. package/dist/esm/chunk-OPO5EYF7.mjs.map +0 -1
  676. package/dist/esm/chunk-P6RNNESB.mjs.map +0 -1
  677. package/dist/esm/chunk-P74XXLE4.mjs.map +0 -1
  678. package/dist/esm/chunk-Q3CWUEXI.mjs.map +0 -1
  679. package/dist/esm/chunk-QK32EQSF.mjs.map +0 -1
  680. package/dist/esm/chunk-QLC7SSLJ.mjs +0 -2
  681. package/dist/esm/chunk-QLC7SSLJ.mjs.map +0 -1
  682. package/dist/esm/chunk-QN7AK5PU.mjs.map +0 -1
  683. package/dist/esm/chunk-QZT2M7UA.mjs.map +0 -1
  684. package/dist/esm/chunk-RV7PNWDY.mjs.map +0 -1
  685. package/dist/esm/chunk-S22QVNK7.mjs.map +0 -1
  686. package/dist/esm/chunk-S3YVCCYI.mjs.map +0 -1
  687. package/dist/esm/chunk-SMFTISPN.mjs +0 -2
  688. package/dist/esm/chunk-SMFTISPN.mjs.map +0 -1
  689. package/dist/esm/chunk-SPRNSFUV.mjs.map +0 -1
  690. package/dist/esm/chunk-T6ADNZE5.mjs.map +0 -1
  691. package/dist/esm/chunk-TQA6HY6A.mjs.map +0 -1
  692. package/dist/esm/chunk-TTERI67T.mjs.map +0 -1
  693. package/dist/esm/chunk-U7UTBXJD.mjs.map +0 -1
  694. package/dist/esm/chunk-UGTIALNW.mjs +0 -2
  695. package/dist/esm/chunk-UZTJWOLS.mjs +0 -2
  696. package/dist/esm/chunk-UZTJWOLS.mjs.map +0 -1
  697. package/dist/esm/chunk-V4FKFCBL.mjs.map +0 -1
  698. package/dist/esm/chunk-V5NDNR36.mjs +0 -2
  699. package/dist/esm/chunk-V5NDNR36.mjs.map +0 -1
  700. package/dist/esm/chunk-VAKNMHOA.mjs.map +0 -1
  701. package/dist/esm/chunk-VELQA2Y3.mjs +0 -2
  702. package/dist/esm/chunk-VELQA2Y3.mjs.map +0 -1
  703. package/dist/esm/chunk-VQZMI3EZ.mjs.map +0 -1
  704. package/dist/esm/chunk-WTWWJWKC.mjs +0 -2
  705. package/dist/esm/chunk-WTWWJWKC.mjs.map +0 -1
  706. package/dist/esm/chunk-WXLSHECY.mjs.map +0 -1
  707. package/dist/esm/chunk-XOOYRVFK.mjs.map +0 -1
  708. package/dist/esm/chunk-XVPWTWPY.mjs.map +0 -1
  709. package/dist/esm/chunk-Y5HLXDYG.mjs.map +0 -1
  710. package/dist/esm/chunk-YITOC4Z6.mjs.map +0 -1
  711. package/dist/esm/chunk-YQHOQJRQ.mjs +0 -2
  712. package/dist/esm/chunk-YT3IP57B.mjs.map +0 -1
  713. package/dist/esm/chunk-ZMBXHMVQ.mjs.map +0 -1
  714. /package/dist/esm/{chunk-FD6FGKYY.mjs.map → account/AccountUtils.mjs.map} +0 -0
  715. /package/dist/esm/{chunk-GAEAYY44.mjs.map → account/utils.mjs.map} +0 -0
  716. /package/dist/esm/{chunk-I5OYNCZS.mjs.map → chunk-GP4TLDVZ.mjs.map} +0 -0
  717. /package/dist/esm/{chunk-2D7OMWVL.mjs.map → chunk-KFCLSJC3.mjs.map} +0 -0
  718. /package/dist/esm/{chunk-F45G3GP3.mjs.map → chunk-QHEKBHNU.mjs.map} +0 -0
@@ -421,6 +421,8 @@ type GetTokenDataQuery = {
421
421
  *
422
422
  * These types are used as the return type when making the actual request (usually
423
423
  * under the /internal/ folder)
424
+ * @group Implementation
425
+ * @category Types
424
426
  */
425
427
 
426
428
  /**
@@ -432,118 +434,190 @@ type GetTokenDataQuery = {
432
434
  *
433
435
  * These types are used as the return type when calling a sdk api function
434
436
  * that calls the function that queries the server (usually under the /api/ folder)
437
+ * @group Implementation
438
+ * @category Types
435
439
  */
436
440
  type GetObjectDataQueryResponse = GetObjectDataQuery["current_objects"];
437
441
  /**
438
442
  * The response structure for querying tokens owned by an account.
443
+ * @group Implementation
444
+ * @category Types
439
445
  */
440
446
  type GetAccountOwnedTokensQueryResponse = GetAccountOwnedTokensQuery["current_token_ownerships_v2"];
441
447
  /**
442
448
  * The response containing the current token ownerships for an account from a specific collection.
449
+ * @group Implementation
450
+ * @category Types
443
451
  */
444
452
  type GetAccountOwnedTokensFromCollectionResponse = GetAccountOwnedTokensFromCollectionQuery["current_token_ownerships_v2"];
445
453
  /**
446
454
  * The response structure for retrieving account collections associated with owned tokens.
455
+ * @group Implementation
456
+ * @category Types
447
457
  */
448
458
  type GetAccountCollectionsWithOwnedTokenResponse = GetAccountCollectionsWithOwnedTokensQuery["current_collection_ownership_v2_view"];
449
459
  /**
450
460
  * The current balances of fungible assets for an account.
461
+ * @group Implementation
462
+ * @category Types
451
463
  */
452
464
  type GetAccountCoinsDataResponse = GetAccountCoinsDataQuery["current_fungible_asset_balances"];
453
465
  /**
454
466
  * The response structure for retrieving user transactions from the top of the blockchain.
467
+ * @group Implementation
468
+ * @category Types
455
469
  */
456
470
  type GetChainTopUserTransactionsResponse = GetChainTopUserTransactionsQuery["user_transactions"];
457
471
  /**
458
472
  * The response containing the events from the GetEventsQuery.
473
+ * @group Implementation
474
+ * @category Types
459
475
  */
460
476
  type GetEventsResponse = GetEventsQuery["events"];
461
477
  /**
462
478
  * The number of active delegators per pool in response to a query.
479
+ * @group Implementation
480
+ * @category Types
463
481
  */
464
482
  type GetNumberOfDelegatorsResponse = GetNumberOfDelegatorsQuery["num_active_delegator_per_pool"];
465
483
  /**
466
484
  * The response containing the delegated staking activities from the query.
485
+ * @group Implementation
486
+ * @category Types
467
487
  */
468
488
  type GetDelegatedStakingActivitiesResponse = GetDelegatedStakingActivitiesQuery["delegated_staking_activities"];
469
489
  /**
470
490
  * The response structure for retrieving data from the current collections.
491
+ * @group Implementation
492
+ * @category Types
471
493
  */
472
494
  type GetCollectionDataResponse = GetCollectionDataQuery["current_collections_v2"][0];
473
495
  /**
474
496
  * The response structure for retrieving token data, containing the current token information.
497
+ * @group Implementation
498
+ * @category Types
475
499
  */
476
500
  type GetTokenDataResponse = GetTokenDataQuery["current_token_datas_v2"][0];
477
501
  /**
478
502
  * The status of the processor as returned by the GetProcessorStatusQuery.
503
+ * @group Implementation
504
+ * @category Types
479
505
  */
480
506
  type GetProcessorStatusResponse = GetProcessorStatusQuery["processor_status"];
481
507
  /**
482
508
  * The response containing metadata for a fungible asset.
509
+ * @group Implementation
510
+ * @category Types
483
511
  */
484
512
  type GetFungibleAssetMetadataResponse = GetFungibleAssetMetadataQuery["fungible_asset_metadata"];
485
513
  /**
486
514
  * The response containing the activities related to fungible assets.
515
+ * @group Implementation
516
+ * @category Types
487
517
  */
488
518
  type GetFungibleAssetActivitiesResponse = GetFungibleAssetActivitiesQuery["fungible_asset_activities"];
489
519
  /**
490
520
  * The current balances of fungible assets for a specific query.
521
+ * @group Implementation
522
+ * @category Types
491
523
  */
492
524
  type GetCurrentFungibleAssetBalancesResponse = GetCurrentFungibleAssetBalancesQuery["current_fungible_asset_balances"];
493
525
  /**
494
526
  * The response structure for retrieving token activity data.
527
+ * @group Implementation
528
+ * @category Types
495
529
  */
496
530
  type GetTokenActivityResponse = GetTokenActivityQuery["token_activities_v2"];
497
531
  /**
498
532
  * The response structure for retrieving the current token ownership details.
533
+ * @group Implementation
534
+ * @category Types
499
535
  */
500
536
  type GetCurrentTokenOwnershipResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"][0];
501
537
  /**
502
538
  * The response containing the current token ownerships for a user.
539
+ * @group Implementation
540
+ * @category Types
503
541
  */
504
542
  type GetOwnedTokensResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"];
505
543
  /**
506
544
  * The response structure for retrieving items from a table.
545
+ * @group Implementation
546
+ * @category Types
507
547
  */
508
548
  type GetTableItemsDataResponse = GetTableItemsDataQuery["table_items"];
509
549
  /**
510
550
  * The metadata for table items retrieved from a query.
551
+ * @group Implementation
552
+ * @category Types
511
553
  */
512
554
  type GetTableItemsMetadataResponse = GetTableItemsMetadataQuery["table_metadatas"];
513
555
  /**
514
556
  * The response containing the current Aptos names from the GetNamesQuery.
557
+ * @group Implementation
558
+ * @category Types
515
559
  */
516
560
  type GetANSNameResponse = GetNamesQuery["current_aptos_names"];
517
561
  /**
518
562
  * A generic type that being passed by each function and holds an
519
563
  * array of properties we can sort the query by
564
+ * @group Implementation
565
+ * @category Types
520
566
  */
521
567
  type OrderBy<T> = Array<{
522
568
  [K in keyof T]?: OrderByValue;
523
569
  }>;
524
570
  /**
525
571
  * Specifies the order direction for sorting, including options for handling null values.
572
+ * @group Implementation
573
+ * @category Types
526
574
  */
527
575
  type OrderByValue = "asc" | "asc_nulls_first" | "asc_nulls_last" | "desc" | "desc_nulls_first" | "desc_nulls_last";
528
576
  /**
529
577
  * The token standard to query for, which can be either version "v1" or "v2".
578
+ * @group Implementation
579
+ * @category Types
530
580
  */
531
581
  type TokenStandard = "v1" | "v2";
532
582
  /**
533
583
  * The GraphQL query to pass into the `queryIndexer` function.
584
+ * @group Implementation
585
+ * @category Types
534
586
  */
535
587
  type GraphqlQuery = {
536
588
  query: string;
537
589
  variables?: {};
538
590
  };
539
591
 
592
+ /**
593
+ * @group Implementation
594
+ * @category Network
595
+ */
540
596
  declare const NetworkToIndexerAPI: Record<string, string>;
597
+ /**
598
+ * @group Implementation
599
+ * @category Network
600
+ */
541
601
  declare const NetworkToNodeAPI: Record<string, string>;
602
+ /**
603
+ * @group Implementation
604
+ * @category Network
605
+ */
542
606
  declare const NetworkToFaucetAPI: Record<string, string>;
607
+ /**
608
+ * @group Implementation
609
+ * @category Network
610
+ */
543
611
  declare const NetworkToPepperAPI: Record<string, string>;
612
+ /**
613
+ * @group Implementation
614
+ * @category Network
615
+ */
544
616
  declare const NetworkToProverAPI: Record<string, string>;
545
617
  /**
546
618
  * Different network environments for connecting to services, ranging from production to development setups.
619
+ * @group Implementation
620
+ * @category Network
547
621
  */
548
622
  declare enum Network {
549
623
  MAINNET = "mainnet",
@@ -552,7 +626,15 @@ declare enum Network {
552
626
  LOCAL = "local",
553
627
  CUSTOM = "custom"
554
628
  }
629
+ /**
630
+ * @group Implementation
631
+ * @category Network
632
+ */
555
633
  declare const NetworkToChainId: Record<string, number>;
634
+ /**
635
+ * @group Implementation
636
+ * @category Network
637
+ */
556
638
  declare const NetworkToNetworkName: Record<string, Network>;
557
639
 
558
640
  /**
@@ -1846,6 +1928,8 @@ type GenerateAccount = GenerateAccountWithEd25519 | GenerateAccountWithSingleSig
1846
1928
  * for static methods in interfaces.
1847
1929
  *
1848
1930
  * @template T - The type that this will deserialize into.
1931
+ * @group Implementation
1932
+ * @category BCS
1849
1933
  */
1850
1934
  interface Deserializable<T> {
1851
1935
  /**
@@ -1862,12 +1946,16 @@ interface Deserializable<T> {
1862
1946
  * // value is now an instance of MyClass
1863
1947
  * // equivalent to `const value = MyClass.deserialize(deserializer)`
1864
1948
  * ```
1949
+ * @group Implementation
1950
+ * @category BCS
1865
1951
  */
1866
1952
  deserialize(deserializer: Deserializer): T;
1867
1953
  }
1868
1954
  /**
1869
1955
  * A class that provides methods for deserializing various data types from a byte buffer.
1870
1956
  * It supports deserialization of primitive types, strings, and complex objects using a BCS (Binary Common Serialization) layout.
1957
+ * @group Implementation
1958
+ * @category BCS
1871
1959
  */
1872
1960
  declare class Deserializer {
1873
1961
  private buffer;
@@ -1877,13 +1965,18 @@ declare class Deserializer {
1877
1965
  * This prevents outside mutation of the buffer.
1878
1966
  *
1879
1967
  * @param data - The data to be copied into the internal buffer as a Uint8Array.
1968
+ * @group Implementation
1969
+ * @category BCS
1880
1970
  */
1881
1971
  constructor(data: Uint8Array);
1972
+ static fromHex(hex: HexInput): Deserializer;
1882
1973
  /**
1883
1974
  * Reads a specified number of bytes from the buffer and advances the offset.
1884
1975
  *
1885
1976
  * @param length - The number of bytes to read from the buffer.
1886
1977
  * @throws Throws an error if the read operation exceeds the buffer's length.
1978
+ * @group Implementation
1979
+ * @category BCS
1887
1980
  */
1888
1981
  private read;
1889
1982
  /**
@@ -1892,10 +1985,11 @@ declare class Deserializer {
1892
1985
  * This information is useful to determine if there's more data to be read.
1893
1986
  *
1894
1987
  * @returns The number of bytes remaining in the buffer.
1988
+ * @group Implementation
1989
+ * @category BCS
1895
1990
  */
1896
1991
  remaining(): number;
1897
1992
  /**
1898
- * @deprecated use `deserializeOption` instead.
1899
1993
  * Deserializes a UTF-8 encoded string from a byte array. It first reads the length of the string in bytes,
1900
1994
  * followed by the actual byte content, and decodes it into a string.
1901
1995
  *
@@ -1907,8 +2001,24 @@ declare class Deserializer {
1907
2001
  * const deserializer = new Deserializer(new Uint8Array([8, 49, 50, 51, 52, 97, 98, 99, 100]));
1908
2002
  * assert(deserializer.deserializeStr() === "1234abcd");
1909
2003
  * ```
2004
+ * @group Implementation
2005
+ * @category BCS
1910
2006
  */
1911
2007
  deserializeStr(): string;
2008
+ /**
2009
+ * @deprecated use `deserializeOption("string")` instead.
2010
+ *
2011
+ * The BCS layout for Optional<String> is 0 if none, else 1 followed by the string length and string content.
2012
+ * @returns The deserialized string if it exists, otherwise undefined.
2013
+ * @example
2014
+ * ```typescript
2015
+ * const deserializer = new Deserializer(new Uint8Array([0x00]));
2016
+ * assert(deserializer.deserializeOptionStr() === undefined);
2017
+ * const deserializer = new Deserializer(new Uint8Array([1, 8, 49, 50, 51, 52, 97, 98, 99, 100]));
2018
+ * assert(deserializer.deserializeOptionStr() === "1234abcd");
2019
+ * ```
2020
+ */
2021
+ deserializeOptionStr(): string | undefined;
1912
2022
  /**
1913
2023
  * Deserializes an optional value from the buffer.
1914
2024
  *
@@ -1944,6 +2054,8 @@ declare class Deserializer {
1944
2054
  * const optBytes = deserializer.deserializeOption("fixedBytes", 4);
1945
2055
  * // optBytes === Uint8Array[1, 2, 3, 4]
1946
2056
  * ```
2057
+ * @group Implementation
2058
+ * @category BCS
1947
2059
  */
1948
2060
  deserializeOption(type: "string"): string | undefined;
1949
2061
  deserializeOption(type: "bytes"): Uint8Array | undefined;
@@ -1956,12 +2068,16 @@ declare class Deserializer {
1956
2068
  * encoded as a uleb128 integer, indicating the length of the bytes array.
1957
2069
  *
1958
2070
  * @returns {Uint8Array} The deserialized array of bytes.
2071
+ * @group Implementation
2072
+ * @category BCS
1959
2073
  */
1960
2074
  deserializeBytes(): Uint8Array;
1961
2075
  /**
1962
2076
  * Deserializes an array of bytes of a specified length.
1963
2077
  *
1964
2078
  * @param len - The number of bytes to read from the source.
2079
+ * @group Implementation
2080
+ * @category BCS
1965
2081
  */
1966
2082
  deserializeFixedBytes(len: number): Uint8Array;
1967
2083
  /**
@@ -1972,6 +2088,8 @@ declare class Deserializer {
1972
2088
  *
1973
2089
  * @returns The deserialized boolean value.
1974
2090
  * @throws Throws an error if the boolean value is invalid.
2091
+ * @group Implementation
2092
+ * @category BCS
1975
2093
  */
1976
2094
  deserializeBool(): boolean;
1977
2095
  /**
@@ -1980,6 +2098,8 @@ declare class Deserializer {
1980
2098
  * BCS layout for "uint8": One byte. Binary format in little-endian representation.
1981
2099
  *
1982
2100
  * @returns {number} The deserialized uint8 number.
2101
+ * @group Implementation
2102
+ * @category BCS
1983
2103
  */
1984
2104
  deserializeU8(): Uint8;
1985
2105
  /**
@@ -1991,6 +2111,8 @@ declare class Deserializer {
1991
2111
  * const deserializer = new Deserializer(new Uint8Array([0x34, 0x12]));
1992
2112
  * assert(deserializer.deserializeU16() === 4660);
1993
2113
  * ```
2114
+ * @group Implementation
2115
+ * @category BCS
1994
2116
  */
1995
2117
  deserializeU16(): Uint16;
1996
2118
  /**
@@ -2002,6 +2124,8 @@ declare class Deserializer {
2002
2124
  * const deserializer = new Deserializer(new Uint8Array([0x78, 0x56, 0x34, 0x12]));
2003
2125
  * assert(deserializer.deserializeU32() === 305419896);
2004
2126
  * ```
2127
+ * @group Implementation
2128
+ * @category BCS
2005
2129
  */
2006
2130
  deserializeU32(): Uint32;
2007
2131
  /**
@@ -2013,6 +2137,8 @@ declare class Deserializer {
2013
2137
  * const deserializer = new Deserializer(new Uint8Array([0x00, 0xEF, 0xCD, 0xAB, 0x78, 0x56, 0x34, 0x12]));
2014
2138
  * assert(deserializer.deserializeU64() === 1311768467750121216);
2015
2139
  * ```
2140
+ * @group Implementation
2141
+ * @category BCS
2016
2142
  */
2017
2143
  deserializeU64(): Uint64;
2018
2144
  /**
@@ -2020,6 +2146,8 @@ declare class Deserializer {
2020
2146
  * This function combines two 64-bit values to return a single uint128 value in little-endian format.
2021
2147
  *
2022
2148
  * @returns {BigInt} The deserialized uint128 number.
2149
+ * @group Implementation
2150
+ * @category BCS
2023
2151
  */
2024
2152
  deserializeU128(): Uint128;
2025
2153
  /**
@@ -2028,6 +2156,8 @@ declare class Deserializer {
2028
2156
  * The BCS layout for "uint256" consists of thirty-two bytes in little-endian format.
2029
2157
  *
2030
2158
  * @returns {BigInt} The deserialized uint256 number.
2159
+ * @group Implementation
2160
+ * @category BCS
2031
2161
  */
2032
2162
  deserializeU256(): Uint256;
2033
2163
  /**
@@ -2037,6 +2167,8 @@ declare class Deserializer {
2037
2167
  *
2038
2168
  * @throws {Error} Throws an error if the parsed value exceeds the maximum uint32 number.
2039
2169
  * @returns {number} The deserialized uint32 value.
2170
+ * @group Implementation
2171
+ * @category BCS
2040
2172
  */
2041
2173
  deserializeUleb128AsU32(): Uint32;
2042
2174
  /**
@@ -2051,6 +2183,8 @@ declare class Deserializer {
2051
2183
  * @param cls The BCS-deserializable class to deserialize the buffered bytes into.
2052
2184
  *
2053
2185
  * @returns the deserialized value of class type T
2186
+ * @group Implementation
2187
+ * @category BCS
2054
2188
  */
2055
2189
  deserialize<T>(cls: Deserializable<T>): T;
2056
2190
  /**
@@ -2074,18 +2208,24 @@ declare class Deserializer {
2074
2208
  * const deserializer = new Deserializer(serializedBytes);
2075
2209
  * const deserializedAddresses = deserializer.deserializeVector(AccountAddress);
2076
2210
  * // deserializedAddresses is now an array of AccountAddress instances
2211
+ * @group Implementation
2212
+ * @category BCS
2077
2213
  */
2078
2214
  deserializeVector<T>(cls: Deserializable<T>): Array<T>;
2079
2215
  }
2080
2216
 
2081
2217
  /**
2082
2218
  * This error is used to explain why parsing failed.
2219
+ * @group Implementation
2220
+ * @category Serialization
2083
2221
  */
2084
2222
  declare class ParsingError<T> extends Error {
2085
2223
  /**
2086
2224
  * This provides a programmatic way to access why parsing failed. Downstream devs
2087
2225
  * might want to use this to build their own error messages if the default error
2088
2226
  * messages are not suitable for their use case. This should be an enum.
2227
+ * @group Implementation
2228
+ * @category Serialization
2089
2229
  */
2090
2230
  invalidReason: T;
2091
2231
  /**
@@ -2093,30 +2233,42 @@ declare class ParsingError<T> extends Error {
2093
2233
  *
2094
2234
  * @param message The error message that describes the issue.
2095
2235
  * @param invalidReason The reason why the input is considered invalid.
2236
+ * @group Implementation
2237
+ * @category Serialization
2096
2238
  */
2097
2239
  constructor(message: string, invalidReason: T);
2098
2240
  }
2099
2241
  /**
2100
2242
  * Whereas ParsingError is thrown when parsing fails, e.g. in a fromString function,
2101
2243
  * this type is returned from "defensive" functions like isValid.
2244
+ * @group Implementation
2245
+ * @category Serialization
2102
2246
  */
2103
2247
  type ParsingResult<T> = {
2104
2248
  /**
2105
2249
  * True if valid, false otherwise.
2250
+ * @group Implementation
2251
+ * @category Serialization
2106
2252
  */
2107
2253
  valid: boolean;
2108
2254
  /**
2109
2255
  * If valid is false, this will be a code explaining why parsing failed.
2256
+ * @group Implementation
2257
+ * @category Serialization
2110
2258
  */
2111
2259
  invalidReason?: T;
2112
2260
  /**
2113
2261
  * If valid is false, this will be a string explaining why parsing failed.
2262
+ * @group Implementation
2263
+ * @category Serialization
2114
2264
  */
2115
2265
  invalidReasonMessage?: string;
2116
2266
  };
2117
2267
 
2118
2268
  /**
2119
2269
  * Provides reasons for parsing failures related to hexadecimal values.
2270
+ * @group Implementation
2271
+ * @category Serialization
2120
2272
  */
2121
2273
  declare enum HexInvalidReason {
2122
2274
  TOO_SHORT = "too_short",
@@ -2146,6 +2298,8 @@ declare enum HexInvalidReason {
2146
2298
  * Other ways to chain the functions together:
2147
2299
  * - `Hex.fromHexString({ hexInput: "0x1f" }).toUint8Array()`
2148
2300
  * - `new Hex([1, 3]).toStringWithoutPrefix()`
2301
+ * @group Implementation
2302
+ * @category Serialization
2149
2303
  */
2150
2304
  declare class Hex {
2151
2305
  private readonly data;
@@ -2153,24 +2307,32 @@ declare class Hex {
2153
2307
  * Create a new Hex instance from a Uint8Array.
2154
2308
  *
2155
2309
  * @param data - The Uint8Array containing the data to initialize the Hex instance.
2310
+ * @group Implementation
2311
+ * @category Serialization
2156
2312
  */
2157
2313
  constructor(data: Uint8Array);
2158
2314
  /**
2159
2315
  * Get the inner hex data as a Uint8Array. The inner data is already a Uint8Array, so no conversion takes place.
2160
2316
  *
2161
2317
  * @returns Hex data as Uint8Array
2318
+ * @group Implementation
2319
+ * @category Serialization
2162
2320
  */
2163
2321
  toUint8Array(): Uint8Array;
2164
2322
  /**
2165
2323
  * Get the hex data as a string without the 0x prefix.
2166
2324
  *
2167
2325
  * @returns Hex string without 0x prefix
2326
+ * @group Implementation
2327
+ * @category Serialization
2168
2328
  */
2169
2329
  toStringWithoutPrefix(): string;
2170
2330
  /**
2171
2331
  * Get the hex data as a string with the 0x prefix.
2172
2332
  *
2173
2333
  * @returns Hex string with 0x prefix
2334
+ * @group Implementation
2335
+ * @category Serialization
2174
2336
  */
2175
2337
  toString(): string;
2176
2338
  /**
@@ -2181,6 +2343,8 @@ declare class Hex {
2181
2343
  * @throws ParsingError - If the hex string is too short, has an odd number of characters, or contains invalid hex characters.
2182
2344
  *
2183
2345
  * @returns Hex - The resulting Hex instance created from the provided string.
2346
+ * @group Implementation
2347
+ * @category Serialization
2184
2348
  */
2185
2349
  static fromHexString(str: string): Hex;
2186
2350
  /**
@@ -2189,6 +2353,8 @@ declare class Hex {
2189
2353
  *
2190
2354
  * @param hexInput - A HexInput which can be a string or Uint8Array.
2191
2355
  * @returns A Hex instance created from the provided hexInput.
2356
+ * @group Implementation
2357
+ * @category Serialization
2192
2358
  */
2193
2359
  static fromHexInput(hexInput: HexInput): Hex;
2194
2360
  /**
@@ -2235,6 +2401,8 @@ declare class Hex {
2235
2401
  * - valid: A boolean indicating whether the string is valid.
2236
2402
  * - invalidReason: The reason for invalidity if the string is not valid.
2237
2403
  * - invalidReasonMessage: A message explaining why the string is invalid.
2404
+ * @group Implementation
2405
+ * @category Serialization
2238
2406
  */
2239
2407
  static isValid(str: string): ParsingResult<HexInvalidReason>;
2240
2408
  /**
@@ -2242,6 +2410,8 @@ declare class Hex {
2242
2410
  *
2243
2411
  * @param other The Hex instance to compare to.
2244
2412
  * @returns true if the Hex instances are equal, false if not.
2413
+ * @group Implementation
2414
+ * @category Serialization
2245
2415
  */
2246
2416
  equals(other: Hex): boolean;
2247
2417
  }
@@ -2251,6 +2421,8 @@ declare const hexToAsciiString: (hex: string) => string;
2251
2421
  * This class serves as a base class for all serializable types. It facilitates
2252
2422
  * composable serialization of complex types and enables the serialization of
2253
2423
  * instances to their BCS (Binary Canonical Serialization) representation.
2424
+ * @group Implementation
2425
+ * @category BCS
2254
2426
  */
2255
2427
  declare abstract class Serializable {
2256
2428
  abstract serialize(serializer: Serializer): void;
@@ -2258,12 +2430,16 @@ declare abstract class Serializable {
2258
2430
  * Serializes a `Serializable` value to its BCS representation.
2259
2431
  * This function is the TypeScript SDK equivalent of `bcs::to_bytes` in Move.
2260
2432
  * @returns the BCS representation of the Serializable instance as a byte buffer.
2433
+ * @group Implementation
2434
+ * @category BCS
2261
2435
  */
2262
2436
  bcsToBytes(): Uint8Array;
2263
2437
  /**
2264
2438
  * Converts the BCS-serialized bytes of a value into a Hex instance.
2265
2439
  * This function provides a Hex representation of the BCS-serialized data for easier handling and manipulation.
2266
2440
  * @returns A Hex instance with the BCS-serialized bytes loaded into its underlying Uint8Array.
2441
+ * @group Implementation
2442
+ * @category BCS
2267
2443
  */
2268
2444
  bcsToHex(): Hex;
2269
2445
  /**
@@ -2282,6 +2458,8 @@ declare abstract class Serializable {
2282
2458
  * It provides methods to serialize strings, bytes, numbers, and other serializable objects
2283
2459
  * using the Binary Coded Serialization (BCS) layout. The serialized data can be retrieved as a
2284
2460
  * Uint8Array.
2461
+ * @group Implementation
2462
+ * @category BCS
2285
2463
  */
2286
2464
  declare class Serializer {
2287
2465
  private buffer;
@@ -2291,6 +2469,8 @@ declare class Serializer {
2291
2469
  * The `length` must be greater than 0.
2292
2470
  *
2293
2471
  * @param length - The size of the buffer in bytes.
2472
+ * @group Implementation
2473
+ * @category BCS
2294
2474
  */
2295
2475
  constructor(length?: number);
2296
2476
  /**
@@ -2298,12 +2478,16 @@ declare class Serializer {
2298
2478
  * This function dynamically resizes the buffer if the current size is insufficient.
2299
2479
  *
2300
2480
  * @param bytes - The number of bytes to ensure the buffer can handle.
2481
+ * @group Implementation
2482
+ * @category BCS
2301
2483
  */
2302
2484
  private ensureBufferWillHandleSize;
2303
2485
  /**
2304
2486
  * Appends the specified values to the buffer, ensuring that the buffer can accommodate the new data.
2305
2487
  *
2306
2488
  * @param {Uint8Array} values - The values to be appended to the buffer.
2489
+ * @group Implementation
2490
+ * @category BCS
2307
2491
  */
2308
2492
  protected appendToBuffer(values: Uint8Array): void;
2309
2493
  /**
@@ -2313,6 +2497,8 @@ declare class Serializer {
2313
2497
  * @param fn.byteOffset - The byte offset at which to write the value.
2314
2498
  * @param fn.value - The numeric value to serialize into the buffer.
2315
2499
  * @param fn.littleEndian - Optional flag indicating whether to use little-endian byte order (defaults to true).
2500
+ * @group Implementation
2501
+ * @category BCS
2316
2502
  */
2317
2503
  private serializeWithFunction;
2318
2504
  /**
@@ -2331,6 +2517,8 @@ declare class Serializer {
2331
2517
  * serializer.serializeStr("1234abcd");
2332
2518
  * assert(serializer.toUint8Array() === new Uint8Array([8, 49, 50, 51, 52, 97, 98, 99, 100]));
2333
2519
  * ```
2520
+ * @group Implementation
2521
+ * @category BCS
2334
2522
  */
2335
2523
  serializeStr(value: string): void;
2336
2524
  /**
@@ -2340,6 +2528,8 @@ declare class Serializer {
2340
2528
  * BCS layout for "bytes": bytes_length | bytes
2341
2529
  * where bytes_length is a u32 integer encoded as a uleb128 integer, equal to the length of the bytes array.
2342
2530
  * @param value - The byte array to serialize.
2531
+ * @group Implementation
2532
+ * @category BCS
2343
2533
  */
2344
2534
  serializeBytes(value: Uint8Array): void;
2345
2535
  /**
@@ -2348,6 +2538,8 @@ declare class Serializer {
2348
2538
  * When deserializing, the number of bytes to deserialize needs to be passed in.
2349
2539
 
2350
2540
  * @param value - The Uint8Array to be serialized.
2541
+ * @group Implementation
2542
+ * @category BCS
2351
2543
  */
2352
2544
  serializeFixedBytes(value: Uint8Array): void;
2353
2545
  /**
@@ -2356,6 +2548,8 @@ declare class Serializer {
2356
2548
  * The BCS layout for a boolean uses one byte, where "0x01" represents true and "0x00" represents false.
2357
2549
  *
2358
2550
  * @param value - The boolean value to serialize.
2551
+ * @group Implementation
2552
+ * @category BCS
2359
2553
  */
2360
2554
  serializeBool(value: boolean): void;
2361
2555
  /**
@@ -2363,11 +2557,15 @@ declare class Serializer {
2363
2557
  * BCS layout for "uint8": One byte. Binary format in little-endian representation.
2364
2558
  *
2365
2559
  * @param value - The Uint8 value to serialize.
2560
+ * @group Implementation
2561
+ * @category BCS
2366
2562
  */
2367
2563
  serializeU8(value: Uint8): void;
2368
2564
  /**
2369
2565
  * Serializes a uint16 number.
2370
2566
  *
2567
+ * @group Implementation
2568
+ * @category BCS
2371
2569
 
2372
2570
  */
2373
2571
  /**
@@ -2381,6 +2579,8 @@ declare class Serializer {
2381
2579
  * serializer.serializeU16(4660);
2382
2580
  * assert(serializer.toUint8Array() === new Uint8Array([0x34, 0x12]));
2383
2581
  * ```
2582
+ * @group Implementation
2583
+ * @category BCS
2384
2584
  */
2385
2585
  serializeU16(value: Uint16): void;
2386
2586
  /**
@@ -2393,6 +2593,8 @@ declare class Serializer {
2393
2593
  * assert(serializer.toUint8Array() === new Uint8Array([0x78, 0x56, 0x34, 0x12]));
2394
2594
  * ```
2395
2595
  * @param value - The 32-bit unsigned integer value to serialize.
2596
+ * @group Implementation
2597
+ * @category BCS
2396
2598
  */
2397
2599
  serializeU32(value: Uint32): void;
2398
2600
  /**
@@ -2406,12 +2608,16 @@ declare class Serializer {
2406
2608
  * serializer.serializeU64(1311768467750121216);
2407
2609
  * assert(serializer.toUint8Array() === new Uint8Array([0x00, 0xEF, 0xCD, 0xAB, 0x78, 0x56, 0x34, 0x12]));
2408
2610
  * ```
2611
+ * @group Implementation
2612
+ * @category BCS
2409
2613
  */
2410
2614
  serializeU64(value: AnyNumber): void;
2411
2615
  /**
2412
2616
  * Serializes a U128 value into a format suitable for storage or transmission.
2413
2617
  *
2414
2618
  * @param value - The U128 value to serialize, represented as a number.
2619
+ * @group Implementation
2620
+ * @category BCS
2415
2621
  */
2416
2622
  serializeU128(value: AnyNumber): void;
2417
2623
  /**
@@ -2419,6 +2625,8 @@ declare class Serializer {
2419
2625
  * This function is essential for encoding large numbers in a compact format suitable for transmission or storage.
2420
2626
  *
2421
2627
  * @param value - The U256 value to serialize, represented as an AnyNumber.
2628
+ * @group Implementation
2629
+ * @category BCS
2422
2630
  */
2423
2631
  serializeU256(value: AnyNumber): void;
2424
2632
  /**
@@ -2426,6 +2634,8 @@ declare class Serializer {
2426
2634
  * BCS uses uleb128 encoding in two cases: (1) lengths of variable-length sequences and (2) tags of enum values
2427
2635
  *
2428
2636
  * @param val - The 32-bit unsigned integer value to be serialized.
2637
+ * @group Implementation
2638
+ * @category BCS
2429
2639
  */
2430
2640
  serializeU32AsUleb128(val: Uint32): void;
2431
2641
  /**
@@ -2434,6 +2644,8 @@ declare class Serializer {
2434
2644
  * This function allows you to retrieve the byte representation of the buffer up to the current offset.
2435
2645
  *
2436
2646
  * @returns Uint8Array - The byte array representation of the buffer.
2647
+ * @group Implementation
2648
+ * @category BCS
2437
2649
  */
2438
2650
  toUint8Array(): Uint8Array;
2439
2651
  /**
@@ -2442,6 +2654,8 @@ declare class Serializer {
2442
2654
  * @param value The Serializable value to serialize.
2443
2655
  *
2444
2656
  * @returns the serializer instance
2657
+ * @group Implementation
2658
+ * @category BCS
2445
2659
  */
2446
2660
  serialize<T extends Serializable>(value: T): void;
2447
2661
  /**
@@ -2462,6 +2676,8 @@ declare class Serializer {
2462
2676
  * // serializedBytes is now the BCS-serialized bytes
2463
2677
  * // The equivalent value in Move would be:
2464
2678
  * // `bcs::to_bytes(&vector<address> [@0x1, @0x2, @0xa, @0xb])`;
2679
+ * @group Implementation
2680
+ * @category BCS
2465
2681
  */
2466
2682
  serializeVector<T extends Serializable>(values: Array<T>): void;
2467
2683
  /**
@@ -2480,6 +2696,8 @@ declare class Serializer {
2480
2696
  * serializer.serializeOption(new AccountAddress(...)); // Serializes optional Serializable
2481
2697
  * serializer.serializeOption(undefined); // Serializes none case
2482
2698
  * ```
2699
+ * @group Implementation
2700
+ * @category BCS
2483
2701
  */
2484
2702
  serializeOption<T extends Serializable | string | Uint8Array>(value?: T, len?: number): void;
2485
2703
  /**
@@ -2492,10 +2710,20 @@ declare class Serializer {
2492
2710
  * BCS layout for undefined: 0
2493
2711
  *
2494
2712
  * @param value - The optional string to serialize. If undefined, it will serialize as 0.
2713
+ * @group Implementation
2714
+ * @category BCS
2495
2715
  */
2496
2716
  serializeOptionStr(value?: string): void;
2497
2717
  }
2718
+ /**
2719
+ * @group Implementation
2720
+ * @category BCS
2721
+ */
2498
2722
  declare function ensureBoolean(value: unknown): asserts value is boolean;
2723
+ /**
2724
+ * @group Implementation
2725
+ * @category BCS
2726
+ */
2499
2727
  declare const outOfRangeErrorMessage: (value: AnyNumber, min: AnyNumber, max: AnyNumber) => string;
2500
2728
  /**
2501
2729
  * Validates that a given number is within a specified range.
@@ -2504,6 +2732,8 @@ declare const outOfRangeErrorMessage: (value: AnyNumber, min: AnyNumber, max: An
2504
2732
  * @param value - The number to validate.
2505
2733
  * @param minValue - The minimum allowable value (inclusive).
2506
2734
  * @param maxValue - The maximum allowable value (inclusive).
2735
+ * @group Implementation
2736
+ * @category BCS
2507
2737
  */
2508
2738
  declare function validateNumberInRange<T extends AnyNumber>(value: T, minValue: T, maxValue: T): void;
2509
2739
 
@@ -2512,12 +2742,16 @@ interface TransactionArgument extends EntryFunctionArgument, ScriptFunctionArgum
2512
2742
  /**
2513
2743
  * Represents an argument for entry functions, providing methods to serialize the argument
2514
2744
  * to BCS-serialized bytes and convert it to different formats.
2745
+ * @group Implementation
2746
+ * @category Transactions
2515
2747
  */
2516
2748
  interface EntryFunctionArgument {
2517
2749
  /**
2518
2750
  * Serialize an argument to BCS-serialized bytes.
2519
2751
  *
2520
2752
  * @param serializer - The serializer instance used for serialization.
2753
+ * @group Implementation
2754
+ * @category Transactions
2521
2755
  */
2522
2756
  serialize(serializer: Serializer): void;
2523
2757
  /**
@@ -2526,12 +2760,16 @@ interface EntryFunctionArgument {
2526
2760
  * the number of the following bytes followed by the BCS-serialized bytes for a typed argument.
2527
2761
  *
2528
2762
  * @param serializer - The serializer used to convert the argument.
2763
+ * @group Implementation
2764
+ * @category Transactions
2529
2765
  */
2530
2766
  serializeForEntryFunction(serializer: Serializer): void;
2531
2767
  /**
2532
2768
  * Convert the argument to BCS-serialized bytes.
2533
2769
  *
2534
2770
  * @returns Uint8Array representing the BCS-serialized bytes of the argument.
2771
+ * @group Implementation
2772
+ * @category Transactions
2535
2773
  */
2536
2774
  bcsToBytes(): Uint8Array;
2537
2775
  /**
@@ -2539,21 +2777,29 @@ interface EntryFunctionArgument {
2539
2777
  * This function is useful for obtaining a Hex instance that encapsulates the BCS-serialized bytes,
2540
2778
  * allowing for easier manipulation and representation of the data.
2541
2779
  * @returns A Hex instance containing the BCS-serialized bytes.
2780
+ * @group Implementation
2781
+ * @category Transactions
2542
2782
  */
2543
2783
  bcsToHex(): Hex;
2544
2784
  }
2545
2785
  /**
2546
2786
  * Represents an argument for script functions, providing methods to serialize and convert to bytes.
2787
+ * @group Implementation
2788
+ * @category Transactions
2547
2789
  */
2548
2790
  interface ScriptFunctionArgument {
2549
2791
  /**
2550
2792
  * Serialize an argument to BCS-serialized bytes.
2793
+ * @group Implementation
2794
+ * @category Transactions
2551
2795
  */
2552
2796
  serialize(serializer: Serializer): void;
2553
2797
  /**
2554
2798
  * Serialize an argument to BCS-serialized bytes as a type aware byte sequence.
2555
2799
  * The byte sequence contains an enum variant index followed by the BCS-serialized
2556
2800
  * bytes for a typed argument.
2801
+ * @group Implementation
2802
+ * @category Transactions
2557
2803
  */
2558
2804
  serializeForScriptFunction(serializer: Serializer): void;
2559
2805
  bcsToBytes(): Uint8Array;
@@ -2562,6 +2808,8 @@ interface ScriptFunctionArgument {
2562
2808
 
2563
2809
  /**
2564
2810
  * Provides reasons for an address was invalid.
2811
+ * @group Implementation
2812
+ * @category Serialization
2565
2813
  */
2566
2814
  declare enum AddressInvalidReason {
2567
2815
  INCORRECT_NUMBER_OF_BYTES = "incorrect_number_of_bytes",
@@ -2575,6 +2823,8 @@ declare enum AddressInvalidReason {
2575
2823
  }
2576
2824
  /**
2577
2825
  * The input for an account address, which can be either a hexadecimal string or a standard account address.
2826
+ * @group Implementation
2827
+ * @category Serialization
2578
2828
  */
2579
2829
  type AccountAddressInput = HexInput | AccountAddress;
2580
2830
  /**
@@ -2592,18 +2842,26 @@ type AccountAddressInput = HexInput | AccountAddress;
2592
2842
  *
2593
2843
  * The comments in this class make frequent reference to the LONG and SHORT formats,
2594
2844
  * as well as "special" addresses. To learn what these refer to see AIP-40.
2845
+ * @group Implementation
2846
+ * @category Serialization
2595
2847
  */
2596
2848
  declare class AccountAddress extends Serializable implements TransactionArgument {
2597
2849
  /**
2598
2850
  * This is the internal representation of an account address.
2851
+ * @group Implementation
2852
+ * @category Serialization
2599
2853
  */
2600
2854
  readonly data: Uint8Array;
2601
2855
  /**
2602
2856
  * The number of bytes that make up an account address.
2857
+ * @group Implementation
2858
+ * @category Serialization
2603
2859
  */
2604
2860
  static readonly LENGTH: number;
2605
2861
  /**
2606
2862
  * The length of an address string in LONG form without a leading 0x.
2863
+ * @group Implementation
2864
+ * @category Serialization
2607
2865
  */
2608
2866
  static readonly LONG_STRING_LENGTH: number;
2609
2867
  static ZERO: AccountAddress;
@@ -2619,6 +2877,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2619
2877
  *
2620
2878
  * @param input A Uint8Array representing an account address.
2621
2879
  * @throws ParsingError if the input length is not equal to 32 bytes.
2880
+ * @group Implementation
2881
+ * @category Serialization
2622
2882
  */
2623
2883
  constructor(input: Uint8Array);
2624
2884
  /**
@@ -2630,6 +2890,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2630
2890
  * https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-40.md.
2631
2891
  *
2632
2892
  * @returns true if the address is special, false otherwise.
2893
+ * @group Implementation
2894
+ * @category Serialization
2633
2895
  */
2634
2896
  isSpecial(): boolean;
2635
2897
  /**
@@ -2639,6 +2901,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2639
2901
  * and other addresses in LONG form (0x + 64 characters).
2640
2902
  *
2641
2903
  * @returns AccountAddress as a string conforming to AIP-40.
2904
+ * @group Implementation
2905
+ * @category Serialization
2642
2906
  */
2643
2907
  toString(): `0x${string}`;
2644
2908
  /**
@@ -2647,6 +2911,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2647
2911
  * NOTE: Prefer to use `toString` where possible.
2648
2912
  *
2649
2913
  * @returns AccountAddress as a string without the leading 0x.
2914
+ * @group Implementation
2915
+ * @category Serialization
2650
2916
  */
2651
2917
  toStringWithoutPrefix(): string;
2652
2918
  /**
@@ -2655,6 +2921,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2655
2921
  * NOTE: Prefer to use `toString` where possible, as it formats special addresses using the SHORT form (no leading 0s).
2656
2922
  *
2657
2923
  * @returns AccountAddress as a string in LONG form.
2924
+ * @group Implementation
2925
+ * @category Serialization
2658
2926
  */
2659
2927
  toStringLong(): `0x${string}`;
2660
2928
  /**
@@ -2664,6 +2932,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2664
2932
  * NOTE: Prefer to use `toString` where possible, as it formats special addresses using the SHORT form (no leading 0s).
2665
2933
  *
2666
2934
  * @returns {string} The account address in LONG form.
2935
+ * @group Implementation
2936
+ * @category Serialization
2667
2937
  */
2668
2938
  toStringLongWithoutPrefix(): string;
2669
2939
  /**
@@ -2671,6 +2941,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2671
2941
  * The inner data is already a Uint8Array, so no conversion takes place.
2672
2942
  *
2673
2943
  * @returns Hex data as Uint8Array
2944
+ * @group Implementation
2945
+ * @category Serialization
2674
2946
  */
2675
2947
  toUint8Array(): Uint8Array;
2676
2948
  /**
@@ -2683,6 +2955,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2683
2955
  * address.serialize(serializer);
2684
2956
  * const bytes = serializer.toUint8Array();
2685
2957
  * // `bytes` is now the BCS-serialized address.
2958
+ * @group Implementation
2959
+ * @category Serialization
2686
2960
  */
2687
2961
  serialize(serializer: Serializer): void;
2688
2962
  /**
@@ -2690,6 +2964,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2690
2964
  * This allows for the proper encoding of data when interacting with entry functions in the blockchain.
2691
2965
  *
2692
2966
  * @param serializer - The serializer instance used to convert the data into bytes.
2967
+ * @group Implementation
2968
+ * @category Serialization
2693
2969
  */
2694
2970
  serializeForEntryFunction(serializer: Serializer): void;
2695
2971
  /**
@@ -2697,6 +2973,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2697
2973
  * This process involves serializing the variant index and the instance data, making it suitable for transmission.
2698
2974
  *
2699
2975
  * @param serializer - The serializer instance used to perform the serialization.
2976
+ * @group Implementation
2977
+ * @category Serialization
2700
2978
  */
2701
2979
  serializeForScriptFunction(serializer: Serializer): void;
2702
2980
  /**
@@ -2709,6 +2987,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2709
2987
  * const deserializer = new Deserializer(bytes);
2710
2988
  * const address = AccountAddress.deserialize(deserializer);
2711
2989
  * // `address` is now an instance of AccountAddress.
2990
+ * @group Implementation
2991
+ * @category Serialization
2712
2992
  */
2713
2993
  static deserialize(deserializer: Deserializer): AccountAddress;
2714
2994
  /**
@@ -2743,6 +3023,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2743
3023
  * https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-40.md.
2744
3024
  *
2745
3025
  * @returns An instance of AccountAddress.
3026
+ * @group Implementation
3027
+ * @category Serialization
2746
3028
  */
2747
3029
  static fromStringStrict(input: string): AccountAddress;
2748
3030
  /**
@@ -2772,6 +3054,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2772
3054
  * @returns An instance of AccountAddress.
2773
3055
  *
2774
3056
  * @throws ParsingError if the hex string is too short, too long, or contains invalid characters.
3057
+ * @group Implementation
3058
+ * @category Serialization
2775
3059
  */
2776
3060
  static fromString(input: string, { maxMissingChars }?: {
2777
3061
  maxMissingChars?: number;
@@ -2784,6 +3068,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2784
3068
  * @param input - The input to convert into an AccountAddress. This can be a string representation of an address, a Uint8Array,
2785
3069
  * or an existing AccountAddress.
2786
3070
  * @param args.maxMissingChars The number of characters that can be missing in a padded address before it is invalid.
3071
+ * @group Implementation
3072
+ * @category Serialization
2787
3073
  */
2788
3074
  static from(input: AccountAddressInput, { maxMissingChars }?: {
2789
3075
  maxMissingChars?: number;
@@ -2792,6 +3078,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2792
3078
  * Create an AccountAddress from various input types, including strings, Uint8Array, and AccountAddress instances.
2793
3079
  *
2794
3080
  * @param input - The input to convert into an AccountAddress, which can be a string, a Uint8Array, or an AccountAddress.
3081
+ * @group Implementation
3082
+ * @category Serialization
2795
3083
  */
2796
3084
  static fromStrict(input: AccountAddressInput): AccountAddress;
2797
3085
  /**
@@ -2803,6 +3091,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2803
3091
  *
2804
3092
  * @returns An object indicating whether the address is valid. If valid, valid = true; if not, valid = false with additional details.
2805
3093
  * If the address is invalid, invalidReason will explain why it is invalid, and invalidReasonMessage will provide the error message.
3094
+ * @group Implementation
3095
+ * @category Serialization
2806
3096
  */
2807
3097
  static isValid(args: {
2808
3098
  input: AccountAddressInput;
@@ -2813,6 +3103,8 @@ declare class AccountAddress extends Serializable implements TransactionArgument
2813
3103
  *
2814
3104
  * @param other - The AccountAddress to compare to.
2815
3105
  * @returns true if the AccountAddresses are equal, false if not.
3106
+ * @group Implementation
3107
+ * @category Serialization
2816
3108
  */
2817
3109
  equals(other: AccountAddress): boolean;
2818
3110
  }