@aptos-labs/ts-sdk 0.0.4 → 0.0.6

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 (462) hide show
  1. package/README.md +3 -3
  2. package/dist/{cjs → browser}/index.d.ts +357 -297
  3. package/dist/browser/index.global.js +72 -47
  4. package/dist/browser/index.global.js.map +1 -1
  5. package/dist/{esm → common}/index.d.ts +357 -297
  6. package/dist/common/index.js +406 -0
  7. package/dist/common/index.js.map +1 -0
  8. package/dist/esm/api/account.d.mts +292 -0
  9. package/dist/esm/api/account.mjs +2 -0
  10. package/dist/esm/api/account.mjs.map +1 -0
  11. package/dist/esm/api/ans.d.mts +79 -0
  12. package/dist/esm/api/ans.mjs +2 -0
  13. package/dist/esm/api/ans.mjs.map +1 -0
  14. package/dist/esm/api/aptos.d.mts +72 -0
  15. package/dist/esm/api/aptos.mjs +2 -0
  16. package/dist/esm/api/aptos.mjs.map +1 -0
  17. package/dist/esm/api/aptosConfig.d.mts +51 -0
  18. package/dist/esm/api/aptosConfig.mjs +2 -0
  19. package/dist/esm/api/aptosConfig.mjs.map +1 -0
  20. package/dist/esm/api/coin.d.mts +59 -0
  21. package/dist/esm/api/coin.mjs +2 -0
  22. package/dist/esm/api/coin.mjs.map +1 -0
  23. package/dist/esm/api/digitalAsset.d.mts +174 -0
  24. package/dist/esm/api/digitalAsset.mjs +2 -0
  25. package/dist/esm/api/digitalAsset.mjs.map +1 -0
  26. package/dist/esm/api/event.d.mts +74 -0
  27. package/dist/esm/api/event.mjs +2 -0
  28. package/dist/esm/api/event.mjs.map +1 -0
  29. package/dist/esm/api/faucet.d.mts +37 -0
  30. package/dist/esm/api/faucet.mjs +2 -0
  31. package/dist/esm/api/faucet.mjs.map +1 -0
  32. package/dist/esm/api/fungibleAsset.d.mts +72 -0
  33. package/dist/esm/api/fungibleAsset.mjs +2 -0
  34. package/dist/esm/api/fungibleAsset.mjs.map +1 -0
  35. package/dist/esm/api/general.d.mts +150 -0
  36. package/dist/esm/api/general.mjs +2 -0
  37. package/dist/esm/api/general.mjs.map +1 -0
  38. package/dist/esm/api/index.d.mts +46 -0
  39. package/dist/esm/api/index.mjs +2 -0
  40. package/dist/esm/api/index.mjs.map +1 -0
  41. package/dist/esm/api/staking.d.mts +53 -0
  42. package/dist/esm/api/staking.mjs +2 -0
  43. package/dist/esm/api/staking.mjs.map +1 -0
  44. package/dist/esm/api/transaction.d.mts +101 -0
  45. package/dist/esm/api/transaction.mjs +2 -0
  46. package/dist/esm/api/transaction.mjs.map +1 -0
  47. package/dist/esm/api/transactionSubmission.d.mts +142 -0
  48. package/dist/esm/api/transactionSubmission.mjs +2 -0
  49. package/dist/esm/api/transactionSubmission.mjs.map +1 -0
  50. package/dist/esm/bcs/consts.d.mts +14 -0
  51. package/dist/esm/bcs/consts.mjs +2 -0
  52. package/dist/esm/bcs/consts.mjs.map +1 -0
  53. package/dist/esm/bcs/deserializer.d.mts +150 -0
  54. package/dist/esm/bcs/deserializer.mjs +2 -0
  55. package/dist/esm/bcs/deserializer.mjs.map +1 -0
  56. package/dist/esm/bcs/index.d.mts +14 -0
  57. package/dist/esm/bcs/index.mjs +2 -0
  58. package/dist/esm/bcs/index.mjs.map +1 -0
  59. package/dist/esm/bcs/serializable/entryFunctionBytes.d.mts +40 -0
  60. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs +2 -0
  61. package/dist/esm/bcs/serializable/entryFunctionBytes.mjs.map +1 -0
  62. package/dist/esm/bcs/serializable/fixedBytes.d.mts +52 -0
  63. package/dist/esm/bcs/serializable/fixedBytes.mjs +2 -0
  64. package/dist/esm/bcs/serializable/fixedBytes.mjs.map +1 -0
  65. package/dist/esm/bcs/serializable/movePrimitives.d.mts +69 -0
  66. package/dist/esm/bcs/serializable/movePrimitives.mjs +2 -0
  67. package/dist/esm/bcs/serializable/movePrimitives.mjs.map +1 -0
  68. package/dist/esm/bcs/serializable/moveStructs.d.mts +284 -0
  69. package/dist/esm/bcs/serializable/moveStructs.mjs +2 -0
  70. package/dist/esm/bcs/serializable/moveStructs.mjs.map +1 -0
  71. package/dist/esm/bcs/serializer.d.mts +192 -0
  72. package/dist/esm/bcs/serializer.mjs +2 -0
  73. package/dist/esm/bcs/serializer.mjs.map +1 -0
  74. package/dist/esm/chunk-2W744GUN.mjs +2 -0
  75. package/dist/esm/chunk-2W744GUN.mjs.map +1 -0
  76. package/dist/esm/chunk-3JPVQHOR.mjs +2 -0
  77. package/dist/esm/chunk-3JPVQHOR.mjs.map +1 -0
  78. package/dist/esm/chunk-3JVGSFHP.mjs +2 -0
  79. package/dist/esm/chunk-3JVGSFHP.mjs.map +1 -0
  80. package/dist/esm/chunk-44MGBJ73.mjs +2 -0
  81. package/dist/esm/chunk-44MGBJ73.mjs.map +1 -0
  82. package/dist/esm/chunk-4ADA5BE7.mjs +2 -0
  83. package/dist/esm/chunk-4ADA5BE7.mjs.map +1 -0
  84. package/dist/esm/chunk-4RVIA63I.mjs +2 -0
  85. package/dist/esm/chunk-4RVIA63I.mjs.map +1 -0
  86. package/dist/esm/chunk-4WPQQPUF.mjs +1 -0
  87. package/dist/esm/chunk-4WPQQPUF.mjs.map +1 -0
  88. package/dist/esm/chunk-62SCW5NH.mjs +2 -0
  89. package/dist/esm/chunk-62SCW5NH.mjs.map +1 -0
  90. package/dist/esm/chunk-6FBKUTGF.mjs +2 -0
  91. package/dist/esm/chunk-6FBKUTGF.mjs.map +1 -0
  92. package/dist/esm/chunk-7MNEEVXY.mjs +2 -0
  93. package/dist/esm/chunk-7MNEEVXY.mjs.map +1 -0
  94. package/dist/esm/chunk-AAIBCWZY.mjs +2 -0
  95. package/dist/esm/chunk-AAIBCWZY.mjs.map +1 -0
  96. package/dist/esm/chunk-AH44UPM4.mjs +2 -0
  97. package/dist/esm/chunk-AH44UPM4.mjs.map +1 -0
  98. package/dist/esm/chunk-ARVSIDVB.mjs +2 -0
  99. package/dist/esm/chunk-ARVSIDVB.mjs.map +1 -0
  100. package/dist/esm/chunk-BFSEVKNA.mjs +2 -0
  101. package/dist/esm/chunk-BFSEVKNA.mjs.map +1 -0
  102. package/dist/esm/chunk-BP5ZO7NK.mjs +2 -0
  103. package/dist/esm/chunk-BP5ZO7NK.mjs.map +1 -0
  104. package/dist/esm/chunk-BPYLPPEQ.mjs +2 -0
  105. package/dist/esm/chunk-BPYLPPEQ.mjs.map +1 -0
  106. package/dist/esm/chunk-BSCOVLWS.mjs +1 -0
  107. package/dist/esm/chunk-BSCOVLWS.mjs.map +1 -0
  108. package/dist/esm/chunk-BV4OOU5Y.mjs +2 -0
  109. package/dist/esm/chunk-BV4OOU5Y.mjs.map +1 -0
  110. package/dist/esm/chunk-BWMNPUTK.mjs +2 -0
  111. package/dist/esm/chunk-BWMNPUTK.mjs.map +1 -0
  112. package/dist/esm/chunk-CYDWEPFL.mjs +1 -0
  113. package/dist/esm/chunk-CYDWEPFL.mjs.map +1 -0
  114. package/dist/esm/chunk-DNDWTM7A.mjs +2 -0
  115. package/dist/esm/chunk-DNDWTM7A.mjs.map +1 -0
  116. package/dist/esm/chunk-E7FWVXGX.mjs +1 -0
  117. package/dist/esm/chunk-E7FWVXGX.mjs.map +1 -0
  118. package/dist/esm/chunk-EFIYW4WK.mjs +2 -0
  119. package/dist/esm/chunk-EFIYW4WK.mjs.map +1 -0
  120. package/dist/esm/chunk-EGOYLZBU.mjs +2 -0
  121. package/dist/esm/chunk-EGOYLZBU.mjs.map +1 -0
  122. package/dist/esm/chunk-EQ5BEDJ7.mjs +2 -0
  123. package/dist/esm/chunk-EQ5BEDJ7.mjs.map +1 -0
  124. package/dist/esm/chunk-EWTHPMEE.mjs +2 -0
  125. package/dist/esm/chunk-EWTHPMEE.mjs.map +1 -0
  126. package/dist/esm/chunk-EYXHVA6W.mjs +2 -0
  127. package/dist/esm/chunk-EYXHVA6W.mjs.map +1 -0
  128. package/dist/esm/chunk-FBPNHF54.mjs +2 -0
  129. package/dist/esm/chunk-FBPNHF54.mjs.map +1 -0
  130. package/dist/esm/chunk-FYIFBLHU.mjs +2 -0
  131. package/dist/esm/chunk-FYIFBLHU.mjs.map +1 -0
  132. package/dist/esm/chunk-FZY4PMEE.mjs +1 -0
  133. package/dist/esm/chunk-FZY4PMEE.mjs.map +1 -0
  134. package/dist/esm/chunk-GEFQFRL3.mjs +2 -0
  135. package/dist/esm/chunk-GEFQFRL3.mjs.map +1 -0
  136. package/dist/esm/chunk-GTC7WHMV.mjs +2 -0
  137. package/dist/esm/chunk-GTC7WHMV.mjs.map +1 -0
  138. package/dist/esm/chunk-HA6JD5R6.mjs +2 -0
  139. package/dist/esm/chunk-HA6JD5R6.mjs.map +1 -0
  140. package/dist/esm/chunk-HTZTTZQJ.mjs +1 -0
  141. package/dist/esm/chunk-HTZTTZQJ.mjs.map +1 -0
  142. package/dist/esm/chunk-HVADSXTB.mjs +2 -0
  143. package/dist/esm/chunk-HVADSXTB.mjs.map +1 -0
  144. package/dist/esm/chunk-I5OYNCZS.mjs +1 -0
  145. package/dist/esm/chunk-I5OYNCZS.mjs.map +1 -0
  146. package/dist/esm/chunk-IG5CHHSI.mjs +2 -0
  147. package/dist/esm/chunk-IG5CHHSI.mjs.map +1 -0
  148. package/dist/esm/chunk-IXMB2GOK.mjs +2 -0
  149. package/dist/esm/chunk-IXMB2GOK.mjs.map +1 -0
  150. package/dist/esm/chunk-J5ZFOJN2.mjs +2 -0
  151. package/dist/esm/chunk-J5ZFOJN2.mjs.map +1 -0
  152. package/dist/esm/chunk-JDS7K2WI.mjs +2 -0
  153. package/dist/esm/chunk-JDS7K2WI.mjs.map +1 -0
  154. package/dist/esm/chunk-JZNLZMUC.mjs +2 -0
  155. package/dist/esm/chunk-JZNLZMUC.mjs.map +1 -0
  156. package/dist/esm/chunk-KC64ESLO.mjs +2 -0
  157. package/dist/esm/chunk-KC64ESLO.mjs.map +1 -0
  158. package/dist/esm/chunk-KQXRH5FK.mjs +2 -0
  159. package/dist/esm/chunk-KQXRH5FK.mjs.map +1 -0
  160. package/dist/esm/chunk-LR65XHSF.mjs +2 -0
  161. package/dist/esm/chunk-LR65XHSF.mjs.map +1 -0
  162. package/dist/esm/chunk-LV33NV4J.mjs +2 -0
  163. package/dist/esm/chunk-LV33NV4J.mjs.map +1 -0
  164. package/dist/esm/chunk-N2FKVZ4D.mjs +1 -0
  165. package/dist/esm/chunk-N2FKVZ4D.mjs.map +1 -0
  166. package/dist/esm/chunk-NGCFPQ22.mjs +2 -0
  167. package/dist/esm/chunk-NGCFPQ22.mjs.map +1 -0
  168. package/dist/esm/chunk-NTD3H2S4.mjs +2 -0
  169. package/dist/esm/chunk-NTD3H2S4.mjs.map +1 -0
  170. package/dist/esm/chunk-NYFVEKF6.mjs +2 -0
  171. package/dist/esm/chunk-NYFVEKF6.mjs.map +1 -0
  172. package/dist/esm/chunk-NZIJV4O2.mjs +2 -0
  173. package/dist/esm/chunk-NZIJV4O2.mjs.map +1 -0
  174. package/dist/esm/chunk-P32MY5YF.mjs +2 -0
  175. package/dist/esm/chunk-P32MY5YF.mjs.map +1 -0
  176. package/dist/esm/chunk-Q6N6QACD.mjs +2 -0
  177. package/dist/esm/chunk-Q6N6QACD.mjs.map +1 -0
  178. package/dist/esm/chunk-QWVR4RCV.mjs +2 -0
  179. package/dist/esm/chunk-QWVR4RCV.mjs.map +1 -0
  180. package/dist/esm/chunk-R26XML3D.mjs +2 -0
  181. package/dist/esm/chunk-R26XML3D.mjs.map +1 -0
  182. package/dist/esm/chunk-R3KWVOFG.mjs +2 -0
  183. package/dist/esm/chunk-R3KWVOFG.mjs.map +1 -0
  184. package/dist/esm/chunk-R7G3CLRI.mjs +1 -0
  185. package/dist/esm/chunk-R7G3CLRI.mjs.map +1 -0
  186. package/dist/esm/chunk-RMMOF53Q.mjs +1 -0
  187. package/dist/esm/chunk-RMMOF53Q.mjs.map +1 -0
  188. package/dist/esm/chunk-RYETO74W.mjs +2 -0
  189. package/dist/esm/chunk-RYETO74W.mjs.map +1 -0
  190. package/dist/esm/chunk-S36IYY6K.mjs +2 -0
  191. package/dist/esm/chunk-S36IYY6K.mjs.map +1 -0
  192. package/dist/esm/chunk-TCTZCPQ6.mjs +1 -0
  193. package/dist/esm/chunk-TCTZCPQ6.mjs.map +1 -0
  194. package/dist/esm/chunk-TIH6ARYP.mjs +2 -0
  195. package/dist/esm/chunk-TIH6ARYP.mjs.map +1 -0
  196. package/dist/esm/chunk-TQD4IGUM.mjs +2 -0
  197. package/dist/esm/chunk-TQD4IGUM.mjs.map +1 -0
  198. package/dist/esm/chunk-U25N2VWA.mjs +2 -0
  199. package/dist/esm/chunk-U25N2VWA.mjs.map +1 -0
  200. package/dist/esm/chunk-U3LO2FSJ.mjs +2 -0
  201. package/dist/esm/chunk-U3LO2FSJ.mjs.map +1 -0
  202. package/dist/esm/chunk-U6SZNNVL.mjs +2 -0
  203. package/dist/esm/chunk-U6SZNNVL.mjs.map +1 -0
  204. package/dist/esm/chunk-UAAI3NCA.mjs +2 -0
  205. package/dist/esm/chunk-UAAI3NCA.mjs.map +1 -0
  206. package/dist/esm/chunk-UNQNACJT.mjs +2 -0
  207. package/dist/esm/chunk-UNQNACJT.mjs.map +1 -0
  208. package/dist/esm/chunk-UPLWWSB4.mjs +2 -0
  209. package/dist/esm/chunk-UPLWWSB4.mjs.map +1 -0
  210. package/dist/esm/chunk-UYVPNUH3.mjs +1 -0
  211. package/dist/esm/chunk-UYVPNUH3.mjs.map +1 -0
  212. package/dist/esm/chunk-V3MBJJTL.mjs +1 -0
  213. package/dist/esm/chunk-V3MBJJTL.mjs.map +1 -0
  214. package/dist/esm/chunk-V45RFKH7.mjs +2 -0
  215. package/dist/esm/chunk-V45RFKH7.mjs.map +1 -0
  216. package/dist/esm/chunk-VMQWW5UT.mjs +2 -0
  217. package/dist/esm/chunk-VMQWW5UT.mjs.map +1 -0
  218. package/dist/esm/chunk-VOYW2TZW.mjs +2 -0
  219. package/dist/esm/chunk-VOYW2TZW.mjs.map +1 -0
  220. package/dist/esm/chunk-VWVEDCBM.mjs +2 -0
  221. package/dist/esm/chunk-VWVEDCBM.mjs.map +1 -0
  222. package/dist/esm/chunk-VYAVLUPJ.mjs +2 -0
  223. package/dist/esm/chunk-VYAVLUPJ.mjs.map +1 -0
  224. package/dist/esm/chunk-WKY5ENCK.mjs +2 -0
  225. package/dist/esm/chunk-WKY5ENCK.mjs.map +1 -0
  226. package/dist/esm/chunk-WX43AJTD.mjs +406 -0
  227. package/dist/esm/chunk-WX43AJTD.mjs.map +1 -0
  228. package/dist/esm/chunk-X32O46IB.mjs +2 -0
  229. package/dist/esm/chunk-X32O46IB.mjs.map +1 -0
  230. package/dist/esm/chunk-Y5DJPHJT.mjs +2 -0
  231. package/dist/esm/chunk-Y5DJPHJT.mjs.map +1 -0
  232. package/dist/esm/chunk-Y7VR7X5W.mjs +2 -0
  233. package/dist/esm/chunk-Y7VR7X5W.mjs.map +1 -0
  234. package/dist/esm/chunk-YYRDFZE6.mjs +2 -0
  235. package/dist/esm/chunk-YYRDFZE6.mjs.map +1 -0
  236. package/dist/esm/chunk-Z2UDRTHA.mjs +2 -0
  237. package/dist/esm/chunk-Z2UDRTHA.mjs.map +1 -0
  238. package/dist/esm/chunk-ZWH2ESXT.mjs +2 -0
  239. package/dist/esm/chunk-ZWH2ESXT.mjs.map +1 -0
  240. package/dist/esm/client/core.d.mts +24 -0
  241. package/dist/esm/client/core.mjs +2 -0
  242. package/dist/esm/client/core.mjs.map +1 -0
  243. package/dist/esm/client/get.d.mts +55 -0
  244. package/dist/esm/client/get.mjs +2 -0
  245. package/dist/esm/client/get.mjs.map +1 -0
  246. package/dist/esm/client/index.d.mts +11 -0
  247. package/dist/esm/client/index.mjs +2 -0
  248. package/dist/esm/client/index.mjs.map +1 -0
  249. package/dist/esm/client/post.d.mts +60 -0
  250. package/dist/esm/client/post.mjs +2 -0
  251. package/dist/esm/client/post.mjs.map +1 -0
  252. package/dist/esm/client/types.d.mts +46 -0
  253. package/dist/esm/client/types.mjs +2 -0
  254. package/dist/esm/client/types.mjs.map +1 -0
  255. package/dist/esm/core/account.d.mts +184 -0
  256. package/dist/esm/core/account.mjs +2 -0
  257. package/dist/esm/core/account.mjs.map +1 -0
  258. package/dist/esm/core/accountAddress.d.mts +244 -0
  259. package/dist/esm/core/accountAddress.mjs +2 -0
  260. package/dist/esm/core/accountAddress.mjs.map +1 -0
  261. package/dist/esm/core/authenticationKey.d.mts +74 -0
  262. package/dist/esm/core/authenticationKey.mjs +2 -0
  263. package/dist/esm/core/authenticationKey.mjs.map +1 -0
  264. package/dist/esm/core/common.d.mts +32 -0
  265. package/dist/esm/core/common.mjs +2 -0
  266. package/dist/esm/core/common.mjs.map +1 -0
  267. package/dist/esm/core/crypto/anyPublicKey.d.mts +54 -0
  268. package/dist/esm/core/crypto/anyPublicKey.mjs +2 -0
  269. package/dist/esm/core/crypto/anyPublicKey.mjs.map +1 -0
  270. package/dist/esm/core/crypto/anySignature.d.mts +31 -0
  271. package/dist/esm/core/crypto/anySignature.mjs +2 -0
  272. package/dist/esm/core/crypto/anySignature.mjs.map +1 -0
  273. package/dist/esm/core/crypto/asymmetricCrypto.d.mts +74 -0
  274. package/dist/esm/core/crypto/asymmetricCrypto.mjs +2 -0
  275. package/dist/esm/core/crypto/asymmetricCrypto.mjs.map +1 -0
  276. package/dist/esm/core/crypto/ed25519.d.mts +173 -0
  277. package/dist/esm/core/crypto/ed25519.mjs +2 -0
  278. package/dist/esm/core/crypto/ed25519.mjs.map +1 -0
  279. package/dist/esm/core/crypto/hdKey.d.mts +65 -0
  280. package/dist/esm/core/crypto/hdKey.mjs +2 -0
  281. package/dist/esm/core/crypto/hdKey.mjs.map +1 -0
  282. package/dist/esm/core/crypto/index.d.mts +17 -0
  283. package/dist/esm/core/crypto/index.mjs +2 -0
  284. package/dist/esm/core/crypto/index.mjs.map +1 -0
  285. package/dist/esm/core/crypto/multiEd25519.d.mts +126 -0
  286. package/dist/esm/core/crypto/multiEd25519.mjs +2 -0
  287. package/dist/esm/core/crypto/multiEd25519.mjs.map +1 -0
  288. package/dist/esm/core/crypto/multiKey.d.mts +52 -0
  289. package/dist/esm/core/crypto/multiKey.mjs +2 -0
  290. package/dist/esm/core/crypto/multiKey.mjs.map +1 -0
  291. package/dist/esm/core/crypto/secp256k1.d.mts +161 -0
  292. package/dist/esm/core/crypto/secp256k1.mjs +2 -0
  293. package/dist/esm/core/crypto/secp256k1.mjs.map +1 -0
  294. package/dist/esm/core/hex.d.mts +105 -0
  295. package/dist/esm/core/hex.mjs +2 -0
  296. package/dist/esm/core/hex.mjs.map +1 -0
  297. package/dist/esm/core/index.d.mts +21 -0
  298. package/dist/esm/core/index.mjs +2 -0
  299. package/dist/esm/core/index.mjs.map +1 -0
  300. package/dist/esm/index.d.mts +60 -0
  301. package/dist/esm/index.mjs +1 -5706
  302. package/dist/esm/index.mjs.map +1 -1
  303. package/dist/esm/internal/account.d.mts +143 -0
  304. package/dist/esm/internal/account.mjs +2 -0
  305. package/dist/esm/internal/account.mjs.map +1 -0
  306. package/dist/esm/internal/ans.d.mts +83 -0
  307. package/dist/esm/internal/ans.mjs +2 -0
  308. package/dist/esm/internal/ans.mjs.map +1 -0
  309. package/dist/esm/internal/coin.d.mts +43 -0
  310. package/dist/esm/internal/coin.mjs +2 -0
  311. package/dist/esm/internal/coin.mjs.map +1 -0
  312. package/dist/esm/internal/digitalAsset.d.mts +118 -0
  313. package/dist/esm/internal/digitalAsset.mjs +2 -0
  314. package/dist/esm/internal/digitalAsset.mjs.map +1 -0
  315. package/dist/esm/internal/event.d.mts +45 -0
  316. package/dist/esm/internal/event.mjs +2 -0
  317. package/dist/esm/internal/event.mjs.map +1 -0
  318. package/dist/esm/internal/faucet.d.mts +29 -0
  319. package/dist/esm/internal/faucet.mjs +2 -0
  320. package/dist/esm/internal/faucet.mjs.map +1 -0
  321. package/dist/esm/internal/fungibleAsset.d.mts +38 -0
  322. package/dist/esm/internal/fungibleAsset.mjs +2 -0
  323. package/dist/esm/internal/fungibleAsset.mjs.map +1 -0
  324. package/dist/esm/internal/general.d.mts +60 -0
  325. package/dist/esm/internal/general.mjs +2 -0
  326. package/dist/esm/internal/general.mjs.map +1 -0
  327. package/dist/esm/internal/staking.d.mts +38 -0
  328. package/dist/esm/internal/staking.mjs +2 -0
  329. package/dist/esm/internal/staking.mjs.map +1 -0
  330. package/dist/esm/internal/transaction.d.mts +57 -0
  331. package/dist/esm/internal/transaction.mjs +2 -0
  332. package/dist/esm/internal/transaction.mjs.map +1 -0
  333. package/dist/esm/internal/transactionSubmission.d.mts +148 -0
  334. package/dist/esm/internal/transactionSubmission.mjs +2 -0
  335. package/dist/esm/internal/transactionSubmission.mjs.map +1 -0
  336. package/dist/esm/transactions/authenticator/account.d.mts +79 -0
  337. package/dist/esm/transactions/authenticator/account.mjs +2 -0
  338. package/dist/esm/transactions/authenticator/account.mjs.map +1 -0
  339. package/dist/esm/transactions/authenticator/index.d.mts +19 -0
  340. package/dist/esm/transactions/authenticator/index.mjs +2 -0
  341. package/dist/esm/transactions/authenticator/index.mjs.map +1 -0
  342. package/dist/esm/transactions/authenticator/transaction.d.mts +105 -0
  343. package/dist/esm/transactions/authenticator/transaction.mjs +2 -0
  344. package/dist/esm/transactions/authenticator/transaction.mjs.map +1 -0
  345. package/dist/esm/transactions/index.d.mts +39 -0
  346. package/dist/esm/transactions/index.mjs +2 -0
  347. package/dist/esm/transactions/index.mjs.map +1 -0
  348. package/dist/esm/transactions/instances/chainId.d.mts +21 -0
  349. package/dist/esm/transactions/instances/chainId.mjs +2 -0
  350. package/dist/esm/transactions/instances/chainId.mjs.map +1 -0
  351. package/dist/esm/transactions/instances/identifier.d.mts +23 -0
  352. package/dist/esm/transactions/instances/identifier.mjs +2 -0
  353. package/dist/esm/transactions/instances/identifier.mjs.map +1 -0
  354. package/dist/esm/transactions/instances/index.d.mts +29 -0
  355. package/dist/esm/transactions/instances/index.mjs +2 -0
  356. package/dist/esm/transactions/instances/index.mjs.map +1 -0
  357. package/dist/esm/transactions/instances/moduleId.d.mts +37 -0
  358. package/dist/esm/transactions/instances/moduleId.mjs +2 -0
  359. package/dist/esm/transactions/instances/moduleId.mjs.map +1 -0
  360. package/dist/esm/transactions/instances/rawTransaction.d.mts +98 -0
  361. package/dist/esm/transactions/instances/rawTransaction.mjs +2 -0
  362. package/dist/esm/transactions/instances/rawTransaction.mjs.map +1 -0
  363. package/dist/esm/transactions/instances/rotationProofChallenge.d.mts +37 -0
  364. package/dist/esm/transactions/instances/rotationProofChallenge.mjs +2 -0
  365. package/dist/esm/transactions/instances/rotationProofChallenge.mjs.map +1 -0
  366. package/dist/esm/transactions/instances/signedTransaction.d.mts +46 -0
  367. package/dist/esm/transactions/instances/signedTransaction.mjs +2 -0
  368. package/dist/esm/transactions/instances/signedTransaction.mjs.map +1 -0
  369. package/dist/esm/transactions/instances/transactionArgument.d.mts +40 -0
  370. package/dist/esm/transactions/instances/transactionArgument.mjs +2 -0
  371. package/dist/esm/transactions/instances/transactionArgument.mjs.map +1 -0
  372. package/dist/esm/transactions/instances/transactionPayload.d.mts +211 -0
  373. package/dist/esm/transactions/instances/transactionPayload.mjs +2 -0
  374. package/dist/esm/transactions/instances/transactionPayload.mjs.map +1 -0
  375. package/dist/esm/transactions/transactionBuilder/helpers.d.mts +63 -0
  376. package/dist/esm/transactions/transactionBuilder/helpers.mjs +2 -0
  377. package/dist/esm/transactions/transactionBuilder/helpers.mjs.map +1 -0
  378. package/dist/esm/transactions/transactionBuilder/index.d.mts +35 -0
  379. package/dist/esm/transactions/transactionBuilder/index.mjs +2 -0
  380. package/dist/esm/transactions/transactionBuilder/index.mjs.map +1 -0
  381. package/dist/esm/transactions/transactionBuilder/remoteAbi.d.mts +54 -0
  382. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs +2 -0
  383. package/dist/esm/transactions/transactionBuilder/remoteAbi.mjs.map +1 -0
  384. package/dist/esm/transactions/transactionBuilder/transactionBuilder.d.mts +126 -0
  385. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs +2 -0
  386. package/dist/esm/transactions/transactionBuilder/transactionBuilder.mjs.map +1 -0
  387. package/dist/esm/transactions/typeTag/index.d.mts +127 -0
  388. package/dist/esm/transactions/typeTag/index.mjs +2 -0
  389. package/dist/esm/transactions/typeTag/index.mjs.map +1 -0
  390. package/dist/esm/transactions/typeTag/parser.d.mts +48 -0
  391. package/dist/esm/transactions/typeTag/parser.mjs +2 -0
  392. package/dist/esm/transactions/typeTag/parser.mjs.map +1 -0
  393. package/dist/esm/transactions/types.d.mts +242 -0
  394. package/dist/esm/transactions/types.mjs +2 -0
  395. package/dist/esm/transactions/types.mjs.map +1 -0
  396. package/dist/esm/types/generated/operations.d.mts +604 -0
  397. package/dist/esm/types/generated/operations.mjs +1 -0
  398. package/dist/esm/types/generated/operations.mjs.map +1 -0
  399. package/dist/esm/types/generated/queries.d.mts +55 -0
  400. package/dist/esm/types/generated/queries.mjs +2 -0
  401. package/dist/esm/types/generated/queries.mjs.map +1 -0
  402. package/dist/esm/types/generated/types.d.mts +9496 -0
  403. package/dist/esm/types/generated/types.mjs +2 -0
  404. package/dist/esm/types/generated/types.mjs.map +1 -0
  405. package/dist/esm/types/index.d.mts +886 -0
  406. package/dist/esm/types/index.mjs +2 -0
  407. package/dist/esm/types/index.mjs.map +1 -0
  408. package/dist/esm/types/indexer.d.mts +62 -0
  409. package/dist/esm/types/indexer.mjs +2 -0
  410. package/dist/esm/types/indexer.mjs.map +1 -0
  411. package/dist/esm/utils/apiEndpoints.d.mts +14 -0
  412. package/dist/esm/utils/apiEndpoints.mjs +2 -0
  413. package/dist/esm/utils/apiEndpoints.mjs.map +1 -0
  414. package/dist/esm/utils/const.d.mts +42 -0
  415. package/dist/esm/utils/const.mjs +2 -0
  416. package/dist/esm/utils/const.mjs.map +1 -0
  417. package/dist/esm/utils/helpers.d.mts +7 -0
  418. package/dist/esm/utils/helpers.mjs +2 -0
  419. package/dist/esm/utils/helpers.mjs.map +1 -0
  420. package/dist/esm/utils/index.d.mts +2 -0
  421. package/dist/esm/utils/index.mjs +2 -0
  422. package/dist/esm/utils/index.mjs.map +1 -0
  423. package/dist/esm/utils/memoize.d.mts +20 -0
  424. package/dist/esm/utils/memoize.mjs +2 -0
  425. package/dist/esm/utils/memoize.mjs.map +1 -0
  426. package/dist/esm/version.d.mts +8 -0
  427. package/dist/esm/version.mjs +2 -0
  428. package/dist/esm/version.mjs.map +1 -0
  429. package/package.json +43 -40
  430. package/src/api/account.ts +2 -2
  431. package/src/api/coin.ts +2 -2
  432. package/src/api/event.ts +2 -2
  433. package/src/api/general.ts +4 -4
  434. package/src/api/transactionSubmission.ts +20 -3
  435. package/src/bcs/serializable/moveStructs.ts +8 -4
  436. package/src/client/core.ts +7 -5
  437. package/src/client/get.ts +6 -2
  438. package/src/client/post.ts +12 -4
  439. package/src/core/account.ts +7 -4
  440. package/src/index.ts +1 -1
  441. package/src/internal/account.ts +2 -2
  442. package/src/internal/ans.ts +4 -6
  443. package/src/internal/coin.ts +2 -2
  444. package/src/internal/event.ts +3 -3
  445. package/src/internal/general.ts +7 -6
  446. package/src/internal/queries/getEvents.graphql +1 -0
  447. package/src/internal/transactionSubmission.ts +41 -3
  448. package/src/transactions/transactionBuilder/helpers.ts +2 -2
  449. package/src/transactions/transactionBuilder/remoteAbi.ts +1 -1
  450. package/src/transactions/transactionBuilder/transactionBuilder.ts +15 -20
  451. package/src/transactions/typeTag/parser.ts +10 -2
  452. package/src/transactions/types.ts +5 -14
  453. package/src/types/generated/operations.ts +52 -51
  454. package/src/types/generated/queries.ts +42 -41
  455. package/src/types/generated/types.ts +2257 -2249
  456. package/src/types/index.ts +20 -12
  457. package/src/utils/index.ts +2 -0
  458. package/dist/cjs/index.js +0 -5901
  459. package/dist/cjs/index.js.map +0 -1
  460. package/dist/types/index.d.ts +0 -1310
  461. package/dist/types/index.js +0 -176
  462. package/dist/types/index.js.map +0 -1
@@ -11,91 +11,121 @@ declare enum Network {
11
11
  declare const NetworkToChainId: Record<string, number>;
12
12
  declare const NetworkToNetworkName: Record<string, Network>;
13
13
 
14
- declare type Maybe<T> = T | null;
15
- declare type InputMaybe<T> = Maybe<T>;
14
+ type Maybe<T> = T | null;
15
+ type InputMaybe<T> = Maybe<T>;
16
16
  /** All built-in and custom scalars, mapped to their actual values */
17
- declare type Scalars = {
18
- ID: string;
19
- String: string;
20
- Boolean: boolean;
21
- Int: number;
22
- Float: number;
23
- bigint: any;
24
- jsonb: any;
25
- numeric: any;
26
- timestamp: any;
27
- timestamptz: any;
17
+ type Scalars = {
18
+ ID: {
19
+ input: string;
20
+ output: string;
21
+ };
22
+ String: {
23
+ input: string;
24
+ output: string;
25
+ };
26
+ Boolean: {
27
+ input: boolean;
28
+ output: boolean;
29
+ };
30
+ Int: {
31
+ input: number;
32
+ output: number;
33
+ };
34
+ Float: {
35
+ input: number;
36
+ output: number;
37
+ };
38
+ bigint: {
39
+ input: any;
40
+ output: any;
41
+ };
42
+ jsonb: {
43
+ input: any;
44
+ output: any;
45
+ };
46
+ numeric: {
47
+ input: any;
48
+ output: any;
49
+ };
50
+ timestamp: {
51
+ input: any;
52
+ output: any;
53
+ };
54
+ timestamptz: {
55
+ input: any;
56
+ output: any;
57
+ };
28
58
  };
29
59
  /** Boolean expression to compare columns of type "Boolean". All fields are combined with logical 'AND'. */
30
- declare type BooleanComparisonExp = {
31
- _eq?: InputMaybe<Scalars["Boolean"]>;
32
- _gt?: InputMaybe<Scalars["Boolean"]>;
33
- _gte?: InputMaybe<Scalars["Boolean"]>;
34
- _in?: InputMaybe<Array<Scalars["Boolean"]>>;
35
- _is_null?: InputMaybe<Scalars["Boolean"]>;
36
- _lt?: InputMaybe<Scalars["Boolean"]>;
37
- _lte?: InputMaybe<Scalars["Boolean"]>;
38
- _neq?: InputMaybe<Scalars["Boolean"]>;
39
- _nin?: InputMaybe<Array<Scalars["Boolean"]>>;
60
+ type BooleanComparisonExp = {
61
+ _eq?: InputMaybe<Scalars["Boolean"]["input"]>;
62
+ _gt?: InputMaybe<Scalars["Boolean"]["input"]>;
63
+ _gte?: InputMaybe<Scalars["Boolean"]["input"]>;
64
+ _in?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
65
+ _is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
66
+ _lt?: InputMaybe<Scalars["Boolean"]["input"]>;
67
+ _lte?: InputMaybe<Scalars["Boolean"]["input"]>;
68
+ _neq?: InputMaybe<Scalars["Boolean"]["input"]>;
69
+ _nin?: InputMaybe<Array<Scalars["Boolean"]["input"]>>;
40
70
  };
41
71
  /** Boolean expression to compare columns of type "Int". All fields are combined with logical 'AND'. */
42
- declare type IntComparisonExp = {
43
- _eq?: InputMaybe<Scalars["Int"]>;
44
- _gt?: InputMaybe<Scalars["Int"]>;
45
- _gte?: InputMaybe<Scalars["Int"]>;
46
- _in?: InputMaybe<Array<Scalars["Int"]>>;
47
- _is_null?: InputMaybe<Scalars["Boolean"]>;
48
- _lt?: InputMaybe<Scalars["Int"]>;
49
- _lte?: InputMaybe<Scalars["Int"]>;
50
- _neq?: InputMaybe<Scalars["Int"]>;
51
- _nin?: InputMaybe<Array<Scalars["Int"]>>;
72
+ type IntComparisonExp = {
73
+ _eq?: InputMaybe<Scalars["Int"]["input"]>;
74
+ _gt?: InputMaybe<Scalars["Int"]["input"]>;
75
+ _gte?: InputMaybe<Scalars["Int"]["input"]>;
76
+ _in?: InputMaybe<Array<Scalars["Int"]["input"]>>;
77
+ _is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
78
+ _lt?: InputMaybe<Scalars["Int"]["input"]>;
79
+ _lte?: InputMaybe<Scalars["Int"]["input"]>;
80
+ _neq?: InputMaybe<Scalars["Int"]["input"]>;
81
+ _nin?: InputMaybe<Array<Scalars["Int"]["input"]>>;
52
82
  };
53
83
  /** Boolean expression to compare columns of type "String". All fields are combined with logical 'AND'. */
54
- declare type StringComparisonExp = {
55
- _eq?: InputMaybe<Scalars["String"]>;
56
- _gt?: InputMaybe<Scalars["String"]>;
57
- _gte?: InputMaybe<Scalars["String"]>;
84
+ type StringComparisonExp = {
85
+ _eq?: InputMaybe<Scalars["String"]["input"]>;
86
+ _gt?: InputMaybe<Scalars["String"]["input"]>;
87
+ _gte?: InputMaybe<Scalars["String"]["input"]>;
58
88
  /** does the column match the given case-insensitive pattern */
59
- _ilike?: InputMaybe<Scalars["String"]>;
60
- _in?: InputMaybe<Array<Scalars["String"]>>;
89
+ _ilike?: InputMaybe<Scalars["String"]["input"]>;
90
+ _in?: InputMaybe<Array<Scalars["String"]["input"]>>;
61
91
  /** does the column match the given POSIX regular expression, case insensitive */
62
- _iregex?: InputMaybe<Scalars["String"]>;
63
- _is_null?: InputMaybe<Scalars["Boolean"]>;
92
+ _iregex?: InputMaybe<Scalars["String"]["input"]>;
93
+ _is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
64
94
  /** does the column match the given pattern */
65
- _like?: InputMaybe<Scalars["String"]>;
66
- _lt?: InputMaybe<Scalars["String"]>;
67
- _lte?: InputMaybe<Scalars["String"]>;
68
- _neq?: InputMaybe<Scalars["String"]>;
95
+ _like?: InputMaybe<Scalars["String"]["input"]>;
96
+ _lt?: InputMaybe<Scalars["String"]["input"]>;
97
+ _lte?: InputMaybe<Scalars["String"]["input"]>;
98
+ _neq?: InputMaybe<Scalars["String"]["input"]>;
69
99
  /** does the column NOT match the given case-insensitive pattern */
70
- _nilike?: InputMaybe<Scalars["String"]>;
71
- _nin?: InputMaybe<Array<Scalars["String"]>>;
100
+ _nilike?: InputMaybe<Scalars["String"]["input"]>;
101
+ _nin?: InputMaybe<Array<Scalars["String"]["input"]>>;
72
102
  /** does the column NOT match the given POSIX regular expression, case insensitive */
73
- _niregex?: InputMaybe<Scalars["String"]>;
103
+ _niregex?: InputMaybe<Scalars["String"]["input"]>;
74
104
  /** does the column NOT match the given pattern */
75
- _nlike?: InputMaybe<Scalars["String"]>;
105
+ _nlike?: InputMaybe<Scalars["String"]["input"]>;
76
106
  /** does the column NOT match the given POSIX regular expression, case sensitive */
77
- _nregex?: InputMaybe<Scalars["String"]>;
107
+ _nregex?: InputMaybe<Scalars["String"]["input"]>;
78
108
  /** does the column NOT match the given SQL regular expression */
79
- _nsimilar?: InputMaybe<Scalars["String"]>;
109
+ _nsimilar?: InputMaybe<Scalars["String"]["input"]>;
80
110
  /** does the column match the given POSIX regular expression, case sensitive */
81
- _regex?: InputMaybe<Scalars["String"]>;
111
+ _regex?: InputMaybe<Scalars["String"]["input"]>;
82
112
  /** does the column match the given SQL regular expression */
83
- _similar?: InputMaybe<Scalars["String"]>;
113
+ _similar?: InputMaybe<Scalars["String"]["input"]>;
84
114
  };
85
115
  /** Boolean expression to compare columns of type "bigint". All fields are combined with logical 'AND'. */
86
- declare type BigintComparisonExp = {
87
- _eq?: InputMaybe<Scalars["bigint"]>;
88
- _gt?: InputMaybe<Scalars["bigint"]>;
89
- _gte?: InputMaybe<Scalars["bigint"]>;
90
- _in?: InputMaybe<Array<Scalars["bigint"]>>;
91
- _is_null?: InputMaybe<Scalars["Boolean"]>;
92
- _lt?: InputMaybe<Scalars["bigint"]>;
93
- _lte?: InputMaybe<Scalars["bigint"]>;
94
- _neq?: InputMaybe<Scalars["bigint"]>;
95
- _nin?: InputMaybe<Array<Scalars["bigint"]>>;
116
+ type BigintComparisonExp = {
117
+ _eq?: InputMaybe<Scalars["bigint"]["input"]>;
118
+ _gt?: InputMaybe<Scalars["bigint"]["input"]>;
119
+ _gte?: InputMaybe<Scalars["bigint"]["input"]>;
120
+ _in?: InputMaybe<Array<Scalars["bigint"]["input"]>>;
121
+ _is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
122
+ _lt?: InputMaybe<Scalars["bigint"]["input"]>;
123
+ _lte?: InputMaybe<Scalars["bigint"]["input"]>;
124
+ _neq?: InputMaybe<Scalars["bigint"]["input"]>;
125
+ _nin?: InputMaybe<Array<Scalars["bigint"]["input"]>>;
96
126
  };
97
127
  /** Boolean expression to filter rows from the table "current_aptos_names". All fields are combined with a logical 'AND'. */
98
- declare type CurrentAptosNamesBoolExp = {
128
+ type CurrentAptosNamesBoolExp = {
99
129
  _and?: InputMaybe<Array<CurrentAptosNamesBoolExp>>;
100
130
  _not?: InputMaybe<CurrentAptosNamesBoolExp>;
101
131
  _or?: InputMaybe<Array<CurrentAptosNamesBoolExp>>;
@@ -113,7 +143,7 @@ declare type CurrentAptosNamesBoolExp = {
113
143
  token_standard?: InputMaybe<StringComparisonExp>;
114
144
  };
115
145
  /** Boolean expression to filter rows from the table "current_fungible_asset_balances". All fields are combined with a logical 'AND'. */
116
- declare type CurrentFungibleAssetBalancesBoolExp = {
146
+ type CurrentFungibleAssetBalancesBoolExp = {
117
147
  _and?: InputMaybe<Array<CurrentFungibleAssetBalancesBoolExp>>;
118
148
  _not?: InputMaybe<CurrentFungibleAssetBalancesBoolExp>;
119
149
  _or?: InputMaybe<Array<CurrentFungibleAssetBalancesBoolExp>>;
@@ -129,7 +159,7 @@ declare type CurrentFungibleAssetBalancesBoolExp = {
129
159
  token_standard?: InputMaybe<StringComparisonExp>;
130
160
  };
131
161
  /** Boolean expression to filter rows from the table "events". All fields are combined with a logical 'AND'. */
132
- declare type EventsBoolExp = {
162
+ type EventsBoolExp = {
133
163
  _and?: InputMaybe<Array<EventsBoolExp>>;
134
164
  _not?: InputMaybe<EventsBoolExp>;
135
165
  _or?: InputMaybe<Array<EventsBoolExp>>;
@@ -137,13 +167,14 @@ declare type EventsBoolExp = {
137
167
  creation_number?: InputMaybe<BigintComparisonExp>;
138
168
  data?: InputMaybe<JsonbComparisonExp>;
139
169
  event_index?: InputMaybe<BigintComparisonExp>;
170
+ indexed_type?: InputMaybe<StringComparisonExp>;
140
171
  sequence_number?: InputMaybe<BigintComparisonExp>;
141
172
  transaction_block_height?: InputMaybe<BigintComparisonExp>;
142
173
  transaction_version?: InputMaybe<BigintComparisonExp>;
143
174
  type?: InputMaybe<StringComparisonExp>;
144
175
  };
145
176
  /** Boolean expression to filter rows from the table "fungible_asset_activities". All fields are combined with a logical 'AND'. */
146
- declare type FungibleAssetActivitiesBoolExp = {
177
+ type FungibleAssetActivitiesBoolExp = {
147
178
  _and?: InputMaybe<Array<FungibleAssetActivitiesBoolExp>>;
148
179
  _not?: InputMaybe<FungibleAssetActivitiesBoolExp>;
149
180
  _or?: InputMaybe<Array<FungibleAssetActivitiesBoolExp>>;
@@ -167,7 +198,7 @@ declare type FungibleAssetActivitiesBoolExp = {
167
198
  type?: InputMaybe<StringComparisonExp>;
168
199
  };
169
200
  /** Boolean expression to filter rows from the table "fungible_asset_metadata". All fields are combined with a logical 'AND'. */
170
- declare type FungibleAssetMetadataBoolExp = {
201
+ type FungibleAssetMetadataBoolExp = {
171
202
  _and?: InputMaybe<Array<FungibleAssetMetadataBoolExp>>;
172
203
  _not?: InputMaybe<FungibleAssetMetadataBoolExp>;
173
204
  _or?: InputMaybe<Array<FungibleAssetMetadataBoolExp>>;
@@ -184,58 +215,58 @@ declare type FungibleAssetMetadataBoolExp = {
184
215
  symbol?: InputMaybe<StringComparisonExp>;
185
216
  token_standard?: InputMaybe<StringComparisonExp>;
186
217
  };
187
- declare type JsonbCastExp = {
218
+ type JsonbCastExp = {
188
219
  String?: InputMaybe<StringComparisonExp>;
189
220
  };
190
221
  /** Boolean expression to compare columns of type "jsonb". All fields are combined with logical 'AND'. */
191
- declare type JsonbComparisonExp = {
222
+ type JsonbComparisonExp = {
192
223
  _cast?: InputMaybe<JsonbCastExp>;
193
224
  /** is the column contained in the given json value */
194
- _contained_in?: InputMaybe<Scalars["jsonb"]>;
225
+ _contained_in?: InputMaybe<Scalars["jsonb"]["input"]>;
195
226
  /** does the column contain the given json value at the top level */
196
- _contains?: InputMaybe<Scalars["jsonb"]>;
197
- _eq?: InputMaybe<Scalars["jsonb"]>;
198
- _gt?: InputMaybe<Scalars["jsonb"]>;
199
- _gte?: InputMaybe<Scalars["jsonb"]>;
227
+ _contains?: InputMaybe<Scalars["jsonb"]["input"]>;
228
+ _eq?: InputMaybe<Scalars["jsonb"]["input"]>;
229
+ _gt?: InputMaybe<Scalars["jsonb"]["input"]>;
230
+ _gte?: InputMaybe<Scalars["jsonb"]["input"]>;
200
231
  /** does the string exist as a top-level key in the column */
201
- _has_key?: InputMaybe<Scalars["String"]>;
232
+ _has_key?: InputMaybe<Scalars["String"]["input"]>;
202
233
  /** do all of these strings exist as top-level keys in the column */
203
- _has_keys_all?: InputMaybe<Array<Scalars["String"]>>;
234
+ _has_keys_all?: InputMaybe<Array<Scalars["String"]["input"]>>;
204
235
  /** do any of these strings exist as top-level keys in the column */
205
- _has_keys_any?: InputMaybe<Array<Scalars["String"]>>;
206
- _in?: InputMaybe<Array<Scalars["jsonb"]>>;
207
- _is_null?: InputMaybe<Scalars["Boolean"]>;
208
- _lt?: InputMaybe<Scalars["jsonb"]>;
209
- _lte?: InputMaybe<Scalars["jsonb"]>;
210
- _neq?: InputMaybe<Scalars["jsonb"]>;
211
- _nin?: InputMaybe<Array<Scalars["jsonb"]>>;
236
+ _has_keys_any?: InputMaybe<Array<Scalars["String"]["input"]>>;
237
+ _in?: InputMaybe<Array<Scalars["jsonb"]["input"]>>;
238
+ _is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
239
+ _lt?: InputMaybe<Scalars["jsonb"]["input"]>;
240
+ _lte?: InputMaybe<Scalars["jsonb"]["input"]>;
241
+ _neq?: InputMaybe<Scalars["jsonb"]["input"]>;
242
+ _nin?: InputMaybe<Array<Scalars["jsonb"]["input"]>>;
212
243
  };
213
244
  /** Boolean expression to compare columns of type "numeric". All fields are combined with logical 'AND'. */
214
- declare type NumericComparisonExp = {
215
- _eq?: InputMaybe<Scalars["numeric"]>;
216
- _gt?: InputMaybe<Scalars["numeric"]>;
217
- _gte?: InputMaybe<Scalars["numeric"]>;
218
- _in?: InputMaybe<Array<Scalars["numeric"]>>;
219
- _is_null?: InputMaybe<Scalars["Boolean"]>;
220
- _lt?: InputMaybe<Scalars["numeric"]>;
221
- _lte?: InputMaybe<Scalars["numeric"]>;
222
- _neq?: InputMaybe<Scalars["numeric"]>;
223
- _nin?: InputMaybe<Array<Scalars["numeric"]>>;
245
+ type NumericComparisonExp = {
246
+ _eq?: InputMaybe<Scalars["numeric"]["input"]>;
247
+ _gt?: InputMaybe<Scalars["numeric"]["input"]>;
248
+ _gte?: InputMaybe<Scalars["numeric"]["input"]>;
249
+ _in?: InputMaybe<Array<Scalars["numeric"]["input"]>>;
250
+ _is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
251
+ _lt?: InputMaybe<Scalars["numeric"]["input"]>;
252
+ _lte?: InputMaybe<Scalars["numeric"]["input"]>;
253
+ _neq?: InputMaybe<Scalars["numeric"]["input"]>;
254
+ _nin?: InputMaybe<Array<Scalars["numeric"]["input"]>>;
224
255
  };
225
256
  /** Boolean expression to compare columns of type "timestamp". All fields are combined with logical 'AND'. */
226
- declare type TimestampComparisonExp = {
227
- _eq?: InputMaybe<Scalars["timestamp"]>;
228
- _gt?: InputMaybe<Scalars["timestamp"]>;
229
- _gte?: InputMaybe<Scalars["timestamp"]>;
230
- _in?: InputMaybe<Array<Scalars["timestamp"]>>;
231
- _is_null?: InputMaybe<Scalars["Boolean"]>;
232
- _lt?: InputMaybe<Scalars["timestamp"]>;
233
- _lte?: InputMaybe<Scalars["timestamp"]>;
234
- _neq?: InputMaybe<Scalars["timestamp"]>;
235
- _nin?: InputMaybe<Array<Scalars["timestamp"]>>;
257
+ type TimestampComparisonExp = {
258
+ _eq?: InputMaybe<Scalars["timestamp"]["input"]>;
259
+ _gt?: InputMaybe<Scalars["timestamp"]["input"]>;
260
+ _gte?: InputMaybe<Scalars["timestamp"]["input"]>;
261
+ _in?: InputMaybe<Array<Scalars["timestamp"]["input"]>>;
262
+ _is_null?: InputMaybe<Scalars["Boolean"]["input"]>;
263
+ _lt?: InputMaybe<Scalars["timestamp"]["input"]>;
264
+ _lte?: InputMaybe<Scalars["timestamp"]["input"]>;
265
+ _neq?: InputMaybe<Scalars["timestamp"]["input"]>;
266
+ _nin?: InputMaybe<Array<Scalars["timestamp"]["input"]>>;
236
267
  };
237
268
 
238
- declare type GetAccountCoinsDataQuery = {
269
+ type GetAccountCoinsDataQuery = {
239
270
  current_fungible_asset_balances: Array<{
240
271
  amount: any;
241
272
  asset_type: string;
@@ -262,7 +293,7 @@ declare type GetAccountCoinsDataQuery = {
262
293
  } | null;
263
294
  }>;
264
295
  };
265
- declare type GetAccountCollectionsWithOwnedTokensQuery = {
296
+ type GetAccountCollectionsWithOwnedTokensQuery = {
266
297
  current_collection_ownership_v2_view: Array<{
267
298
  collection_id?: string | null;
268
299
  collection_name?: string | null;
@@ -290,7 +321,7 @@ declare type GetAccountCollectionsWithOwnedTokensQuery = {
290
321
  } | null;
291
322
  }>;
292
323
  };
293
- declare type GetAccountOwnedObjectsQuery = {
324
+ type GetAccountOwnedObjectsQuery = {
294
325
  current_objects: Array<{
295
326
  allow_ungated_transfer: boolean;
296
327
  state_key_hash: string;
@@ -301,7 +332,7 @@ declare type GetAccountOwnedObjectsQuery = {
301
332
  is_deleted: boolean;
302
333
  }>;
303
334
  };
304
- declare type GetAccountOwnedTokensQuery = {
335
+ type GetAccountOwnedTokensQuery = {
305
336
  current_token_ownerships_v2: Array<{
306
337
  token_standard: string;
307
338
  token_properties_mutated_v1?: any | null;
@@ -348,7 +379,7 @@ declare type GetAccountOwnedTokensQuery = {
348
379
  } | null;
349
380
  }>;
350
381
  };
351
- declare type GetAccountOwnedTokensFromCollectionQuery = {
382
+ type GetAccountOwnedTokensFromCollectionQuery = {
352
383
  current_token_ownerships_v2: Array<{
353
384
  token_standard: string;
354
385
  token_properties_mutated_v1?: any | null;
@@ -395,12 +426,12 @@ declare type GetAccountOwnedTokensFromCollectionQuery = {
395
426
  } | null;
396
427
  }>;
397
428
  };
398
- declare type GetChainTopUserTransactionsQuery = {
429
+ type GetChainTopUserTransactionsQuery = {
399
430
  user_transactions: Array<{
400
431
  version: any;
401
432
  }>;
402
433
  };
403
- declare type GetCollectionDataQuery = {
434
+ type GetCollectionDataQuery = {
404
435
  current_collections_v2: Array<{
405
436
  collection_id: string;
406
437
  collection_name: string;
@@ -418,7 +449,7 @@ declare type GetCollectionDataQuery = {
418
449
  uri: string;
419
450
  }>;
420
451
  };
421
- declare type GetCurrentFungibleAssetBalancesQuery = {
452
+ type GetCurrentFungibleAssetBalancesQuery = {
422
453
  current_fungible_asset_balances: Array<{
423
454
  amount: any;
424
455
  asset_type: string;
@@ -431,7 +462,7 @@ declare type GetCurrentFungibleAssetBalancesQuery = {
431
462
  token_standard: string;
432
463
  }>;
433
464
  };
434
- declare type GetDelegatedStakingActivitiesQuery = {
465
+ type GetDelegatedStakingActivitiesQuery = {
435
466
  delegated_staking_activities: Array<{
436
467
  amount: any;
437
468
  delegator_address: string;
@@ -441,7 +472,7 @@ declare type GetDelegatedStakingActivitiesQuery = {
441
472
  transaction_version: any;
442
473
  }>;
443
474
  };
444
- declare type GetEventsQuery = {
475
+ type GetEventsQuery = {
445
476
  events: Array<{
446
477
  account_address: string;
447
478
  creation_number: any;
@@ -451,9 +482,10 @@ declare type GetEventsQuery = {
451
482
  transaction_block_height: any;
452
483
  transaction_version: any;
453
484
  type: string;
485
+ indexed_type: string;
454
486
  }>;
455
487
  };
456
- declare type GetFungibleAssetActivitiesQuery = {
488
+ type GetFungibleAssetActivitiesQuery = {
457
489
  fungible_asset_activities: Array<{
458
490
  amount?: any | null;
459
491
  asset_type: string;
@@ -473,7 +505,7 @@ declare type GetFungibleAssetActivitiesQuery = {
473
505
  type: string;
474
506
  }>;
475
507
  };
476
- declare type GetFungibleAssetMetadataQuery = {
508
+ type GetFungibleAssetMetadataQuery = {
477
509
  fungible_asset_metadata: Array<{
478
510
  icon_uri?: string | null;
479
511
  project_uri?: string | null;
@@ -489,20 +521,20 @@ declare type GetFungibleAssetMetadataQuery = {
489
521
  token_standard: string;
490
522
  }>;
491
523
  };
492
- declare type GetNumberOfDelegatorsQuery = {
524
+ type GetNumberOfDelegatorsQuery = {
493
525
  num_active_delegator_per_pool: Array<{
494
526
  num_active_delegator?: any | null;
495
527
  pool_address?: string | null;
496
528
  }>;
497
529
  };
498
- declare type GetProcessorStatusQuery = {
530
+ type GetProcessorStatusQuery = {
499
531
  processor_status: Array<{
500
532
  last_success_version: any;
501
533
  processor: string;
502
534
  last_updated: any;
503
535
  }>;
504
536
  };
505
- declare type GetTokenActivityQuery = {
537
+ type GetTokenActivityQuery = {
506
538
  token_activities_v2: Array<{
507
539
  after_value?: string | null;
508
540
  before_value?: string | null;
@@ -521,7 +553,7 @@ declare type GetTokenActivityQuery = {
521
553
  type: string;
522
554
  }>;
523
555
  };
524
- declare type GetCurrentTokenOwnershipQuery = {
556
+ type GetCurrentTokenOwnershipQuery = {
525
557
  current_token_ownerships_v2: Array<{
526
558
  token_standard: string;
527
559
  token_properties_mutated_v1?: any | null;
@@ -568,7 +600,7 @@ declare type GetCurrentTokenOwnershipQuery = {
568
600
  } | null;
569
601
  }>;
570
602
  };
571
- declare type GetTokenDataQuery = {
603
+ type GetTokenDataQuery = {
572
604
  current_token_datas_v2: Array<{
573
605
  collection_id: string;
574
606
  description: string;
@@ -622,40 +654,40 @@ declare type GetTokenDataQuery = {
622
654
  * These types are used as the return type when calling a sdk api function
623
655
  * that calls the function that queries the server (usually under the /api/ folder)
624
656
  */
625
- declare type GetAccountOwnedObjectsResponse = GetAccountOwnedObjectsQuery["current_objects"];
626
- declare type GetAccountOwnedTokensQueryResponse = GetAccountOwnedTokensQuery["current_token_ownerships_v2"];
627
- declare type GetAccountOwnedTokensFromCollectionResponse = GetAccountOwnedTokensFromCollectionQuery["current_token_ownerships_v2"];
628
- declare type GetAccountCollectionsWithOwnedTokenResponse = GetAccountCollectionsWithOwnedTokensQuery["current_collection_ownership_v2_view"];
629
- declare type GetAccountCoinsDataResponse = GetAccountCoinsDataQuery["current_fungible_asset_balances"];
630
- declare type GetChainTopUserTransactionsResponse = GetChainTopUserTransactionsQuery["user_transactions"];
631
- declare type GetEventsResponse = GetEventsQuery["events"];
632
- declare type GetNumberOfDelegatorsResponse = GetNumberOfDelegatorsQuery["num_active_delegator_per_pool"];
633
- declare type GetDelegatedStakingActivitiesResponse = GetDelegatedStakingActivitiesQuery["delegated_staking_activities"];
634
- declare type GetCollectionDataResponse = GetCollectionDataQuery["current_collections_v2"][0];
635
- declare type GetTokenDataResponse = GetTokenDataQuery["current_token_datas_v2"][0];
636
- declare type GetProcessorStatusResponse = GetProcessorStatusQuery["processor_status"];
637
- declare type GetFungibleAssetMetadataResponse = GetFungibleAssetMetadataQuery["fungible_asset_metadata"];
638
- declare type GetFungibleAssetActivitiesResponse = GetFungibleAssetActivitiesQuery["fungible_asset_activities"];
639
- declare type GetCurrentFungibleAssetBalancesResponse = GetCurrentFungibleAssetBalancesQuery["current_fungible_asset_balances"];
640
- declare type GetTokenActivityResponse = GetTokenActivityQuery["token_activities_v2"];
641
- declare type GetCurrentTokenOwnershipResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"][0];
642
- declare type GetOwnedTokensResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"];
657
+ type GetAccountOwnedObjectsResponse = GetAccountOwnedObjectsQuery["current_objects"];
658
+ type GetAccountOwnedTokensQueryResponse = GetAccountOwnedTokensQuery["current_token_ownerships_v2"];
659
+ type GetAccountOwnedTokensFromCollectionResponse = GetAccountOwnedTokensFromCollectionQuery["current_token_ownerships_v2"];
660
+ type GetAccountCollectionsWithOwnedTokenResponse = GetAccountCollectionsWithOwnedTokensQuery["current_collection_ownership_v2_view"];
661
+ type GetAccountCoinsDataResponse = GetAccountCoinsDataQuery["current_fungible_asset_balances"];
662
+ type GetChainTopUserTransactionsResponse = GetChainTopUserTransactionsQuery["user_transactions"];
663
+ type GetEventsResponse = GetEventsQuery["events"];
664
+ type GetNumberOfDelegatorsResponse = GetNumberOfDelegatorsQuery["num_active_delegator_per_pool"];
665
+ type GetDelegatedStakingActivitiesResponse = GetDelegatedStakingActivitiesQuery["delegated_staking_activities"];
666
+ type GetCollectionDataResponse = GetCollectionDataQuery["current_collections_v2"][0];
667
+ type GetTokenDataResponse = GetTokenDataQuery["current_token_datas_v2"][0];
668
+ type GetProcessorStatusResponse = GetProcessorStatusQuery["processor_status"];
669
+ type GetFungibleAssetMetadataResponse = GetFungibleAssetMetadataQuery["fungible_asset_metadata"];
670
+ type GetFungibleAssetActivitiesResponse = GetFungibleAssetActivitiesQuery["fungible_asset_activities"];
671
+ type GetCurrentFungibleAssetBalancesResponse = GetCurrentFungibleAssetBalancesQuery["current_fungible_asset_balances"];
672
+ type GetTokenActivityResponse = GetTokenActivityQuery["token_activities_v2"];
673
+ type GetCurrentTokenOwnershipResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"][0];
674
+ type GetOwnedTokensResponse = GetCurrentTokenOwnershipQuery["current_token_ownerships_v2"];
643
675
  /**
644
676
  * A generic type that being passed by each function and holds an
645
677
  * array of properties we can sort the query by
646
678
  */
647
- declare type OrderBy<T> = Array<{
679
+ type OrderBy<T> = Array<{
648
680
  [K in keyof T]?: OrderByValue;
649
681
  }>;
650
- declare type OrderByValue = "asc" | "asc_nulls_first" | "asc_nulls_last" | "desc" | "desc_nulls_first" | "desc_nulls_last";
682
+ type OrderByValue = "asc" | "asc_nulls_first" | "asc_nulls_last" | "desc" | "desc_nulls_first" | "desc_nulls_last";
651
683
  /**
652
684
  * Refers to the token standard we want to query for
653
685
  */
654
- declare type TokenStandard = "v1" | "v2";
686
+ type TokenStandard = "v1" | "v2";
655
687
  /**
656
688
  * The graphql query type to pass into the `queryIndexer` function
657
689
  */
658
- declare type GraphqlQuery = {
690
+ type GraphqlQuery = {
659
691
  query: string;
660
692
  variables?: {};
661
693
  };
@@ -677,7 +709,7 @@ declare enum MimeType {
677
709
  /**
678
710
  * Hex data as input to a function
679
711
  */
680
- declare type HexInput = string | Uint8Array;
712
+ type HexInput = string | Uint8Array;
681
713
  /**
682
714
  * TypeTag enum as they are represented in Rust
683
715
  * {@link https://github.com/aptos-labs/aptos-core/blob/main/third_party/move/move-core/types/src/language_storage.rs#L27}
@@ -761,19 +793,19 @@ declare enum AnySignatureVariant {
761
793
  /**
762
794
  * BCS types
763
795
  */
764
- declare type Uint8 = number;
765
- declare type Uint16 = number;
766
- declare type Uint32 = number;
767
- declare type Uint64 = bigint;
768
- declare type Uint128 = bigint;
769
- declare type Uint256 = bigint;
770
- declare type AnyNumber = number | bigint;
796
+ type Uint8 = number;
797
+ type Uint16 = number;
798
+ type Uint32 = number;
799
+ type Uint64 = bigint;
800
+ type Uint128 = bigint;
801
+ type Uint256 = bigint;
802
+ type AnyNumber = number | bigint;
771
803
  /**
772
804
  * Set of configuration options that can be provided when initializing the SDK.
773
805
  * The purpose of these options is to configure various aspects of the SDK's
774
806
  * behavior and interaction with the Aptos network
775
807
  */
776
- declare type AptosSettings = {
808
+ type AptosSettings = {
777
809
  readonly network?: Network;
778
810
  readonly fullnode?: string;
779
811
  readonly faucet?: string;
@@ -797,12 +829,14 @@ interface PaginationArgs {
797
829
  /**
798
830
  * A configuration object we can pass with the request to the server.
799
831
  *
800
- * @param TOKEN - an auth token to send with the request
832
+ * @param AUTH_TOKEN - an auth token to send with a faucet request
833
+ * @param API_KEY - api key generated from developer portal {@link https://developers.aptoslabs.com/manage/api-keys}}
801
834
  * @param HEADERS - extra headers we want to send with the request
802
835
  * @param WITH_CREDENTIALS - whether to carry cookies. By default, it is set to true and cookies will be sent
803
836
  */
804
- declare type ClientConfig = {
805
- TOKEN?: string;
837
+ type ClientConfig = {
838
+ AUTH_TOKEN?: string;
839
+ API_KEY?: string;
806
840
  HEADERS?: Record<string, string | number | boolean>;
807
841
  WITH_CREDENTIALS?: boolean;
808
842
  };
@@ -840,7 +874,7 @@ interface Client {
840
874
  * @param originMethod (optional) - the local method the request came from
841
875
  * @param overrides (optional) - a `ClientConfig` object type to override request data
842
876
  */
843
- declare type AptosRequest = {
877
+ type AptosRequest = {
844
878
  url: string;
845
879
  method: "GET" | "POST";
846
880
  path?: string;
@@ -854,7 +888,7 @@ declare type AptosRequest = {
854
888
  /**
855
889
  * Specifies ledger version of transactions. By default latest version will be used
856
890
  */
857
- declare type LedgerVersion = {
891
+ type LedgerVersion = {
858
892
  ledgerVersion?: AnyNumber;
859
893
  };
860
894
  /**
@@ -863,7 +897,7 @@ declare type LedgerVersion = {
863
897
  /**
864
898
  * Type holding the outputs of the estimate gas API
865
899
  */
866
- declare type GasEstimation = {
900
+ type GasEstimation = {
867
901
  /**
868
902
  * The deprioritized estimate for the gas unit price
869
903
  */
@@ -877,15 +911,15 @@ declare type GasEstimation = {
877
911
  */
878
912
  prioritized_gas_estimate?: number;
879
913
  };
880
- declare type MoveResource = {
881
- type: MoveStructType;
914
+ type MoveResource = {
915
+ type: MoveStructId;
882
916
  data: {};
883
917
  };
884
- declare type AccountData = {
918
+ type AccountData = {
885
919
  sequence_number: string;
886
920
  authentication_key: string;
887
921
  };
888
- declare type MoveModuleBytecode = {
922
+ type MoveModuleBytecode = {
889
923
  bytecode: string;
890
924
  abi?: MoveModule;
891
925
  };
@@ -899,8 +933,8 @@ declare enum TransactionResponseType {
899
933
  BlockMetadata = "block_metadata_transaction",
900
934
  StateCheckpoint = "state_checkpoint_transaction"
901
935
  }
902
- declare type TransactionResponse = PendingTransactionResponse | UserTransactionResponse | GenesisTransactionResponse | BlockMetadataTransactionResponse | StateCheckpointTransactionResponse;
903
- declare type PendingTransactionResponse = {
936
+ type TransactionResponse = PendingTransactionResponse | UserTransactionResponse | GenesisTransactionResponse | BlockMetadataTransactionResponse | StateCheckpointTransactionResponse;
937
+ type PendingTransactionResponse = {
904
938
  type: TransactionResponseType.Pending;
905
939
  hash: string;
906
940
  sender: string;
@@ -911,7 +945,7 @@ declare type PendingTransactionResponse = {
911
945
  payload: TransactionPayloadResponse;
912
946
  signature?: TransactionSignature;
913
947
  };
914
- declare type UserTransactionResponse = {
948
+ type UserTransactionResponse = {
915
949
  type: TransactionResponseType.User;
916
950
  version: string;
917
951
  hash: string;
@@ -945,7 +979,7 @@ declare type UserTransactionResponse = {
945
979
  events: Array<Event$1>;
946
980
  timestamp: string;
947
981
  };
948
- declare type GenesisTransactionResponse = {
982
+ type GenesisTransactionResponse = {
949
983
  type: TransactionResponseType.Genesis;
950
984
  version: string;
951
985
  hash: string;
@@ -972,7 +1006,7 @@ declare type GenesisTransactionResponse = {
972
1006
  */
973
1007
  events: Array<Event$1>;
974
1008
  };
975
- declare type BlockMetadataTransactionResponse = {
1009
+ type BlockMetadataTransactionResponse = {
976
1010
  type: TransactionResponseType.BlockMetadata;
977
1011
  version: string;
978
1012
  hash: string;
@@ -1011,7 +1045,7 @@ declare type BlockMetadataTransactionResponse = {
1011
1045
  failed_proposer_indices: Array<number>;
1012
1046
  timestamp: string;
1013
1047
  };
1014
- declare type StateCheckpointTransactionResponse = {
1048
+ type StateCheckpointTransactionResponse = {
1015
1049
  type: TransactionResponseType.StateCheckpoint;
1016
1050
  version: string;
1017
1051
  hash: string;
@@ -1037,8 +1071,8 @@ declare type StateCheckpointTransactionResponse = {
1037
1071
  /**
1038
1072
  * WRITESET CHANGE TYPES
1039
1073
  */
1040
- declare type WriteSetChange = WriteSetChangeDeleteModule | WriteSetChangeDeleteResource | WriteSetChangeDeleteTableItem | WriteSetChangeWriteModule | WriteSetChangeWriteResource | WriteSetChangeWriteTableItem;
1041
- declare type WriteSetChangeDeleteModule = {
1074
+ type WriteSetChange = WriteSetChangeDeleteModule | WriteSetChangeDeleteResource | WriteSetChangeDeleteTableItem | WriteSetChangeWriteModule | WriteSetChangeWriteResource | WriteSetChangeWriteTableItem;
1075
+ type WriteSetChangeDeleteModule = {
1042
1076
  type: string;
1043
1077
  address: string;
1044
1078
  /**
@@ -1047,32 +1081,32 @@ declare type WriteSetChangeDeleteModule = {
1047
1081
  state_key_hash: string;
1048
1082
  module: MoveModuleId;
1049
1083
  };
1050
- declare type WriteSetChangeDeleteResource = {
1084
+ type WriteSetChangeDeleteResource = {
1051
1085
  type: string;
1052
1086
  address: string;
1053
1087
  state_key_hash: string;
1054
1088
  resource: string;
1055
1089
  };
1056
- declare type WriteSetChangeDeleteTableItem = {
1090
+ type WriteSetChangeDeleteTableItem = {
1057
1091
  type: string;
1058
1092
  state_key_hash: string;
1059
1093
  handle: string;
1060
1094
  key: string;
1061
1095
  data?: DeletedTableData;
1062
1096
  };
1063
- declare type WriteSetChangeWriteModule = {
1097
+ type WriteSetChangeWriteModule = {
1064
1098
  type: string;
1065
1099
  address: string;
1066
1100
  state_key_hash: string;
1067
1101
  data: MoveModuleBytecode;
1068
1102
  };
1069
- declare type WriteSetChangeWriteResource = {
1103
+ type WriteSetChangeWriteResource = {
1070
1104
  type: string;
1071
1105
  address: string;
1072
1106
  state_key_hash: string;
1073
1107
  data: MoveResource;
1074
1108
  };
1075
- declare type WriteSetChangeWriteTableItem = {
1109
+ type WriteSetChangeWriteTableItem = {
1076
1110
  type: string;
1077
1111
  state_key_hash: string;
1078
1112
  handle: string;
@@ -1080,7 +1114,7 @@ declare type WriteSetChangeWriteTableItem = {
1080
1114
  value: string;
1081
1115
  data?: DecodedTableData;
1082
1116
  };
1083
- declare type DecodedTableData = {
1117
+ type DecodedTableData = {
1084
1118
  /**
1085
1119
  * Key of table in JSON
1086
1120
  */
@@ -1101,7 +1135,7 @@ declare type DecodedTableData = {
1101
1135
  /**
1102
1136
  * Deleted table data
1103
1137
  */
1104
- declare type DeletedTableData = {
1138
+ type DeletedTableData = {
1105
1139
  /**
1106
1140
  * Deleted key
1107
1141
  */
@@ -1111,10 +1145,10 @@ declare type DeletedTableData = {
1111
1145
  */
1112
1146
  key_type: string;
1113
1147
  };
1114
- declare type TransactionPayloadResponse = EntryFunctionPayloadResponse | ScriptPayloadResponse | MultisigPayloadResponse;
1115
- declare type EntryFunctionPayloadResponse = {
1148
+ type TransactionPayloadResponse = EntryFunctionPayloadResponse | ScriptPayloadResponse | MultisigPayloadResponse;
1149
+ type EntryFunctionPayloadResponse = {
1116
1150
  type: string;
1117
- function: MoveStructType;
1151
+ function: MoveFunctionId;
1118
1152
  /**
1119
1153
  * Type arguments of the function
1120
1154
  */
@@ -1124,7 +1158,7 @@ declare type EntryFunctionPayloadResponse = {
1124
1158
  */
1125
1159
  arguments: Array<any>;
1126
1160
  };
1127
- declare type ScriptPayloadResponse = {
1161
+ type ScriptPayloadResponse = {
1128
1162
  type: string;
1129
1163
  code: MoveScriptBytecode;
1130
1164
  /**
@@ -1136,37 +1170,37 @@ declare type ScriptPayloadResponse = {
1136
1170
  */
1137
1171
  arguments: Array<any>;
1138
1172
  };
1139
- declare type MultisigPayloadResponse = {
1173
+ type MultisigPayloadResponse = {
1140
1174
  type: string;
1141
1175
  multisig_address: string;
1142
1176
  transaction_payload?: EntryFunctionPayloadResponse;
1143
1177
  };
1144
- declare type GenesisPayload = {
1178
+ type GenesisPayload = {
1145
1179
  type: string;
1146
1180
  write_set: WriteSet;
1147
1181
  };
1148
1182
  /**
1149
1183
  * Move script bytecode
1150
1184
  */
1151
- declare type MoveScriptBytecode = {
1185
+ type MoveScriptBytecode = {
1152
1186
  bytecode: string;
1153
1187
  abi?: MoveFunction;
1154
1188
  };
1155
1189
  /**
1156
1190
  * These are the JSON representations of transaction signatures returned from the node API.
1157
1191
  */
1158
- declare type TransactionSignature = TransactionEd25519Signature | TransactionSecp256k1Signature | TransactionMultiEd25519Signature | TransactionMultiAgentSignature | TransactionFeePayerSignature;
1159
- declare type TransactionEd25519Signature = {
1192
+ type TransactionSignature = TransactionEd25519Signature | TransactionSecp256k1Signature | TransactionMultiEd25519Signature | TransactionMultiAgentSignature | TransactionFeePayerSignature;
1193
+ type TransactionEd25519Signature = {
1160
1194
  type: string;
1161
1195
  public_key: string;
1162
1196
  signature: "ed25519_signature";
1163
1197
  };
1164
- declare type TransactionSecp256k1Signature = {
1198
+ type TransactionSecp256k1Signature = {
1165
1199
  type: string;
1166
1200
  public_key: string;
1167
1201
  signature: "secp256k1_ecdsa_signature";
1168
1202
  };
1169
- declare type TransactionMultiEd25519Signature = {
1203
+ type TransactionMultiEd25519Signature = {
1170
1204
  type: "multi_ed25519_signature";
1171
1205
  /**
1172
1206
  * The public keys for the Ed25519 signature
@@ -1182,7 +1216,7 @@ declare type TransactionMultiEd25519Signature = {
1182
1216
  threshold: number;
1183
1217
  bitmap: string;
1184
1218
  };
1185
- declare type TransactionMultiAgentSignature = {
1219
+ type TransactionMultiAgentSignature = {
1186
1220
  type: "multi_agent_signature";
1187
1221
  sender: AccountSignature;
1188
1222
  /**
@@ -1194,7 +1228,7 @@ declare type TransactionMultiAgentSignature = {
1194
1228
  */
1195
1229
  secondary_signers: Array<AccountSignature>;
1196
1230
  };
1197
- declare type TransactionFeePayerSignature = {
1231
+ type TransactionFeePayerSignature = {
1198
1232
  type: "fee_payer_signature";
1199
1233
  sender: AccountSignature;
1200
1234
  /**
@@ -1211,26 +1245,26 @@ declare type TransactionFeePayerSignature = {
1211
1245
  /**
1212
1246
  * The union of all single account signatures.
1213
1247
  */
1214
- declare type AccountSignature = AccountEd25519Signature | AccountSecp256k1Signature | AccountMultiEd25519Signature;
1215
- declare type AccountEd25519Signature = TransactionEd25519Signature;
1216
- declare type AccountSecp256k1Signature = TransactionSecp256k1Signature;
1217
- declare type AccountMultiEd25519Signature = TransactionMultiEd25519Signature;
1218
- declare type WriteSet = ScriptWriteSet | DirectWriteSet;
1219
- declare type ScriptWriteSet = {
1248
+ type AccountSignature = AccountEd25519Signature | AccountSecp256k1Signature | AccountMultiEd25519Signature;
1249
+ type AccountEd25519Signature = TransactionEd25519Signature;
1250
+ type AccountSecp256k1Signature = TransactionSecp256k1Signature;
1251
+ type AccountMultiEd25519Signature = TransactionMultiEd25519Signature;
1252
+ type WriteSet = ScriptWriteSet | DirectWriteSet;
1253
+ type ScriptWriteSet = {
1220
1254
  type: string;
1221
1255
  execute_as: string;
1222
1256
  script: ScriptPayloadResponse;
1223
1257
  };
1224
- declare type DirectWriteSet = {
1258
+ type DirectWriteSet = {
1225
1259
  type: string;
1226
1260
  changes: Array<WriteSetChange>;
1227
1261
  events: Array<Event$1>;
1228
1262
  };
1229
- declare type EventGuid = {
1263
+ type EventGuid = {
1230
1264
  creation_number: string;
1231
1265
  account_address: string;
1232
1266
  };
1233
- declare type Event$1 = {
1267
+ type Event$1 = {
1234
1268
  guid: EventGuid;
1235
1269
  sequence_number: string;
1236
1270
  type: string;
@@ -1242,20 +1276,22 @@ declare type Event$1 = {
1242
1276
  /**
1243
1277
  * Map of Move types to local TypeScript types
1244
1278
  */
1245
- declare type MoveUint8Type = number;
1246
- declare type MoveUint16Type = number;
1247
- declare type MoveUint32Type = number;
1248
- declare type MoveUint64Type = string;
1249
- declare type MoveUint128Type = string;
1250
- declare type MoveUint256Type = string;
1251
- declare type MoveAddressType = string;
1252
- declare type MoveObjectType = string;
1253
- declare type MoveOptionType = MoveType | null | undefined;
1279
+ type MoveUint8Type = number;
1280
+ type MoveUint16Type = number;
1281
+ type MoveUint32Type = number;
1282
+ type MoveUint64Type = string;
1283
+ type MoveUint128Type = string;
1284
+ type MoveUint256Type = string;
1285
+ type MoveAddressType = string;
1286
+ type MoveObjectType = string;
1287
+ type MoveOptionType = MoveType | null | undefined;
1254
1288
  /**
1255
1289
  * This is the format for a fully qualified struct, resource, or entry function in Move.
1256
1290
  */
1257
- declare type MoveStructType = `${string}::${string}::${string}`;
1258
- declare type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructType | Array<MoveType>;
1291
+ type MoveStructId = `${string}::${string}::${string}`;
1292
+ type MoveFunctionId = MoveStructId;
1293
+ type MoveStructType = {};
1294
+ type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructType | Array<MoveType>;
1259
1295
  /**
1260
1296
  * Possible Move values acceptable by move functions (entry, view)
1261
1297
  *
@@ -1279,12 +1315,12 @@ declare type MoveType = boolean | string | MoveUint8Type | MoveUint16Type | Move
1279
1315
  *
1280
1316
  * `Option -> MoveValue | null | undefined`
1281
1317
  */
1282
- declare type MoveValue = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructType | MoveOptionType | Array<MoveValue>;
1318
+ type MoveValue = boolean | string | MoveUint8Type | MoveUint16Type | MoveUint32Type | MoveUint64Type | MoveUint128Type | MoveUint256Type | MoveAddressType | MoveObjectType | MoveStructId | MoveOptionType | Array<MoveValue>;
1283
1319
  /**
1284
1320
  * Move module id is a string representation of Move module.
1285
1321
  * Module name is case-sensitive.
1286
1322
  */
1287
- declare type MoveModuleId = `${string}::${string}`;
1323
+ type MoveModuleId = `${string}::${string}`;
1288
1324
  /**
1289
1325
  * Move function visibility
1290
1326
  */
@@ -1305,20 +1341,20 @@ declare enum MoveAbility {
1305
1341
  /**
1306
1342
  * Move abilities tied to the generic type param and associated with the function that uses it
1307
1343
  */
1308
- declare type MoveFunctionGenericTypeParam = {
1344
+ type MoveFunctionGenericTypeParam = {
1309
1345
  constraints: Array<MoveAbility>;
1310
1346
  };
1311
1347
  /**
1312
1348
  * Move struct field
1313
1349
  */
1314
- declare type MoveStructField = {
1350
+ type MoveStructField = {
1315
1351
  name: string;
1316
1352
  type: string;
1317
1353
  };
1318
1354
  /**
1319
1355
  * A Move module
1320
1356
  */
1321
- declare type MoveModule = {
1357
+ type MoveModule = {
1322
1358
  address: string;
1323
1359
  name: string;
1324
1360
  /**
@@ -1337,7 +1373,7 @@ declare type MoveModule = {
1337
1373
  /**
1338
1374
  * A move struct
1339
1375
  */
1340
- declare type MoveStruct = {
1376
+ type MoveStruct = {
1341
1377
  name: string;
1342
1378
  /**
1343
1379
  * Whether the struct is a native struct of Move
@@ -1359,7 +1395,7 @@ declare type MoveStruct = {
1359
1395
  /**
1360
1396
  * Move function
1361
1397
  */
1362
- declare type MoveFunction = {
1398
+ type MoveFunction = {
1363
1399
  name: string;
1364
1400
  visibility: MoveFunctionVisibility;
1365
1401
  /**
@@ -1387,7 +1423,7 @@ declare enum RoleType {
1387
1423
  VALIDATOR = "validator",
1388
1424
  FULL_NODE = "full_node"
1389
1425
  }
1390
- declare type LedgerInfo = {
1426
+ type LedgerInfo = {
1391
1427
  /**
1392
1428
  * Chain ID of the current chain
1393
1429
  */
@@ -1408,7 +1444,7 @@ declare type LedgerInfo = {
1408
1444
  /**
1409
1445
  * A Block type
1410
1446
  */
1411
- declare type Block = {
1447
+ type Block = {
1412
1448
  block_height: string;
1413
1449
  block_hash: string;
1414
1450
  block_timestamp: string;
@@ -1422,22 +1458,22 @@ declare type Block = {
1422
1458
  /**
1423
1459
  * The data needed to generate a View Request payload
1424
1460
  */
1425
- declare type ViewRequestData = {
1426
- function: MoveStructType;
1427
- typeArguments?: Array<MoveStructType>;
1461
+ type InputViewRequestData = {
1462
+ function: MoveFunctionId;
1463
+ typeArguments?: Array<MoveStructId>;
1428
1464
  functionArguments?: Array<MoveValue>;
1429
1465
  };
1430
1466
  /**
1431
1467
  * View request for the Move view function API
1432
1468
  *
1433
- * `type MoveStructType = ${string}::${string}::${string}`;
1469
+ * `type MoveFunctionId = ${string}::${string}::${string}`;
1434
1470
  */
1435
- declare type ViewRequest = {
1436
- function: MoveStructType;
1471
+ type ViewRequest = {
1472
+ function: MoveFunctionId;
1437
1473
  /**
1438
1474
  * Type arguments of the function
1439
1475
  */
1440
- type_arguments: Array<MoveStructType>;
1476
+ typeArguments: Array<MoveStructId>;
1441
1477
  /**
1442
1478
  * Arguments of the function
1443
1479
  */
@@ -1446,7 +1482,7 @@ declare type ViewRequest = {
1446
1482
  /**
1447
1483
  * Table Item request for the GetTableItem API
1448
1484
  */
1449
- declare type TableItemRequest = {
1485
+ type TableItemRequest = {
1450
1486
  key_type: MoveValue;
1451
1487
  value_type: MoveValue;
1452
1488
  /**
@@ -1459,7 +1495,7 @@ declare type TableItemRequest = {
1459
1495
  *
1460
1496
  * They are combinations of signing schemes and derive schemes.
1461
1497
  */
1462
- declare type AuthenticationKeyScheme = SigningScheme | DeriveScheme;
1498
+ type AuthenticationKeyScheme = SigningScheme | DeriveScheme;
1463
1499
  declare enum SigningScheme {
1464
1500
  /**
1465
1501
  * For Ed25519PublicKey
@@ -1513,7 +1549,7 @@ declare enum DeriveScheme {
1513
1549
  /**
1514
1550
  * Option properties to pass for waitForTransaction() function
1515
1551
  */
1516
- declare type WaitForTransactionOptions = {
1552
+ type WaitForTransactionOptions = {
1517
1553
  timeoutSecs?: number;
1518
1554
  checkSuccess?: boolean;
1519
1555
  indexerVersionCheck?: boolean;
@@ -1522,7 +1558,7 @@ declare type WaitForTransactionOptions = {
1522
1558
  * Input type to generate an account using Single Signer
1523
1559
  * Ed25519 or Legacy Ed25519
1524
1560
  */
1525
- declare type GenerateAccountWithEd25519 = {
1561
+ type GenerateAccountWithEd25519 = {
1526
1562
  scheme: SigningSchemeInput.Ed25519;
1527
1563
  legacy: boolean;
1528
1564
  };
@@ -1530,11 +1566,11 @@ declare type GenerateAccountWithEd25519 = {
1530
1566
  * Input type to generate an account using Single Signer
1531
1567
  * Secp256k1
1532
1568
  */
1533
- declare type GenerateAccountWithSingleSignerSecp256k1Key = {
1569
+ type GenerateAccountWithSingleSignerSecp256k1Key = {
1534
1570
  scheme: SigningSchemeInput.Secp256k1Ecdsa;
1535
1571
  legacy?: false;
1536
1572
  };
1537
- declare type GenerateAccount = GenerateAccountWithEd25519 | GenerateAccountWithSingleSignerSecp256k1Key;
1573
+ type GenerateAccount = GenerateAccountWithEd25519 | GenerateAccountWithSingleSignerSecp256k1Key;
1538
1574
 
1539
1575
  /**
1540
1576
  * Type of API endpoint for request routing
@@ -1544,6 +1580,38 @@ declare enum AptosApiType {
1544
1580
  INDEXER = 1,
1545
1581
  FAUCET = 2
1546
1582
  }
1583
+ declare const DEFAULT_NETWORK = Network.DEVNET;
1584
+ /**
1585
+ * The default max gas amount when none is given.
1586
+ *
1587
+ * This is the maximum number of gas units that will be used by a transaction before being rejected.
1588
+ *
1589
+ * Note that max gas amount varies based on the transaction. A larger transaction will go over this
1590
+ * default gas amount, and the value will need to be changed for the specific transaction.
1591
+ */
1592
+ declare const DEFAULT_MAX_GAS_AMOUNT = 200000;
1593
+ /**
1594
+ * The default transaction expiration seconds from now.
1595
+ *
1596
+ * This time is how long until the blockchain nodes will reject the transaction.
1597
+ *
1598
+ * Note that the transaction expiration time varies based on network connection and network load. It may need to be
1599
+ * increased for the transaction to be processed.
1600
+ */
1601
+ declare const DEFAULT_TXN_EXP_SEC_FROM_NOW = 20;
1602
+ /**
1603
+ * The default number of seconds to wait for a transaction to be processed.
1604
+ *
1605
+ * This time is the amount of time that the SDK will wait for a transaction to be processed when waiting for
1606
+ * the results of the transaction. It may take longer based on network connection and network load.
1607
+ */
1608
+ declare const DEFAULT_TXN_TIMEOUT_SEC = 20;
1609
+ /**
1610
+ * The default gas currency for the network.
1611
+ */
1612
+ declare const APTOS_COIN = "0x1::aptos_coin::AptosCoin";
1613
+ declare const RAW_TRANSACTION_SALT = "APTOS::RawTransaction";
1614
+ declare const RAW_TRANSACTION_WITH_DATA_SALT = "APTOS::RawTransactionWithData";
1547
1615
 
1548
1616
  /**
1549
1617
  * This class holds the config information for the SDK client instance.
@@ -1604,7 +1672,7 @@ declare class ParsingError<T> extends Error {
1604
1672
  * Whereas ParsingError is thrown when parsing fails, e.g. in a fromString function,
1605
1673
  * this type is returned from "defensive" functions like isValid.
1606
1674
  */
1607
- declare type ParsingResult<T> = {
1675
+ type ParsingResult<T> = {
1608
1676
  /**
1609
1677
  * True if valid, false otherwise.
1610
1678
  */
@@ -2084,7 +2152,7 @@ declare enum AddressInvalidReason {
2084
2152
  LONG_FORM_REQUIRED_UNLESS_SPECIAL = "long_form_required_unless_special",
2085
2153
  INVALID_PADDING_ZEROES = "INVALID_PADDING_ZEROES"
2086
2154
  }
2087
- declare type AccountAddressInput = HexInput | AccountAddress;
2155
+ type AccountAddressInput = HexInput | AccountAddress;
2088
2156
  /**
2089
2157
  * NOTE: Only use this class for account addresses. For other hex data, e.g. transaction
2090
2158
  * hashes, use the Hex class.
@@ -2837,11 +2905,14 @@ declare class AuthenticationKey extends Serializable {
2837
2905
  * `SingleSender` supports `ED25519` and `Secp256k1`, and `MultiSender` supports
2838
2906
  * `MultiED25519`.
2839
2907
  *
2840
- * In TypeScript SDK, we support all of these options
2841
- * @generate default to generate Unified keys, with an optional `legacy` boolean argument
2842
- * that lets you generate new keys conforming to the Legacy authentication.
2908
+ * In TypeScript SDK, we support all of these options:
2909
+ *
2910
+ * @generate default to generate Legacy Ed25519 keys, with an optional `legacy` boolean argument
2911
+ * that lets you generate new keys conforming to the Unified authentication.
2912
+ *
2843
2913
  * @fromPrivateKey derives an account by a provided private key and address, with an optional
2844
- * `legacy` boolean argument that lets you generate new keys conforming to the Legacy authentication.
2914
+ * `legacy` boolean argument that lets you generate new keys conforming to the Unified authentication.
2915
+ *
2845
2916
  * @fromDerivationPath derives an account with bip44 path and mnemonics,
2846
2917
  *
2847
2918
  */
@@ -3510,7 +3581,7 @@ declare class MultiKey extends PublicKey {
3510
3581
  static deserialize(deserializer: Deserializer): MultiKey;
3511
3582
  }
3512
3583
 
3513
- declare type DerivedKeys = {
3584
+ type DerivedKeys = {
3514
3585
  key: Uint8Array;
3515
3586
  chainCode: Uint8Array;
3516
3587
  };
@@ -3689,7 +3760,7 @@ declare class Account {
3689
3760
  */
3690
3761
  getAccountResource<T extends {} = any>(args: {
3691
3762
  accountAddress: AccountAddressInput;
3692
- resourceType: MoveStructType;
3763
+ resourceType: MoveStructId;
3693
3764
  options?: LedgerVersion;
3694
3765
  }): Promise<T>;
3695
3766
  /**
@@ -4471,23 +4542,23 @@ declare class SignedTransaction extends Serializable {
4471
4542
  /**
4472
4543
  * Entry function arguments to be used when building a raw transaction using remote ABI
4473
4544
  */
4474
- declare type SimpleEntryFunctionArgumentTypes = boolean | number | bigint | string | null | undefined | Uint8Array | Array<SimpleEntryFunctionArgumentTypes>;
4545
+ type SimpleEntryFunctionArgumentTypes = boolean | number | bigint | string | null | undefined | Uint8Array | Array<SimpleEntryFunctionArgumentTypes>;
4475
4546
  /**
4476
4547
  * Entry function arguments to be used when building a raw transaction using BCS serialized arguments
4477
4548
  */
4478
- declare type EntryFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<EntryFunctionArgumentTypes> | MoveOption<EntryFunctionArgumentTypes> | MoveString | FixedBytes;
4549
+ type EntryFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<EntryFunctionArgumentTypes> | MoveOption<EntryFunctionArgumentTypes> | MoveString | FixedBytes;
4479
4550
  /**
4480
4551
  * Script function arguments to be used when building a raw transaction using BCS serialized arguments
4481
4552
  */
4482
- declare type ScriptFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<U8> | MoveString | FixedBytes;
4553
+ type ScriptFunctionArgumentTypes = Bool | U8 | U16 | U32 | U64 | U128 | U256 | AccountAddress | MoveVector<U8> | MoveString | FixedBytes;
4483
4554
  /**
4484
4555
  * Type that holds all raw transaction instances Aptos SDK supports
4485
4556
  */
4486
- declare type AnyRawTransactionInstance = RawTransaction | MultiAgentRawTransaction | FeePayerRawTransaction;
4557
+ type AnyRawTransactionInstance = RawTransaction | MultiAgentRawTransaction | FeePayerRawTransaction;
4487
4558
  /**
4488
4559
  * Optional options to set when generating a transaction
4489
4560
  */
4490
- declare type InputGenerateTransactionOptions = {
4561
+ type InputGenerateTransactionOptions = {
4491
4562
  maxGasAmount?: AnyNumber;
4492
4563
  gasUnitPrice?: AnyNumber;
4493
4564
  expireTimestamp?: AnyNumber;
@@ -4496,42 +4567,40 @@ declare type InputGenerateTransactionOptions = {
4496
4567
  /**
4497
4568
  * The generated transaction payload type that was produces from `generateTransactionPayload()` function.
4498
4569
  */
4499
- declare type AnyTransactionPayloadInstance = TransactionPayloadEntryFunction | TransactionPayloadScript | TransactionPayloadMultisig;
4570
+ type AnyTransactionPayloadInstance = TransactionPayloadEntryFunction | TransactionPayloadScript | TransactionPayloadMultisig;
4500
4571
  /**
4501
4572
  * Unified type for the data needed to generate a transaction payload of types:
4502
4573
  * Entry Function | Script | Multi Sig
4503
4574
  */
4504
- declare type InputGenerateTransactionPayloadData = InputEntryFunctionData | InputScriptData | InputMultiSigData;
4505
- declare type InputGenerateTransactionPayloadDataWithRemoteABI = (InputScriptData & {
4506
- aptosConfig?: undefined;
4507
- }) | InputEntryFunctionDataWithRemoteABI | InputMultiSigDataWithRemoteABI;
4575
+ type InputGenerateTransactionPayloadData = InputEntryFunctionData | InputScriptData | InputMultiSigData;
4576
+ type InputGenerateTransactionPayloadDataWithRemoteABI = InputScriptData | InputEntryFunctionDataWithRemoteABI | InputMultiSigDataWithRemoteABI;
4508
4577
  /**
4509
4578
  * The data needed to generate an Entry Function payload
4510
4579
  */
4511
- declare type InputEntryFunctionData = {
4512
- function: MoveStructType;
4513
- typeArguments?: Array<TypeTag>;
4580
+ type InputEntryFunctionData = {
4581
+ function: MoveFunctionId;
4582
+ typeArguments?: Array<TypeTag | string>;
4514
4583
  functionArguments: Array<EntryFunctionArgumentTypes | SimpleEntryFunctionArgumentTypes>;
4515
4584
  };
4516
- declare type InputEntryFunctionDataWithRemoteABI = InputEntryFunctionData & {
4585
+ type InputEntryFunctionDataWithRemoteABI = InputEntryFunctionData & {
4517
4586
  aptosConfig: AptosConfig;
4518
4587
  };
4519
4588
  /**
4520
4589
  * The data needed to generate a Multi Sig payload
4521
4590
  */
4522
- declare type InputMultiSigData = {
4591
+ type InputMultiSigData = {
4523
4592
  multisigAddress: AccountAddress;
4524
4593
  } & InputEntryFunctionData;
4525
4594
  /**
4526
4595
  * The data needed to generate a Multi Sig payload
4527
4596
  */
4528
- declare type InputMultiSigDataWithRemoteABI = {
4597
+ type InputMultiSigDataWithRemoteABI = {
4529
4598
  multisigAddress: AccountAddressInput;
4530
4599
  } & InputEntryFunctionDataWithRemoteABI;
4531
4600
  /**
4532
4601
  * The data needed to generate a Script payload
4533
4602
  */
4534
- declare type InputScriptData = {
4603
+ type InputScriptData = {
4535
4604
  bytecode: HexInput;
4536
4605
  typeArguments?: Array<TypeTag>;
4537
4606
  functionArguments: Array<ScriptFunctionArgumentTypes>;
@@ -4541,7 +4610,7 @@ declare type InputScriptData = {
4541
4610
  *
4542
4611
  * This is used to provide type checking and simple input conversion on ABI based transaction submission.
4543
4612
  */
4544
- declare type EntryFunctionABI = {
4613
+ type EntryFunctionABI = {
4545
4614
  typeParameters: Array<MoveFunctionGenericTypeParam>;
4546
4615
  parameters: Array<TypeTag>;
4547
4616
  };
@@ -4553,8 +4622,6 @@ interface InputGenerateSingleSignerRawTransactionArgs {
4553
4622
  aptosConfig: AptosConfig;
4554
4623
  sender: AccountAddressInput;
4555
4624
  payload: AnyTransactionPayloadInstance;
4556
- feePayerAddress?: undefined;
4557
- secondarySignerAddresses?: undefined;
4558
4625
  options?: InputGenerateTransactionOptions;
4559
4626
  }
4560
4627
  /**
@@ -4578,13 +4645,12 @@ interface InputGenerateMultiAgentRawTransactionArgs {
4578
4645
  sender: AccountAddressInput;
4579
4646
  payload: AnyTransactionPayloadInstance;
4580
4647
  secondarySignerAddresses: AccountAddressInput[];
4581
- feePayerAddress?: undefined;
4582
4648
  options?: InputGenerateTransactionOptions;
4583
4649
  }
4584
4650
  /**
4585
4651
  * Unified type that holds all the interfaces to generate different transaction types
4586
4652
  */
4587
- declare type InputGenerateRawTransactionArgs = InputGenerateSingleSignerRawTransactionArgs | InputGenerateFeePayerRawTransactionArgs | InputGenerateMultiAgentRawTransactionArgs;
4653
+ type InputGenerateRawTransactionArgs = InputGenerateSingleSignerRawTransactionArgs | InputGenerateFeePayerRawTransactionArgs | InputGenerateMultiAgentRawTransactionArgs;
4588
4654
  /**
4589
4655
  * Interface that holds the return data when generating a single signer transaction
4590
4656
  *
@@ -4592,8 +4658,6 @@ declare type InputGenerateRawTransactionArgs = InputGenerateSingleSignerRawTrans
4592
4658
  */
4593
4659
  interface InputSingleSignerTransaction {
4594
4660
  rawTransaction: RawTransaction;
4595
- feePayerAddress?: undefined;
4596
- secondarySignerAddresses?: undefined;
4597
4661
  }
4598
4662
  /**
4599
4663
  * Interface that holds the return data when generating a fee payer transaction
@@ -4616,13 +4680,12 @@ interface InputFeePayerTransaction {
4616
4680
  interface InputMultiAgentTransaction {
4617
4681
  rawTransaction: RawTransaction;
4618
4682
  secondarySignerAddresses: AccountAddress[];
4619
- feePayerAddress?: undefined;
4620
4683
  }
4621
4684
  /**
4622
4685
  * Unified type that holds all the return interfaces when generating different transaction types
4623
4686
  */
4624
- declare type AnyRawTransaction = InputSingleSignerTransaction | InputFeePayerTransaction | InputMultiAgentTransaction;
4625
- declare type InputSimulateTransactionData = {
4687
+ type AnyRawTransaction = InputSingleSignerTransaction | InputFeePayerTransaction | InputMultiAgentTransaction;
4688
+ type InputSimulateTransactionData = {
4626
4689
  /**
4627
4690
  * The transaction to simulate, probably generated by `generateTransaction()`
4628
4691
  */
@@ -4641,7 +4704,7 @@ declare type InputSimulateTransactionData = {
4641
4704
  feePayerPublicKey?: PublicKey;
4642
4705
  options?: InputSimulateTransactionOptions;
4643
4706
  };
4644
- declare type InputSimulateTransactionOptions = {
4707
+ type InputSimulateTransactionOptions = {
4645
4708
  estimateGasUnitPrice?: boolean;
4646
4709
  estimateMaxGasAmount?: boolean;
4647
4710
  estimatePrioritizedGasUnitPrice?: boolean;
@@ -4651,8 +4714,6 @@ declare type InputSimulateTransactionOptions = {
4651
4714
  */
4652
4715
  interface InputGenerateSingleSignerRawTransactionData {
4653
4716
  sender: AccountAddressInput;
4654
- feePayerAddress?: undefined;
4655
- secondarySignerAddresses?: undefined;
4656
4717
  options?: InputGenerateTransactionOptions;
4657
4718
  data: InputGenerateTransactionPayloadData;
4658
4719
  }
@@ -4661,7 +4722,7 @@ interface InputGenerateSingleSignerRawTransactionData {
4661
4722
  */
4662
4723
  interface InputGenerateFeePayerRawTransactionData {
4663
4724
  sender: AccountAddressInput;
4664
- feePayerAddress: AccountAddressInput;
4725
+ hasFeePayer: true;
4665
4726
  secondarySignerAddresses?: AccountAddressInput[];
4666
4727
  options?: InputGenerateTransactionOptions;
4667
4728
  data: InputGenerateTransactionPayloadData;
@@ -4672,14 +4733,13 @@ interface InputGenerateFeePayerRawTransactionData {
4672
4733
  interface InputGenerateMultiAgentRawTransactionData {
4673
4734
  sender: AccountAddressInput;
4674
4735
  secondarySignerAddresses: AccountAddressInput[];
4675
- feePayerAddress?: undefined;
4676
4736
  options?: InputGenerateTransactionOptions;
4677
4737
  data: InputGenerateTransactionPayloadData;
4678
4738
  }
4679
4739
  /**
4680
4740
  * Unified type that holds all the user data input interfaces when generating different transaction types
4681
4741
  */
4682
- declare type InputGenerateTransactionData = InputGenerateMultiAgentRawTransactionData | InputGenerateFeePayerRawTransactionData | InputGenerateSingleSignerRawTransactionData;
4742
+ type InputGenerateTransactionData = InputGenerateMultiAgentRawTransactionData | InputGenerateFeePayerRawTransactionData | InputGenerateSingleSignerRawTransactionData;
4683
4743
  /**
4684
4744
  * Interface that holds the user data input when submitting a transaction
4685
4745
  */
@@ -4710,7 +4770,7 @@ declare class Coin {
4710
4770
  sender: Account$1;
4711
4771
  recipient: AccountAddressInput;
4712
4772
  amount: AnyNumber;
4713
- coinType?: MoveStructType;
4773
+ coinType?: MoveStructId;
4714
4774
  options?: InputGenerateTransactionOptions;
4715
4775
  }): Promise<InputSingleSignerTransaction>;
4716
4776
  }
@@ -4904,7 +4964,7 @@ declare class Event {
4904
4964
  */
4905
4965
  getAccountEventsByEventType(args: {
4906
4966
  accountAddress: AccountAddressInput;
4907
- eventType: MoveStructType;
4967
+ eventType: MoveStructId;
4908
4968
  options?: {
4909
4969
  pagination?: PaginationArgs;
4910
4970
  orderBy?: OrderBy<GetEventsResponse[0]>;
@@ -5117,10 +5177,10 @@ declare class General {
5117
5177
  *
5118
5178
  * @returns an array of Move values
5119
5179
  */
5120
- view(args: {
5121
- payload: ViewRequestData;
5180
+ view<T extends Array<MoveValue>>(args: {
5181
+ payload: InputViewRequestData;
5122
5182
  options?: LedgerVersion;
5123
- }): Promise<Array<MoveValue>>;
5183
+ }): Promise<T>;
5124
5184
  /**
5125
5185
  * Queries top user transactions
5126
5186
  *
@@ -5150,7 +5210,7 @@ declare class General {
5150
5210
  *
5151
5211
  * @return The provided T type
5152
5212
  */
5153
- queryIndexer<T>(args: {
5213
+ queryIndexer<T extends {}>(args: {
5154
5214
  query: GraphqlQuery;
5155
5215
  }): Promise<T>;
5156
5216
  /**
@@ -5379,10 +5439,11 @@ declare class TransactionSubmission {
5379
5439
  *
5380
5440
  * @param args.signer The signer account to sign the transaction
5381
5441
  * @param args.transaction An instance of a RawTransaction, plus optional secondary/fee payer addresses
5442
+ * @param args.asFeePayer optional. If the signer is also the fee payer
5382
5443
  * ```
5383
5444
  * {
5384
5445
  * rawTransaction: RawTransaction,
5385
- * secondarySignerAddresses? : Array<AccountAddress>,
5446
+ * secondarySignerAddresses?: Array<AccountAddress>,
5386
5447
  * feePayerAddress?: AccountAddress
5387
5448
  * }
5388
5449
  * ```
@@ -5392,6 +5453,7 @@ declare class TransactionSubmission {
5392
5453
  signTransaction(args: {
5393
5454
  signer: Account$1;
5394
5455
  transaction: AnyRawTransaction;
5456
+ asFeePayer?: boolean;
5395
5457
  }): AccountAuthenticator;
5396
5458
  /**
5397
5459
  * Simulates a transaction before singing it.
@@ -5543,9 +5605,9 @@ declare function request<Req, Res>(options: ClientRequest<Req>, client: Client):
5543
5605
  * @param aptosConfig The config information for the SDK client instance
5544
5606
  * @returns the response or AptosApiError
5545
5607
  */
5546
- declare function aptosRequest<Req, Res>(options: AptosRequest, aptosConfig: AptosConfig): Promise<AptosResponse<Req, Res>>;
5608
+ declare function aptosRequest<Req extends {}, Res extends {}>(options: AptosRequest, aptosConfig: AptosConfig): Promise<AptosResponse<Req, Res>>;
5547
5609
 
5548
- declare type GetRequestOptions = {
5610
+ type GetRequestOptions = {
5549
5611
  /**
5550
5612
  * The config for the API client
5551
5613
  */
@@ -5579,18 +5641,18 @@ declare type GetRequestOptions = {
5579
5641
  */
5580
5642
  overrides?: ClientConfig;
5581
5643
  };
5582
- declare type GetAptosRequestOptions = Omit<GetRequestOptions, "type">;
5644
+ type GetAptosRequestOptions = Omit<GetRequestOptions, "type">;
5583
5645
  /**
5584
5646
  * Main function to do a Get request
5585
5647
  *
5586
5648
  * @param options GetRequestOptions
5587
5649
  * @returns
5588
5650
  */
5589
- declare function get<Req, Res>(options: GetRequestOptions): Promise<AptosResponse<Req, Res>>;
5590
- declare function getAptosFullNode<Req, Res>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
5651
+ declare function get<Req extends {}, Res extends {}>(options: GetRequestOptions): Promise<AptosResponse<Req, Res>>;
5652
+ declare function getAptosFullNode<Req extends {}, Res extends {}>(options: GetAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
5591
5653
  declare function paginateWithCursor<Req extends Record<string, any>, Res extends any[]>(options: GetAptosRequestOptions): Promise<Res>;
5592
5654
 
5593
- declare type PostRequestOptions = {
5655
+ type PostRequestOptions = {
5594
5656
  /**
5595
5657
  * The config for the API client
5596
5658
  */
@@ -5628,17 +5690,17 @@ declare type PostRequestOptions = {
5628
5690
  */
5629
5691
  overrides?: ClientConfig;
5630
5692
  };
5631
- declare type PostAptosRequestOptions = Omit<PostRequestOptions, "type">;
5693
+ type PostAptosRequestOptions = Omit<PostRequestOptions, "type">;
5632
5694
  /**
5633
5695
  * Main function to do a Post request
5634
5696
  *
5635
5697
  * @param options PostRequestOptions
5636
5698
  * @returns
5637
5699
  */
5638
- declare function post<Req, Res>(options: PostRequestOptions): Promise<AptosResponse<Req, Res>>;
5639
- declare function postAptosFullNode<Req, Res>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
5640
- declare function postAptosIndexer<Req, Res>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
5641
- declare function postAptosFaucet<Req, Res>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
5700
+ declare function post<Req extends {}, Res extends {}>(options: PostRequestOptions): Promise<AptosResponse<Req, Res>>;
5701
+ declare function postAptosFullNode<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
5702
+ declare function postAptosIndexer<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
5703
+ declare function postAptosFaucet<Req extends {}, Res extends {}>(options: PostAptosRequestOptions): Promise<AptosResponse<Req, Res>>;
5642
5704
 
5643
5705
  declare function isBool(arg: SimpleEntryFunctionArgumentTypes): arg is boolean;
5644
5706
  declare function isString(arg: any): arg is string;
@@ -5665,7 +5727,7 @@ declare function throwTypeMismatch(expectedType: string, position: number): void
5665
5727
  * @param functionAbi
5666
5728
  */
5667
5729
  declare function findFirstNonSignerArg(functionAbi: MoveFunction): number;
5668
- declare function getFunctionParts(functionArg: MoveStructType): {
5730
+ declare function getFunctionParts(functionArg: MoveFunctionId): {
5669
5731
  moduleAddress: string;
5670
5732
  moduleName: string;
5671
5733
  functionName: string;
@@ -5677,15 +5739,12 @@ declare function getFunctionParts(functionArg: MoveStructType): {
5677
5739
  * When we call our `generateTransactionPayload` function with the relevant type properties,
5678
5740
  * Typescript can infer the return type based on the appropriate function overload.
5679
5741
  */
5680
- declare function generateTransactionPayload(args: InputScriptData & {
5681
- aptosConfig?: undefined;
5682
- }): Promise<TransactionPayloadScript>;
5742
+ declare function generateTransactionPayload(args: InputScriptData): Promise<TransactionPayloadScript>;
5683
5743
  declare function generateTransactionPayload(args: InputEntryFunctionDataWithRemoteABI): Promise<TransactionPayloadEntryFunction>;
5684
5744
  declare function generateTransactionPayload(args: InputMultiSigDataWithRemoteABI): Promise<TransactionPayloadMultisig>;
5685
5745
  declare function generateTransactionPayload(args: InputGenerateTransactionPayloadDataWithRemoteABI): Promise<AnyTransactionPayloadInstance>;
5686
5746
  declare function generateTransactionPayloadWithABI(args: InputEntryFunctionData, functionAbi: EntryFunctionABI): TransactionPayloadEntryFunction;
5687
5747
  declare function generateTransactionPayloadWithABI(args: InputMultiSigData, functionAbi: EntryFunctionABI): TransactionPayloadMultisig;
5688
- declare function generateTransactionPayloadWithABI(args: InputGenerateTransactionPayloadData, functionAbi: EntryFunctionABI): AnyTransactionPayloadInstance;
5689
5748
  /**
5690
5749
  * Generates a raw transaction
5691
5750
  *
@@ -5790,6 +5849,7 @@ declare function convertArgument(functionName: string, functionAbi: EntryFunctio
5790
5849
 
5791
5850
  declare enum TypeTagParserErrorType {
5792
5851
  InvalidTypeTag = "unknown type",
5852
+ UnexpectedGenericType = "unexpected generic type",
5793
5853
  UnexpectedTypeArgumentClose = "unexpected '>'",
5794
5854
  UnexpectedWhitespaceCharacter = "unexpected whitespace character",
5795
5855
  UnexpectedComma = "unexpected ','",
@@ -5820,4 +5880,4 @@ declare function parseTypeTag(typeStr: string, options?: {
5820
5880
  allowGenerics?: boolean;
5821
5881
  }): TypeTag;
5822
5882
 
5823
- export { APTOS_BIP44_REGEX, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountAuthenticatorVariant, AccountData, AccountEd25519Signature, AccountMultiEd25519Signature, AccountSecp256k1Signature, AccountSignature, AddressInvalidReason, AnyNumber, AnyPublicKeyVariant, AnyRawTransaction, AnyRawTransactionInstance, AnySignatureVariant, AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosConfig, AptosRequest, AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, BlockMetadataTransactionResponse, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, DecodedTableData, DeletedTableData, DeriveScheme, DerivedKeys, Deserializable, Deserializer, DirectWriteSet, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, EntryFunction, EntryFunctionABI, EntryFunctionArgument, EntryFunctionArgumentTypes, EntryFunctionBytes, EntryFunctionPayloadResponse, Event$1 as Event, EventGuid, FeePayerRawTransaction, FixedBytes, GasEstimation, GenerateAccount, GenerateAccountWithEd25519, GenerateAccountWithSingleSignerSecp256k1Key, GenesisPayload, GenesisTransactionResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, GetRequestOptions, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, HARDENED_OFFSET, Hex, HexInput, HexInvalidReason, Identifier, InputEntryFunctionData, InputEntryFunctionDataWithRemoteABI, InputFeePayerTransaction, InputGenerateFeePayerRawTransactionArgs, InputGenerateFeePayerRawTransactionData, InputGenerateMultiAgentRawTransactionArgs, InputGenerateMultiAgentRawTransactionData, InputGenerateRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateSingleSignerRawTransactionData, InputGenerateTransactionData, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiAgentTransaction, InputMultiSigData, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSingleSignerTransaction, InputSubmitTransactionData, KeyType, LedgerInfo, LedgerVersion, MimeType, ModuleId, MoveAbility, MoveAddressType, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionVisibility, MoveModule, MoveModuleBytecode, MoveModuleId, MoveObjectType, MoveOption, MoveOptionType, MoveResource, MoveScriptBytecode, MoveString, MoveStruct, MoveStructField, MoveStructType, MoveType, MoveUint128Type, MoveUint16Type, MoveUint256Type, MoveUint32Type, MoveUint64Type, MoveUint8Type, MoveValue, MoveVector, MultiAgentRawTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiSig, MultisigPayloadResponse, MultisigTransactionPayload, Network, NetworkToChainId, NetworkToFaucetAPI, NetworkToIndexerAPI, NetworkToNetworkName, NetworkToNodeAPI, OrderBy, OrderByValue, PaginationArgs, ParsingError, ParsingResult, PendingTransactionResponse, PostAptosRequestOptions, PostRequestOptions, PrivateKey, PublicKey, RawTransaction, RawTransactionWithData, RoleType, RotationProofChallenge, Script, ScriptFunctionArgument, ScriptFunctionArgumentTypes, ScriptPayloadResponse, ScriptTransactionArgumentVariants, ScriptWriteSet, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, SimpleEntryFunctionArgumentTypes, StateCheckpointTransactionResponse, StructTag, TableItemRequest, TokenStandard, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionAuthenticatorVariant, TransactionEd25519Signature, TransactionFeePayerSignature, TransactionMultiAgentSignature, TransactionMultiEd25519Signature, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultisig, TransactionPayloadResponse, TransactionPayloadScript, TransactionPayloadVariants, TransactionResponse, TransactionResponseType, TransactionSecp256k1Signature, TransactionSignature, TransactionVariants, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVariants, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint128, Uint16, Uint256, Uint32, Uint64, Uint8, UserTransactionResponse, ViewRequest, ViewRequestData, WaitForTransactionOptions, WriteSet, WriteSetChange, WriteSetChangeDeleteModule, WriteSetChangeDeleteResource, WriteSetChangeDeleteTableItem, WriteSetChangeWriteModule, WriteSetChangeWriteResource, WriteSetChangeWriteTableItem, aptosCoinStructTag, aptosRequest, buildTransaction, convertArgument, deriveKey, deriveTransactionType, deserializeFromScriptArgument, ensureBoolean, fetchEntryFunctionAbi, findFirstNonSignerArg, generateMultiSignersSignedTransaction, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateTransactionPayload, generateTransactionPayloadWithABI, get, getAptosFullNode, getAuthenticatorForSimulation, getFunctionParts, getSigningMessage, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isLargeNumber, isNull, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, objectStructTag, optionStructTag, outOfRangeErrorMessage, paginateWithCursor, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, request, sign, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch, validateNumberInRange };
5883
+ export { APTOS_BIP44_REGEX, APTOS_COIN, APTOS_HARDENED_REGEX, Account$1 as Account, AccountAddress, AccountAddressInput, AccountAuthenticator, AccountAuthenticatorEd25519, AccountAuthenticatorMultiEd25519, AccountAuthenticatorMultiKey, AccountAuthenticatorSingleKey, AccountAuthenticatorVariant, AccountData, AccountEd25519Signature, AccountMultiEd25519Signature, AccountSecp256k1Signature, AccountSignature, AddressInvalidReason, AnyNumber, AnyPublicKeyVariant, AnyRawTransaction, AnyRawTransactionInstance, AnySignatureVariant, AnyTransactionPayloadInstance, Aptos, AptosApiError, AptosApiType, AptosConfig, AptosRequest, AptosResponse, AptosSettings, AuthenticationKey, AuthenticationKeyScheme, Block, BlockMetadataTransactionResponse, Bool, CKDPriv, ChainId, Client, ClientConfig, ClientRequest, ClientResponse, DEFAULT_MAX_GAS_AMOUNT, DEFAULT_NETWORK, DEFAULT_TXN_EXP_SEC_FROM_NOW, DEFAULT_TXN_TIMEOUT_SEC, DecodedTableData, DeletedTableData, DeriveScheme, DerivedKeys, Deserializable, Deserializer, DirectWriteSet, Ed25519PrivateKey, Ed25519PublicKey, Ed25519Signature, EntryFunction, EntryFunctionABI, EntryFunctionArgument, EntryFunctionArgumentTypes, EntryFunctionBytes, EntryFunctionPayloadResponse, Event$1 as Event, EventGuid, FeePayerRawTransaction, FixedBytes, GasEstimation, GenerateAccount, GenerateAccountWithEd25519, GenerateAccountWithSingleSignerSecp256k1Key, GenesisPayload, GenesisTransactionResponse, GetAccountCoinsDataResponse, GetAccountCollectionsWithOwnedTokenResponse, GetAccountOwnedObjectsResponse, GetAccountOwnedTokensFromCollectionResponse, GetAccountOwnedTokensQueryResponse, GetAptosRequestOptions, GetChainTopUserTransactionsResponse, GetCollectionDataResponse, GetCurrentFungibleAssetBalancesResponse, GetCurrentTokenOwnershipResponse, GetDelegatedStakingActivitiesResponse, GetEventsResponse, GetFungibleAssetActivitiesResponse, GetFungibleAssetMetadataResponse, GetNumberOfDelegatorsResponse, GetOwnedTokensResponse, GetProcessorStatusResponse, GetRequestOptions, GetTokenActivityResponse, GetTokenDataResponse, GraphqlQuery, HARDENED_OFFSET, Hex, HexInput, HexInvalidReason, Identifier, InputEntryFunctionData, InputEntryFunctionDataWithRemoteABI, InputFeePayerTransaction, InputGenerateFeePayerRawTransactionArgs, InputGenerateFeePayerRawTransactionData, InputGenerateMultiAgentRawTransactionArgs, InputGenerateMultiAgentRawTransactionData, InputGenerateRawTransactionArgs, InputGenerateSingleSignerRawTransactionArgs, InputGenerateSingleSignerRawTransactionData, InputGenerateTransactionData, InputGenerateTransactionOptions, InputGenerateTransactionPayloadData, InputGenerateTransactionPayloadDataWithRemoteABI, InputMultiAgentTransaction, InputMultiSigData, InputMultiSigDataWithRemoteABI, InputScriptData, InputSimulateTransactionData, InputSimulateTransactionOptions, InputSingleSignerTransaction, InputSubmitTransactionData, InputViewRequestData, KeyType, LedgerInfo, LedgerVersion, MimeType, ModuleId, MoveAbility, MoveAddressType, MoveFunction, MoveFunctionGenericTypeParam, MoveFunctionId, MoveFunctionVisibility, MoveModule, MoveModuleBytecode, MoveModuleId, MoveObjectType, MoveOption, MoveOptionType, MoveResource, MoveScriptBytecode, MoveString, MoveStruct, MoveStructField, MoveStructId, MoveStructType, MoveType, MoveUint128Type, MoveUint16Type, MoveUint256Type, MoveUint32Type, MoveUint64Type, MoveUint8Type, MoveValue, MoveVector, MultiAgentRawTransaction, MultiEd25519PublicKey, MultiEd25519Signature, MultiKey, MultiSig, MultisigPayloadResponse, MultisigTransactionPayload, Network, NetworkToChainId, NetworkToFaucetAPI, NetworkToIndexerAPI, NetworkToNetworkName, NetworkToNodeAPI, OrderBy, OrderByValue, PaginationArgs, ParsingError, ParsingResult, PendingTransactionResponse, PostAptosRequestOptions, PostRequestOptions, PrivateKey, PublicKey, RAW_TRANSACTION_SALT, RAW_TRANSACTION_WITH_DATA_SALT, RawTransaction, RawTransactionWithData, RoleType, RotationProofChallenge, Script, ScriptFunctionArgument, ScriptFunctionArgumentTypes, ScriptPayloadResponse, ScriptTransactionArgumentVariants, ScriptWriteSet, Secp256k1PrivateKey, Secp256k1PublicKey, Secp256k1Signature, Serializable, Serializer, Signature, SignedTransaction, SigningScheme, SigningSchemeInput, SimpleEntryFunctionArgumentTypes, StateCheckpointTransactionResponse, StructTag, TableItemRequest, TokenStandard, TransactionArgument, TransactionAuthenticator, TransactionAuthenticatorEd25519, TransactionAuthenticatorFeePayer, TransactionAuthenticatorMultiAgent, TransactionAuthenticatorMultiEd25519, TransactionAuthenticatorSingleSender, TransactionAuthenticatorVariant, TransactionEd25519Signature, TransactionFeePayerSignature, TransactionMultiAgentSignature, TransactionMultiEd25519Signature, TransactionPayload, TransactionPayloadEntryFunction, TransactionPayloadMultisig, TransactionPayloadResponse, TransactionPayloadScript, TransactionPayloadVariants, TransactionResponse, TransactionResponseType, TransactionSecp256k1Signature, TransactionSignature, TransactionVariants, TypeTag, TypeTagAddress, TypeTagBool, TypeTagGeneric, TypeTagParserError, TypeTagParserErrorType, TypeTagReference, TypeTagSigner, TypeTagStruct, TypeTagU128, TypeTagU16, TypeTagU256, TypeTagU32, TypeTagU64, TypeTagU8, TypeTagVariants, TypeTagVector, U128, U16, U256, U32, U64, U8, Uint128, Uint16, Uint256, Uint32, Uint64, Uint8, UserTransactionResponse, ViewRequest, WaitForTransactionOptions, WriteSet, WriteSetChange, WriteSetChangeDeleteModule, WriteSetChangeDeleteResource, WriteSetChangeDeleteTableItem, WriteSetChangeWriteModule, WriteSetChangeWriteResource, WriteSetChangeWriteTableItem, aptosCoinStructTag, aptosRequest, buildTransaction, convertArgument, deriveKey, deriveTransactionType, deserializeFromScriptArgument, ensureBoolean, fetchEntryFunctionAbi, findFirstNonSignerArg, generateMultiSignersSignedTransaction, generateRawTransaction, generateSignedTransaction, generateSignedTransactionForSimulation, generateTransactionPayload, generateTransactionPayloadWithABI, get, getAptosFullNode, getAuthenticatorForSimulation, getFunctionParts, getSigningMessage, isBcsAddress, isBcsBool, isBcsFixedBytes, isBcsString, isBcsU128, isBcsU16, isBcsU256, isBcsU32, isBcsU64, isBcsU8, isBool, isLargeNumber, isNull, isNumber, isScriptDataInput, isString, isValidBIP44Path, isValidHardenedPath, mnemonicToSeed, objectStructTag, optionStructTag, outOfRangeErrorMessage, paginateWithCursor, parseTypeTag, post, postAptosFaucet, postAptosFullNode, postAptosIndexer, request, sign, splitPath, standardizeTypeTags, stringStructTag, throwTypeMismatch, validateNumberInRange };