@aptos-labs/ts-sdk 1.14.0-zeta.0 → 1.14.0-zeta.2

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 (482) hide show
  1. package/dist/common/{accountAddress-NPQwRmxn.d.ts → accountAddress-u9wEan9p.d.ts} +32 -4
  2. package/dist/common/chunk-QRI7EC4T.js +24 -0
  3. package/dist/common/chunk-QRI7EC4T.js.map +1 -0
  4. package/dist/common/cli/index.d.ts +1 -1
  5. package/dist/common/cli/index.js +245 -1
  6. package/dist/common/cli/index.js.map +1 -1
  7. package/dist/common/index.d.ts +290 -171
  8. package/dist/common/index.js +11786 -374
  9. package/dist/common/index.js.map +1 -1
  10. package/dist/esm/account/Account.mjs +55 -1
  11. package/dist/esm/account/Ed25519Account.mjs +53 -1
  12. package/dist/esm/account/EphemeralKeyPair.d.mts +38 -5
  13. package/dist/esm/account/EphemeralKeyPair.mjs +36 -1
  14. package/dist/esm/account/KeylessAccount.d.mts +75 -37
  15. package/dist/esm/account/KeylessAccount.mjs +56 -1
  16. package/dist/esm/account/MultiKeyAccount.d.mts +4 -0
  17. package/dist/esm/account/MultiKeyAccount.mjs +55 -1
  18. package/dist/esm/account/SingleKeyAccount.mjs +53 -1
  19. package/dist/esm/account/index.d.mts +2 -1
  20. package/dist/esm/account/index.mjs +76 -1
  21. package/dist/esm/api/account.mjs +76 -1
  22. package/dist/esm/api/ans.mjs +87 -1
  23. package/dist/esm/api/aptos.d.mts +1 -0
  24. package/dist/esm/api/aptos.mjs +116 -1
  25. package/dist/esm/api/aptosConfig.mjs +9 -1
  26. package/dist/esm/api/coin.mjs +86 -1
  27. package/dist/esm/api/digitalAsset.mjs +87 -1
  28. package/dist/esm/api/event.mjs +54 -1
  29. package/dist/esm/api/faucet.mjs +53 -1
  30. package/dist/esm/api/fungibleAsset.mjs +87 -1
  31. package/dist/esm/api/general.mjs +84 -1
  32. package/dist/esm/api/index.d.mts +1 -0
  33. package/dist/esm/api/index.mjs +120 -1
  34. package/dist/esm/api/keyless.d.mts +19 -5
  35. package/dist/esm/api/keyless.mjs +70 -1
  36. package/dist/esm/api/staking.mjs +54 -1
  37. package/dist/esm/api/transaction.mjs +94 -1
  38. package/dist/esm/api/transactionSubmission/build.mjs +85 -1
  39. package/dist/esm/api/transactionSubmission/helpers.mjs +9 -1
  40. package/dist/esm/api/transactionSubmission/management.mjs +89 -1
  41. package/dist/esm/api/transactionSubmission/sign.mjs +109 -1
  42. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  43. package/dist/esm/api/transactionSubmission/simulate.mjs +86 -1
  44. package/dist/esm/api/transactionSubmission/submit.mjs +86 -1
  45. package/dist/esm/api/utils.mjs +34 -1
  46. package/dist/esm/bcs/consts.mjs +17 -1
  47. package/dist/esm/bcs/deserializer.d.mts +26 -0
  48. package/dist/esm/bcs/deserializer.mjs +8 -1
  49. package/dist/esm/bcs/index.mjs +57 -1
  50. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +12 -1
  51. package/dist/esm/bcs/serializable/fixedBytes.mjs +11 -1
  52. package/dist/esm/bcs/serializable/movePrimitives.mjs +25 -1
  53. package/dist/esm/bcs/serializable/moveStructs.mjs +18 -1
  54. package/dist/esm/bcs/serializer.mjs +18 -1
  55. package/dist/esm/chunk-2JOCR2VL.mjs +32 -0
  56. package/dist/esm/chunk-2JOCR2VL.mjs.map +1 -0
  57. package/dist/esm/chunk-2OQW7BMN.mjs +129 -0
  58. package/dist/esm/{chunk-7WJTKYRG.mjs.map → chunk-2OQW7BMN.mjs.map} +1 -1
  59. package/dist/esm/chunk-2TJJWII2.mjs +23 -0
  60. package/dist/esm/{chunk-MGOHPDX4.mjs.map → chunk-2TJJWII2.mjs.map} +1 -1
  61. package/dist/esm/chunk-2ZEGJU43.mjs +252 -0
  62. package/dist/esm/{chunk-KWNBC5MF.mjs.map → chunk-2ZEGJU43.mjs.map} +1 -1
  63. package/dist/esm/chunk-4OYYOYSO.mjs +336 -0
  64. package/dist/esm/chunk-4OYYOYSO.mjs.map +1 -0
  65. package/dist/esm/{chunk-S4SEFF4K.mjs → chunk-4PJ5FYGQ.mjs} +302 -27
  66. package/dist/esm/{chunk-S4SEFF4K.mjs.map → chunk-4PJ5FYGQ.mjs.map} +1 -1
  67. package/dist/esm/chunk-55NODGHC.mjs +135 -0
  68. package/dist/esm/{chunk-G4XSNSOT.mjs.map → chunk-55NODGHC.mjs.map} +1 -1
  69. package/dist/esm/chunk-6LRQSBRH.mjs +130 -0
  70. package/dist/esm/{chunk-C5UVSNZW.mjs.map → chunk-6LRQSBRH.mjs.map} +1 -1
  71. package/dist/esm/chunk-6MSZMIFW.mjs +23 -0
  72. package/dist/esm/{chunk-MWUJCP27.mjs.map → chunk-6MSZMIFW.mjs.map} +1 -1
  73. package/dist/esm/chunk-76TSTAU4.mjs +120 -0
  74. package/dist/esm/{chunk-FLYEALDB.mjs.map → chunk-76TSTAU4.mjs.map} +1 -1
  75. package/dist/esm/chunk-7FO3S6IZ.mjs +324 -0
  76. package/dist/esm/{chunk-3VGX3TXH.mjs.map → chunk-7FO3S6IZ.mjs.map} +1 -1
  77. package/dist/esm/chunk-7FUHWL6A.mjs +42 -0
  78. package/dist/esm/{chunk-SRPTQ4VV.mjs.map → chunk-7FUHWL6A.mjs.map} +1 -1
  79. package/dist/esm/chunk-7IDBB4J4.mjs +33 -0
  80. package/dist/esm/{chunk-PINF6ZWP.mjs.map → chunk-7IDBB4J4.mjs.map} +1 -1
  81. package/dist/esm/chunk-7JRMOHBP.mjs +247 -0
  82. package/dist/esm/chunk-7JRMOHBP.mjs.map +1 -0
  83. package/dist/esm/chunk-7REUIYF4.mjs +63 -0
  84. package/dist/esm/chunk-7REUIYF4.mjs.map +1 -0
  85. package/dist/esm/chunk-AC3OGAL6.mjs +87 -0
  86. package/dist/esm/{chunk-U6Z4FNB7.mjs.map → chunk-AC3OGAL6.mjs.map} +1 -1
  87. package/dist/esm/chunk-AR7X6GWQ.mjs +356 -0
  88. package/dist/esm/{chunk-EB7AI4B4.mjs.map → chunk-AR7X6GWQ.mjs.map} +1 -1
  89. package/dist/esm/chunk-ASF2VWOX.mjs +142 -0
  90. package/dist/esm/{chunk-O34EOOVF.mjs.map → chunk-ASF2VWOX.mjs.map} +1 -1
  91. package/dist/esm/chunk-ATVFVXR6.mjs +43 -0
  92. package/dist/esm/{chunk-IXYXFDJZ.mjs.map → chunk-ATVFVXR6.mjs.map} +1 -1
  93. package/dist/esm/chunk-B5S6DDUD.mjs +120 -0
  94. package/dist/esm/chunk-B5S6DDUD.mjs.map +1 -0
  95. package/dist/esm/chunk-BXMHDQHW.mjs +512 -0
  96. package/dist/esm/{chunk-DLTC6PJP.mjs.map → chunk-BXMHDQHW.mjs.map} +1 -1
  97. package/dist/esm/chunk-CC4DQ6NH.mjs +19 -0
  98. package/dist/esm/{chunk-H3TFQ7K4.mjs.map → chunk-CC4DQ6NH.mjs.map} +1 -1
  99. package/dist/esm/chunk-CMNJG4NN.mjs +345 -0
  100. package/dist/esm/{chunk-T23OVRNF.mjs.map → chunk-CMNJG4NN.mjs.map} +1 -1
  101. package/dist/esm/chunk-CTJSZT5V.mjs +87 -0
  102. package/dist/esm/{chunk-J7J7ZTBF.mjs.map → chunk-CTJSZT5V.mjs.map} +1 -1
  103. package/dist/esm/chunk-CX3NAVRD.mjs +205 -0
  104. package/dist/esm/chunk-CX3NAVRD.mjs.map +1 -0
  105. package/dist/esm/chunk-CXUGZXED.mjs +307 -0
  106. package/dist/esm/{chunk-EKABTHUZ.mjs.map → chunk-CXUGZXED.mjs.map} +1 -1
  107. package/dist/esm/chunk-D2BVBXWO.mjs +7 -0
  108. package/dist/esm/{chunk-7PSX4LCV.mjs.map → chunk-D2BVBXWO.mjs.map} +1 -1
  109. package/dist/esm/chunk-DGV7DYU4.mjs +413 -0
  110. package/dist/esm/{chunk-7Q2NVO5M.mjs.map → chunk-DGV7DYU4.mjs.map} +1 -1
  111. package/dist/esm/chunk-DIYZRGR6.mjs +242 -0
  112. package/dist/esm/{chunk-UVOU6BW2.mjs.map → chunk-DIYZRGR6.mjs.map} +1 -1
  113. package/dist/esm/chunk-DNPMS2OF.mjs +236 -0
  114. package/dist/esm/{chunk-PFFAQZHT.mjs.map → chunk-DNPMS2OF.mjs.map} +1 -1
  115. package/dist/esm/chunk-DVPQGCFT.mjs +74 -0
  116. package/dist/esm/{chunk-RBPGL6YB.mjs.map → chunk-DVPQGCFT.mjs.map} +1 -1
  117. package/dist/esm/chunk-EYHRMZPO.mjs +34 -0
  118. package/dist/esm/{chunk-AH44UPM4.mjs.map → chunk-EYHRMZPO.mjs.map} +1 -1
  119. package/dist/esm/chunk-F2ZWA7B7.mjs +412 -0
  120. package/dist/esm/{chunk-RTSEMQCK.mjs.map → chunk-F2ZWA7B7.mjs.map} +1 -1
  121. package/dist/esm/chunk-FDWJNY4U.mjs +22 -0
  122. package/dist/esm/{chunk-STYDBDYL.mjs.map → chunk-FDWJNY4U.mjs.map} +1 -1
  123. package/dist/esm/chunk-FF4JPDKD.mjs +315 -0
  124. package/dist/esm/{chunk-5DW2AJPI.mjs.map → chunk-FF4JPDKD.mjs.map} +1 -1
  125. package/dist/esm/chunk-FQQW55X7.mjs +288 -0
  126. package/dist/esm/{chunk-TVRJ3M7B.mjs.map → chunk-FQQW55X7.mjs.map} +1 -1
  127. package/dist/esm/chunk-FXKSE3ZP.mjs +25 -0
  128. package/dist/esm/{chunk-COW5IGYC.mjs.map → chunk-FXKSE3ZP.mjs.map} +1 -1
  129. package/dist/esm/chunk-GBEVD2VM.mjs +99 -0
  130. package/dist/esm/chunk-GBEVD2VM.mjs.map +1 -0
  131. package/dist/esm/chunk-GGMTQAQP.mjs +11 -0
  132. package/dist/esm/{chunk-3JPVQHOR.mjs.map → chunk-GGMTQAQP.mjs.map} +1 -1
  133. package/dist/esm/chunk-GSVQ6EUD.mjs +649 -0
  134. package/dist/esm/{chunk-WOLIXKOK.mjs.map → chunk-GSVQ6EUD.mjs.map} +1 -1
  135. package/dist/esm/chunk-HBNSRCZN.mjs +100 -0
  136. package/dist/esm/{chunk-FKSACFCB.mjs.map → chunk-HBNSRCZN.mjs.map} +1 -1
  137. package/dist/esm/chunk-IC56GQFJ.mjs +127 -0
  138. package/dist/esm/{chunk-XN4SQWI5.mjs.map → chunk-IC56GQFJ.mjs.map} +1 -1
  139. package/dist/esm/chunk-IHNPN5CQ.mjs +256 -0
  140. package/dist/esm/chunk-IHNPN5CQ.mjs.map +1 -0
  141. package/dist/esm/chunk-JHDHNGJ3.mjs +126 -0
  142. package/dist/esm/{chunk-JVKMQ64G.mjs.map → chunk-JHDHNGJ3.mjs.map} +1 -1
  143. package/dist/esm/chunk-JL2JHVS4.mjs +49 -0
  144. package/dist/esm/{chunk-ZNEBMSNC.mjs.map → chunk-JL2JHVS4.mjs.map} +1 -1
  145. package/dist/esm/chunk-JV3GSIJW.mjs +268 -0
  146. package/dist/esm/chunk-JV3GSIJW.mjs.map +1 -0
  147. package/dist/esm/chunk-KK2BSALW.mjs +32 -0
  148. package/dist/esm/{chunk-3FVRXELT.mjs.map → chunk-KK2BSALW.mjs.map} +1 -1
  149. package/dist/esm/chunk-KMXSRHJ6.mjs +93 -0
  150. package/dist/esm/{chunk-NMECYE3D.mjs.map → chunk-KMXSRHJ6.mjs.map} +1 -1
  151. package/dist/esm/chunk-KVSQ57HU.mjs +45 -0
  152. package/dist/esm/{chunk-NNW6HWIO.mjs.map → chunk-KVSQ57HU.mjs.map} +1 -1
  153. package/dist/esm/chunk-LI2QV6RU.mjs +129 -0
  154. package/dist/esm/chunk-LI2QV6RU.mjs.map +1 -0
  155. package/dist/esm/chunk-LLLQJWRZ.mjs +35 -0
  156. package/dist/esm/{chunk-QNHDS64I.mjs.map → chunk-LLLQJWRZ.mjs.map} +1 -1
  157. package/dist/esm/chunk-LYK4TQZO.mjs +70 -0
  158. package/dist/esm/{chunk-OZC3FCJP.mjs.map → chunk-LYK4TQZO.mjs.map} +1 -1
  159. package/dist/esm/chunk-LYMY63SO.mjs +124 -0
  160. package/dist/esm/{chunk-UGIJHLL3.mjs.map → chunk-LYMY63SO.mjs.map} +1 -1
  161. package/dist/esm/chunk-MZZLEY6O.mjs +92 -0
  162. package/dist/esm/{chunk-NKCZ4KGO.mjs.map → chunk-MZZLEY6O.mjs.map} +1 -1
  163. package/dist/esm/chunk-N4WKFNQ6.mjs +156 -0
  164. package/dist/esm/{chunk-LDQ6JFEF.mjs.map → chunk-N4WKFNQ6.mjs.map} +1 -1
  165. package/dist/esm/chunk-NFJCQRVK.mjs +37 -0
  166. package/dist/esm/{chunk-YE5B2S5L.mjs.map → chunk-NFJCQRVK.mjs.map} +1 -1
  167. package/dist/esm/chunk-NMKCJNQM.mjs +20 -0
  168. package/dist/esm/{chunk-TJDC5PWD.mjs.map → chunk-NMKCJNQM.mjs.map} +1 -1
  169. package/dist/esm/chunk-NW45SCPY.mjs +36 -0
  170. package/dist/esm/{chunk-V7P6MLSY.mjs.map → chunk-NW45SCPY.mjs.map} +1 -1
  171. package/dist/esm/chunk-NXFO2W4G.mjs +84 -0
  172. package/dist/esm/{chunk-D22EMNIY.mjs.map → chunk-NXFO2W4G.mjs.map} +1 -1
  173. package/dist/esm/chunk-NYL77J4X.mjs +97 -0
  174. package/dist/esm/{chunk-43WARVT3.mjs.map → chunk-NYL77J4X.mjs.map} +1 -1
  175. package/dist/esm/chunk-O6PSHSN3.mjs +53 -0
  176. package/dist/esm/{chunk-6LOTZ4GY.mjs.map → chunk-O6PSHSN3.mjs.map} +1 -1
  177. package/dist/esm/chunk-OR7TEZ25.mjs +16 -0
  178. package/dist/esm/chunk-PCLNX6FS.mjs +17 -0
  179. package/dist/esm/{chunk-6FBKUTGF.mjs.map → chunk-PCLNX6FS.mjs.map} +1 -1
  180. package/dist/esm/chunk-PIMQHG2J.mjs +49 -0
  181. package/dist/esm/{chunk-C3L4ETUF.mjs.map → chunk-PIMQHG2J.mjs.map} +1 -1
  182. package/dist/esm/chunk-PU5AFUX3.mjs +52 -0
  183. package/dist/esm/chunk-PU5AFUX3.mjs.map +1 -0
  184. package/dist/esm/chunk-PYLOAMR2.mjs +29 -0
  185. package/dist/esm/{chunk-HGZGTBA4.mjs.map → chunk-PYLOAMR2.mjs.map} +1 -1
  186. package/dist/esm/chunk-QBBTUC66.mjs +15 -0
  187. package/dist/esm/{chunk-ROXFCLDT.mjs.map → chunk-QBBTUC66.mjs.map} +1 -1
  188. package/dist/esm/chunk-QFOG4LIN.mjs +319 -0
  189. package/dist/esm/{chunk-RJ4PSGZ4.mjs.map → chunk-QFOG4LIN.mjs.map} +1 -1
  190. package/dist/esm/chunk-QMM2KL6C.mjs +12 -0
  191. package/dist/esm/{chunk-FBPNHF54.mjs.map → chunk-QMM2KL6C.mjs.map} +1 -1
  192. package/dist/esm/chunk-RCQMWXEW.mjs +35 -0
  193. package/dist/esm/{chunk-TXMPXZBG.mjs.map → chunk-RCQMWXEW.mjs.map} +1 -1
  194. package/dist/esm/chunk-RX4VG2AT.mjs +314 -0
  195. package/dist/esm/chunk-RX4VG2AT.mjs.map +1 -0
  196. package/dist/esm/chunk-SBB4YEPT.mjs +17 -0
  197. package/dist/esm/{chunk-56CNRT2K.mjs.map → chunk-SBB4YEPT.mjs.map} +1 -1
  198. package/dist/esm/chunk-SIJELMDP.mjs +29 -0
  199. package/dist/esm/{chunk-6EMN3BOV.mjs.map → chunk-SIJELMDP.mjs.map} +1 -1
  200. package/dist/esm/chunk-SS3NUM5L.mjs +94 -0
  201. package/dist/esm/{chunk-L54P6EGN.mjs.map → chunk-SS3NUM5L.mjs.map} +1 -1
  202. package/dist/esm/chunk-ST4QXIMI.mjs +37 -0
  203. package/dist/esm/{chunk-XMFPKHB5.mjs.map → chunk-ST4QXIMI.mjs.map} +1 -1
  204. package/dist/esm/chunk-TBHU6ZW6.mjs +215 -0
  205. package/dist/esm/{chunk-QHVZL3LZ.mjs.map → chunk-TBHU6ZW6.mjs.map} +1 -1
  206. package/dist/esm/chunk-TLNHRJB2.mjs +155 -0
  207. package/dist/esm/{chunk-H6LYW7HG.mjs.map → chunk-TLNHRJB2.mjs.map} +1 -1
  208. package/dist/esm/chunk-U3IUCR2G.mjs +54 -0
  209. package/dist/esm/{chunk-52ECIIIH.mjs.map → chunk-U3IUCR2G.mjs.map} +1 -1
  210. package/dist/esm/chunk-U7QBZ6PP.mjs +400 -0
  211. package/dist/esm/{chunk-ZM436N3W.mjs.map → chunk-U7QBZ6PP.mjs.map} +1 -1
  212. package/dist/esm/chunk-UEBBLQJ5.mjs +94 -0
  213. package/dist/esm/{chunk-7STYQ5ZE.mjs.map → chunk-UEBBLQJ5.mjs.map} +1 -1
  214. package/dist/esm/chunk-UKU6A2W2.mjs +232 -0
  215. package/dist/esm/{chunk-HXSW6X7K.mjs.map → chunk-UKU6A2W2.mjs.map} +1 -1
  216. package/dist/esm/chunk-UX5NSZEN.mjs +134 -0
  217. package/dist/esm/{chunk-WVIPPU2C.mjs.map → chunk-UX5NSZEN.mjs.map} +1 -1
  218. package/dist/esm/chunk-VDJBDX3A.mjs +79 -0
  219. package/dist/esm/{chunk-25N7RLBW.mjs.map → chunk-VDJBDX3A.mjs.map} +1 -1
  220. package/dist/esm/chunk-VJP2VWMF.mjs +58 -0
  221. package/dist/esm/{chunk-56NB52W6.mjs.map → chunk-VJP2VWMF.mjs.map} +1 -1
  222. package/dist/esm/chunk-VKJQORON.mjs +93 -0
  223. package/dist/esm/{chunk-3OELNIC6.mjs.map → chunk-VKJQORON.mjs.map} +1 -1
  224. package/dist/esm/chunk-VPWUODU4.mjs +51 -0
  225. package/dist/esm/{chunk-NNIHTVLA.mjs.map → chunk-VPWUODU4.mjs.map} +1 -1
  226. package/dist/esm/chunk-VZQXLVEP.mjs +197 -0
  227. package/dist/esm/{chunk-VJJN3GFD.mjs.map → chunk-VZQXLVEP.mjs.map} +1 -1
  228. package/dist/esm/chunk-W76MGKZB.mjs +33 -0
  229. package/dist/esm/{chunk-CLVAGDXO.mjs.map → chunk-W76MGKZB.mjs.map} +1 -1
  230. package/dist/esm/chunk-WDRH2URB.mjs +91 -0
  231. package/dist/esm/{chunk-65UZZNN2.mjs.map → chunk-WDRH2URB.mjs.map} +1 -1
  232. package/dist/esm/chunk-WHBWEN6N.mjs +206 -0
  233. package/dist/esm/{chunk-NGNETNK2.mjs.map → chunk-WHBWEN6N.mjs.map} +1 -1
  234. package/dist/esm/chunk-WK5ZSNE2.mjs +173 -0
  235. package/dist/esm/{chunk-6RBUXB5I.mjs.map → chunk-WK5ZSNE2.mjs.map} +1 -1
  236. package/dist/esm/chunk-WLTBF4DF.mjs +22 -0
  237. package/dist/esm/chunk-WLTBF4DF.mjs.map +1 -0
  238. package/dist/esm/chunk-WVGO4D7K.mjs +254 -0
  239. package/dist/esm/{chunk-OLGSIKFB.mjs.map → chunk-WVGO4D7K.mjs.map} +1 -1
  240. package/dist/esm/chunk-XANFAUBD.mjs +44 -0
  241. package/dist/esm/{chunk-NC5HHEEM.mjs.map → chunk-XANFAUBD.mjs.map} +1 -1
  242. package/dist/esm/chunk-Y2LV3S5W.mjs +410 -0
  243. package/dist/esm/{chunk-6SHLLRJA.mjs.map → chunk-Y2LV3S5W.mjs.map} +1 -1
  244. package/dist/esm/chunk-YV7M4CFP.mjs +137 -0
  245. package/dist/esm/{chunk-AOCNYMMX.mjs.map → chunk-YV7M4CFP.mjs.map} +1 -1
  246. package/dist/esm/chunk-YYOPNUX5.mjs +41 -0
  247. package/dist/esm/chunk-YYOPNUX5.mjs.map +1 -0
  248. package/dist/esm/chunk-ZAHJ7KXB.mjs +81 -0
  249. package/dist/esm/{chunk-Z5KKUXYI.mjs.map → chunk-ZAHJ7KXB.mjs.map} +1 -1
  250. package/dist/esm/chunk-ZMFKQUHL.mjs +117 -0
  251. package/dist/esm/{chunk-TICM455H.mjs.map → chunk-ZMFKQUHL.mjs.map} +1 -1
  252. package/dist/esm/cli/index.mjs +12 -1
  253. package/dist/esm/cli/localNode.mjs +8 -1
  254. package/dist/esm/cli/move.mjs +7 -1
  255. package/dist/esm/client/core.mjs +27 -1
  256. package/dist/esm/client/get.mjs +32 -1
  257. package/dist/esm/client/index.mjs +55 -1
  258. package/dist/esm/client/post.mjs +36 -1
  259. package/dist/esm/client/types.d.mts +5 -1
  260. package/dist/esm/client/types.mjs +7 -1
  261. package/dist/esm/core/account/index.mjs +19 -1
  262. package/dist/esm/core/account/utils/address.mjs +18 -1
  263. package/dist/esm/core/account/utils/index.mjs +19 -1
  264. package/dist/esm/core/accountAddress.mjs +15 -1
  265. package/dist/esm/core/authenticationKey.mjs +14 -1
  266. package/dist/esm/core/common.mjs +7 -1
  267. package/dist/esm/core/crypto/ed25519.d.mts +10 -0
  268. package/dist/esm/core/crypto/ed25519.mjs +29 -1
  269. package/dist/esm/core/crypto/ephemeral.d.mts +16 -20
  270. package/dist/esm/core/crypto/ephemeral.mjs +28 -1
  271. package/dist/esm/core/crypto/hdKey.d.mts +1 -15
  272. package/dist/esm/core/crypto/hdKey.mjs +25 -1
  273. package/dist/esm/core/crypto/index.d.mts +3 -2
  274. package/dist/esm/core/crypto/index.mjs +124 -1
  275. package/dist/esm/core/crypto/keyless.d.mts +121 -106
  276. package/dist/esm/core/crypto/keyless.mjs +55 -1
  277. package/dist/esm/core/crypto/multiEd25519.mjs +28 -1
  278. package/dist/esm/core/crypto/multiKey.mjs +34 -1
  279. package/dist/esm/core/crypto/poseidon.mjs +15 -1
  280. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  281. package/dist/esm/core/crypto/proof.d.mts +21 -0
  282. package/dist/esm/core/crypto/proof.mjs +20 -0
  283. package/dist/esm/core/crypto/proof.mjs.map +1 -0
  284. package/dist/esm/core/crypto/publicKey.mjs +21 -1
  285. package/dist/esm/core/crypto/secp256k1.mjs +27 -1
  286. package/dist/esm/core/crypto/signature.mjs +19 -1
  287. package/dist/esm/core/crypto/singleKey.mjs +33 -1
  288. package/dist/esm/core/crypto/utils.mjs +9 -1
  289. package/dist/esm/core/hex.mjs +10 -1
  290. package/dist/esm/core/index.d.mts +3 -2
  291. package/dist/esm/core/index.mjs +141 -1
  292. package/dist/esm/index.d.mts +5 -4
  293. package/dist/esm/index.mjs +635 -1
  294. package/dist/esm/internal/account.mjs +106 -1
  295. package/dist/esm/internal/ans.mjs +120 -1
  296. package/dist/esm/internal/coin.mjs +85 -1
  297. package/dist/esm/internal/digitalAsset.mjs +127 -1
  298. package/dist/esm/internal/event.mjs +55 -1
  299. package/dist/esm/internal/faucet.mjs +52 -1
  300. package/dist/esm/internal/fungibleAsset.mjs +91 -1
  301. package/dist/esm/internal/general.mjs +46 -1
  302. package/dist/esm/internal/keyless.d.mts +4 -3
  303. package/dist/esm/internal/keyless.mjs +73 -1
  304. package/dist/esm/internal/staking.mjs +53 -1
  305. package/dist/esm/internal/transaction.mjs +51 -1
  306. package/dist/esm/internal/transactionSubmission.mjs +102 -1
  307. package/dist/esm/internal/view.mjs +83 -1
  308. package/dist/esm/transactions/authenticator/account.mjs +44 -1
  309. package/dist/esm/transactions/authenticator/index.mjs +60 -1
  310. package/dist/esm/transactions/authenticator/transaction.mjs +48 -1
  311. package/dist/esm/transactions/index.mjs +284 -1
  312. package/dist/esm/transactions/instances/chainId.mjs +11 -1
  313. package/dist/esm/transactions/instances/identifier.mjs +11 -1
  314. package/dist/esm/transactions/instances/index.mjs +96 -1
  315. package/dist/esm/transactions/instances/moduleId.mjs +38 -1
  316. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +43 -1
  317. package/dist/esm/transactions/instances/rawTransaction.mjs +48 -1
  318. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +20 -1
  319. package/dist/esm/transactions/instances/signedTransaction.mjs +45 -1
  320. package/dist/esm/transactions/instances/simpleTransaction.mjs +43 -1
  321. package/dist/esm/transactions/instances/transactionArgument.mjs +1 -1
  322. package/dist/esm/transactions/instances/transactionPayload.mjs +56 -1
  323. package/dist/esm/transactions/management/accountSequenceNumber.mjs +74 -1
  324. package/dist/esm/transactions/management/asyncQueue.mjs +9 -1
  325. package/dist/esm/transactions/management/index.mjs +95 -1
  326. package/dist/esm/transactions/management/transactionWorker.mjs +91 -1
  327. package/dist/esm/transactions/transactionBuilder/helpers.mjs +75 -1
  328. package/dist/esm/transactions/transactionBuilder/index.mjs +162 -1
  329. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +85 -1
  330. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +58 -1
  331. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +98 -1
  332. package/dist/esm/transactions/typeTag/index.mjs +74 -1
  333. package/dist/esm/transactions/typeTag/parser.mjs +43 -1
  334. package/dist/esm/transactions/types.mjs +1 -1
  335. package/dist/esm/types/generated/queries.mjs +57 -1
  336. package/dist/esm/types/generated/types.mjs +809 -1
  337. package/dist/esm/types/generated/types.mjs.map +1 -1
  338. package/dist/esm/types/index.d.mts +6 -4
  339. package/dist/esm/types/index.mjs +68 -1
  340. package/dist/esm/types/indexer.mjs +1 -1
  341. package/dist/esm/types/keyless.d.mts +54 -1
  342. package/dist/esm/types/keyless.mjs +9 -0
  343. package/dist/esm/utils/apiEndpoints.mjs +21 -1
  344. package/dist/esm/utils/const.mjs +21 -1
  345. package/dist/esm/utils/helpers.mjs +7 -1
  346. package/dist/esm/utils/index.mjs +56 -1
  347. package/dist/esm/utils/memoize.mjs +9 -1
  348. package/dist/esm/utils/normalizeBundle.mjs +19 -1
  349. package/dist/esm/version.d.mts +1 -1
  350. package/dist/esm/version.mjs +7 -1
  351. package/package.json +5 -2
  352. package/src/account/EphemeralKeyPair.ts +45 -7
  353. package/src/account/KeylessAccount.ts +152 -113
  354. package/src/account/MultiKeyAccount.ts +4 -0
  355. package/src/api/keyless.ts +17 -4
  356. package/src/bcs/deserializer.ts +40 -0
  357. package/src/client/core.ts +1 -1
  358. package/src/client/types.ts +1 -1
  359. package/src/core/account/index.ts +0 -1
  360. package/src/core/crypto/ed25519.ts +24 -4
  361. package/src/core/crypto/ephemeral.ts +17 -28
  362. package/src/core/crypto/hdKey.ts +0 -31
  363. package/src/core/crypto/keyless.ts +231 -286
  364. package/src/core/crypto/proof.ts +16 -0
  365. package/src/internal/keyless.ts +16 -15
  366. package/src/internal/transactionSubmission.ts +16 -6
  367. package/src/transactions/management/transactionWorker.ts +1 -7
  368. package/src/types/index.ts +5 -2
  369. package/src/types/keyless.ts +31 -0
  370. package/src/utils/apiEndpoints.ts +6 -6
  371. package/src/version.ts +1 -1
  372. package/dist/common/chunk-KSEUZTKY.js +0 -2
  373. package/dist/common/chunk-KSEUZTKY.js.map +0 -1
  374. package/dist/esm/chunk-25N7RLBW.mjs +0 -2
  375. package/dist/esm/chunk-32355KGV.mjs +0 -2
  376. package/dist/esm/chunk-32355KGV.mjs.map +0 -1
  377. package/dist/esm/chunk-3FVRXELT.mjs +0 -2
  378. package/dist/esm/chunk-3JPVQHOR.mjs +0 -2
  379. package/dist/esm/chunk-3OELNIC6.mjs +0 -2
  380. package/dist/esm/chunk-3U5VRZLS.mjs +0 -2
  381. package/dist/esm/chunk-3U5VRZLS.mjs.map +0 -1
  382. package/dist/esm/chunk-3VGX3TXH.mjs +0 -2
  383. package/dist/esm/chunk-43WARVT3.mjs +0 -2
  384. package/dist/esm/chunk-52ECIIIH.mjs +0 -2
  385. package/dist/esm/chunk-56CNRT2K.mjs +0 -2
  386. package/dist/esm/chunk-56NB52W6.mjs +0 -2
  387. package/dist/esm/chunk-5DW2AJPI.mjs +0 -2
  388. package/dist/esm/chunk-5QWUIVAQ.mjs +0 -2
  389. package/dist/esm/chunk-5QWUIVAQ.mjs.map +0 -1
  390. package/dist/esm/chunk-6456EI2E.mjs +0 -2
  391. package/dist/esm/chunk-6456EI2E.mjs.map +0 -1
  392. package/dist/esm/chunk-65UZZNN2.mjs +0 -2
  393. package/dist/esm/chunk-6EMN3BOV.mjs +0 -2
  394. package/dist/esm/chunk-6FBKUTGF.mjs +0 -2
  395. package/dist/esm/chunk-6IFMQ5AS.mjs +0 -2
  396. package/dist/esm/chunk-6IFMQ5AS.mjs.map +0 -1
  397. package/dist/esm/chunk-6LOTZ4GY.mjs +0 -2
  398. package/dist/esm/chunk-6RBUXB5I.mjs +0 -2
  399. package/dist/esm/chunk-6SHLLRJA.mjs +0 -2
  400. package/dist/esm/chunk-73Y4NTDU.mjs +0 -2
  401. package/dist/esm/chunk-73Y4NTDU.mjs.map +0 -1
  402. package/dist/esm/chunk-7PSX4LCV.mjs +0 -2
  403. package/dist/esm/chunk-7Q2NVO5M.mjs +0 -2
  404. package/dist/esm/chunk-7STYQ5ZE.mjs +0 -2
  405. package/dist/esm/chunk-7WJTKYRG.mjs +0 -2
  406. package/dist/esm/chunk-AH44UPM4.mjs +0 -2
  407. package/dist/esm/chunk-AOCNYMMX.mjs +0 -2
  408. package/dist/esm/chunk-C3L4ETUF.mjs +0 -2
  409. package/dist/esm/chunk-C5UVSNZW.mjs +0 -2
  410. package/dist/esm/chunk-CLVAGDXO.mjs +0 -2
  411. package/dist/esm/chunk-COW5IGYC.mjs +0 -2
  412. package/dist/esm/chunk-D22EMNIY.mjs +0 -2
  413. package/dist/esm/chunk-DLTC6PJP.mjs +0 -2
  414. package/dist/esm/chunk-EB7AI4B4.mjs +0 -2
  415. package/dist/esm/chunk-EKABTHUZ.mjs +0 -2
  416. package/dist/esm/chunk-EOMDZYSJ.mjs +0 -2
  417. package/dist/esm/chunk-EOMDZYSJ.mjs.map +0 -1
  418. package/dist/esm/chunk-FBPNHF54.mjs +0 -2
  419. package/dist/esm/chunk-FKSACFCB.mjs +0 -2
  420. package/dist/esm/chunk-FLYEALDB.mjs +0 -2
  421. package/dist/esm/chunk-FVA2OPG4.mjs +0 -2
  422. package/dist/esm/chunk-G4XSNSOT.mjs +0 -2
  423. package/dist/esm/chunk-H3TFQ7K4.mjs +0 -2
  424. package/dist/esm/chunk-H6LYW7HG.mjs +0 -2
  425. package/dist/esm/chunk-HCGWCB5E.mjs +0 -2
  426. package/dist/esm/chunk-HCGWCB5E.mjs.map +0 -1
  427. package/dist/esm/chunk-HGZGTBA4.mjs +0 -2
  428. package/dist/esm/chunk-HXSW6X7K.mjs +0 -2
  429. package/dist/esm/chunk-IXYXFDJZ.mjs +0 -2
  430. package/dist/esm/chunk-J7J7ZTBF.mjs +0 -2
  431. package/dist/esm/chunk-JVKMQ64G.mjs +0 -2
  432. package/dist/esm/chunk-KWNBC5MF.mjs +0 -2
  433. package/dist/esm/chunk-L54P6EGN.mjs +0 -2
  434. package/dist/esm/chunk-LDQ6JFEF.mjs +0 -2
  435. package/dist/esm/chunk-MGOHPDX4.mjs +0 -2
  436. package/dist/esm/chunk-MWUJCP27.mjs +0 -2
  437. package/dist/esm/chunk-NC5HHEEM.mjs +0 -2
  438. package/dist/esm/chunk-NGNETNK2.mjs +0 -2
  439. package/dist/esm/chunk-NKCZ4KGO.mjs +0 -2
  440. package/dist/esm/chunk-NMECYE3D.mjs +0 -2
  441. package/dist/esm/chunk-NNIHTVLA.mjs +0 -2
  442. package/dist/esm/chunk-NNW6HWIO.mjs +0 -2
  443. package/dist/esm/chunk-O34EOOVF.mjs +0 -2
  444. package/dist/esm/chunk-OBEVVLF7.mjs +0 -2
  445. package/dist/esm/chunk-OBEVVLF7.mjs.map +0 -1
  446. package/dist/esm/chunk-OKRUEVF3.mjs +0 -2
  447. package/dist/esm/chunk-OKRUEVF3.mjs.map +0 -1
  448. package/dist/esm/chunk-OLGSIKFB.mjs +0 -2
  449. package/dist/esm/chunk-OZC3FCJP.mjs +0 -2
  450. package/dist/esm/chunk-PFFAQZHT.mjs +0 -2
  451. package/dist/esm/chunk-PINF6ZWP.mjs +0 -2
  452. package/dist/esm/chunk-PJXRQBF6.mjs +0 -2
  453. package/dist/esm/chunk-PJXRQBF6.mjs.map +0 -1
  454. package/dist/esm/chunk-QHVZL3LZ.mjs +0 -2
  455. package/dist/esm/chunk-QNHDS64I.mjs +0 -2
  456. package/dist/esm/chunk-RBPGL6YB.mjs +0 -2
  457. package/dist/esm/chunk-RJ4PSGZ4.mjs +0 -2
  458. package/dist/esm/chunk-ROXFCLDT.mjs +0 -2
  459. package/dist/esm/chunk-RTSEMQCK.mjs +0 -2
  460. package/dist/esm/chunk-SRPTQ4VV.mjs +0 -2
  461. package/dist/esm/chunk-STYDBDYL.mjs +0 -2
  462. package/dist/esm/chunk-T23OVRNF.mjs +0 -2
  463. package/dist/esm/chunk-TICM455H.mjs +0 -2
  464. package/dist/esm/chunk-TJDC5PWD.mjs +0 -2
  465. package/dist/esm/chunk-TVRJ3M7B.mjs +0 -2
  466. package/dist/esm/chunk-TXMPXZBG.mjs +0 -2
  467. package/dist/esm/chunk-U6Z4FNB7.mjs +0 -2
  468. package/dist/esm/chunk-UGIJHLL3.mjs +0 -2
  469. package/dist/esm/chunk-UVOU6BW2.mjs +0 -2
  470. package/dist/esm/chunk-V7P6MLSY.mjs +0 -2
  471. package/dist/esm/chunk-VJJN3GFD.mjs +0 -2
  472. package/dist/esm/chunk-WOLIXKOK.mjs +0 -2
  473. package/dist/esm/chunk-WVIPPU2C.mjs +0 -2
  474. package/dist/esm/chunk-XCR3YNHW.mjs +0 -2
  475. package/dist/esm/chunk-XCR3YNHW.mjs.map +0 -1
  476. package/dist/esm/chunk-XMFPKHB5.mjs +0 -2
  477. package/dist/esm/chunk-XN4SQWI5.mjs +0 -2
  478. package/dist/esm/chunk-YE5B2S5L.mjs +0 -2
  479. package/dist/esm/chunk-Z5KKUXYI.mjs +0 -2
  480. package/dist/esm/chunk-ZM436N3W.mjs +0 -2
  481. package/dist/esm/chunk-ZNEBMSNC.mjs +0 -2
  482. /package/dist/esm/{chunk-FVA2OPG4.mjs.map → chunk-OR7TEZ25.mjs.map} +0 -0
