@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
@@ -1,6 +1,7 @@
1
1
  // Copyright © Aptos Foundation
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
+ import { CallArgument } from "@aptos-labs/script-composer-pack";
4
5
  import { AptosConfig } from "../api/aptosConfig";
5
6
  import { MoveOption, MoveString, MoveVector } from "../bcs/serializable/moveStructs";
6
7
  import { Bool, U128, U16, U256, U32, U64, U8 } from "../bcs/serializable/movePrimitives";
@@ -24,6 +25,8 @@ import { Serialized } from "../bcs";
24
25
 
25
26
  /**
26
27
  * Entry function arguments for building a raw transaction using remote ABI, supporting various data types including primitives and arrays.
28
+ * @group Implementation
29
+ * @category Transactions
27
30
  */
28
31
  export type SimpleEntryFunctionArgumentTypes =
29
32
  | boolean
@@ -38,6 +41,8 @@ export type SimpleEntryFunctionArgumentTypes =
38
41
 
39
42
  /**
40
43
  * Entry function arguments for building a raw transaction using BCS serialized arguments.
44
+ * @group Implementation
45
+ * @category Transactions
41
46
  */
42
47
  export type EntryFunctionArgumentTypes =
43
48
  | Bool
@@ -55,6 +60,8 @@ export type EntryFunctionArgumentTypes =
55
60
 
56
61
  /**
57
62
  * Script function arguments for building raw transactions using BCS serialized arguments.
63
+ * @group Implementation
64
+ * @category Transactions
58
65
  */
59
66
  export type ScriptFunctionArgumentTypes =
60
67
  | Bool
@@ -88,11 +95,15 @@ export type ScriptFunctionArgumentTypes =
88
95
  * - vector<Type>
89
96
  * - address::module::struct
90
97
  * - address::module::struct<Type1, Type2>
98
+ * @group Implementation
99
+ * @category Transactions
91
100
  */
92
101
  export type TypeArgument = TypeTag | string;
93
102
 
94
103
  /**
95
104
  * Holds all return interfaces for generating different transaction types.
105
+ * @group Implementation
106
+ * @category Transactions
96
107
  */
97
108
  export type AnyRawTransactionInstance = RawTransaction | MultiAgentRawTransaction | FeePayerRawTransaction;
98
109
 
@@ -100,6 +111,8 @@ export type AnyRawTransactionInstance = RawTransaction | MultiAgentRawTransactio
100
111
 
101
112
  /**
102
113
  * Optional options to set when generating a transaction, including a maximum gas amount.
114
+ * @group Implementation
115
+ * @category Transactions
103
116
  */
