@aptos-labs/ts-sdk 4.0.0 → 5.1.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 (331) hide show
  1. package/dist/common/{account-CmEgDBH6.d.ts → account-BW99GTa5.d.ts} +35 -4
  2. package/dist/common/chunk-A2XB7TVI.js +4 -0
  3. package/dist/common/chunk-A2XB7TVI.js.map +1 -0
  4. package/dist/common/cli/index.d.ts +1 -1
  5. package/dist/common/cli/index.js +1 -1
  6. package/dist/common/cli/index.js.map +1 -1
  7. package/dist/common/index.d.ts +381 -47
  8. package/dist/common/index.js +34 -36
  9. package/dist/common/index.js.map +1 -1
  10. package/dist/esm/{Ed25519Account-ndmdpFe9.d.mts → Ed25519Account-CPwej6wB.d.mts} +1 -1
  11. package/dist/esm/account/AbstractKeylessAccount.d.mts +3 -3
  12. package/dist/esm/account/AbstractKeylessAccount.mjs +1 -1
  13. package/dist/esm/account/AbstractedAccount.d.mts +3 -2
  14. package/dist/esm/account/AbstractedAccount.mjs +1 -1
  15. package/dist/esm/account/Account.d.mts +2 -2
  16. package/dist/esm/account/Account.mjs +1 -1
  17. package/dist/esm/account/AccountUtils.d.mts +3 -3
  18. package/dist/esm/account/AccountUtils.mjs +1 -1
  19. package/dist/esm/account/DerivableAbstractedAccount.d.mts +2 -2
  20. package/dist/esm/account/DerivableAbstractedAccount.mjs +1 -1
  21. package/dist/esm/account/Ed25519Account.d.mts +2 -2
  22. package/dist/esm/account/Ed25519Account.mjs +1 -1
  23. package/dist/esm/account/EphemeralKeyPair.d.mts +1 -1
  24. package/dist/esm/account/EphemeralKeyPair.mjs +1 -1
  25. package/dist/esm/account/FederatedKeylessAccount.d.mts +3 -3
  26. package/dist/esm/account/FederatedKeylessAccount.mjs +1 -1
  27. package/dist/esm/account/KeylessAccount.d.mts +3 -3
  28. package/dist/esm/account/KeylessAccount.mjs +1 -1
  29. package/dist/esm/account/MultiEd25519Account.d.mts +2 -2
  30. package/dist/esm/account/MultiEd25519Account.mjs +1 -1
  31. package/dist/esm/account/MultiKeyAccount.d.mts +3 -3
  32. package/dist/esm/account/MultiKeyAccount.mjs +1 -1
  33. package/dist/esm/account/SingleKeyAccount.d.mts +2 -2
  34. package/dist/esm/account/SingleKeyAccount.mjs +1 -1
  35. package/dist/esm/account/index.d.mts +3 -3
  36. package/dist/esm/account/index.mjs +1 -1
  37. package/dist/esm/account/utils.d.mts +1 -1
  38. package/dist/esm/account/utils.mjs +1 -1
  39. package/dist/esm/{account--Q9z_xMN.d.mts → account-BortO8g2.d.mts} +34 -4
  40. package/dist/esm/api/account/abstraction.d.mts +1 -1
  41. package/dist/esm/api/account/abstraction.mjs +1 -1
  42. package/dist/esm/api/account.d.mts +31 -13
  43. package/dist/esm/api/account.mjs +1 -1
  44. package/dist/esm/api/ans.d.mts +2 -2
  45. package/dist/esm/api/ans.mjs +1 -1
  46. package/dist/esm/api/aptos.d.mts +4 -3
  47. package/dist/esm/api/aptos.mjs +1 -1
  48. package/dist/esm/api/aptosConfig.d.mts +1 -1
  49. package/dist/esm/api/aptosConfig.mjs +1 -1
  50. package/dist/esm/api/coin.d.mts +1 -1
  51. package/dist/esm/api/coin.mjs +1 -1
  52. package/dist/esm/api/digitalAsset.d.mts +2 -2
  53. package/dist/esm/api/digitalAsset.mjs +1 -1
  54. package/dist/esm/api/faucet.d.mts +1 -1
  55. package/dist/esm/api/faucet.mjs +1 -1
  56. package/dist/esm/api/fungibleAsset.d.mts +2 -2
  57. package/dist/esm/api/fungibleAsset.mjs +1 -1
  58. package/dist/esm/api/general.d.mts +1 -1
  59. package/dist/esm/api/general.mjs +1 -1
  60. package/dist/esm/api/index.d.mts +4 -3
  61. package/dist/esm/api/index.mjs +1 -1
  62. package/dist/esm/api/keyless.d.mts +3 -3
  63. package/dist/esm/api/keyless.mjs +1 -1
  64. package/dist/esm/api/object.d.mts +1 -1
  65. package/dist/esm/api/object.mjs +1 -1
  66. package/dist/esm/api/staking.d.mts +1 -1
  67. package/dist/esm/api/staking.mjs +1 -1
  68. package/dist/esm/api/table.d.mts +1 -1
  69. package/dist/esm/api/table.mjs +1 -1
  70. package/dist/esm/api/transaction.d.mts +56 -36
  71. package/dist/esm/api/transaction.mjs +1 -1
  72. package/dist/esm/api/transactionSubmission/build.d.mts +1 -1
  73. package/dist/esm/api/transactionSubmission/build.mjs +1 -1
  74. package/dist/esm/api/transactionSubmission/helpers.d.mts +1 -1
  75. package/dist/esm/api/transactionSubmission/management.d.mts +2 -2
  76. package/dist/esm/api/transactionSubmission/management.mjs +1 -1
  77. package/dist/esm/api/transactionSubmission/sign.d.mts +2 -2
  78. package/dist/esm/api/transactionSubmission/sign.mjs +1 -1
  79. package/dist/esm/api/transactionSubmission/sign.mjs.map +1 -1
  80. package/dist/esm/api/transactionSubmission/simulate.d.mts +1 -1
  81. package/dist/esm/api/transactionSubmission/simulate.mjs +1 -1
  82. package/dist/esm/api/transactionSubmission/submit.d.mts +1 -1
  83. package/dist/esm/api/transactionSubmission/submit.mjs +1 -1
  84. package/dist/esm/api/utils.d.mts +1 -1
  85. package/dist/esm/api/utils.mjs +1 -1
  86. package/dist/esm/bcs/consts.d.mts +1 -1
  87. package/dist/esm/bcs/deserializer.d.mts +1 -1
  88. package/dist/esm/bcs/index.d.mts +1 -1
  89. package/dist/esm/bcs/index.mjs +1 -1
  90. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +1 -1
  91. package/dist/esm/bcs/serializable/fixedBytes.d.mts +1 -1
  92. package/dist/esm/bcs/serializable/movePrimitives.d.mts +1 -1
  93. package/dist/esm/bcs/serializable/movePrimitives.mjs +1 -1
  94. package/dist/esm/bcs/serializable/moveStructs.d.mts +1 -1
  95. package/dist/esm/bcs/serializable/moveStructs.mjs +1 -1
  96. package/dist/esm/bcs/serializer.d.mts +1 -1
  97. package/dist/esm/chunk-2PASUPUO.mjs +2 -0
  98. package/dist/esm/chunk-2PASUPUO.mjs.map +1 -0
  99. package/dist/esm/{chunk-6JYQ5P36.mjs → chunk-4AI7KQQ7.mjs} +2 -2
  100. package/dist/esm/{chunk-V6C6NWFU.mjs → chunk-6OWBKU7N.mjs} +2 -2
  101. package/dist/esm/{chunk-BPWSOC2Y.mjs → chunk-7EER7GWV.mjs} +2 -2
  102. package/dist/esm/{chunk-PLI53ZU6.mjs → chunk-AMXZQPUQ.mjs} +2 -2
  103. package/dist/esm/chunk-CIJA7ONS.mjs +2 -0
  104. package/dist/esm/{chunk-6SLY7UV2.mjs.map → chunk-CIJA7ONS.mjs.map} +1 -1
  105. package/dist/esm/chunk-I7XT6L7S.mjs +2 -0
  106. package/dist/esm/chunk-I7XT6L7S.mjs.map +1 -0
  107. package/dist/esm/{chunk-UQZTHVWC.mjs → chunk-JABP65XD.mjs} +2 -2
  108. package/dist/esm/chunk-L72TIN7T.mjs +4 -0
  109. package/dist/esm/chunk-L72TIN7T.mjs.map +1 -0
  110. package/dist/esm/{chunk-3BMZKCLH.mjs → chunk-M3AO73ZL.mjs} +2 -2
  111. package/dist/esm/chunk-MCFQE4GC.mjs +2 -0
  112. package/dist/esm/chunk-MCFQE4GC.mjs.map +1 -0
  113. package/dist/esm/chunk-OLILO7VD.mjs +2 -0
  114. package/dist/esm/{chunk-JCFTAG5Z.mjs.map → chunk-OLILO7VD.mjs.map} +1 -1
  115. package/dist/esm/{chunk-NF73V673.mjs → chunk-QP2BY4PK.mjs} +2 -2
  116. package/dist/esm/{chunk-Y7ZQTLH4.mjs → chunk-RCSJFTST.mjs} +2 -2
  117. package/dist/esm/{chunk-XYXBAU4J.mjs → chunk-SJDCGNWU.mjs} +2 -2
  118. package/dist/esm/{chunk-HZVN4JSO.mjs → chunk-WHSTLR3F.mjs} +2 -2
  119. package/dist/esm/chunk-ZP4DWSQA.mjs +2 -0
  120. package/dist/esm/chunk-ZP4DWSQA.mjs.map +1 -0
  121. package/dist/esm/cli/index.d.mts +1 -1
  122. package/dist/esm/cli/index.mjs +1 -1
  123. package/dist/esm/cli/localNode.mjs +1 -1
  124. package/dist/esm/cli/move.d.mts +1 -1
  125. package/dist/esm/client/core.d.mts +1 -1
  126. package/dist/esm/client/core.mjs +1 -1
  127. package/dist/esm/client/get.d.mts +1 -1
  128. package/dist/esm/client/get.mjs +1 -1
  129. package/dist/esm/client/index.d.mts +1 -1
  130. package/dist/esm/client/index.mjs +1 -1
  131. package/dist/esm/client/post.d.mts +1 -1
  132. package/dist/esm/client/post.mjs +1 -1
  133. package/dist/esm/core/account/index.d.mts +1 -1
  134. package/dist/esm/core/account/index.mjs +1 -1
  135. package/dist/esm/core/account/utils/address.d.mts +1 -1
  136. package/dist/esm/core/account/utils/address.mjs +1 -1
  137. package/dist/esm/core/account/utils/index.d.mts +1 -1
  138. package/dist/esm/core/account/utils/index.mjs +1 -1
  139. package/dist/esm/core/accountAddress.d.mts +1 -1
  140. package/dist/esm/core/accountAddress.mjs +1 -1
  141. package/dist/esm/core/authenticationKey.d.mts +1 -1
  142. package/dist/esm/core/authenticationKey.mjs +1 -1
  143. package/dist/esm/core/crypto/abstraction.d.mts +1 -1
  144. package/dist/esm/core/crypto/abstraction.mjs +1 -1
  145. package/dist/esm/core/crypto/deserializationUtils.d.mts +1 -1
  146. package/dist/esm/core/crypto/deserializationUtils.mjs +1 -1
  147. package/dist/esm/core/crypto/ed25519.d.mts +1 -1
  148. package/dist/esm/core/crypto/ed25519.mjs +1 -1
  149. package/dist/esm/core/crypto/ephemeral.d.mts +1 -1
  150. package/dist/esm/core/crypto/ephemeral.mjs +1 -1
  151. package/dist/esm/core/crypto/federatedKeyless.d.mts +2 -2
  152. package/dist/esm/core/crypto/federatedKeyless.mjs +1 -1
  153. package/dist/esm/core/crypto/index.d.mts +3 -2
  154. package/dist/esm/core/crypto/index.mjs +1 -1
  155. package/dist/esm/core/crypto/keyless.d.mts +2 -2
  156. package/dist/esm/core/crypto/keyless.mjs +1 -1
  157. package/dist/esm/core/crypto/multiEd25519.d.mts +1 -1
  158. package/dist/esm/core/crypto/multiEd25519.mjs +1 -1
  159. package/dist/esm/core/crypto/multiKey.d.mts +1 -1
  160. package/dist/esm/core/crypto/multiKey.mjs +1 -1
  161. package/dist/esm/core/crypto/privateKey.d.mts +1 -1
  162. package/dist/esm/core/crypto/privateKey.mjs +1 -1
  163. package/dist/esm/core/crypto/proof.d.mts +1 -1
  164. package/dist/esm/core/crypto/proof.mjs +1 -1
  165. package/dist/esm/core/crypto/publicKey.d.mts +1 -1
  166. package/dist/esm/core/crypto/publicKey.mjs +1 -1
  167. package/dist/esm/core/crypto/secp256k1.d.mts +1 -1
  168. package/dist/esm/core/crypto/secp256k1.mjs +1 -1
  169. package/dist/esm/core/crypto/secp256r1.d.mts +306 -0
  170. package/dist/esm/core/crypto/secp256r1.mjs +2 -0
  171. package/dist/esm/core/crypto/secp256r1.mjs.map +1 -0
  172. package/dist/esm/core/crypto/signature.d.mts +1 -1
  173. package/dist/esm/core/crypto/signature.mjs +1 -1
  174. package/dist/esm/core/crypto/singleKey.d.mts +1 -1
  175. package/dist/esm/core/crypto/singleKey.mjs +1 -1
  176. package/dist/esm/core/crypto/types.d.mts +1 -1
  177. package/dist/esm/core/crypto/utils.d.mts +5 -2
  178. package/dist/esm/core/crypto/utils.mjs +1 -1
  179. package/dist/esm/core/hex.d.mts +1 -1
  180. package/dist/esm/core/index.d.mts +3 -2
  181. package/dist/esm/core/index.mjs +1 -1
  182. package/dist/esm/errors/index.d.mts +1 -1
  183. package/dist/esm/errors/index.mjs +1 -1
  184. package/dist/esm/{federatedKeyless-CiyplsOB.d.mts → federatedKeyless-CTzDAQTu.d.mts} +1 -1
  185. package/dist/esm/index.d.mts +5 -4
  186. package/dist/esm/index.mjs +1 -1
  187. package/dist/esm/internal/abstraction.d.mts +1 -1
  188. package/dist/esm/internal/abstraction.mjs +1 -1
  189. package/dist/esm/internal/account.d.mts +45 -21
  190. package/dist/esm/internal/account.mjs +1 -1
  191. package/dist/esm/internal/ans.d.mts +2 -2
  192. package/dist/esm/internal/ans.mjs +1 -1
  193. package/dist/esm/internal/coin.d.mts +1 -1
  194. package/dist/esm/internal/coin.mjs +1 -1
  195. package/dist/esm/internal/digitalAsset.d.mts +2 -2
  196. package/dist/esm/internal/digitalAsset.mjs +1 -1
  197. package/dist/esm/internal/faucet.d.mts +1 -1
  198. package/dist/esm/internal/faucet.mjs +1 -1
  199. package/dist/esm/internal/fungibleAsset.d.mts +2 -2
  200. package/dist/esm/internal/fungibleAsset.mjs +1 -1
  201. package/dist/esm/internal/general.d.mts +1 -1
  202. package/dist/esm/internal/general.mjs +1 -1
  203. package/dist/esm/internal/keyless.d.mts +3 -3
  204. package/dist/esm/internal/keyless.mjs +1 -1
  205. package/dist/esm/internal/object.d.mts +1 -1
  206. package/dist/esm/internal/object.mjs +1 -1
  207. package/dist/esm/internal/staking.d.mts +1 -1
  208. package/dist/esm/internal/staking.mjs +1 -1
  209. package/dist/esm/internal/table.d.mts +1 -1
  210. package/dist/esm/internal/table.mjs +1 -1
  211. package/dist/esm/internal/transaction.d.mts +1 -1
  212. package/dist/esm/internal/transaction.mjs +1 -1
  213. package/dist/esm/internal/transactionSubmission.d.mts +2 -2
  214. package/dist/esm/internal/transactionSubmission.mjs +1 -1
  215. package/dist/esm/internal/utils/index.d.mts +1 -1
  216. package/dist/esm/internal/utils/index.mjs +1 -1
  217. package/dist/esm/internal/utils/utils.d.mts +1 -1
  218. package/dist/esm/internal/utils/utils.mjs +1 -1
  219. package/dist/esm/internal/view.d.mts +1 -1
  220. package/dist/esm/internal/view.mjs +1 -1
  221. package/dist/esm/transactions/authenticator/account.d.mts +1 -1
  222. package/dist/esm/transactions/authenticator/account.mjs +1 -1
  223. package/dist/esm/transactions/authenticator/index.d.mts +1 -1
  224. package/dist/esm/transactions/authenticator/index.mjs +1 -1
  225. package/dist/esm/transactions/authenticator/transaction.d.mts +1 -1
  226. package/dist/esm/transactions/authenticator/transaction.mjs +1 -1
  227. package/dist/esm/transactions/index.d.mts +1 -1
  228. package/dist/esm/transactions/index.mjs +1 -1
  229. package/dist/esm/transactions/instances/chainId.d.mts +1 -1
  230. package/dist/esm/transactions/instances/identifier.d.mts +1 -1
  231. package/dist/esm/transactions/instances/index.d.mts +1 -1
  232. package/dist/esm/transactions/instances/index.mjs +1 -1
  233. package/dist/esm/transactions/instances/moduleId.d.mts +1 -1
  234. package/dist/esm/transactions/instances/moduleId.mjs +1 -1
  235. package/dist/esm/transactions/instances/multiAgentTransaction.d.mts +1 -1
  236. package/dist/esm/transactions/instances/multiAgentTransaction.mjs +1 -1
  237. package/dist/esm/transactions/instances/rawTransaction.d.mts +1 -1
  238. package/dist/esm/transactions/instances/rawTransaction.mjs +1 -1
  239. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +1 -1
  240. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +1 -1
  241. package/dist/esm/transactions/instances/signedTransaction.d.mts +1 -1
  242. package/dist/esm/transactions/instances/signedTransaction.mjs +1 -1
  243. package/dist/esm/transactions/instances/simpleTransaction.d.mts +1 -1
  244. package/dist/esm/transactions/instances/simpleTransaction.mjs +1 -1
  245. package/dist/esm/transactions/instances/transactionArgument.d.mts +1 -1
  246. package/dist/esm/transactions/instances/transactionPayload.d.mts +1 -1
  247. package/dist/esm/transactions/instances/transactionPayload.mjs +1 -1
  248. package/dist/esm/transactions/management/accountSequenceNumber.d.mts +2 -2
  249. package/dist/esm/transactions/management/accountSequenceNumber.mjs +1 -1
  250. package/dist/esm/transactions/management/index.d.mts +2 -2
  251. package/dist/esm/transactions/management/index.mjs +1 -1
  252. package/dist/esm/transactions/management/transactionWorker.d.mts +2 -2
  253. package/dist/esm/transactions/management/transactionWorker.mjs +1 -1
  254. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +1 -1
  255. package/dist/esm/transactions/transactionBuilder/helpers.mjs +1 -1
  256. package/dist/esm/transactions/transactionBuilder/index.d.mts +1 -1
  257. package/dist/esm/transactions/transactionBuilder/index.mjs +1 -1
  258. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +1 -1
  259. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +1 -1
  260. package/dist/esm/transactions/transactionBuilder/signingMessage.d.mts +1 -1
  261. package/dist/esm/transactions/transactionBuilder/signingMessage.mjs +1 -1
  262. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +2 -2
  263. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +1 -1
  264. package/dist/esm/transactions/typeTag/index.d.mts +1 -1
  265. package/dist/esm/transactions/typeTag/index.mjs +1 -1
  266. package/dist/esm/transactions/typeTag/parser.d.mts +1 -1
  267. package/dist/esm/transactions/typeTag/parser.mjs +1 -1
  268. package/dist/esm/transactions/types.d.mts +1 -1
  269. package/dist/esm/types/abstraction.d.mts +9 -3
  270. package/dist/esm/types/abstraction.mjs +1 -1
  271. package/dist/esm/types/index.d.mts +1 -1
  272. package/dist/esm/types/index.mjs +1 -1
  273. package/dist/esm/types/types.d.mts +1 -1
  274. package/dist/esm/types/types.mjs +1 -1
  275. package/dist/esm/utils/const.d.mts +2 -1
  276. package/dist/esm/utils/const.mjs +1 -1
  277. package/dist/esm/utils/helpers.d.mts +1 -1
  278. package/dist/esm/utils/helpers.mjs +1 -1
  279. package/dist/esm/utils/index.d.mts +2 -2
  280. package/dist/esm/utils/index.mjs +1 -1
  281. package/dist/esm/utils/normalizeBundle.d.mts +1 -1
  282. package/dist/esm/utils/normalizeBundle.mjs +1 -1
  283. package/dist/esm/version.d.mts +1 -1
  284. package/dist/esm/version.mjs +1 -1
  285. package/package.json +27 -28
  286. package/src/account/AbstractedAccount.ts +16 -3
  287. package/src/account/DerivableAbstractedAccount.ts +3 -1
  288. package/src/api/account.ts +36 -23
  289. package/src/api/transaction.ts +59 -36
  290. package/src/core/crypto/index.ts +1 -0
  291. package/src/core/crypto/privateKey.ts +1 -0
  292. package/src/core/crypto/secp256k1.ts +9 -1
  293. package/src/core/crypto/secp256r1.ts +495 -0
  294. package/src/core/crypto/singleKey.ts +11 -0
  295. package/src/core/crypto/utils.ts +38 -1
  296. package/src/internal/account.ts +69 -83
  297. package/src/transactions/authenticator/account.ts +71 -17
  298. package/src/types/abstraction.ts +9 -2
  299. package/src/types/types.ts +5 -0
  300. package/src/utils/const.ts +2 -0
  301. package/src/version.ts +1 -1
  302. package/dist/common/chunk-6MMUUJHX.js +0 -4
  303. package/dist/common/chunk-6MMUUJHX.js.map +0 -1
  304. package/dist/esm/chunk-4JT5AESZ.mjs +0 -2
  305. package/dist/esm/chunk-4JT5AESZ.mjs.map +0 -1
  306. package/dist/esm/chunk-55Q7BSZT.mjs +0 -6
  307. package/dist/esm/chunk-55Q7BSZT.mjs.map +0 -1
  308. package/dist/esm/chunk-6SLY7UV2.mjs +0 -2
  309. package/dist/esm/chunk-DPW6ELCQ.mjs +0 -2
  310. package/dist/esm/chunk-DPW6ELCQ.mjs.map +0 -1
  311. package/dist/esm/chunk-IJE2LVZG.mjs +0 -2
  312. package/dist/esm/chunk-IJE2LVZG.mjs.map +0 -1
  313. package/dist/esm/chunk-JCFTAG5Z.mjs +0 -2
  314. package/dist/esm/chunk-K43K3YG7.mjs +0 -2
  315. package/dist/esm/chunk-K43K3YG7.mjs.map +0 -1
  316. package/dist/esm/chunk-KJH4KKG6.mjs +0 -2
  317. package/dist/esm/chunk-KJH4KKG6.mjs.map +0 -1
  318. package/dist/esm/chunk-MSMFHPDT.mjs +0 -2
  319. package/dist/esm/chunk-MSMFHPDT.mjs.map +0 -1
  320. package/dist/esm/chunk-ROT6S6BM.mjs +0 -2
  321. package/dist/esm/chunk-ROT6S6BM.mjs.map +0 -1
  322. /package/dist/esm/{chunk-6JYQ5P36.mjs.map → chunk-4AI7KQQ7.mjs.map} +0 -0
  323. /package/dist/esm/{chunk-V6C6NWFU.mjs.map → chunk-6OWBKU7N.mjs.map} +0 -0
  324. /package/dist/esm/{chunk-BPWSOC2Y.mjs.map → chunk-7EER7GWV.mjs.map} +0 -0
  325. /package/dist/esm/{chunk-PLI53ZU6.mjs.map → chunk-AMXZQPUQ.mjs.map} +0 -0
  326. /package/dist/esm/{chunk-UQZTHVWC.mjs.map → chunk-JABP65XD.mjs.map} +0 -0
  327. /package/dist/esm/{chunk-3BMZKCLH.mjs.map → chunk-M3AO73ZL.mjs.map} +0 -0
  328. /package/dist/esm/{chunk-NF73V673.mjs.map → chunk-QP2BY4PK.mjs.map} +0 -0
  329. /package/dist/esm/{chunk-Y7ZQTLH4.mjs.map → chunk-RCSJFTST.mjs.map} +0 -0
  330. /package/dist/esm/{chunk-XYXBAU4J.mjs.map → chunk-SJDCGNWU.mjs.map} +0 -0
  331. /package/dist/esm/{chunk-HZVN4JSO.mjs.map → chunk-WHSTLR3F.mjs.map} +0 -0