@@ -1,5 +1,5 @@
1
- import { S as Serializable, T as TransactionArgument, H as HexInput, a as Serializer, D as Deserializer, E as EntryFunctionArgument, U as Uint8, b as Uint16, c as Uint32, A as AnyNumber, d as Deserializable, e as Hex, f as AuthenticationKeyScheme, g as AccountAddress, h as AnyPublicKeyVariant, i as EphemeralPublicKeyVariant, N as Network, C as Client, j as ClientConfig, F as FullNodeConfig, I as IndexerConfig, k as FaucetConfig, l as AptosSettings, M as MoveModuleId, m as ScriptFunctionArgument, n as MoveFunctionId, o as AccountAddressInput, p as MoveFunctionGenericTypeParam, q as SigningSchemeInput, r as SigningScheme, s as AccountData, P as PaginationArgs, L as LedgerVersionArg, t as MoveModuleBytecode, u as TransactionResponse, v as MoveResource, w as MoveStructId, x as TokenStandardArg, O as OrderByArg, G as GetAccountOwnedTokensQueryResponse, y as GetAccountOwnedTokensFromCollectionResponse, z as GetAccountCollectionsWithOwnedTokenResponse, B as GetAccountCoinsDataResponse, W as WhereArg, J as GetAccountOwnedObjectsResponse, K as GetCollectionDataResponse, Q as GetTokenDataResponse, R as GetCurrentTokenOwnershipResponse, V as GetOwnedTokensResponse, X as GetTokenActivityResponse, Y as GetEventsResponse, Z as WaitForTransactionOptions, _ as UserTransactionResponse, $ as MoveFunction, a0 as GetFungibleAssetMetadataResponse, a1 as GetFungibleAssetActivitiesResponse, a2 as GetCurrentFungibleAssetBalancesResponse, a3 as LedgerInfo, a4 as Block, a5 as TableItemRequest, a6 as MoveValue, a7 as GetChainTopUserTransactionsResponse, a8 as GraphqlQuery, a9 as GetProcessorStatusResponse, aa as GetANSNameResponse, ab as GetNumberOfDelegatorsResponse, ac as GetDelegatedStakingActivitiesResponse, ad as PendingTransactionResponse, ae as CommittedTransactionResponse, af as GasEstimation, ag as AptosRequest, ah as ClientRequest, ai as ClientResponse, aj as MimeType } from './accountAddress-NPQwRmxn.js';
2
- export { aw as AccountAuthenticatorVariant, bd as AccountSignature, an as AddressInvalidReason, ax as AnySignatureVariant, aM as BlockMetadataTransactionResponse, aD as ClientHeadersType, aW as DecodedTableData, aX as DeletedTableData, bA as DeriveScheme, bg as DirectWriteSet, aZ as EntryFunctionPayloadResponse, az as EphemeralCertificate, ay as EphemeralSignatureVariant, bi as Event, bh as EventGuid, bD as GenerateAccount, bB as GenerateAccountWithEd25519, bC as GenerateAccountWithSingleSignerSecp256k1Key, b0 as GenesisPayload, aL as GenesisTransactionResponse, aq as HexInvalidReason, bv as MoveAbility, bp as MoveAddressType, bu as MoveFunctionVisibility, bx as MoveModule, bq as MoveObjectType, br as MoveOptionType, b1 as MoveScriptBytecode, by as MoveStruct, bw as MoveStructField, bs as MoveStructType, bt as MoveType, bn as MoveUint128Type, bk as MoveUint16Type, bo as MoveUint256Type, bl as MoveUint32Type, bm as MoveUint64Type, bj as MoveUint8Type, a$ as MultisigPayloadResponse, bM as NetworkToChainId, bJ as NetworkToFaucetAPI, bH as NetworkToIndexerAPI, bN as NetworkToNetworkName, bI as NetworkToNodeAPI, bK as NetworkToPepperAPI, bL as NetworkToProverAPI, bE as OrderBy, bF as OrderByValue, ao as ParsingError, ap as ParsingResult, bz as RoleType, a_ as ScriptPayloadResponse, as as ScriptTransactionArgumentVariants, bf as ScriptWriteSet, aN as StateCheckpointTransactionResponse, bG as TokenStandard, av as TransactionAuthenticatorVariant, b8 as TransactionEd25519Signature, bc as TransactionFeePayerSignature, bb as TransactionMultiAgentSignature, ba as TransactionMultiEd25519Signature, aY as TransactionPayloadResponse, at as TransactionPayloadVariants, aE as TransactionResponseType, b9 as TransactionSecp256k1Signature, b2 as TransactionSignature, au as TransactionVariants, ar as TypeTagVariants, aB as Uint128, aC as Uint256, aA as Uint64, aO as ValidatorTransactionResponse, be as WriteSet, aP as WriteSetChange, aQ as WriteSetChangeDeleteModule, aR as WriteSetChangeDeleteResource, aS as WriteSetChangeDeleteTableItem, aT as WriteSetChangeWriteModule, aU as WriteSetChangeWriteResource, aV as WriteSetChangeWriteTableItem, ak as ensureBoolean, aI as isBlockMetadataTransactionResponse, b3 as isEd25519Signature, b6 as isFeePayerSignature, aH as isGenesisTransactionResponse, b5 as isMultiAgentSignature, b7 as isMultiEd25519Signature, aF as isPendingTransactionResponse, b4 as isSecp256k1Signature, aJ as isStateCheckpointTransactionResponse, aG as isUserTransactionResponse, aK as isValidatorTransactionResponse, al as outOfRangeErrorMessage, am as validateNumberInRange } from './accountAddress-NPQwRmxn.js';
1
+ import { S as Serializable, T as TransactionArgument, H as HexInput, a as Serializer, D as Deserializer, E as EntryFunctionArgument, U as Uint8, b as Uint16, c as Uint32, A as AnyNumber, d as Deserializable, e as Hex, f as AuthenticationKeyScheme, g as AccountAddress, h as AnyPublicKeyVariant, i as EphemeralPublicKeyVariant, j as EphemeralCertificateVariant, Z as ZkpVariant, N as Network, C as Client, k as ClientConfig, F as FullNodeConfig, I as IndexerConfig, l as FaucetConfig, m as AptosSettings, M as MoveModuleId, n as ScriptFunctionArgument, o as MoveFunctionId, p as AccountAddressInput, q as MoveFunctionGenericTypeParam, r as SigningSchemeInput, s as SigningScheme, t as AccountData, P as PaginationArgs, L as LedgerVersionArg, u as MoveModuleBytecode, v as TransactionResponse, w as MoveResource, x as MoveStructId, y as TokenStandardArg, O as OrderByArg, G as GetAccountOwnedTokensQueryResponse, z as GetAccountOwnedTokensFromCollectionResponse, B as GetAccountCollectionsWithOwnedTokenResponse, J as GetAccountCoinsDataResponse, W as WhereArg, K as GetAccountOwnedObjectsResponse, Q as GetCollectionDataResponse, R as GetTokenDataResponse, V as GetCurrentTokenOwnershipResponse, X as GetOwnedTokensResponse, Y as GetTokenActivityResponse, _ as GetEventsResponse, $ as WaitForTransactionOptions, a0 as UserTransactionResponse, a1 as MoveFunction, a2 as GetFungibleAssetMetadataResponse, a3 as GetFungibleAssetActivitiesResponse, a4 as GetCurrentFungibleAssetBalancesResponse, a5 as LedgerInfo, a6 as Block, a7 as TableItemRequest, a8 as MoveValue, a9 as GetChainTopUserTransactionsResponse, aa as GraphqlQuery, ab as GetProcessorStatusResponse, ac as GetANSNameResponse, ad as GetNumberOfDelegatorsResponse, ae as GetDelegatedStakingActivitiesResponse, af as PendingTransactionResponse, ag as CommittedTransactionResponse, ah as GasEstimation, ai as AptosRequest, aj as ClientRequest, ak as ClientResponse, al as MimeType } from './accountAddress-u9wEan9p.js';
2
+ export { ay as AccountAuthenticatorVariant, be as AccountSignature, ap as AddressInvalidReason, az as AnySignatureVariant, aN as BlockMetadataTransactionResponse, aE as ClientHeadersType, aX as DecodedTableData, aY as DeletedTableData, bB as DeriveScheme, bh as DirectWriteSet, a_ as EntryFunctionPayloadResponse, aA as EphemeralSignatureVariant, bj as Event, bi as EventGuid, bE as GenerateAccount, bC as GenerateAccountWithEd25519, bD as GenerateAccountWithSingleSignerSecp256k1Key, b1 as GenesisPayload, aM as GenesisTransactionResponse, as as HexInvalidReason, bw as MoveAbility, bq as MoveAddressType, bv as MoveFunctionVisibility, by as MoveModule, br as MoveObjectType, bs as MoveOptionType, b2 as MoveScriptBytecode, bz as MoveStruct, bx as MoveStructField, bt as MoveStructType, bu as MoveType, bo as MoveUint128Type, bl as MoveUint16Type, bp as MoveUint256Type, bm as MoveUint32Type, bn as MoveUint64Type, bk as MoveUint8Type, b0 as MultisigPayloadResponse, bN as NetworkToChainId, bK as NetworkToFaucetAPI, bI as NetworkToIndexerAPI, bO as NetworkToNetworkName, bJ as NetworkToNodeAPI, bL as NetworkToPepperAPI, bM as NetworkToProverAPI, bF as OrderBy, bG as OrderByValue, aq as ParsingError, ar as ParsingResult, bA as RoleType, a$ as ScriptPayloadResponse, au as ScriptTransactionArgumentVariants, bg as ScriptWriteSet, aO as StateCheckpointTransactionResponse, bH as TokenStandard, ax as TransactionAuthenticatorVariant, b9 as TransactionEd25519Signature, bd as TransactionFeePayerSignature, bc as TransactionMultiAgentSignature, bb as TransactionMultiEd25519Signature, aZ as TransactionPayloadResponse, av as TransactionPayloadVariants, aF as TransactionResponseType, ba as TransactionSecp256k1Signature, b3 as TransactionSignature, aw as TransactionVariants, at as TypeTagVariants, aC as Uint128, aD as Uint256, aB as Uint64, aP as ValidatorTransactionResponse, bf as WriteSet, aQ as WriteSetChange, aR as WriteSetChangeDeleteModule, aS as WriteSetChangeDeleteResource, aT as WriteSetChangeDeleteTableItem, aU as WriteSetChangeWriteModule, aV as WriteSetChangeWriteResource, aW as WriteSetChangeWriteTableItem, am as ensureBoolean, aJ as isBlockMetadataTransactionResponse, b4 as isEd25519Signature, b7 as isFeePayerSignature, aI as isGenesisTransactionResponse, b6 as isMultiAgentSignature, b8 as isMultiEd25519Signature, aG as isPendingTransactionResponse, b5 as isSecp256k1Signature, aK as isStateCheckpointTransactionResponse, aH as isUserTransactionResponse, aL as isValidatorTransactionResponse, an as outOfRangeErrorMessage, ao as validateNumberInRange } from './accountAddress-u9wEan9p.js';
3
3
  import EventEmitter from 'eventemitter3';