104
117
  export type InputGenerateTransactionOptions = {
105
118
  maxGasAmount?: number;
@@ -111,6 +124,8 @@ export type InputGenerateTransactionOptions = {
111
124
  /**
112
125
  * The transaction payload type generated from the `generateTransactionPayload()` function, which can be an entry function,
113
126
  * script, or multi-signature payload.
127
+ * @group Implementation
128
+ * @category Transactions
114
129
  */
115
130
  export type AnyTransactionPayloadInstance =
116
131
  | TransactionPayloadEntryFunction
@@ -119,12 +134,16 @@ export type AnyTransactionPayloadInstance =
119
134
 
120
135
  /**
121
136
  * The data needed to generate a transaction payload for Entry Function, Script, or Multi Sig types.
137
+ * @group Implementation
138
+ * @category Transactions
122
139
  */
123
140
  export type InputGenerateTransactionPayloadData = InputEntryFunctionData | InputScriptData | InputMultiSigData;
124
141
 
125
142
  /**
126
143
  * The payload for generating a transaction, which can be either script data, entry function data with remote ABI, or
127
144
  * multi-signature data.
145
+ * @group Implementation
146
+ * @category Transactions
128
147
  */
129
148
  export type InputGenerateTransactionPayloadDataWithRemoteABI =
130
149
  | InputScriptData
@@ -133,6 +152,8 @@ export type InputGenerateTransactionPayloadDataWithRemoteABI =
133
152
 
134
153
  /**
135
154
  * The data needed to generate an Entry Function payload.
155
+ * @group Implementation
156
+ * @category Transactions
136
157
  */
137
158
  export type InputEntryFunctionData = {
138
159
  function: MoveFunctionId;
@@ -143,11 +164,15 @@ export type InputEntryFunctionData = {
143
164
 
144
165
  /**
145
166
  * The payload for generating a transaction, which can be either an entry function or a multi-signature transaction.
167
+ * @group Implementation
168
+ * @category Transactions
146
169
  */
147
170
  export type InputGenerateTransactionPayloadDataWithABI = InputEntryFunctionDataWithABI | InputMultiSigDataWithABI;
148
171
 
149
172
  /**
150
173
  * The input data for an entry function, including its associated ABI.
174
+ * @group Implementation
175
+ * @category Transactions
151
176
  */
152
177
  export type InputEntryFunctionDataWithABI = Omit<InputEntryFunctionData, "abi"> & {
153
178
  abi: EntryFunctionABI;
@@ -155,6 +180,8 @@ export type InputEntryFunctionDataWithABI = Omit<InputEntryFunctionData, "abi">
155
180
 
156
181
  /**
157
182
  * The data needed to generate a Multi Sig payload, including the multisig address.
183
+ * @group Implementation
184
+ * @category Transactions
158
185
  */
159
186
  export type InputMultiSigDataWithABI = {
160
187
  multisigAddress: AccountAddressInput;
@@ -162,10 +189,24 @@ export type InputMultiSigDataWithABI = {
162
189
 
163
190
  /**
164
191
  * Combines input function data with Aptos configuration for remote ABI interactions.
192
+ * @group Implementation
193
+ * @category Transactions
165
194
  */
166
195
  export type InputEntryFunctionDataWithRemoteABI = InputEntryFunctionData & { aptosConfig: AptosConfig };
196
+
197
+ /**
198
+ * The data needed to generate a batched function payload
199
+ */
200
+ export type InputBatchedFunctionData = {
201
+ function: MoveFunctionId;
202
+ typeArguments?: Array<TypeArgument>;
203
+ functionArguments: Array<EntryFunctionArgumentTypes | CallArgument | SimpleEntryFunctionArgumentTypes>;
204
+ };
205
+
167
206
  /**
168
207
  * The data needed to generate a Multi Sig payload
208
+ * @group Implementation
209
+ * @category Transactions
169
210
  */
170
211
  export type InputMultiSigData = {
171
212
  multisigAddress: AccountAddressInput;
@@ -173,6 +214,8 @@ export type InputMultiSigData = {
173
214
 
174
215
  /**
175
216
  * The data needed to generate a Multi Sig payload, including the multisig address.
217
+ * @group Implementation
218
+ * @category Transactions
176
219
  */
177
220
  export type InputMultiSigDataWithRemoteABI = {
178
221
  multisigAddress: AccountAddressInput;
@@ -180,6 +223,8 @@ export type InputMultiSigDataWithRemoteABI = {
180
223
 
181
224
  /**
182
225
  * The data needed to generate a Script payload.
226
+ * @group Implementation
227
+ * @category Transactions
183
228
  */
184
229
  export type InputScriptData = {
185
230
  bytecode: HexInput;
@@ -189,6 +234,8 @@ export type InputScriptData = {
189
234
 
190
235
  /**
191
236
  * The data needed to generate a View Function payload.
237
+ * @group Implementation
238
+ * @category Transactions
192
239
  */
193
240
  export type InputViewFunctionData = {
194
241
  function: MoveFunctionId;
@@ -199,6 +246,8 @@ export type InputViewFunctionData = {
199
246
 
200
247
  /**
201
248
  * The data needed to generate a View Function payload in JSON format.
249
+ * @group Implementation
250
+ * @category Transactions
202
251
  */
203
252
  export type InputViewFunctionJsonData = {
204
253
  function: MoveFunctionId;
@@ -208,6 +257,8 @@ export type InputViewFunctionJsonData = {
208
257
 
209
258
  /**
210
259
  * The payload sent to the fullnode for a JSON view request.
260
+ * @group Implementation
261
+ * @category Transactions
211
262
  */
212
263
  export type ViewFunctionJsonPayload = {
213
264
  function: MoveFunctionId;
@@ -217,16 +268,22 @@ export type ViewFunctionJsonPayload = {
217
268
 
218
269
  /**
219
270
  * Data required to create a view function payload and retrieve the remote ABI, including Aptos configuration.
271
+ * @group Implementation
272
+ * @category Transactions
220
273
  */
221
274
  export type InputViewFunctionDataWithRemoteABI = InputViewFunctionData & { aptosConfig: AptosConfig };
222
275
 
223
276
  /**
224
277
  * Data needed to generate a view function, including the fetched ABI.
278
+ * @group Implementation
279
+ * @category Transactions
225
280
  */
226
281
  export type InputViewFunctionDataWithABI = InputViewFunctionData & { abi: ViewFunctionABI };
227
282
 
228
283
  /**
229
284
  * Data needed for a generic function ABI, applicable to both view and entry functions.
285
+ * @group Implementation
286
+ * @category Transactions
230
287
  */
231
288
  export type FunctionABI = {
232
289
  typeParameters: Array<MoveFunctionGenericTypeParam>;
@@ -235,6 +292,8 @@ export type FunctionABI = {
235
292
 
236
293
  /**
237
294
  * Interface for an Entry function's ABI, enabling type checking and input conversion for ABI-based transaction submissions.
295
+ * @group Implementation
296
+ * @category Transactions
238
297
  */
239
298
  export type EntryFunctionABI = FunctionABI & {
240
299
  signers?: number;
@@ -242,6 +301,8 @@ export type EntryFunctionABI = FunctionABI & {
242
301
 
243
302
  /**
244
303
  * Interface for a view function's ABI, providing type checking and input conversion for ABI-based transaction submissions.
304
+ * @group Implementation
305
+ * @category Transactions
245
306
  */
246
307
  export type ViewFunctionABI = FunctionABI & {
247
308
  returnTypes: Array<TypeTag>;
@@ -255,6 +316,8 @@ export type ViewFunctionABI = FunctionABI & {
255
316
  * @param payload - The transaction payload.
256
317
  * @param options - Optional transaction generation options.
257
318
  * @param feePayerAddress - Optional address of the fee payer.
319
+ * @group Implementation
320
+ * @category Transactions
258
321
  */
259
322
  export interface InputGenerateSingleSignerRawTransactionArgs {
260
323
  aptosConfig: AptosConfig;
@@ -273,6 +336,8 @@ export interface InputGenerateSingleSignerRawTransactionArgs {
273
336
  * @param secondarySignerAddresses - List of secondary signer addresses.
274
337
  * @param options - Optional settings for transaction generation.
275
338
  * @param feePayerAddress - Optional address of the fee payer.
339
+ * @group Implementation
340
+ * @category Transactions
276
341
  */
277
342
  export interface InputGenerateMultiAgentRawTransactionArgs {
278
343
  aptosConfig: AptosConfig;
@@ -285,6 +350,8 @@ export interface InputGenerateMultiAgentRawTransactionArgs {
285
350
 
286
351
  /**
287
352
  * A unified type for generating various transaction types.
353
+ * @group Implementation
354
+ * @category Transactions
288
355
  */
289
356
  export type InputGenerateRawTransactionArgs =
290
357
  | InputGenerateSingleSignerRawTransactionArgs
@@ -292,6 +359,8 @@ export type InputGenerateRawTransactionArgs =
292
359
 
293
360
  /**
294
361
  * Unified type that holds all the return interfaces when generating different transaction types
362
+ * @group Implementation
363
+ * @category Transactions
295
364
  */
296
365
  export type AnyRawTransaction = SimpleTransaction | MultiAgentTransaction;
297
366
 
@@ -299,23 +368,33 @@ export type AnyRawTransaction = SimpleTransaction | MultiAgentTransaction;
299
368
 
300
369
  /**
301
370
  * The data required to simulate a transaction, typically generated by `generateTransaction()`.
371
+ * @group Implementation
372
+ * @category Transactions
302
373
  */
303
374
  export type InputSimulateTransactionData = {
304
375
  /**
305
376
  * The transaction to simulate, probably generated by `generateTransaction()`
377
+ * @group Implementation
378
+ * @category Transactions
306
379
  */
307
380
  transaction: AnyRawTransaction;
308
381
  /**
309
382
  * For a single signer transaction
383
+ * @group Implementation
384
+ * @category Transactions
310
385
  * This is optional and can be undefined to skip the public/auth key check during the transaction simulation.
311
386
  */
312
387
  signerPublicKey?: PublicKey;
313
388
  /**
314
389
  * For a fee payer or multi-agent transaction that requires additional signers in
390
+ * @group Implementation
391
+ * @category Transactions
315
392
  */
316
393
  secondarySignersPublicKeys?: Array<PublicKey | undefined>;
317
394
  /**
318
395
  * For a fee payer transaction (aka Sponsored Transaction)
396
+ * @group Implementation
397
+ * @category Transactions
319
398
  */
320
399
  feePayerPublicKey?: PublicKey;
321
400
  options?: InputSimulateTransactionOptions;
@@ -323,6 +402,8 @@ export type InputSimulateTransactionData = {
323
402
 
324
403
  /**
325
404
  * Options for simulating a transaction input, including whether to estimate the gas unit price.
405
+ * @group Implementation
406
+ * @category Transactions
326
407
  */
327
408
  export type InputSimulateTransactionOptions = {
328
409
  estimateGasUnitPrice?: boolean;
@@ -340,6 +421,8 @@ export type InputSimulateTransactionOptions = {
340
421
  * @param options - Optional transaction options.
341
422
  * @param withFeePayer - Indicates if the fee payer is included.
342
423
  * @param secondarySignerAddresses - Addresses for any secondary signers (not used in single signer transactions).
424
+ * @group Implementation
425
+ * @category Transactions
343
426
  */
344
427
  export interface InputGenerateSingleSignerRawTransactionData {
345
428
  sender: AccountAddressInput;
@@ -357,6 +440,8 @@ export interface InputGenerateSingleSignerRawTransactionData {
357
440
  * @param secondarySignerAddresses - An array of addresses for secondary signers.
358
441
  * @param options - Optional transaction options.
359
442
  * @param withFeePayer - Indicates if a fee payer is included.
443
+ * @group Implementation
444
+ * @category Transactions
360
445
  */
361
446
  export interface InputGenerateMultiAgentRawTransactionData {
362
447
  sender: AccountAddressInput;
@@ -368,6 +453,8 @@ export interface InputGenerateMultiAgentRawTransactionData {
368
453
 
369
454
  /**
370
455
  * Unified type holding user data input interfaces for generating various transaction types.
456
+ * @group Implementation
457
+ * @category Transactions
371
458
  */
372
459
  export type InputGenerateTransactionData =
373
460
  | InputGenerateSingleSignerRawTransactionData
@@ -380,6 +467,8 @@ export type InputGenerateTransactionData =
380
467
  * @param senderAuthenticator - The authenticator for the sender's account.
381
468
  * @param feePayerAuthenticator - Optional authenticator for the fee payer's account.
382
469
  * @param additionalSignersAuthenticators - Optional array of authenticators for additional signers.
470
+ * @group Implementation
471
+ * @category Transactions
383
472
  */
384
473
  export interface InputSubmitTransactionData {
385
474
  transaction: AnyRawTransaction;
@@ -1,2 +1,3 @@
1
1
  export * from "./indexer";
2
2
  export * from "./types";
3
+ export { CallArgument } from "@aptos-labs/script-composer-pack";
@@ -9,6 +9,8 @@
9
9
  *
10
10
  * These types are used as the return type when making the actual request (usually
11
11
  * under the /internal/ folder)
12
+ * @group Implementation
13
+ * @category Types
12
14
  */
13
15
 
14
16
  import {
@@ -43,120 +45,166 @@ import {
43
45
  *
44
46
  * These types are used as the return type when calling a sdk api function
45
47
  * that calls the function that queries the server (usually under the /api/ folder)
48
+ * @group Implementation
49
+ * @category Types
46
50
  */
47
51
  export type GetObjectDataQueryResponse = GetObjectDataQuery["current_objects"];
48
52
 
49
53
  /**
50
54
  * The response structure for querying tokens owned by an account.
55
+ * @group Implementation
56
+ * @category Types
51
57
  */
52
58
  export type GetAccountOwnedTokensQueryResponse = GetAccountOwnedTokensQuery["current_token_ownerships_v2"];
53
59
 
54
60
  /**
55
61
  * The response containing the current token ownerships for an account from a specific collection.
62
+ * @group Implementation
63
+ * @category Types
56
64
  */
57
65
  export type GetAccountOwnedTokensFromCollectionResponse =
58
66
  GetAccountOwnedTokensFromCollectionQuery["current_token_ownerships_v2"];
59
67
 
60
68
  /**
61
69
  * The response structure for retrieving account collections associated with owned tokens.
70
+ * @group Implementation
71
+ * @category Types
62
72
  */
63
73
  export type GetAccountCollectionsWithOwnedTokenResponse =
64
74
  GetAccountCollectionsWithOwnedTokensQuery["current_collection_ownership_v2_view"];
65
75
 
66
76
  /**
67
77
  * The current balances of fungible assets for an account.
78
+ * @group Implementation
79
+ * @category Types
68
80
  */
69
81
  export type GetAccountCoinsDataResponse = GetAccountCoinsDataQuery["current_fungible_asset_balances"];
70
82
 
71
83
  /**
72
84
  * The response structure for retrieving user transactions from the top of the blockchain.
85
+ * @group Implementation
86
+ * @category Types
73
87
  */
74
88
  export type GetChainTopUserTransactionsResponse = GetChainTopUserTransactionsQuery["user_transactions"];
75
89
 
76
90
  /**
77
91
  * The response containing the events from the GetEventsQuery.
92
+ * @group Implementation
93
+ * @category Types
78
94
  */
79
95
  export type GetEventsResponse = GetEventsQuery["events"];
80
96
 
81
97
  /**
82
98
  * The number of active delegators per pool in response to a query.
99
+ * @group Implementation
100
+ * @category Types
83
101
  */
84
102
  export type GetNumberOfDelegatorsResponse = GetNumberOfDelegatorsQuery["num_active_delegator_per_pool"];
85
103
 
86
104
  /**
87
105
  * The response containing the delegated staking activities from the query.
106
+ * @group Implementation
107
+ * @category Types
88
108
  */
89
109
  export type GetDelegatedStakingActivitiesResponse = GetDelegatedStakingActivitiesQuery["delegated_staking_activities"];
90
110
 
91
111
  /**
92
112
  * The response structure for retrieving data from the current collections.
113
+ * @group Implementation
114
+ * @category Types
93
115
  */
94
116
  export type GetCollectionDataResponse = GetCollectionDataQuery["current_collections_v2"][0];
95
117
 
96
118
  /**
97
119
  * The response structure for retrieving token data, containing the current token information.
120
+ * @group Implementation
121
+ * @category Types
98
122
  */
99
123
  export type GetTokenDataResponse = GetTokenDataQuery["current_token_datas_v2"][0];
100
124
 
101
125
  /**
102
126
  * The status of the processor as returned by the GetProcessorStatusQuery.
127
+ * @group Implementation
128
+ * @category Types
103
129
  */
104
130
  export type GetProcessorStatusResponse = GetProcessorStatusQuery["processor_status"];
105
131
 
106
132
  /**
107
133
  * The response containing metadata for a fungible asset.
134
+ * @group Implementation
135
+ * @category Types
108
136
  */
109
137
  export type GetFungibleAssetMetadataResponse = GetFungibleAssetMetadataQuery["fungible_asset_metadata"];
110
138
 
111
139
  /**
112
140
  * The response containing the activities related to fungible assets.
141
+ * @group Implementation
142
+ * @category Types
113
143
  */
114
144
  export type GetFungibleAssetActivitiesResponse = GetFungibleAssetActivitiesQuery["fungible_asset_activities"];
115
145
 
116
146
  /**
117
147
  * The current balances of fungible assets for a specific query.
148
+ * @group Implementation
149
+ * @category Types
118
150
  */
119
151
  export type GetCurrentFungibleAssetBalancesResponse =
120
152
  GetCurrentFungibleAssetBalancesQuery["current_fungible_asset_balances"];
121
153
 
122
154
  /**
123
155
  * The response structure for retrieving token activity data.
156
+ * @group Implementation
157
+ * @category Types
124
158
  */
125
159
  export type GetTokenActivityResponse = GetTokenActivityQuery["token_activities_v2"];
126
160
 
127
161
  /**
128
162
  * The response structure for retrieving the current token ownership details.
163
+ * @group Implementation
164
+ * @category Types
129
165
  */
130
166
  export type GetCurrentTokenOwnershipResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"][0];
131
167
 
132
168
  /**
133
169
  * The response containing the current token ownerships for a user.
170
+ * @group Implementation
171
+ * @category Types
134
172
  */
135
173
  export type GetOwnedTokensResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"];
136
174
 
137
175
  /**
138
176
  * The response structure for retrieving items from a table.
177
+ * @group Implementation
178
+ * @category Types
139
179
  */
140
180
  export type GetTableItemsDataResponse = GetTableItemsDataQuery["table_items"];
141
181
 
142
182
  /**
143
183
  * The metadata for table items retrieved from a query.
184
+ * @group Implementation
185
+ * @category Types
144
186
  */
145
187
  export type GetTableItemsMetadataResponse = GetTableItemsMetadataQuery["table_metadatas"];
146
188
 
147
189
  /**
148
190
  * The response containing the current Aptos names from the GetNamesQuery.
191
+ * @group Implementation
192
+ * @category Types
149
193
  */
150
194
  export type GetANSNameResponse = GetNamesQuery["current_aptos_names"];
151
195
 
152
196
  /**
153
197
  * A generic type that being passed by each function and holds an
154
198
  * array of properties we can sort the query by
199
+ * @group Implementation
200
+ * @category Types
155
201
  */
156
202
  export type OrderBy<T> = Array<{ [K in keyof T]?: OrderByValue }>;
157
203
 
158
204
  /**
159
205
  * Specifies the order direction for sorting, including options for handling null values.
206
+ * @group Implementation
207
+ * @category Types
160
208
  */
161
209
  export type OrderByValue =
162
210
  | "asc"
@@ -168,11 +216,15 @@ export type OrderByValue =
168
216
 
169
217
  /**
170
218
  * The token standard to query for, which can be either version "v1" or "v2".
219
+ * @group Implementation
220
+ * @category Types
171
221
  */
172
222
  export type TokenStandard = "v1" | "v2";
173
223
 
174
224
  /**
175
225
  * The GraphQL query to pass into the `queryIndexer` function.
226
+ * @group Implementation
227
+ * @category Types
176
228
  */
177
229
  export type GraphqlQuery = {
178
230
  query: string;
@@ -1,5 +1,7 @@
1
1
  /**
2
2
  * The payload for a prover request, containing a Base64-encoded JWT.
3
+ * @group Implementation
4
+ * @category Types
3
5
  */
4
6
  export type ProverRequest = {
5
7
  jwt_b64: string;
@@ -13,6 +15,8 @@ export type ProverRequest = {
13
15
 
14
16
  /**
15
17
  * The response from the prover containing the proof data.
18
+ * @group Implementation
19
+ * @category Types
16
20
  */
17
21
  export type ProverResponse = {
18
22
  proof: { a: string; b: string; c: string };
@@ -22,6 +26,8 @@ export type ProverResponse = {
22
26
 
23
27
  /**
24
28
  * The request payload for fetching data, containing a base64 encoded JWT.
29
+ * @group Implementation
30
+ * @category Types
25
31
  */
26
32
  export type PepperFetchRequest = {
27
33
  jwt_b64: number;
@@ -34,11 +40,15 @@ export type PepperFetchRequest = {
34
40
 
35
41
  /**
36
42
  * The response object containing the fetched pepper string.
43
+ * @group Implementation
44
+ * @category Types
37
45
  */
38
46
  export type PepperFetchResponse = { pepper: string; address: string };
39
47
 
40
48
  /**
41
49
  * The response for keyless configuration containing the maximum committed EPK bytes.
50
+ * @group Implementation
51
+ * @category Types
42
52
  */
43
53
  export type KeylessConfigurationResponse = {
44
54
  max_commited_epk_bytes: number;
@@ -53,6 +63,8 @@ export type KeylessConfigurationResponse = {
53
63
 
54
64
  /**
55
65
  * The response containing the Groth16 verification key, including the alpha_g1 component.
66
+ * @group Implementation
67
+ * @category Types
56
68
  */
57
69
  export type Groth16VerificationKeyResponse = {
58
70
  alpha_g1: string;
@@ -1,6 +1,10 @@
1
1
  // Copyright © Aptos Foundation
2
2
  // SPDX-License-Identifier: Apache-2.0
3
3
 
4
+ /**
5
+ * @group Implementation
6
+ * @category Network
7
+ */
4
8
  export const NetworkToIndexerAPI: Record<string, string> = {
5
9
  mainnet: "https://api.mainnet.aptoslabs.com/v1/graphql",
6
10
  testnet: "https://api.testnet.aptoslabs.com/v1/graphql",
@@ -8,6 +12,10 @@ export const NetworkToIndexerAPI: Record<string, string> = {
8
12
  local: "http://127.0.0.1:8090/v1/graphql",
9
13
  };
10
14
 
15
+ /**
16
+ * @group Implementation
17
+ * @category Network
18
+ */
11
19
  export const NetworkToNodeAPI: Record<string, string> = {
12
20
  mainnet: "https://api.mainnet.aptoslabs.com/v1",
13
21
  testnet: "https://api.testnet.aptoslabs.com/v1",
@@ -15,13 +23,19 @@ export const NetworkToNodeAPI: Record<string, string> = {
15
23
  local: "http://127.0.0.1:8080/v1",
16
24
  };
17
25
 
26
+ /**
27
+ * @group Implementation
28
+ * @category Network
29
+ */
18
30
  export const NetworkToFaucetAPI: Record<string, string> = {
19
- mainnet: "https://faucet.mainnet.aptoslabs.com",
20
- testnet: "https://faucet.testnet.aptoslabs.com",
21
31
  devnet: "https://faucet.devnet.aptoslabs.com",
22
32
  local: "http://127.0.0.1:8081",
23
33
  };
24
34
 
35
+ /**
36
+ * @group Implementation
37
+ * @category Network
38
+ */
25
39
  export const NetworkToPepperAPI: Record<string, string> = {
26
40
  mainnet: "https://api.mainnet.aptoslabs.com/keyless/pepper/v0",
27
41
  testnet: "https://api.testnet.aptoslabs.com/keyless/pepper/v0",
@@ -30,6 +44,10 @@ export const NetworkToPepperAPI: Record<string, string> = {
30
44
  local: "https://api.devnet.aptoslabs.com/keyless/pepper/v0",
31
45
  };
32
46
 
47
+ /**
48
+ * @group Implementation
49
+ * @category Network
50
+ */
33
51
  export const NetworkToProverAPI: Record<string, string> = {
34
52
  mainnet: "https://api.mainnet.aptoslabs.com/keyless/prover/v0",
35
53
  testnet: "https://api.testnet.aptoslabs.com/keyless/prover/v0",
@@ -40,6 +58,8 @@ export const NetworkToProverAPI: Record<string, string> = {
40
58
 
41
59
  /**
42
60
  * Different network environments for connecting to services, ranging from production to development setups.
61
+ * @group Implementation
62
+ * @category Network
43
63
  */
44
64
  export enum Network {
45
65
  MAINNET = "mainnet",
@@ -49,12 +69,20 @@ export enum Network {
49
69
  CUSTOM = "custom",
50
70
  }
51
71
 
72
+ /**
73
+ * @group Implementation
74
+ * @category Network
75
+ */
52
76
  export const NetworkToChainId: Record<string, number> = {
53
77
  mainnet: 1,
54
78
  testnet: 2,
55
79
  local: 4,
56
80
  };
57
81
 
82
+ /**
83
+ * @group Implementation
84
+ * @category Network
85
+ */
58
86
  export const NetworkToNetworkName: Record<string, Network> = {
59
87
  mainnet: Network.MAINNET,
60
88
  testnet: Network.TESTNET,