@@ -1,5 +1,5 @@
1
- import { A as AccountAddress, a as AccountPublicKey, b as AuthenticationKey, V as VerifySignatureArgs, c as VerifySignatureAsyncArgs, S as Serializer, d as Signature, H as HexInput, D as Deserializer, P as PublicKey, E as EphemeralPublicKeyVariant, e as AptosConfig, f as Serializable, g as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg, h as AccountAddressInput, i as Ed25519PublicKey, j as AnyPublicKey, M as MultiKey, k as MultiEd25519PublicKey, l as Ed25519Signature, m as MultiEd25519Signature, n as AccountAuthenticator, o as MoveString, p as MoveVector, U as U8, q as U64, r as AnyNumber, R as RawTransaction, s as SimpleEntryFunctionArgumentTypes, t as EntryFunctionArgumentTypes, B as Bool, F as FixedBytes, u as U16, v as U32, w as U128, x as U256, I as InputGenerateTransactionPayloadDataWithRemoteABI, y as InputGenerateTransactionPayloadData, z as InputScriptData, C as MoveFunction, T as TransactionPayloadScript, G as InputEntryFunctionDataWithRemoteABI, J as TransactionPayloadEntryFunction, K as InputMultiSigDataWithRemoteABI, N as TransactionPayloadMultiSig, O as InputEntryFunctionDataWithABI, Q as InputMultiSigDataWithABI, W as InputViewFunctionDataWithRemoteABI, X as EntryFunction, Y as InputViewFunctionDataWithABI, _ as AnyTransactionPayloadInstance, $ as InputGenerateTransactionOptions, a0 as TransactionInnerPayload, a1 as InputGenerateSingleSignerRawTransactionArgs, a2 as SimpleTransaction, a3 as InputGenerateMultiAgentRawTransactionArgs, a4 as MultiAgentTransaction, a5 as InputSimulateTransactionData, a6 as AccountAuthenticatorNoAccountAuthenticator, a7 as AccountAuthenticatorEd25519, a8 as AccountAuthenticatorSingleKey, a9 as AccountAuthenticatorMultiKey, aa as InputSubmitTransactionData, ab as TypeArgument, ac as TypeTag, ad as MoveModule, ae as FunctionABI, af as EntryFunctionABI, ag as ViewFunctionABI, ah as AnyRawTransaction, ai as AnyRawTransactionInstance, aj as AccountData, ak as MoveModuleBytecode, al as CursorPaginationArgs, am as PaginationArgs, an as TransactionResponse, ao as MoveResource, ap as MoveStructId, aq as TokenStandardArg, ar as OrderByArg, as as GetAccountOwnedTokensQueryResponse, at as GetAccountOwnedTokensFromCollectionResponse, au as GetAccountCollectionsWithOwnedTokenResponse, av as GetAccountCoinsDataResponse, aw as WhereArg, ax as GetObjectDataQueryResponse, ay as PrivateKeyInput, az as GetCollectionDataResponse, aA as GetTokenDataResponse, aB as GetCurrentTokenOwnershipResponse, aC as GetOwnedTokensResponse, aD as GetTokenActivityResponse, aE as WaitForTransactionOptions, aF as UserTransactionResponse, aG as GetFungibleAssetMetadataResponse, aH as GetFungibleAssetActivitiesResponse, aI as GetCurrentFungibleAssetBalancesResponse, aJ as LedgerInfo, aK as Block, aL as MoveValue, aM as InputViewFunctionData, aN as InputViewFunctionJsonData, aO as GetChainTopUserTransactionsResponse, aP as GraphqlQuery, aQ as ProcessorType, aR as GetProcessorStatusResponse, aS as GetANSNameResponse, aT as GetNumberOfDelegatorsResponse, aU as GetDelegatedStakingActivitiesResponse, aV as InputSimulateTransactionOptions, aW as InputTransactionPluginData, aX as PendingTransactionResponse, aY as CommittedTransactionResponse, aZ as GasEstimation, a_ as Ed25519PrivateKey, a$ as TableItemRequest, b0 as GetTableItemsDataResponse, b1 as GetTableItemsMetadataResponse, b2 as PrivateKey, b3 as SigningScheme, b4 as SigningSchemeInput, b5 as AnySignature, b6 as EntryFunctionArgument, b7 as MultiKeySignature, b8 as AccountAuthenticatorMultiEd25519, b9 as AccountAuthenticatorAbstraction, ba as MoveFunctionId, bb as ClientRequest, bc as Client, bd as ClientResponse, be as AptosRequest, bf as AptosApiType, bg as AptosResponse, bh as MimeType, bi as ClientConfig } from './account-CmEgDBH6.js';
2
- export { ea as APTOS_COIN, eb as APTOS_FA, bt as AbstractMultiKey, cy as AccountAuthenticatorVariant, dy as AccountSignature, bp as AddressInvalidReason, cA as AnyPublicKeyVariant, cC as AnySignatureVariant, cK as AptosSettings, dW as AuthenticationKeyScheme, d3 as BlockEndInfo, d4 as BlockEpilogueTransactionResponse, d0 as BlockMetadataTransactionResponse, bA as ChainId, cP as ClientHeadersType, e7 as DEFAULT_MAX_GAS_AMOUNT, e8 as DEFAULT_TXN_EXP_SEC_FROM_NOW, e9 as DEFAULT_TXN_TIMEOUT_SEC, dc as DecodedTableData, dd as DeletedTableData, dX as DeriveScheme, bj as Deserializable, dB as DirectWriteSet, df as EntryFunctionPayloadResponse, cD as EphemeralSignatureVariant, dD as Event, dC as EventGuid, ee as FIREBASE_AUTH_ISS_PATTERN, cN as FaucetConfig, bF as FeePayerRawTransaction, cL as FullNodeConfig, d_ as GenerateAccount, dY as GenerateAccountWithEd25519, dZ as GenerateAccountWithSingleSignerSecp256k1Key, di as GenesisPayload, c$ as GenesisTransactionResponse, cl as GetAccountAddressesForAuthKeyResponse, cm as GetEventsResponse, by as Hex, bx as HexInvalidReason, bB as Identifier, cM as IndexerConfig, cd as InputEntryFunctionData, cj as InputGenerateMultiAgentRawTransactionData, cc as InputGenerateOrderlessTransactionOptions, ch as InputGenerateRawTransactionArgs, cb as InputGenerateSequenceNumberTransactionOptions, ci as InputGenerateSingleSignerRawTransactionData, ck as InputGenerateTransactionData, ce as InputGenerateTransactionPayloadDataWithABI, cf as InputMultiSigData, bC as ModuleId, dR as MoveAbility, dK as MoveAddressType, dS as MoveFunctionGenericTypeParam, dQ as MoveFunctionVisibility, dP as MoveModuleId, dL as MoveObjectType, bo as MoveOption, dM as MoveOptionType, dj as MoveScriptBytecode, dU as MoveStruct, dT as MoveStructField, dN as MoveStructType, dO as MoveType, dI as MoveUint128Type, dF as MoveUint16Type, dJ as MoveUint256Type, dG as MoveUint32Type, dH as MoveUint64Type, dE as MoveUint8Type, bE as MultiAgentRawTransaction, bL as MultiSig, bM as MultiSigTransactionPayload, dh as MultisigPayloadResponse, e4 as Network, e5 as NetworkToChainId, e1 as NetworkToFaucetAPI, d$ as NetworkToIndexerAPI, e6 as NetworkToNetworkName, e0 as NetworkToNodeAPI, e2 as NetworkToPepperAPI, e3 as NetworkToProverAPI, cn as OrderBy, co as OrderByValue, bq as ParsingError, br as ParsingResult, cQ as PluginConfig, cR as PluginSettings, cz as PrivateKeyVariants, ec as RAW_TRANSACTION_SALT, ed as RAW_TRANSACTION_WITH_DATA_SALT, bD as RawTransactionWithData, dV as RoleType, bK as Script, bH as ScriptFunctionArgument, ca as ScriptFunctionArgumentTypes, dg as ScriptPayloadResponse, cr as ScriptTransactionArgumentVariants, dA as ScriptWriteSet, bv as Secp256k1PrivateKey, bu as Secp256k1PublicKey, bw as Secp256k1Signature, bn as Serialized, d1 as StateCheckpointTransactionResponse, c5 as StructTag, cp as TokenStandard, bG as TransactionArgument, cx as TransactionAuthenticatorVariant, ds as TransactionEd25519Signature, bO as TransactionExecutable, bR as TransactionExecutableEmpty, bQ as TransactionExecutableEntryFunction, bP as TransactionExecutableScript, cu as TransactionExecutableVariants, bS as TransactionExtraConfig, bT as TransactionExtraConfigV1, cv as TransactionExtraConfigVariants, dx as TransactionFeePayerSignature, cO as TransactionGenerationConfig, bN as TransactionInnerPayloadV1, ct as TransactionInnerPayloadVariants, dw as TransactionMultiAgentSignature, dv as TransactionMultiEd25519Signature, bJ as TransactionPayload, de as TransactionPayloadResponse, cs as TransactionPayloadVariants, cT as TransactionResponseType, dt as TransactionSecp256k1Signature, dk as TransactionSignature, du as TransactionSingleSenderSignature, cS as TransactionSubmitter, cw as TransactionVariants, b$ as TypeTagAddress, bU as TypeTagBool, c2 as TypeTagGeneric, c1 as TypeTagReference, c0 as TypeTagSigner, c4 as TypeTagStruct, bZ as TypeTagU128, bW as TypeTagU16, b_ as TypeTagU256, bX as TypeTagU32, bY as TypeTagU64, bV as TypeTagU8, cq as TypeTagVariants, c3 as TypeTagVector, cI as Uint128, cF as Uint16, cJ as Uint256, cG as Uint32, cH as Uint64, cE as Uint8, d2 as ValidatorTransactionResponse, cg as ViewFunctionJsonPayload, dz as WriteSet, d5 as WriteSetChange, d6 as WriteSetChangeDeleteModule, d7 as WriteSetChangeDeleteResource, d8 as WriteSetChangeDeleteTableItem, d9 as WriteSetChangeWriteModule, da as WriteSetChangeWriteResource, db as WriteSetChangeWriteTableItem, cB as anyPublicKeyVariantToString, c6 as aptosCoinStructTag, bI as deserializeFromScriptArgument, bk as ensureBoolean, bz as hexToAsciiString, c_ as isBlockEpilogueTransactionResponse, cX as isBlockMetadataTransactionResponse, bs as isCanonicalEd25519Signature, dl as isEd25519Signature, dp as isFeePayerSignature, cW as isGenesisTransactionResponse, dn as isMultiAgentSignature, dq as isMultiEd25519Signature, cU as isPendingTransactionResponse, dm as isSecp256k1Signature, dr as isSingleSenderSignature, cY as isStateCheckpointTransactionResponse, cV as isUserTransactionResponse, cZ as isValidatorTransactionResponse, c9 as objectStructTag, c8 as optionStructTag, bl as outOfRangeErrorMessage, c7 as stringStructTag, bm as validateNumberInRange } from './account-CmEgDBH6.js';
1
+ import { A as AccountAddress, a as AccountPublicKey, b as AuthenticationKey, V as VerifySignatureArgs, c as VerifySignatureAsyncArgs, S as Serializer, d as Signature, H as HexInput, D as Deserializer, P as PublicKey, E as EphemeralPublicKeyVariant, e as AptosConfig, f as Serializable, g as EphemeralCertificateVariant, Z as ZkpVariant, L as LedgerVersionArg, h as AccountAddressInput, i as PrivateKey, j as Hex, k as Ed25519PublicKey, l as AnyPublicKey, M as MultiKey, m as MultiEd25519PublicKey, n as Ed25519Signature, o as MultiEd25519Signature, p as AccountAuthenticator, q as MoveString, r as MoveVector, U as U8, s as U64, t as AnyNumber, R as RawTransaction, u as SimpleEntryFunctionArgumentTypes, v as EntryFunctionArgumentTypes, B as Bool, F as FixedBytes, w as U16, x as U32, y as U128, z as U256, I as InputGenerateTransactionPayloadDataWithRemoteABI, C as InputGenerateTransactionPayloadData, G as InputScriptData, J as MoveFunction, T as TransactionPayloadScript, K as InputEntryFunctionDataWithRemoteABI, N as TransactionPayloadEntryFunction, O as InputMultiSigDataWithRemoteABI, Q as TransactionPayloadMultiSig, W as InputEntryFunctionDataWithABI, X as InputMultiSigDataWithABI, Y as InputViewFunctionDataWithRemoteABI, _ as EntryFunction, $ as InputViewFunctionDataWithABI, a0 as AnyTransactionPayloadInstance, a1 as InputGenerateTransactionOptions, a2 as TransactionInnerPayload, a3 as InputGenerateSingleSignerRawTransactionArgs, a4 as SimpleTransaction, a5 as InputGenerateMultiAgentRawTransactionArgs, a6 as MultiAgentTransaction, a7 as InputSimulateTransactionData, a8 as AccountAuthenticatorNoAccountAuthenticator, a9 as AccountAuthenticatorEd25519, aa as AccountAuthenticatorSingleKey, ab as AccountAuthenticatorMultiKey, ac as InputSubmitTransactionData, ad as TypeArgument, ae as TypeTag, af as MoveModule, ag as FunctionABI, ah as EntryFunctionABI, ai as ViewFunctionABI, aj as AnyRawTransaction, ak as AnyRawTransactionInstance, al as AccountData, am as MoveModuleBytecode, an as CursorPaginationArgs, ao as PaginationArgs, ap as TransactionResponse, aq as MoveResource, ar as MoveStructId, as as TokenStandardArg, at as OrderByArg, au as GetAccountOwnedTokensQueryResponse, av as GetAccountOwnedTokensFromCollectionResponse, aw as GetAccountCollectionsWithOwnedTokenResponse, ax as GetAccountCoinsDataResponse, ay as WhereArg, az as GetObjectDataQueryResponse, aA as PrivateKeyInput, aB as GetCollectionDataResponse, aC as GetTokenDataResponse, aD as GetCurrentTokenOwnershipResponse, aE as GetOwnedTokensResponse, aF as GetTokenActivityResponse, aG as WaitForTransactionOptions, aH as UserTransactionResponse, aI as GetFungibleAssetMetadataResponse, aJ as GetFungibleAssetActivitiesResponse, aK as GetCurrentFungibleAssetBalancesResponse, aL as LedgerInfo, aM as Block, aN as MoveValue, aO as InputViewFunctionData, aP as InputViewFunctionJsonData, aQ as GetChainTopUserTransactionsResponse, aR as GraphqlQuery, aS as ProcessorType, aT as GetProcessorStatusResponse, aU as GetANSNameResponse, aV as GetNumberOfDelegatorsResponse, aW as GetDelegatedStakingActivitiesResponse, aX as InputSimulateTransactionOptions, aY as InputTransactionPluginData, aZ as PendingTransactionResponse, a_ as CommittedTransactionResponse, a$ as GasEstimation, b0 as Ed25519PrivateKey, b1 as TableItemRequest, b2 as GetTableItemsDataResponse, b3 as GetTableItemsMetadataResponse, b4 as SigningScheme, b5 as SigningSchemeInput, b6 as AnySignature, b7 as EntryFunctionArgument, b8 as MultiKeySignature, b9 as AccountAuthenticatorMultiEd25519, ba as AccountAuthenticatorAbstraction, bb as MoveFunctionId, bc as ClientRequest, bd as Client, be as ClientResponse, bf as AptosRequest, bg as AptosApiType, bh as AptosResponse, bi as MimeType, bj as ClientConfig } from './account-BW99GTa5.js';
2
+ export { ef as ACCOUNT_ABSTRACTION_SIGNING_DATA_SALT, eb as APTOS_COIN, ec as APTOS_FA, bu as AbstractMultiKey, bA as AccountAbstractionMessage, cz as AccountAuthenticatorVariant, dz as AccountSignature, bq as AddressInvalidReason, cB as AnyPublicKeyVariant, cD as AnySignatureVariant, cL as AptosSettings, dX as AuthenticationKeyScheme, d4 as BlockEndInfo, d5 as BlockEpilogueTransactionResponse, d1 as BlockMetadataTransactionResponse, bB as ChainId, cQ as ClientHeadersType, e8 as DEFAULT_MAX_GAS_AMOUNT, e9 as DEFAULT_TXN_EXP_SEC_FROM_NOW, ea as DEFAULT_TXN_TIMEOUT_SEC, dd as DecodedTableData, de as DeletedTableData, dY as DeriveScheme, bk as Deserializable, dC as DirectWriteSet, dg as EntryFunctionPayloadResponse, cE as EphemeralSignatureVariant, dE as Event, dD as EventGuid, eg as FIREBASE_AUTH_ISS_PATTERN, cO as FaucetConfig, bG as FeePayerRawTransaction, cM as FullNodeConfig, d$ as GenerateAccount, dZ as GenerateAccountWithEd25519, d_ as GenerateAccountWithSingleSignerSecp256k1Key, dj as GenesisPayload, d0 as GenesisTransactionResponse, cm as GetAccountAddressesForAuthKeyResponse, cn as GetEventsResponse, by as HexInvalidReason, bC as Identifier, cN as IndexerConfig, ce as InputEntryFunctionData, ck as InputGenerateMultiAgentRawTransactionData, cd as InputGenerateOrderlessTransactionOptions, ci as InputGenerateRawTransactionArgs, cc as InputGenerateSequenceNumberTransactionOptions, cj as InputGenerateSingleSignerRawTransactionData, cl as InputGenerateTransactionData, cf as InputGenerateTransactionPayloadDataWithABI, cg as InputMultiSigData, bD as ModuleId, dS as MoveAbility, dL as MoveAddressType, dT as MoveFunctionGenericTypeParam, dR as MoveFunctionVisibility, dQ as MoveModuleId, dM as MoveObjectType, bp as MoveOption, dN as MoveOptionType, dk as MoveScriptBytecode, dV as MoveStruct, dU as MoveStructField, dO as MoveStructType, dP as MoveType, dJ as MoveUint128Type, dG as MoveUint16Type, dK as MoveUint256Type, dH as MoveUint32Type, dI as MoveUint64Type, dF as MoveUint8Type, bF as MultiAgentRawTransaction, bM as MultiSig, bN as MultiSigTransactionPayload, di as MultisigPayloadResponse, e5 as Network, e6 as NetworkToChainId, e2 as NetworkToFaucetAPI, e0 as NetworkToIndexerAPI, e7 as NetworkToNetworkName, e1 as NetworkToNodeAPI, e3 as NetworkToPepperAPI, e4 as NetworkToProverAPI, co as OrderBy, cp as OrderByValue, br as ParsingError, bs as ParsingResult, cR as PluginConfig, cS as PluginSettings, cA as PrivateKeyVariants, ed as RAW_TRANSACTION_SALT, ee as RAW_TRANSACTION_WITH_DATA_SALT, bE as RawTransactionWithData, dW as RoleType, bL as Script, bI as ScriptFunctionArgument, cb as ScriptFunctionArgumentTypes, dh as ScriptPayloadResponse, cs as ScriptTransactionArgumentVariants, dB as ScriptWriteSet, bw as Secp256k1PrivateKey, bv as Secp256k1PublicKey, bx as Secp256k1Signature, bo as Serialized, d2 as StateCheckpointTransactionResponse, c6 as StructTag, cq as TokenStandard, bH as TransactionArgument, cy as TransactionAuthenticatorVariant, dt as TransactionEd25519Signature, bP as TransactionExecutable, bS as TransactionExecutableEmpty, bR as TransactionExecutableEntryFunction, bQ as TransactionExecutableScript, cv as TransactionExecutableVariants, bT as TransactionExtraConfig, bU as TransactionExtraConfigV1, cw as TransactionExtraConfigVariants, dy as TransactionFeePayerSignature, cP as TransactionGenerationConfig, bO as TransactionInnerPayloadV1, cu as TransactionInnerPayloadVariants, dx as TransactionMultiAgentSignature, dw as TransactionMultiEd25519Signature, bK as TransactionPayload, df as TransactionPayloadResponse, ct as TransactionPayloadVariants, cU as TransactionResponseType, du as TransactionSecp256k1Signature, dl as TransactionSignature, dv as TransactionSingleSenderSignature, cT as TransactionSubmitter, cx as TransactionVariants, c0 as TypeTagAddress, bV as TypeTagBool, c3 as TypeTagGeneric, c2 as TypeTagReference, c1 as TypeTagSigner, c5 as TypeTagStruct, b_ as TypeTagU128, bX as TypeTagU16, b$ as TypeTagU256, bY as TypeTagU32, bZ as TypeTagU64, bW as TypeTagU8, cr as TypeTagVariants, c4 as TypeTagVector, cJ as Uint128, cG as Uint16, cK as Uint256, cH as Uint32, cI as Uint64, cF as Uint8, d3 as ValidatorTransactionResponse, ch as ViewFunctionJsonPayload, dA as WriteSet, d6 as WriteSetChange, d7 as WriteSetChangeDeleteModule, d8 as WriteSetChangeDeleteResource, d9 as WriteSetChangeDeleteTableItem, da as WriteSetChangeWriteModule, db as WriteSetChangeWriteResource, dc as WriteSetChangeWriteTableItem, cC as anyPublicKeyVariantToString, c7 as aptosCoinStructTag, bJ as deserializeFromScriptArgument, bl as ensureBoolean, bz as hexToAsciiString, c$ as isBlockEpilogueTransactionResponse, cY as isBlockMetadataTransactionResponse, bt as isCanonicalEd25519Signature, dm as isEd25519Signature, dq as isFeePayerSignature, cX as isGenesisTransactionResponse, dp as isMultiAgentSignature, dr as isMultiEd25519Signature, cV as isPendingTransactionResponse, dn as isSecp256k1Signature, ds as isSingleSenderSignature, cZ as isStateCheckpointTransactionResponse, cW as isUserTransactionResponse, c_ as isValidatorTransactionResponse, ca as objectStructTag, c9 as optionStructTag, bm as outOfRangeErrorMessage, c8 as stringStructTag, bn as validateNumberInRange } from './account-BW99GTa5.js';
3
3
  import { ProjPointType } from '@noble/curves/abstract/weierstrass';
4
4
  import { Fp2 } from '@noble/curves/abstract/tower';
5
5
  import EventEmitter from 'eventemitter3';
@@ -1555,6 +1555,303 @@ declare function bigIntToBytesLE(value: bigint | number, length: number): Uint8A
1555
1555
  */
1556
1556
  declare function poseidonHash(inputs: (number | bigint | string)[]): bigint;
1557
1557
 
1558
+ /**
1559
+ * Represents a Secp256r1 ECDSA public key.
1560
+ *
1561
+ * @extends PublicKey
1562
+ * @property LENGTH - The length of the Secp256r1 public key in bytes.
1563
+ * @group Implementation
1564
+ * @category Serialization
1565
+ */
1566
+ declare class Secp256r1PublicKey extends PublicKey {
1567
+ static readonly LENGTH: number;
1568
+ static readonly COMPRESSED_LENGTH: number;
1569
+ private readonly key;
1570
+ readonly keyType: string;
1571
+ /**
1572
+ * Create a new PublicKey instance from a HexInput, which can be a string or Uint8Array.
1573
+ * This constructor validates the length of the provided public key data.
1574
+ *
1575
+ * @param hexInput - A HexInput (string or Uint8Array) representing the public key data.
1576
+ * @throws Error if the length of the public key data is not equal to Secp256r1PublicKey.LENGTH or COMPRESSED_LENGTH.
1577
+ * @group Implementation
1578
+ * @category Serialization
1579
+ */
1580
+ constructor(hexInput: HexInput);
1581
+ /**
1582
+ * Get the data as a Uint8Array representation.
1583
+ *
1584
+ * @returns Uint8Array representation of the data.
1585
+ * @group Implementation
1586
+ * @category Serialization
1587
+ */
1588
+ toUint8Array(): Uint8Array;
1589
+ /**
1590
+ * Get the public key as a hex string with the 0x prefix.
1591
+ *
1592
+ * @returns string representation of the public key.
1593
+ * @group Implementation
1594
+ * @category Serialization
1595
+ */
1596
+ toString(): string;
1597
+ /**
1598
+ * Converts the public key to BCS (Binary Canonical Serialization) bytes.
1599
+ * This function serializes the public key data into a byte array format suitable for transmission or storage.
1600
+ *
1601
+ * @returns Uint8Array representation of the serialized public key.
1602
+ * @group Implementation
1603
+ * @category Serialization
1604
+ */
1605
+ bcsToBytes(): Uint8Array<ArrayBufferLike>;
1606
+ /**
1607
+ * Verifies a Secp256r1 signature against the public key.
1608
+ *
1609
+ * This function checks the validity of a signature for a given message.
1610
+ *
1611
+ * @param args - The arguments for verifying the signature.
1612
+ * @param args.message - The message that was signed.
1613
+ * @param args.signature - The signature to verify against the public key.
1614
+ * @group Implementation
1615
+ * @category Serialization
1616
+ */
1617
+ verifySignature(args: {
1618
+ message: HexInput;
1619
+ signature: Signature;
1620
+ }): boolean;
1621
+ /**
1622
+ * Note: Secp256r1Signatures can be verified synchronously.
1623
+ *
1624
+ * Verifies the provided signature against the given message.
1625
+ * This function helps ensure the integrity and authenticity of the message by confirming that the signature is valid.
1626
+ *
1627
+ * @param args - The arguments for signature verification.
1628
+ * @param args.message - The message that was signed.
1629
+ * @param args.signature - The signature to verify, which must be an instance of Secp256r1Signature.
1630
+ * @returns A boolean indicating whether the signature is valid for the given message.
1631
+ * @group Implementation
1632
+ * @category Serialization
1633
+ */
1634
+ verifySignatureAsync(args: VerifySignatureAsyncArgs): Promise<boolean>;
1635
+ /**
1636
+ * Serializes the data into a byte array using the provided serializer.
1637
+ * This function is essential for converting data into a format suitable for transmission or storage.
1638
+ *
1639
+ * @param serializer - The serializer instance used to convert the data.
1640
+ * @group Implementation
1641
+ * @category Serialization
1642
+ */
1643
+ serialize(serializer: Serializer): void;
1644
+ /**
1645
+ * Deserializes a Secp256r1PublicKey from the provided deserializer.
1646
+ * This function allows you to reconstruct a Secp256r1PublicKey object from its serialized byte representation.
1647
+ *
1648
+ * @param deserializer - The deserializer instance used to read the serialized data.
1649
+ * @group Implementation
1650
+ * @category Serialization
1651
+ */
1652
+ static deserialize(deserializer: Deserializer): Secp256r1PublicKey;
1653
+ /**
1654
+ * Loads a Secp256r1PublicKey from the provided deserializer.
1655
+ *
1656
+ * @param deserializer - The deserializer instance used to read the serialized data.
1657
+ * @group Implementation
1658
+ * @category Serialization
1659
+ */
1660
+ static load(deserializer: Deserializer): Secp256r1PublicKey;
1661
+ /**
1662
+ * Determines if the provided public key is a valid instance of a Secp256r1 public key.
1663
+ * This function checks for the presence of a "key" property and validates the length of the key data.
1664
+ *
1665
+ * @param publicKey - The public key to validate.
1666
+ * @returns A boolean indicating whether the public key is a valid Secp256r1 public key.
1667
+ * @group Implementation
1668
+ * @category Serialization
1669
+ */
1670
+ static isInstance(publicKey: PublicKey): publicKey is Secp256r1PublicKey;
1671
+ /**
1672
+ * Generates an authentication key from the public key using the Secp256r1 scheme.
1673
+ * This function is essential for creating a secure authentication key that can be used for further cryptographic operations.
1674
+ *
1675
+ * @returns {AuthenticationKey} The generated authentication key.
1676
+ * @group Implementation
1677
+ * @category Serialization
1678
+ */
1679
+ authKey(): AuthenticationKey;
1680
+ }
1681
+ /**
1682
+ * Represents a Secp256r1 ECDSA private key, providing functionality to create, sign messages,
1683
+ * derive public keys, and serialize/deserialize the key.
1684
+ * @group Implementation
1685
+ * @category Serialization
1686
+ */
1687
+ declare class Secp256r1PrivateKey extends PrivateKey {
1688
+ /**
1689
+ * Length of Secp256r1 ecdsa private key
1690
+ * @group Implementation
1691
+ * @category Serialization
1692
+ */
1693
+ static readonly LENGTH: number;
1694
+ /**
1695
+ * The private key bytes
1696
+ * @private
1697
+ * @group Implementation
1698
+ * @category Serialization
1699
+ */
1700
+ private readonly key;
1701
+ /**
1702
+ * Create a new PrivateKey instance from a Uint8Array or String.
1703
+ *
1704
+ * [Read about AIP-80](https://github.com/aptos-foundation/AIPs/blob/main/aips/aip-80.md)
1705
+ *
1706
+ * @param hexInput A HexInput (string or Uint8Array)
1707
+ * @param strict If true, private key must AIP-80 compliant.
1708
+ * @group Implementation
1709
+ * @category Serialization
1710
+ */
1711
+ constructor(hexInput: HexInput, strict?: boolean);
1712
+ /**
1713
+ * Get the private key in bytes (Uint8Array).
1714
+ *
1715
+ * @returns
1716
+ * @group Implementation
1717
+ * @category Serialization
1718
+ */
1719
+ toUint8Array(): Uint8Array;
1720
+ /**
1721
+ * Get the private key as a string representation.
1722
+ *
1723
+ * @returns string representation of the private key
1724
+ * @group Implementation
1725
+ * @category Serialization
1726
+ */
1727
+ toString(): string;
1728
+ /**
1729
+ * Get the private key as a hex string with the 0x prefix.
1730
+ *
1731
+ * @returns string representation of the private key.
1732
+ */
1733
+ toHexString(): string;
1734
+ /**
1735
+ * Sign the given message with the private key.
1736
+ * This function generates a cryptographic signature for the provided message.
1737
+ *
1738
+ * @param message - A message in HexInput format to be signed.
1739
+ * @returns Signature - The generated signature for the provided message.
1740
+ * @group Implementation
1741
+ * @category Serialization
1742
+ */
1743
+ sign(message: HexInput): Secp256r1Signature;
1744
+ /**
1745
+ * Serializes the data into a byte array using the provided serializer.
1746
+ * This function is essential for converting data into a format suitable for transmission or storage.
1747
+ *
1748
+ * @param serializer - The serializer instance used to convert the data.
1749
+ * @group Implementation
1750
+ * @category Serialization
1751
+ */
1752
+ serialize(serializer: Serializer): void;
1753
+ /**
1754
+ * Deserializes a Secp256r1PrivateKey from the provided deserializer.
1755
+ * This function allows you to reconstruct a Secp256r1PrivateKey object from its serialized byte representation.
1756
+ *
1757
+ * @param deserializer - The deserializer instance used to read the serialized data.
1758
+ * @group Implementation
1759
+ * @category Serialization
1760
+ */
1761
+ static deserialize(deserializer: Deserializer): Secp256r1PrivateKey;
1762
+ /**
1763
+ * Generate a new random private key.
1764
+ *
1765
+ * @returns Secp256r1PrivateKey - A newly generated Secp256r1 private key.
1766
+ * @group Implementation
1767
+ * @category Serialization
1768
+ */
1769
+ static generate(): Secp256r1PrivateKey;
1770
+ /**
1771
+ * Derive the Secp256r1PublicKey from this private key.
1772
+ *
1773
+ * @returns Secp256r1PublicKey The derived public key.
1774
+ * @group Implementation
1775
+ * @category Serialization
1776
+ */
1777
+ publicKey(): Secp256r1PublicKey;
1778
+ }
1779
+ declare class WebAuthnSignature extends Signature {
1780
+ signature: Hex;
1781
+ authenticatorData: Hex;
1782
+ clientDataJSON: Hex;
1783
+ constructor(signature: HexInput, authenticatorData: HexInput, clientDataJSON: HexInput);
1784
+ toUint8Array(): Uint8Array<ArrayBufferLike>;
1785
+ serialize(serializer: Serializer): void;
1786
+ bcsToBytes(): Uint8Array<ArrayBufferLike>;
1787
+ bcsToHex(): Hex;
1788
+ toStringWithoutPrefix(): string;
1789
+ static deserialize(deserializer: Deserializer): WebAuthnSignature;
1790
+ }
1791
+ /**
1792
+ * Represents a signature of a message signed using a Secp256r1 ECDSA private key.
1793
+ *
1794
+ * @group Implementation
1795
+ * @category Serialization
1796
+ */
1797
+ declare class Secp256r1Signature extends Signature {
1798
+ /**
1799
+ * Secp256r1 ecdsa signatures are 256-bit.
1800
+ * @group Implementation
1801
+ * @category Serialization
1802
+ */
1803
+ static readonly LENGTH = 64;
1804
+ /**
1805
+ * The signature bytes
1806
+ * @private
1807
+ * @group Implementation
1808
+ * @category Serialization
1809
+ */
1810
+ private readonly data;
1811
+ /**
1812
+ * Create a new Signature instance from a Uint8Array or String.
1813
+ *
1814
+ * @param hexInput A HexInput (string or Uint8Array)
1815
+ * @group Implementation
1816
+ * @category Serialization
1817
+ */
1818
+ constructor(hexInput: HexInput);
1819
+ /**
1820
+ * Get the signature in bytes (Uint8Array).
1821
+ *
1822
+ * @returns Uint8Array representation of the signature
1823
+ * @group Implementation
1824
+ * @category Serialization
1825
+ */
1826
+ toUint8Array(): Uint8Array;
1827
+ /**
1828
+ * Get the signature as a hex string with the 0x prefix.
1829
+ *
1830
+ * @returns string representation of the signature
1831
+ * @group Implementation
1832
+ * @category Serialization
1833
+ */
1834
+ toString(): string;
1835
+ /**
1836
+ * Serializes the data into a byte array using the provided serializer.
1837
+ * This function is essential for converting data into a format suitable for transmission or storage.
1838
+ *
1839
+ * @param serializer - The serializer instance used to convert the data.
1840
+ * @group Implementation
1841
+ * @category Serialization
1842
+ */
1843
+ serialize(serializer: Serializer): void;
1844
+ /**
1845
+ * Deserializes a Secp256r1Signature from the provided deserializer.
1846
+ * This function allows you to reconstruct a Secp256r1Signature object from its serialized byte representation.
1847
+ *
1848
+ * @param deserializer - The deserializer instance used to read the serialized data.
1849
+ * @group Implementation
1850
+ * @category Serialization
1851
+ */
1852
+ static deserialize(deserializer: Deserializer): Secp256r1Signature;
1853
+ }
1854
+
1558
1855
  type BaseAccountPublicKey = Ed25519PublicKey | AnyPublicKey | MultiKey | MultiEd25519PublicKey;
1559
1856
 
1560
1857
  /**
@@ -3173,15 +3470,15 @@ declare class Account$1 {
3173
3470
  /**
3174
3471
  * Queries the current amount of a specified coin held by an account.
3175
3472
  *
3473
+ * @deprecated Use `getBalance({ accountAddress, asset })` instead.
3474
+ * This method is slated for removal in a future release.
3475
+ *
3176
3476
  * @param args The parameters for querying the account's coin amount.
3177
3477
  * @param args.accountAddress The account address to query for the coin amount.
3178
3478
  * @param args.coinType The coin type to query. Note: If not provided, it may be automatically populated if `faMetadataAddress`
3179
3479
  * is specified.
3180
3480
  * @param args.faMetadataAddress The fungible asset metadata address to query. Note: If not provided, it may be automatically
3181
3481
  * populated if `coinType` is specified.
3182
- * @param args.minimumLedgerVersion Not used anymore, here for backward compatibility
3183
- * see https://github.com/aptos-labs/aptos-ts-sdk/pull/519, will be removed in the near future.
3184
- * Optional ledger version to sync up to before querying.
3185
3482
  * @returns The current amount of the specified coin held by the account.
3186
3483
  *
3187
3484
  * @example
@@ -3192,13 +3489,9 @@ declare class Account$1 {
3192
3489
  * const aptos = new Aptos(config);
3193
3490
  *
3194
3491
  * async function runExample() {
3195
- * // Query the account's coin amount for a specific coin type
3196
- * const accountCoinAmount = await aptos.getAccountCoinAmount({
3197
- * accountAddress: "0x1", // replace with a real account address
3198
- * coinType: "0x1::aptos_coin::AptosCoin" // specify the coin type
3199
- * });
3200
- *
3201
- * console.log(`Account coin amount: ${accountCoinAmount}`);
3492
+ * // Prefer the new API
3493
+ * const amount = await aptos.getBalance({ accountAddress: "0x1", asset: "0x1::aptos_coin::AptosCoin" });
3494
+ * console.log(`Balance: ${amount}`);
3202
3495
  * }
3203
3496
  * runExample().catch(console.error);
3204
3497
  * ```
@@ -3208,7 +3501,28 @@ declare class Account$1 {
3208
3501
  accountAddress: AccountAddressInput;
3209
3502
  coinType?: MoveStructId;
3210
3503
  faMetadataAddress?: AccountAddressInput;
3211
- minimumLedgerVersion?: AnyNumber;
3504
+ }): Promise<number>;
3505
+ /**
3506
+ * Retrieves the balance for an account and asset.
3507
+ *
3508
+ * @param args The parameters for the balance query.
3509
+ * @param args.accountAddress The account address to query.
3510
+ * @param args.asset The asset to query: Move struct ID (e.g., `0x1::aptos_coin::AptosCoin`) or FA metadata address.
3511
+ * @returns The balance as a number.
3512
+ *
3513
+ * @example
3514
+ * ```ts
3515
+ * const aptos = new Aptos(new AptosConfig());
3516
+ * // APT coin by type
3517
+ * const apt = await aptos.getBalance({ accountAddress: "0x1", asset: "0x1::aptos_coin::AptosCoin" });
3518
+ * // Some FA by metadata address
3519
+ * const fa = await aptos.getBalance({ accountAddress: "0x1", asset: "0xa" });
3520
+ * ```
3521
+ * @group Account
3522
+ */
3523
+ getBalance(args: {
3524
+ accountAddress: AccountAddressInput;
3525
+ asset: MoveStructId | AccountAddressInput;
3212
3526
  }): Promise<number>;
3213
3527
  /**
3214
3528
  * Queries an account's owned objects.
@@ -7255,43 +7569,33 @@ declare class Transaction {
7255
7569
  *
7256
7570
  * @param args - The arguments for rotating the authentication key.
7257
7571
  * @param args.fromAccount - The account from which the authentication key will be rotated.
7258
- * @param args.toAccount - (Optional) The target account to rotate to. Required if not using toNewPrivateKey or toAuthKey.
7259
- * @param args.toNewPrivateKey - (Optional) The new private key to rotate to. Required if not using toAccount or toAuthKey.
7260
- * @param args.toAuthKey - (Optional) The new authentication key to rotate to. Can only be used with dangerouslySkipVerification=true.
7261
- * @param args.dangerouslySkipVerification - (Optional) If true, skips verification steps after rotation. Required when using toAuthKey.
7572
+ * @param args.toAccount - (Optional) The target account to rotate to. Required if not using toNewPrivateKey.
7573
+ * @param args.toNewPrivateKey - (Optional) The new private key to rotate to. Required if not using toAccount.
7262
7574
  *
7263
7575
  * @remarks
7264
7576
  * This function supports three modes of rotation:
7265
7577
  * 1. Using a target Account object (toAccount)
7266
7578
  * 2. Using a new private key (toNewPrivateKey)
7267
- * 3. Using a raw authentication key (toAuthKey) - requires dangerouslySkipVerification=true
7268
- *
7269
- * When not using dangerouslySkipVerification, the function performs additional safety checks and account setup.
7270
7579
  *
7271
- * If the new key is a multi key, skipping verification is dangerous because verification will publish the public key onchain and
7272
- * prevent users from being locked out of the account from loss of knowledge of one of the public keys.
7580
+ * For Ed25519 accounts, the function will use a challenge-based rotation that requires signatures from both the old and new keys.
7581
+ * For multi-key accounts like MultiEd25519Account, the function will use a challenge-based rotation that requires signatures from both keys.
7582
+ * For other account types, the function will use an unverified rotation that only requires the new public key.
7273
7583
  *
7274
- * @returns PendingTransactionResponse
7584
+ * @returns SimpleTransaction that can be submitted to rotate the auth key
7275
7585
  *
7276
7586
  * @example
7277
7587
  * ```typescript
7278
- * import { Aptos, AptosConfig, Network, Account, PrivateKey } from "@aptos-labs/ts-sdk";
7279
- *
7280
- * const config = new AptosConfig({ network: Network.TESTNET });
7281
- * const aptos = new Aptos(config);
7282
- *
7283
- * async function runExample() {
7284
- * // Rotate the authentication key for an account
7285
- * const response = await aptos.rotateAuthKey({
7286
- * // replace with a real account
7287
- * fromAccount: Account.generate(),
7288
- * // replace with a real private key
7289
- * toNewPrivateKey: new PrivateKey("0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef"),
7290
- * });
7588
+ * // Create and submit transaction to rotate the auth key
7589
+ * const transaction = await aptos.rotateAuthKey({
7590
+ * fromAccount,
7591
+ * toAccount: toAccount,
7592
+ * });
7291
7593
  *
7292
- * console.log(response);
7293
- * }
7294
- * runExample().catch(console.error);
7594
+ * // Sign and submit the transaction
7595
+ * const pendingTransaction = await aptos.signAndSubmitTransaction({
7596
+ * signer: fromAccount,
7597
+ * transaction,
7598
+ * });
7295
7599
  * ```
7296
7600
  * @group Transaction
7297
7601
  */
@@ -7299,15 +7603,44 @@ declare class Transaction {
7299
7603
  fromAccount: Account;
7300
7604
  options?: InputGenerateTransactionOptions;
7301
7605
  } & ({
7302
- toAccount: Account;
7303
- dangerouslySkipVerification?: never;
7606
+ toAccount: Ed25519Account | MultiEd25519Account;
7304
7607
  } | {
7305
7608
  toNewPrivateKey: Ed25519PrivateKey;
7306
- dangerouslySkipVerification?: never;
7307
- } | {
7308
- toAuthKey: AuthenticationKey;
7309
- dangerouslySkipVerification: true;
7310
- })): Promise<PendingTransactionResponse>;
7609
+ })): Promise<SimpleTransaction>;
7610
+ /**
7611
+ * Rotates the authentication key for a given account without verifying the new key.
7612
+ *
7613
+ * Accounts with their auth key rotated via this function will be derivable via the `getAccountsForPublicKey` and
7614
+ * `deriveOwnedAccountsFromSigner` functions however the public key will be unverified (no proof of ownership). Thus
7615
+ * includeUnverified must be set to true to derive the account until the public key is verified via signing a transaction.
7616
+ *
7617
+ * @param args - The arguments for rotating the authentication key.
7618
+ * @param args.fromAccount - The account from which the authentication key will be rotated.
7619
+ * @param args.toNewPublicKey - The new public key to rotate to.
7620
+ *
7621
+ * @returns A simple transaction object that can be submitted to the network.
7622
+ *
7623
+ * @example
7624
+ * ```typescript
7625
+ * // Create and submit transaction to rotate the auth key
7626
+ * const transaction = await aptos.rotateAuthKeyUnverified({
7627
+ * fromAccount,
7628
+ * toNewPublicKey,
7629
+ * });
7630
+ *
7631
+ * // Sign and submit the transaction
7632
+ * const pendingTransaction = await aptos.signAndSubmitTransaction({
7633
+ * signer: fromAccount,
7634
+ * transaction,
7635
+ * });
7636
+ * ```
7637
+ * @group Transaction
7638
+ */
7639
+ rotateAuthKeyUnverified(args: {
7640
+ fromAccount: Account;
7641
+ options?: InputGenerateTransactionOptions;
7642
+ toNewPublicKey: AccountPublicKey;
7643
+ }): Promise<SimpleTransaction>;
7311
7644
  /**
7312
7645
  * Sign a transaction that can later be submitted to the chain.
7313
7646
  * This function is essential for ensuring the authenticity of the transaction by using the provided account's signing capabilities.
@@ -9624,6 +9957,7 @@ declare class AbstractedAccount extends Account {
9624
9957
  signer: Ed25519Account;
9625
9958
  accountAddress?: AccountAddress;
9626
9959
  }): AbstractedAccount;
9960
+ static generateAccountAbstractionMessage(message: HexInput, functionInfo: string): HexInput;
9627
9961
  signWithAuthenticator(message: HexInput): AccountAuthenticatorAbstraction;
9628
9962
  signTransactionWithAuthenticator(transaction: AnyRawTransaction): AccountAuthenticatorAbstraction;
9629
9963
  sign: (message: HexInput) => AbstractSignature;
@@ -10298,4 +10632,4 @@ declare class AptosApiError extends Error {
10298
10632
  constructor({ apiType, aptosRequest, aptosResponse }: AptosApiErrorOpts);
10299
10633
  }
10300
10634
 
10301
- export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, AbstractKeylessAccount, AbstractPublicKey, AbstractSignature, AbstractedAccount, Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorAbstraction, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AccountUtils, AnyNumber, AnyPublicKey, AnyRawTransaction, AnyRawTransactionInstance, AnySignature, AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, AptosResponse, AuthenticationKey, type BaseAccountPublicKey, Block, Bool, CKDPriv, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, CursorPaginationArgs, DerivableAbstractedAccount, type DerivedKeys, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, EntryFunctionABI, EntryFunctionArgument, EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FederatedKeylessAccount, FederatedKeylessPublicKey, FixedBytes, FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16ProofAndStatement, Groth16VerificationKey, Groth16Zkp, HARDENED_OFFSET, HexInput, InputEntryFunctionDataWithABI, InputEntryFunctionDataWithRemoteABI, InputGenerateMultiAgentRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiSigDataWithABI, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSubmitTransactionData, InputTransactionPluginData, InputViewFunctionData, InputViewFunctionDataWithABI, InputViewFunctionDataWithRemoteABI, InputViewFunctionJsonData, KeyType, KeylessAccount, KeylessConfiguration, KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType, KeylessPublicKey, KeylessSignature, type KeylessSigner, 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, MoveFunction, MoveFunctionId, MoveJWK, MoveModule, MoveModuleBytecode, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentTransaction, MultiEd25519Account, MultiEd25519PublicKey, MultiEd25519Signature, type MultiEd25519SignerConstructorArgs, MultiKey, MultiKeyAccount, MultiKeySignature, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, PrivateKey, type PrivateKeyFromDerivationPathArgs, PrivateKeyInput, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RawTransaction, RotationProofChallenge, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySigner, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, type SingleKeySignerOrLegacyEd25519Account, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionInnerPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, TypeArgument, TypeTag, TypeTagParserError, TypeTagParserErrorType, U128, U16, U256, U32, U64, U8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, VerifySignatureArgs, VerifySignatureAsyncArgs, type VerifySingleKeySignatureArgs, ViewFunctionABI, WaitForTransactionOptions, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosRequest, base64UrlDecode, base64UrlToBytes, bigIntToBytesLE, buildTransaction, bytesToBigIntLE, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertNumber, convertPayloadToInnerPayload, createObjectAddress, createResourceAddress, createTokenAddress, deriveKey, deriveTransactionType, deserializePublicKey, deserializeSignature, fetchEntryFunctionAbi, fetchFunctionAbi, fetchJWK, fetchModuleAbi, fetchMoveFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getErrorMessage, getFunctionParts, getIssAudAndUidVal, getKeylessConfig, getKeylessJWKs, getPageWithObfuscatedCursor, hashStrToField, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEmptyOption, isEncodedEntryFunctionArgument, isEncodedStruct, isKeylessSigner, isLargeNumber, isNumber, isScriptDataInput, isSingleKeySigner, isString, isValidBIP44Path, isValidFunctionInfo, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, padAndPackBytesWithLen, paginateWithCursor, paginateWithObfuscatedCursor, pairedFaMetadataAddress, parseEncodedStruct, parseJwtHeader, parseTypeTag, poseidonHash, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, throwTypeMismatch, truncateAddress, verifyKeylessSignature, verifyKeylessSignatureWithJwkAndConfig };
10635
+ export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, AbstractKeylessAccount, AbstractPublicKey, AbstractSignature, AbstractedAccount, Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorAbstraction, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorNoAccountAuthenticator, AccountAuthenticatorSingleKey, AccountData, AccountPublicKey, AccountSequenceNumber, AccountUtils, AnyNumber, AnyPublicKey, AnyRawTransaction, AnyRawTransactionInstance, AnySignature, AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, AptosResponse, AuthenticationKey, type BaseAccountPublicKey, Block, Bool, CKDPriv, Client, ClientConfig, ClientRequest, ClientResponse, CommittedTransactionResponse, type CreateAccountFromPrivateKeyArgs, type CreateEd25519AccountFromPrivateKeyArgs, type CreateEd25519SingleKeyAccountFromPrivateKeyArgs, type CreateSingleKeyAccountFromPrivateKeyArgs, CursorPaginationArgs, DerivableAbstractedAccount, type DerivedKeys, type DeserializableClass, Deserializer, EPK_HORIZON_SECS, Ed25519Account, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, type Ed25519SignerConstructorArgs, type Ed25519SignerFromDerivationPathArgs, EntryFunction, EntryFunctionABI, EntryFunctionArgument, EntryFunctionArgumentTypes, EntryFunctionBytes, EphemeralCertificate, EphemeralCertificateVariant, EphemeralKeyPair, EphemeralPublicKey, EphemeralPublicKeyVariant, EphemeralSignature, type ExecutionFinishEventData, type FailureEventData, FederatedKeylessAccount, FederatedKeylessPublicKey, FixedBytes, FunctionABI, GasEstimation, type GenerateAccountArgs, type GenerateEd25519AccountArgs, type GenerateEd25519SingleKeyAccountArgs, type GenerateSingleKeyAccountArgs, GetANSNameResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, type GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetObjectDataQueryResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, type GetRequestOptions, GetTableItemsDataResponse, GetTableItemsMetadataResponse, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, Groth16ProofAndStatement, Groth16VerificationKey, Groth16Zkp, HARDENED_OFFSET, Hex, HexInput, InputEntryFunctionDataWithABI, InputEntryFunctionDataWithRemoteABI, InputGenerateMultiAgentRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiSigDataWithABI, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSubmitTransactionData, InputTransactionPluginData, InputViewFunctionData, InputViewFunctionDataWithABI, InputViewFunctionDataWithRemoteABI, InputViewFunctionJsonData, KeyType, KeylessAccount, KeylessConfiguration, KeylessError, KeylessErrorCategory, KeylessErrorResolutionTip, KeylessErrorType, KeylessPublicKey, KeylessSignature, type KeylessSigner, 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, MoveFunction, MoveFunctionId, MoveJWK, MoveModule, MoveModuleBytecode, MoveResource, MoveString, MoveStructId, MoveValue, MoveVector, MultiAgentTransaction, MultiEd25519Account, MultiEd25519PublicKey, MultiEd25519Signature, type MultiEd25519SignerConstructorArgs, MultiKey, MultiKeyAccount, MultiKeySignature, OrderByArg, PaginationArgs, PendingTransactionResponse, type PostAptosRequestOptions, type PostRequestOptions, PrivateKey, type PrivateKeyFromDerivationPathArgs, PrivateKeyInput, ProcessorType, type ProofFetchCallback, type ProofFetchEvents, type ProofFetchFailure, type ProofFetchStatus, type ProofFetchSuccess, PublicKey, RawTransaction, RotationProofChallenge, Secp256r1PrivateKey, Secp256r1PublicKey, Secp256r1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, SimpleEntryFunctionArgumentTypes, SimpleTransaction, SingleKeyAccount, type SingleKeySigner, type SingleKeySignerConstructorArgs, type SingleKeySignerFromDerivationPathArgs, type SingleKeySignerGenerateArgs, type SingleKeySignerOrLegacyEd25519Account, type SuccessEventData, TableItemRequest, TokenStandardArg, TransactionAndProof, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionInnerPayload, TransactionPayloadEntryFunction, TransactionPayloadMultiSig, TransactionPayloadScript, TransactionResponse, TransactionWorker, type TransactionWorkerEvents, TransactionWorkerEventsEnum, TypeArgument, TypeTag, TypeTagParserError, TypeTagParserErrorType, U128, U16, U256, U32, U64, U8, UserTransactionResponse, type VerifyEd25519SignatureArgs, type VerifyMultiEd25519SignatureArgs, type VerifyMultiKeySignatureArgs, VerifySignatureArgs, VerifySignatureAsyncArgs, type VerifySingleKeySignatureArgs, ViewFunctionABI, WaitForTransactionOptions, WebAuthnSignature, WhereArg, ZeroKnowledgeSig, ZkProof, ZkpVariant, aptosRequest, base64UrlDecode, base64UrlToBytes, bigIntToBytesLE, buildTransaction, bytesToBigIntLE, checkOrConvertArgument, convertAmountFromHumanReadableToOnChain, convertAmountFromOnChainToHumanReadable, convertArgument, convertNumber, convertPayloadToInnerPayload, createObjectAddress, createResourceAddress, createTokenAddress, deriveKey, deriveTransactionType, deserializePublicKey, deserializeSignature, fetchEntryFunctionAbi, fetchFunctionAbi, fetchJWK, fetchModuleAbi, fetchMoveFunctionAbi, fetchViewFunctionAbi, findFirstNonSignerArg, floorToWholeHour, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateSigningMessage, generateSigningMessageForSerializable, generateSigningMessageForTransaction, generateTransactionPayload, generateTransactionPayloadWithABI, generateUserTransactionHash, generateViewFunctionPayload, generateViewFunctionPayloadWithABI, get, getAptosFullNode, getAptosPepperService, getAuthenticatorForSimulation, getErrorMessage, getFunctionParts, getIssAudAndUidVal, getKeylessConfig, getKeylessJWKs, getPageWithObfuscatedCursor, hashStrToField, hashValues, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isEmptyOption, isEncodedEntryFunctionArgument, isEncodedStruct, isKeylessSigner, isLargeNumber, isNumber, isScriptDataInput, isSingleKeySigner, isString, isValidBIP44Path, isValidFunctionInfo, isValidHardenedPath, mnemonicToSeed, normalizeBundle, nowInSeconds, padAndPackBytesWithLen, paginateWithCursor, paginateWithObfuscatedCursor, pairedFaMetadataAddress, parseEncodedStruct, parseJwtHeader, parseTypeTag, poseidonHash, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, postAptosPepperService, postAptosProvingService, promiseFulfilledStatus, request, sleep, splitPath, standardizeTypeTags, throwTypeMismatch, truncateAddress, verifyKeylessSignature, verifyKeylessSignatureWithJwkAndConfig };