4
4
 
5
5
  type Maybe<T> = T | null;
@@ -945,6 +945,16 @@ declare class Ed25519PrivateKey extends Serializable implements PrivateKey {
945
945
  * @param mnemonics the mnemonic seed phrase
946
946
  */
947
947
  static fromDerivationPath(path: string, mnemonics: string): Ed25519PrivateKey;
948
+ /**
949
+ * A private inner function so we can separate from the main fromDerivationPath() method
950
+ * to add tests to verify we create the keys correctly.
951
+ *
952
+ * @param path the BIP44 path
953
+ * @param seed the seed phrase created by the mnemonics
954
+ * @param offset the offset used for key derivation, defaults to 0x80000000
955
+ * @returns
956
+ */
957
+ private static fromDerivationPathInner;
948
958
  /**
949
959
  * Derive the Ed25519PublicKey for this private key.
950
960
  *
@@ -1012,7 +1022,6 @@ type DerivedKeys = {
1012
1022
  */
1013
1023
  declare const APTOS_HARDENED_REGEX: RegExp;
1014
1024
  declare const APTOS_BIP44_REGEX: RegExp;
1015
- declare const APTOS_BIP44_DEFAULT_DERIVATION_PATH = "m/44'/637'/0'/0'/0'";
1016
1025
  /**
1017
1026
  * A list of supported key types and associated seeds
1018
1027
  */
@@ -1062,13 +1071,6 @@ declare const CKDPriv: ({ key, chainCode }: DerivedKeys, index: number) => Deriv
1062
1071
  * @param path
1063
1072
  */
1064
1073
  declare const splitPath: (path: string) => Array<string>;
1065
- /**
1066
- * @param path the BIP44 path
1067
- * @param seed the seed phrase created by the mnemonics
1068
- * @param offset the offset used for key derivation, defaults to 0x80000000
1069
- * @returns
1070
- */
1071
- declare function fromDerivationPath(path: string, hashSeed: HexInput, seed: Uint8Array, offset?: number): Uint8Array;
1072
1074
  /**
1073
1075
  * Normalizes the mnemonic by removing extra whitespace and making it lowercase
1074
1076
  * @param mnemonic the mnemonic seed phrase
@@ -1339,15 +1341,18 @@ declare class MultiKeySignature extends Signature {
1339
1341
  }
1340
1342
 
1341
1343
  /**
1342
- * Represents ephemeral keys and signatures for Aptos Keyless accounts.
1344
+ * Represents ephemeral public keys for Aptos Keyless accounts.
1343
1345
  *
1344
- * TODO
1346
+ * These are not public keys used as a public key on an account. They are only used ephemerally on Keyless accounts.
1345
1347
  */
1346
1348
  declare class EphemeralPublicKey extends PublicKey {
1347
1349
  /**
1348
- * Reference to the inner public key
1350
+ * The public key itself
1349
1351
  */
1350
1352
  readonly publicKey: PublicKey;
1353
+ /**
1354
+ * An enum indicating the scheme of the ephemeral public key
1355
+ */
1351
1356
  readonly variant: EphemeralPublicKeyVariant;
1352
1357
  constructor(publicKey: PublicKey);
1353
1358
  /**
@@ -1357,16 +1362,10 @@ declare class EphemeralPublicKey extends PublicKey {
1357
1362
  */
1358
1363
  toUint8Array(): Uint8Array;
1359
1364
  /**
1360
- * Get the public key as a hex string with the 0x prefix.
1361
- *
1362
- * @returns string representation of the public key
1363
- */
1364
- toString(): string;
1365
- /**
1366
- * Verifies a signed data with a public key
1365
+ * Verifies a signed data with a the ephemeral public key
1367
1366
  *
1368
1367
  * @param args.message message
1369
- * @param args.signature The signature
1368
+ * @param args.signature The signature that was signed by the private key of the ephemeral public key
1370
1369
  * @returns true if the signature is valid
1371
1370
  */
1372
1371
  verifySignature(args: {
@@ -1376,9 +1375,16 @@ declare class EphemeralPublicKey extends PublicKey {
1376
1375
  serialize(serializer: Serializer): void;
1377
1376
  static deserialize(deserializer: Deserializer): EphemeralPublicKey;
1378
1377
  static isPublicKey(publicKey: PublicKey): publicKey is EphemeralPublicKey;
1379
- isEd25519(): this is Ed25519PublicKey;
1380
1378
  }
1379
+ /**
1380
+ * Represents ephemeral signatures used in Aptos Keyless accounts.
1381
+ *
1382
+ * These signatures are used inside of KeylessSignature
1383
+ */
1381
1384
  declare class EphemeralSignature extends Signature {
1385
+ /**
1386
+ * The signature signed by the private key of an EphemeralKeyPair
1387
+ */
1382
1388
  readonly signature: Signature;
1383
1389
  constructor(signature: Signature);
1384
1390
  /**
@@ -1387,17 +1393,22 @@ declare class EphemeralSignature extends Signature {
1387
1393
  * @returns Uint8Array representation of the public key
1388
1394
  */
1389
1395
  toUint8Array(): Uint8Array;
1390
- /**
1391
- * Get the public key as a hex string with the 0x prefix.
1392
- *
1393
- * @returns string representation of the public key
1394
- */
1395
- toString(): string;
1396
1396
  static fromHex(hexInput: HexInput): EphemeralSignature;
1397
1397
  serialize(serializer: Serializer): void;
1398
1398
  static deserialize(deserializer: Deserializer): EphemeralSignature;
1399
1399
  }
1400
1400
 
1401
+ /**
1402
+ * An abstract representation of a crypto proof.
1403
+ * associated to a specific zero knowledge proof schemes e.g. Groth16, PLONK
1404
+ */
1405
+ declare abstract class Proof extends Serializable {
1406
+ /**
1407
+ * Get the proof as a hex string with a 0x prefix e.g. 0x123456...
1408
+ */
1409
+ toString(): string;
1410
+ }
1411
+
1401
1412
  declare const EPK_HORIZON_SECS = 10000000;
1402
1413
  declare const MAX_AUD_VAL_BYTES = 120;
1403
1414
  declare const MAX_UID_KEY_BYTES = 30;
@@ -1412,10 +1423,15 @@ declare const MAX_COMMITED_EPK_BYTES = 93;
1412
1423
  * KeylessPublicKey authentication key is represented in the SDK as `AnyPublicKey`.
1413
1424
  */
1414
1425
  declare class KeylessPublicKey extends AccountPublicKey {
1415
- static readonly ADDRESS_SEED_LENGTH: number;
1426
+ static readonly ID_COMMITMENT_LENGTH: number;
1416
1427
  readonly iss: string;
1417
- readonly addressSeed: Uint8Array;
1418
- constructor(iss: string, addressSeed: HexInput);
1428
+ readonly idCommitment: Uint8Array;
1429
+ constructor(iss: string, idCommitment: HexInput);
1430
+ /**
1431
+ * Get the authentication key for the keyless public key
1432
+ *
1433
+ * @returns AuthenticationKey
1434
+ */
1419
1435
  authKey(): AuthenticationKey;
1420
1436
  /**
1421
1437
  * Get the public key in bytes (Uint8Array).
@@ -1444,6 +1460,16 @@ declare class KeylessPublicKey extends AccountPublicKey {
1444
1460
  static deserialize(deserializer: Deserializer): KeylessPublicKey;
1445
1461
  static load(deserializer: Deserializer): KeylessPublicKey;
1446
1462
  static isPublicKey(publicKey: PublicKey): publicKey is KeylessPublicKey;
1463
+ /**
1464
+ * Creates a KeylessPublicKey from the JWT components plus pepper
1465
+ *
1466
+ * @param args.iss the iss of the identity
1467
+ * @param args.uidKey the key to use to get the uidVal in the JWT token
1468
+ * @param args.uidVal the value of the uidKey in the JWT token
1469
+ * @param args.aud the client ID of the application
1470
+ * @param args.pepper The pepper used to maintain privacy of the account
1471
+ * @returns KeylessPublicKey
1472
+ */
1447
1473
  static create(args: {
1448
1474
  iss: string;
1449
1475
  uidKey: string;
@@ -1452,132 +1478,134 @@ declare class KeylessPublicKey extends AccountPublicKey {
1452
1478
  pepper: HexInput;
1453
1479
  }): KeylessPublicKey;
1454
1480
  }
1455
- declare function computeAddressSeed(args: {
1456
- uidKey: string;
1457
- uidVal: string;
1458
- aud: string;
1459
- pepper: HexInput;
1460
- }): Uint8Array;
1461
- declare class OpenIdSignatureOrZkProof extends Signature {
1462
- readonly signature: Signature;
1463
- constructor(signature: Signature);
1481
+ /**
1482
+ * A signature of a message signed via Keyless Accounnt that uses proofs or the jwt token to authenticate.
1483
+ */
1484
+ declare class KeylessSignature extends Signature {
1464
1485
  /**
1465
- * Get the public key in bytes (Uint8Array).
1486
+ * The inner signature ZeroKnowledgeSigniature or OpenIdSignature
1487
+ */
1488
+ readonly ephemeralCertificate: EphemeralCertificate;
1489
+ /**
1490
+ * The jwt header in the token used to create the proof/signature. In json string representation.
1491
+ */
1492
+ readonly jwtHeader: string;
1493
+ /**
1494
+ * The expiry timestamp in seconds of the EphemeralKeyPair used to sign
1495
+ */
1496
+ readonly expiryDateSecs: bigint | number;
1497
+ /**
1498
+ * The ephemeral public key used to verify the signature
1499
+ */
1500
+ readonly ephemeralPublicKey: EphemeralPublicKey;
1501
+ /**
1502
+ * The signature resulting from signing with the private key of the EphemeralKeyPair
1503
+ */
1504
+ readonly ephemeralSignature: EphemeralSignature;
1505
+ constructor(args: {
1506
+ jwtHeader: string;
1507
+ ephemeralCertificate: EphemeralCertificate;
1508
+ expiryDateSecs: bigint | number;
1509
+ ephemeralPublicKey: EphemeralPublicKey;
1510
+ ephemeralSignature: EphemeralSignature;
1511
+ });
1512
+ /**
1513
+ * Get the signature in bytes (Uint8Array).
1466
1514
  *
1467
- * @returns Uint8Array representation of the public key
1515
+ * @returns Uint8Array representation of the signature
1468
1516
  */
1469
1517
  toUint8Array(): Uint8Array;
1518
+ serialize(serializer: Serializer): void;
1519
+ static deserialize(deserializer: Deserializer): KeylessSignature;
1520
+ static load(deserializer: Deserializer): KeylessSignature;
1521
+ static isSignature(signature: Signature): signature is KeylessSignature;
1522
+ }
1523
+ /**
1524
+ * A container for a signature that is a ZeroKnowledgeSig. Can be expanded to support OpenIdSignature.
1525
+ */
1526
+ declare class EphemeralCertificate extends Signature {
1527
+ readonly signature: Signature;
1470
1528
  /**
1471
- * Get the public key as a hex string with the 0x prefix.
1529
+ * Index of the underlying enum variant
1530
+ */
1531
+ private readonly variant;
1532
+ constructor(signature: Signature, variant: EphemeralCertificateVariant);
1533
+ /**
1534
+ * Get the public key in bytes (Uint8Array).
1472
1535
  *
1473
- * @returns string representation of the public key
1536
+ * @returns Uint8Array representation of the public key
1474
1537
  */
1475
- toString(): string;
1538
+ toUint8Array(): Uint8Array;
1476
1539
  serialize(serializer: Serializer): void;
1477
- static deserialize(deserializer: Deserializer): OpenIdSignatureOrZkProof;
1540
+ static deserialize(deserializer: Deserializer): EphemeralCertificate;
1478
1541
  }
1479
- declare class Groth16Zkp extends Serializable {
1542
+ /**
1543
+ * A representation of a Groth16 proof. The points are the compressed serialization of affine reprentation of the proof.
1544
+ */
1545
+ declare class Groth16Zkp extends Proof {
1546
+ /**
1547
+ * The bytes of G1 proof point a
1548
+ */
1480
1549
  a: Uint8Array;
1550
+ /**
1551
+ * The bytes of G2 proof point b
1552
+ */
1481
1553
  b: Uint8Array;
1554
+ /**
1555
+ * The bytes of G1 proof point c
1556
+ */
1482
1557
  c: Uint8Array;
1483
1558
  constructor(args: {
1484
1559
  a: HexInput;
1485
1560
  b: HexInput;
1486
1561
  c: HexInput;
1487
1562
  });
1488
- toUint8Array(): Uint8Array;
1489
1563
  serialize(serializer: Serializer): void;
1490
1564
  static deserialize(deserializer: Deserializer): Groth16Zkp;
1491
1565
  }
1492
- declare class SignedGroth16Signature extends Signature {
1493
- readonly proof: Groth16Zkp;
1494
- readonly expHorizonSecs: bigint;
1495
- readonly extraField?: string;
1496
- readonly overrideAudVal?: string;
1497
- readonly trainingWheelsSignature?: EphemeralSignature;
1498
- constructor(args: {
1499
- proof: Groth16Zkp;
1500
- expHorizonSecs?: bigint;
1501
- extraField?: string;
1502
- overrideAudVal?: string;
1503
- trainingWheelsSignature?: EphemeralSignature;
1504
- });
1505
- /**
1506
- * Get the signature in bytes (Uint8Array).
1507
- *
1508
- * @returns Uint8Array representation of the signature
1509
- */
1510
- toUint8Array(): Uint8Array;
1566
+ /**
1567
+ * A container for a different zero knowledge proof types
1568
+ */
1569
+ declare class ZkProof extends Serializable {
1570
+ readonly proof: Proof;
1511
1571
  /**
1512
- * Get the signature as a hex string with the 0x prefix.
1513
- *
1514
- * @returns string representation of the signature
1572
+ * Index of the underlying enum variant
1515
1573
  */
1516
- toString(): string;
1574
+ private readonly variant;
1575
+ constructor(proof: Proof, variant: ZkpVariant);
1517
1576
  serialize(serializer: Serializer): void;
1518
- static deserialize(deserializer: Deserializer): SignedGroth16Signature;
1519
- static load(deserializer: Deserializer): SignedGroth16Signature;
1577
+ static deserialize(deserializer: Deserializer): ZkProof;
1520
1578
  }
1521
1579
  /**
1522
- * A OpenId signature which contains the private inputs to an OIDB proof.
1580
+ * The signature representation of a proof
1523
1581
  */
1524
- declare class OpenIdSignature extends Signature {
1525
- readonly jwtSignature: string;
1526
- readonly jwtPayloadJson: string;
1527
- readonly uidKey: string;
1528
- readonly epkBlinder: Uint8Array;
1529
- readonly pepper: Uint8Array;
1530
- readonly overrideAudValue?: string;
1582
+ declare class ZeroKnowledgeSig extends Signature {
1531
1583
  /**
1532
- * Create a new Signature instance from a Uint8Array or String.
1533
- *
1534
- * @param hexInput A HexInput (string or Uint8Array)
1584
+ * The proof
1535
1585
  */
1536
- constructor(args: {
1537
- jwtSignature: string;
1538
- jwtPayloadJson: string;
1539
- uidKey?: string;
1540
- epkBlinder: Uint8Array;
1541
- pepper: Uint8Array;
1542
- overrideAudValue?: string;
1543
- });
1586
+ readonly proof: ZkProof;
1544
1587
  /**
1545
- * Get the signature in bytes (Uint8Array).
1546
- *
1547
- * @returns Uint8Array representation of the signature
1588
+ * The max lifespan of the proof
1548
1589
  */
1549
- toUint8Array(): Uint8Array;
1590
+ readonly expHorizonSecs: bigint;
1550
1591
  /**
1551
- * Get the signature as a hex string with the 0x prefix.
1552
- *
1553
- * @returns string representation of the signature
1592
+ * A key value pair on the JWT token that can be made public
1554
1593
  */
1555
- toString(): string;
1556
- serialize(serializer: Serializer): void;
1557
- static deserialize(deserializer: Deserializer): OpenIdSignature;
1558
- static load(deserializer: Deserializer): OpenIdSignature;
1559
- static isSignature(signature: Signature): signature is OpenIdSignature;
1560
- }
1561
- /**
1562
- * A signature of a message signed via OIDC that uses proofs or the jwt token to authenticate.
1563
- */
1564
- declare class KeylessSignature extends Signature {
1565
- readonly openIdSignatureOrZkProof: OpenIdSignatureOrZkProof;
1566
- readonly jwtHeader: string;
1567
- readonly expiryDateSecs: bigint | number;
1568
- readonly ephemeralPublicKey: EphemeralPublicKey;
1569
- readonly ephemeralSignature: EphemeralSignature;
1594
+ readonly extraField?: string;
1570
1595
  /**
1571
- * Create a new Signature instance from a Uint8Array or String.
1572
- *
1573
- * @param hexInput A HexInput (string or Uint8Array)
1596
+ * Set in the case of signing by recovery services
1597
+ */
1598
+ readonly overrideAudVal?: string;
1599
+ /**
1600
+ * The training wheels signature
1574
1601
  */
1602
+ readonly trainingWheelsSignature?: EphemeralSignature;
1575
1603
  constructor(args: {
1576
- jwtHeader: string;
1577
- openIdSignatureOrZkProof: OpenIdSignatureOrZkProof;
1578
- expiryDateSecs: bigint | number;
1579
- ephemeralPublicKey: EphemeralPublicKey;
1580
- ephemeralSignature: EphemeralSignature;
1604
+ proof: ZkProof;
1605
+ expHorizonSecs?: bigint;
1606
+ extraField?: string;
1607
+ overrideAudVal?: string;
1608
+ trainingWheelsSignature?: EphemeralSignature;
1581
1609
  });
1582
1610
  /**
1583
1611
  * Get the signature in bytes (Uint8Array).
@@ -1586,15 +1614,14 @@ declare class KeylessSignature extends Signature {
1586
1614
  */
1587
1615
  toUint8Array(): Uint8Array;
1588
1616
  /**
1589
- * Get the signature as a hex string with the 0x prefix.
1617
+ * Return a ZeroKnowledgeSig object from its bcs serialization in bytes.
1590
1618
  *
1591
- * @returns string representation of the signature
1619
+ * @returns ZeroKnowledgeSig
1592
1620
  */
1593
- toString(): string;
1621
+ static fromBytes(bytes: Uint8Array): ZeroKnowledgeSig;
1594
1622
  serialize(serializer: Serializer): void;
1595
- static deserialize(deserializer: Deserializer): KeylessSignature;
1596
- static load(deserializer: Deserializer): KeylessSignature;
1597
- static isSignature(signature: Signature): signature is KeylessSignature;
1623
+ static deserialize(deserializer: Deserializer): ZeroKnowledgeSig;
1624
+ static load(deserializer: Deserializer): ZeroKnowledgeSig;
1598
1625
  }
1599
1626
 
1600
1627
  /**
@@ -3089,61 +3116,84 @@ declare class Ed25519Account implements Account$1 {
3089
3116
  }
3090
3117
 
3091
3118
  declare class EphemeralKeyPair extends Serializable {
3119
+ static readonly BLINDER_LENGTH: number;
3120
+ /**
3121
+ * A byte array of length BLINDER_LENGTH used to obfuscate the public key from the IdP.
3122
+ * Used in calculating the nonce passed to the IdP and as a secret witness in proof generation.
3123
+ */
3092
3124
  readonly blinder: Uint8Array;
3125
+ /**
3126
+ * A timestamp in seconds indicating when the ephemeral key pair is expired. After expiry, a new
3127
+ * EphemeralKeyPair must be generated and a new JWT needs to be created.
3128
+ */
3093
3129
  readonly expiryDateSecs: bigint | number;
3130
+ /**
3131
+ * The value passed to the IdP when the user authenticates. It comprises of a hash of the
3132
+ * ephermeral public key, expiry date, and blinder.
3133
+ */
3094
3134
  readonly nonce: string;
3135
+ /**
3136
+ * A private key used to sign transactions. This private key is not tied to any account on the chain as it
3137
+ * is ephemeral in nature.
3138
+ */
3095
3139
  private privateKey;
3140
+ /**
3141
+ * A public key used to verify transactions. This public key is not tied to any account on the chain as it
3142
+ * is ephemeral in nature.
3143
+ */
3096
3144
  private publicKey;
3097
3145
  constructor(args: {
3098
3146
  privateKey: PrivateKey;
3099
3147
  expiryDateSecs?: bigint | number;
3100
3148
  blinder?: HexInput;
3101
3149
  });
3150
+ /**
3151
+ * Returns the public key of the key pair.
3152
+ * @return EphemeralPublicKey
3153
+ */
3102
3154
  getPublicKey(): EphemeralPublicKey;
3155
+ /**
3156
+ * Returns the public key of the key pair.
3157
+ * @return boolean
3158
+ */
3103
3159
  isExpired(): boolean;
3104
3160
  serialize(serializer: Serializer): void;
3105
3161
  static deserialize(deserializer: Deserializer): EphemeralKeyPair;
3106
3162
  static fromBytes(bytes: Uint8Array): EphemeralKeyPair;
3163
+ /**
3164
+ * Returns the public key of the key pair.
3165
+ * @param scheme the type of keypair to use for the EphemeralKeyPair. Only Ed25519 supported for now.
3166
+ * @return boolean
3167
+ */
3107
3168
  static generate(args?: {
3108
- scheme: SigningSchemeInput;
3169
+ scheme: EphemeralPublicKeyVariant;
3109
3170
  }): EphemeralKeyPair;
3110
- generateNonce(): string;
3171
+ private generateNonce;
3111
3172
  /**
3112
3173
  * Sign the given message with the private key.
3113
- * *
3174
+ *
3114
3175
  * @param data in HexInput format
3115
3176
  * @returns EphemeralSignature
3116
3177
  */
3117
3178
  sign(data: HexInput): EphemeralSignature;
3118
3179
  }
3119
3180
 
3120
- type ProofFetchSuccess = {
3121
- status: "Success";
3122
- };
3123
- type ProofFetchFailure = {
3124
- status: "Failed";
3125
- error: string;
3126
- };
3127
- type ProofFetchStatus = ProofFetchSuccess | ProofFetchFailure;
3128
- type ProofFetchCallback = (status: ProofFetchStatus) => Promise<void>;
3129
- interface ProofFetchEvents {
3130
- proofFetchFinish: (status: ProofFetchStatus) => void;
3131
- }
3181
+ declare const IssuerToJwkEndpoint: Record<string, string>;
3132
3182
  declare class KeylessAccount extends Serializable implements Account$1 {
3133
3183
  static readonly PEPPER_LENGTH: number;
3134
- static readonly SLIP_0010_SEED: string;
3135
- publicKey: KeylessPublicKey;
3136
- ephemeralKeyPair: EphemeralKeyPair;
3137
- uidKey: string;
3138
- uidVal: string;
3139
- aud: string;
3140
- pepper: Uint8Array;
3141
- accountAddress: AccountAddress;
3142
- proof: SignedGroth16Signature | undefined;
3143
- proofOrPromise: SignedGroth16Signature | Promise<SignedGroth16Signature>;
3144
- signingScheme: SigningScheme;
3145
- jwt: string;
3146
- emitter: EventEmitter<ProofFetchEvents>;
3184
+ readonly publicKey: KeylessPublicKey;
3185
+ readonly ephemeralKeyPair: EphemeralKeyPair;
3186
+ readonly uidKey: string;
3187
+ readonly uidVal: string;
3188
+ readonly aud: string;
3189
+ readonly pepper: Uint8Array;
3190
+ readonly accountAddress: AccountAddress;
3191
+ proof: ZeroKnowledgeSig | undefined;
3192
+ readonly proofOrPromise: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
3193
+ readonly signingScheme: SigningScheme;
3194
+ private jwt;
3195
+ private isJwtValid;
3196
+ readonly emitter: EventEmitter<ProofFetchEvents>;
3147
3197
  constructor(args: {
3148
3198
  address?: AccountAddress;
3149
3199
  ephemeralKeyPair: EphemeralKeyPair;
@@ -3152,36 +3202,84 @@ declare class KeylessAccount extends Serializable implements Account$1 {
3152
3202
  uidVal: string;
3153
3203
  aud: string;
3154
3204
  pepper: HexInput;
3155
- proofOrFetcher: SignedGroth16Signature | Promise<SignedGroth16Signature>;
3205
+ proofOrFetcher: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
3156
3206
  proofFetchCallback?: ProofFetchCallback;
3157
3207
  jwt: string;
3158
3208
  });
3159
- init(promise: Promise<SignedGroth16Signature>): Promise<void>;
3209
+ /**
3210
+ * This initializes the asyncronous proof fetch
3211
+ * @return
3212
+ */
3213
+ init(promise: Promise<ZeroKnowledgeSig>): Promise<void>;
3160
3214
  serialize(serializer: Serializer): void;
3161
3215
  static deserialize(deserializer: Deserializer): KeylessAccount;
3216
+ /**
3217
+ * Checks if the proof is expired. If so the account must be rederived with a new EphemeralKeyPair
3218
+ * and JWT token.
3219
+ * @return boolean
3220
+ */
3162
3221
  isExpired(): boolean;
3163
- bcsToBytes(): Uint8Array;
3164
- bcsToHex(): Hex;
3222
+ /**
3223
+ * Checks if the the JWK used to verify the token still exists on the issuer's JWK uri.
3224
+ * Caches the result.
3225
+ * @return boolean
3226
+ */
3227
+ checkJwkValidity(): Promise<boolean>;
3228
+ /**
3229
+ * Sign a message using Keyless.
3230
+ * @param message the message to sign, as binary input
3231
+ * @return the AccountAuthenticator containing the signature, together with the account's public key
3232
+ */
3165
3233
  signWithAuthenticator(message: HexInput): AccountAuthenticatorSingleKey;
3234
+ /**
3235
+ * Sign a transaction using Keyless.
3236
+ * @param transaction the raw transaction
3237
+ * @return the AccountAuthenticator containing the signature of the transaction, together with the account's public key
3238
+ */
3166
3239
  signTransactionWithAuthenticator(transaction: AnyRawTransaction): AccountAuthenticatorSingleKey;
3240
+ /**
3241
+ * Waits for asyncronous proof fetching to finish.
3242
+ * @return
3243
+ */
3167
3244
  waitForProofFetch(): Promise<void>;
3168
- sign(data: HexInput): Signature;
3169
- signTransaction(transaction: AnyRawTransaction): Signature;
3170
- signWithOpenIdSignature(data: HexInput): Signature;
3245
+ /**
3246
+ * Sign the given message using Keyless.
3247
+ * @param message in HexInput format
3248
+ * @returns Signature
3249
+ */
3250
+ sign(data: HexInput): KeylessSignature;
3251
+ /**
3252
+ * Sign the given transaction with Keyless.
3253
+ * Signs the transaction and proof to guard against proof malleability.
3254
+ * @param transaction the transaction to be signed
3255
+ * @returns KeylessSignature
3256
+ */
3257
+ signTransaction(transaction: AnyRawTransaction): KeylessSignature;
3171
3258
  verifySignature(args: {
3172
3259
  message: HexInput;
3173
3260
  signature: Signature;
3174
3261
  }): boolean;
3175
3262
  static fromBytes(bytes: Uint8Array): KeylessAccount;
3176
3263
  static fromJWTAndProof(args: {
3177
- proof: SignedGroth16Signature | Promise<SignedGroth16Signature>;
3264
+ proof: ZeroKnowledgeSig | Promise<ZeroKnowledgeSig>;
3178
3265
  jwt: string;
3179
3266
  ephemeralKeyPair: EphemeralKeyPair;
3180
3267
  pepper: HexInput;
3181
3268
  uidKey?: string;
3182
3269
  proofFetchCallback?: ProofFetchCallback;
3183
3270
  }): KeylessAccount;
3184
- static fromDerivationPath(path: string, seed: Uint8Array): Uint8Array;
3271
+ }
3272
+ type ProofFetchSuccess = {
3273
+ status: "Success";
3274
+ };
3275
+ type ProofFetchFailure = {
3276
+ status: "Failed";
3277
+ error: string;
3278
+ };
3279
+ type ProofFetchStatus = ProofFetchSuccess | ProofFetchFailure;
3280
+ type ProofFetchCallback = (status: ProofFetchStatus) => Promise<void>;
3281
+ interface ProofFetchEvents {
3282
+ proofFetchFinish: (status: ProofFetchStatus) => void;
3185
3283
  }
3186
3284
 
3187
3285
  interface VerifyMultiKeySignatureArgs {
@@ -3259,6 +3357,10 @@ declare class MultiKeyAccount implements Account$1 {
3259
3357
  * @return the AccountAuthenticator containing the signature of the transaction, together with the account's public key
3260
3358
  */
3261
3359
  signTransactionWithAuthenticator(transaction: AnyRawTransaction): AccountAuthenticatorMultiKey;
3360
+ /**
3361
+ * Waits for any proofs to be fetched
3362
+ * @return
3363
+ */
3262
3364
  waitForProofFetch(): Promise<void>;
3263
3365
  /**
3264
3366
  * Sign the given message using the MultiKeyAccount's signers
@@ -5809,21 +5911,34 @@ declare class Transaction {
5809
5911
  }
5810
5912
 
5811
5913
  /**
5812
- * A class to query all `OIDB` related queries on Aptos.
5914
+ * A class to query all `Keyless` related queries on Aptos.
5813
5915
  */
5814
5916
  declare class Keyless {
5815
5917
  readonly config: AptosConfig;
5816
5918
  constructor(config: AptosConfig);
5817
5919
  /**
5818
- * TODO
5920
+ * Fetches the pepper from the Aptos pepper service API.
5819
5921
  *
5820
- * @param args.jwt jwt token
5821
- * @returns The pepper
5922
+ * @param args.jwt JWT token
5923
+ * @param args.ephemeralKeyPair the EphemeralKeyPair used to generate the nonce in the JWT token
5924
+ * @returns The pepper which is a Uint8Array of length 31.
5822
5925
  */
5823
5926
  getPepper(args: {
5824
5927
  jwt: string;
5825
5928
  ephemeralKeyPair: EphemeralKeyPair;
5826
5929
  }): Promise<Uint8Array>;
5930
+ /**
5931
+ * Fetches the pepper from the Aptos pepper service API.
5932
+ *
5933
+ * @param args.jwt JWT token
5934
+ * @param args.ephemeralKeyPair the EphemeralKeyPair used to generate the nonce in the JWT token
5935
+ * @param args.uidKey a key in the JWT token to use to set the uidVal in the IdCommitment
5936
+ * @param args.pepper the pepper
5937
+ * @param args.extraFieldKey a key in the JWT token used to reveal a value on chain
5938
+ * @param args.proofFetchCallback a callback function that if set, the fetch of the proof will be done asyncronously. Once
5939
+ * if finishes the callback function will be called.
5940
+ * @returns A KeylessAccount that can be used to sign transactions
5941
+ */
5827
5942
  deriveKeylessAccount(args: {
5828
5943
  jwt: string;
5829
5944
  ephemeralKeyPair: EphemeralKeyPair;
@@ -5897,7 +6012,11 @@ declare class AptosApiError extends Error {
5897
6012
  readonly url: string;
5898
6013
  readonly status: number;
5899
6014
  readonly statusText: string;
5900
- readonly data: any;
6015
+ readonly data: {
6016
+ message: string;
6017
+ error_code?: string;
6018
+ vm_error_code?: number;
6019
+ };
5901
6020
  readonly request: AptosRequest;
5902
6021
  constructor(request: AptosRequest, response: AptosResponse<any, any>, message: string);
5903
6022
  }
@@ -6026,4 +6145,4 @@ declare function postAptosFaucet<Req extends {}, Res extends {}>(options: PostAp
6026
6145
  declare function postAptosPepperService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6027
6146
  declare function postAptosProvingService<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
6028
6147
 
6029
- export { APTOS_BIP44_DEFAULT_DERIVATION_PATH, APTOS_BIP44_REGEX, APTOS_COIN, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AnyNumber, AnyPublicKey, AnyPublicKeyVariant, type AnyRawTransaction, type AnyRawTransactionInstance, AnySignature, type AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, type AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, type DerivedKeys, Deserializable, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, type EntryFunctionABI, EntryFunctionArgument, type EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FaucetConfig, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, Identifier, IndexerConfig, type InputEntryFunctionData, type InputEntryFunctionDataWithABI, type InputEntryFunctionDataWithRemoteABI, type InputGenerateMultiAgentRawTransactionArgs, type InputGenerateMultiAgentRawTransactionData, type InputGenerateRawTransactionArgs, type InputGenerateSingleSignerRawTransactionArgs, type InputGenerateSingleSignerRawTransactionData, type InputGenerateTransactionData, type InputGenerateTransactionOptions, type InputGenerateTransactionPayloadData, type InputGenerateTransactionPayloadDataWithABI, type InputGenerateTransactionPayloadDataWithRemoteABI, type InputMultiSigData, type InputMultiSigDataWithABI, type InputMultiSigDataWithRemoteABI, type InputScriptData, type InputSimulateTransactionData, type InputSimulateTransactionOptions, type InputSubmitTransactionData, type InputViewFunctionData, type InputViewFunctionDataWithABI, type InputViewFunctionDataWithRemoteABI, KeyType, KeylessAccount, KeylessPublicKey, KeylessSignature, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, ModuleId, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveModuleBytecode, MoveModuleId, MoveOption, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentRawTransaction, MultiAgentTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiKeyAccount, MultiKeySignature, MultiSig, MultiSigTransactionPayload, Network, OpenIdSignature, OpenIdSignatureOrZkProof, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, type PrivateKey, type PrivateKeyFromDerivationPathArgs, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RotationProofChallenge, Script, ScriptFunctionArgument, type ScriptFunctionArgumentTypes, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serializer, Signature, SignedGroth16Signature, SignedTransaction, SigningScheme, SigningSchemeInput, type SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, StructTag, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint16, Uint32, Uint8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, type VerifySignatureArgs, type VerifySingleKeySignatureArgs, type ViewFunctionABI, WaitForTransactionOptions, WhereArg, aptosCoinStructTag, aptosRequest, buildTransaction, checkOrConvertArgument, computeAddressSeed, convertArgument, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, fromDerivationPath, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getFunctionParts, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEncodedEntryFunctionArgument, isLargeNumber, isNull, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, normalizeBundle, objectStructTag, optionStructTag, paginateWithCursor, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };
6148
+ export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AnyNumber, AnyPublicKey, AnyPublicKeyVariant, type AnyRawTransaction, type AnyRawTransactionInstance, AnySignature, type AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, type AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, type DerivedKeys, Deserializable, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, type EntryFunctionABI, EntryFunctionArgument, type EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FaucetConfig, FeePayerRawTransaction, FixedBytes, FullNodeConfig, type FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, Identifier, IndexerConfig, type InputEntryFunctionData, type InputEntryFunctionDataWithABI, type InputEntryFunctionDataWithRemoteABI, type InputGenerateMultiAgentRawTransactionArgs, type InputGenerateMultiAgentRawTransactionData, type InputGenerateRawTransactionArgs, type InputGenerateSingleSignerRawTransactionArgs, type InputGenerateSingleSignerRawTransactionData, type InputGenerateTransactionData, type InputGenerateTransactionOptions, type InputGenerateTransactionPayloadData, type InputGenerateTransactionPayloadDataWithABI, type InputGenerateTransactionPayloadDataWithRemoteABI, type InputMultiSigData, type InputMultiSigDataWithABI, type InputMultiSigDataWithRemoteABI, type InputScriptData, type InputSimulateTransactionData, type InputSimulateTransactionOptions, type InputSubmitTransactionData, type InputViewFunctionData, type InputViewFunctionDataWithABI, type InputViewFunctionDataWithRemoteABI, IssuerToJwkEndpoint, KeyType, KeylessAccount, KeylessPublicKey, KeylessSignature, LedgerInfo, LedgerVersionArg, MAX_AUD_VAL_BYTES, MAX_COMMITED_EPK_BYTES, MAX_EXTRA_FIELD_BYTES, MAX_ISS_VAL_BYTES, MAX_JWT_HEADER_B64_BYTES, MAX_UID_KEY_BYTES, MAX_UID_VAL_BYTES, MimeType, ModuleId, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveModuleBytecode, MoveModuleId, MoveOption, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentRawTransaction, MultiAgentTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiKeyAccount, MultiKeySignature, MultiSig, MultiSigTransactionPayload, Network, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, type PrivateKey, type PrivateKeyFromDerivationPathArgs, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RotationProofChallenge, Script, ScriptFunctionArgument, type ScriptFunctionArgumentTypes, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, type SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, StructTag, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint16, Uint32, Uint8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, type VerifySignatureArgs, type VerifySingleKeySignatureArgs, type ViewFunctionABI, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosCoinStructTag, aptosRequest, buildTransaction, checkOrConvertArgument, convertArgument, deriveKey, deriveTransactionType, deserializeFromScriptArgument, fetchEntryFunctionAbi, fetchFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getFunctionParts, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEncodedEntryFunctionArgument, isLargeNumber, isNull, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, normalizeBundle, objectStructTag, optionStructTag, paginateWithCursor, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch };