@mysten/sui 2.39.1 → 3.0.1

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 (425) hide show
  1. package/CHANGELOG.md +169 -0
  2. package/README.md +5 -188
  3. package/dist/bcs/bcs.d.mts +6 -6
  4. package/dist/bcs/bcs.d.mts.map +1 -1
  5. package/dist/bcs/bcs.mjs +49 -22
  6. package/dist/bcs/bcs.mjs.map +1 -1
  7. package/dist/bcs/effects.mjs +49 -20
  8. package/dist/bcs/effects.mjs.map +1 -1
  9. package/dist/bcs/index.d.mts +1441 -624
  10. package/dist/bcs/index.d.mts.map +1 -1
  11. package/dist/bcs/index.mjs +2 -1
  12. package/dist/bcs/index.mjs.map +1 -1
  13. package/dist/bcs/transactions.d.mts +1059 -0
  14. package/dist/bcs/transactions.d.mts.map +1 -0
  15. package/dist/bcs/transactions.mjs +33 -14
  16. package/dist/bcs/transactions.mjs.map +1 -1
  17. package/dist/bcs/types.d.mts +6 -1
  18. package/dist/bcs/types.d.mts.map +1 -1
  19. package/dist/client/core-resolver.mjs +4 -4
  20. package/dist/client/core-resolver.mjs.map +1 -1
  21. package/dist/client/core.d.mts +55 -4
  22. package/dist/client/core.d.mts.map +1 -1
  23. package/dist/client/core.mjs +98 -1
  24. package/dist/client/core.mjs.map +1 -1
  25. package/dist/client/errors.mjs +11 -1
  26. package/dist/client/errors.mjs.map +1 -1
  27. package/dist/client/index.d.mts +5 -3
  28. package/dist/client/index.mjs +6 -3
  29. package/dist/client/mvr.d.mts +12 -2
  30. package/dist/client/mvr.d.mts.map +1 -1
  31. package/dist/client/mvr.mjs +34 -13
  32. package/dist/client/mvr.mjs.map +1 -1
  33. package/dist/client/query-filters.mjs +80 -76
  34. package/dist/client/query-filters.mjs.map +1 -1
  35. package/dist/client/stream/adapter.d.mts +102 -0
  36. package/dist/client/stream/adapter.d.mts.map +1 -0
  37. package/dist/client/stream/errors.d.mts +14 -0
  38. package/dist/client/stream/errors.d.mts.map +1 -0
  39. package/dist/client/stream/errors.mjs +25 -0
  40. package/dist/client/stream/errors.mjs.map +1 -0
  41. package/dist/client/stream/filter.mjs +18 -0
  42. package/dist/client/stream/filter.mjs.map +1 -0
  43. package/dist/client/stream/follow.mjs +48 -0
  44. package/dist/client/stream/follow.mjs.map +1 -0
  45. package/dist/client/stream/index.d.mts +4 -0
  46. package/dist/client/stream/pager.mjs +123 -0
  47. package/dist/client/stream/pager.mjs.map +1 -0
  48. package/dist/client/stream/plan.mjs +79 -0
  49. package/dist/client/stream/plan.mjs.map +1 -0
  50. package/dist/client/stream/position.d.mts +30 -0
  51. package/dist/client/stream/position.d.mts.map +1 -0
  52. package/dist/client/stream/position.mjs +121 -0
  53. package/dist/client/stream/position.mjs.map +1 -0
  54. package/dist/client/stream/run.d.mts +2 -0
  55. package/dist/client/stream/run.mjs +99 -0
  56. package/dist/client/stream/run.mjs.map +1 -0
  57. package/dist/client/stream/session.mjs +205 -0
  58. package/dist/client/stream/session.mjs.map +1 -0
  59. package/dist/client/stream/status.mjs +47 -0
  60. package/dist/client/stream/status.mjs.map +1 -0
  61. package/dist/client/stream/token.mjs +80 -0
  62. package/dist/client/stream/token.mjs.map +1 -0
  63. package/dist/client/transaction-data.d.mts +17 -0
  64. package/dist/client/transaction-data.d.mts.map +1 -0
  65. package/dist/client/transaction-data.mjs +472 -0
  66. package/dist/client/transaction-data.mjs.map +1 -0
  67. package/dist/client/transaction-resolver.mjs +102 -58
  68. package/dist/client/transaction-resolver.mjs.map +1 -1
  69. package/dist/client/types.d.mts +560 -240
  70. package/dist/client/types.d.mts.map +1 -1
  71. package/dist/client/utils.d.mts +2 -2
  72. package/dist/client/utils.d.mts.map +1 -1
  73. package/dist/client/utils.mjs +91 -30
  74. package/dist/client/utils.mjs.map +1 -1
  75. package/dist/cryptography/index.d.mts +1 -1
  76. package/dist/cryptography/keypair.d.mts +1 -1
  77. package/dist/cryptography/publickey.d.mts +11 -0
  78. package/dist/cryptography/publickey.d.mts.map +1 -1
  79. package/dist/cryptography/publickey.mjs +12 -1
  80. package/dist/cryptography/publickey.mjs.map +1 -1
  81. package/dist/cryptography/signature.d.mts +8 -8
  82. package/dist/cryptography/signature.mjs +18 -7
  83. package/dist/cryptography/signature.mjs.map +1 -1
  84. package/dist/graphql/client.d.mts +51 -35
  85. package/dist/graphql/client.d.mts.map +1 -1
  86. package/dist/graphql/client.mjs +125 -69
  87. package/dist/graphql/client.mjs.map +1 -1
  88. package/dist/graphql/core.d.mts +14 -9
  89. package/dist/graphql/core.d.mts.map +1 -1
  90. package/dist/graphql/core.mjs +294 -118
  91. package/dist/graphql/core.mjs.map +1 -1
  92. package/dist/graphql/errors.d.mts +20 -0
  93. package/dist/graphql/errors.d.mts.map +1 -0
  94. package/dist/graphql/errors.mjs +19 -0
  95. package/dist/graphql/errors.mjs.map +1 -0
  96. package/dist/graphql/filters.mjs +32 -0
  97. package/dist/graphql/filters.mjs.map +1 -0
  98. package/dist/graphql/generated/queries.d.mts.map +1 -1
  99. package/dist/graphql/generated/queries.mjs +1216 -208
  100. package/dist/graphql/generated/queries.mjs.map +1 -1
  101. package/dist/graphql/generated/tada-env.d.mts +820 -11
  102. package/dist/graphql/index.d.mts +2 -1
  103. package/dist/graphql/index.mjs +2 -1
  104. package/dist/graphql/sse-parser.mjs +82 -0
  105. package/dist/graphql/sse-parser.mjs.map +1 -0
  106. package/dist/graphql/stream/families.mjs +306 -0
  107. package/dist/graphql/stream/families.mjs.map +1 -0
  108. package/dist/graphql/stream/index.mjs +38 -0
  109. package/dist/graphql/stream/index.mjs.map +1 -0
  110. package/dist/graphql/stream/live.mjs +60 -0
  111. package/dist/graphql/stream/live.mjs.map +1 -0
  112. package/dist/graphql/stream/page.mjs +38 -0
  113. package/dist/graphql/stream/page.mjs.map +1 -0
  114. package/dist/graphql/stream/query.mjs +47 -0
  115. package/dist/graphql/stream/query.mjs.map +1 -0
  116. package/dist/graphql/subscribe.mjs +70 -0
  117. package/dist/graphql/subscribe.mjs.map +1 -0
  118. package/dist/grpc/client.d.mts +31 -27
  119. package/dist/grpc/client.d.mts.map +1 -1
  120. package/dist/grpc/client.mjs +42 -46
  121. package/dist/grpc/client.mjs.map +1 -1
  122. package/dist/grpc/core.d.mts +13 -6
  123. package/dist/grpc/core.d.mts.map +1 -1
  124. package/dist/grpc/core.mjs +254 -166
  125. package/dist/grpc/core.mjs.map +1 -1
  126. package/dist/grpc/filters.mjs +44 -34
  127. package/dist/grpc/filters.mjs.map +1 -1
  128. package/dist/grpc/grpc-web-pull.mjs +245 -0
  129. package/dist/grpc/grpc-web-pull.mjs.map +1 -0
  130. package/dist/grpc/index.d.mts +2 -1
  131. package/dist/grpc/index.mjs +1 -1
  132. package/dist/grpc/network-error.mjs +31 -0
  133. package/dist/grpc/network-error.mjs.map +1 -0
  134. package/dist/grpc/proto/google/rpc/error_details.mjs +306 -0
  135. package/dist/grpc/proto/google/rpc/error_details.mjs.map +1 -0
  136. package/dist/grpc/proto/sui/forking/v1alpha/forking_service.client.d.mts +4 -4
  137. package/dist/grpc/proto/sui/rpc/v2/error_reason.d.mts +176 -1
  138. package/dist/grpc/proto/sui/rpc/v2/error_reason.d.mts.map +1 -1
  139. package/dist/grpc/proto/sui/rpc/v2/error_reason.mjs +175 -0
  140. package/dist/grpc/proto/sui/rpc/v2/error_reason.mjs.map +1 -1
  141. package/dist/grpc/proto/sui/rpc/v2/executed_transaction.d.mts +2 -2
  142. package/dist/grpc/proto/sui/rpc/v2/ledger_service.client.d.mts +4 -4
  143. package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts +111 -0
  144. package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts.map +1 -1
  145. package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs +46 -0
  146. package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs.map +1 -1
  147. package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
  148. package/dist/grpc/proto/sui/rpc/v2/move_package_service.d.mts +24 -1
  149. package/dist/grpc/proto/sui/rpc/v2/move_package_service.d.mts.map +1 -1
  150. package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs +25 -7
  151. package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs.map +1 -1
  152. package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
  153. package/dist/grpc/proto/sui/rpc/v2/object.mjs +1 -1
  154. package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts +111 -9
  155. package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts.map +1 -1
  156. package/dist/grpc/proto/sui/rpc/v2/query_options.mjs +63 -19
  157. package/dist/grpc/proto/sui/rpc/v2/query_options.mjs.map +1 -1
  158. package/dist/grpc/proto/sui/rpc/v2/signature.d.mts +5 -5
  159. package/dist/grpc/proto/sui/rpc/v2/signature.mjs.map +1 -1
  160. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.d.mts +5 -1
  161. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.d.mts.map +1 -1
  162. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs +4 -0
  163. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs.map +1 -1
  164. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.mts +4 -4
  165. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts +20 -1
  166. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts.map +1 -1
  167. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs +30 -13
  168. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs.map +1 -1
  169. package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
  170. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +20 -14
  171. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts.map +1 -1
  172. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs +8 -5
  173. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs.map +1 -1
  174. package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts +11 -5
  175. package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts.map +1 -1
  176. package/dist/grpc/proto/sui/rpc/v2/transaction.mjs +6 -0
  177. package/dist/grpc/proto/sui/rpc/v2/transaction.mjs.map +1 -1
  178. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts +6 -2
  179. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts.map +1 -1
  180. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs.map +1 -1
  181. package/dist/grpc/proto/types.d.mts +7 -7
  182. package/dist/grpc/proto/types.mjs +3 -2
  183. package/dist/grpc/pull-call.d.mts +20 -0
  184. package/dist/grpc/pull-call.d.mts.map +1 -0
  185. package/dist/grpc/pull-call.mjs +28 -0
  186. package/dist/grpc/pull-call.mjs.map +1 -0
  187. package/dist/grpc/stream/call.mjs +238 -0
  188. package/dist/grpc/stream/call.mjs.map +1 -0
  189. package/dist/grpc/stream/families.d.mts +26 -0
  190. package/dist/grpc/stream/families.d.mts.map +1 -0
  191. package/dist/grpc/stream/families.mjs +145 -0
  192. package/dist/grpc/stream/families.mjs.map +1 -0
  193. package/dist/grpc/stream/index.d.mts +41 -0
  194. package/dist/grpc/stream/index.d.mts.map +1 -0
  195. package/dist/grpc/stream/index.mjs +127 -0
  196. package/dist/grpc/stream/index.mjs.map +1 -0
  197. package/dist/grpc/stream/live.mjs +31 -0
  198. package/dist/grpc/stream/live.mjs.map +1 -0
  199. package/dist/grpc/stream/page.mjs +120 -0
  200. package/dist/grpc/stream/page.mjs.map +1 -0
  201. package/dist/grpc/stream-types.d.mts +28 -0
  202. package/dist/grpc/stream-types.d.mts.map +1 -0
  203. package/dist/grpc/transport.d.mts +8 -3
  204. package/dist/grpc/transport.d.mts.map +1 -1
  205. package/dist/grpc/transport.mjs +88 -45
  206. package/dist/grpc/transport.mjs.map +1 -1
  207. package/dist/jsonRpc/index.d.mts +34 -12
  208. package/dist/jsonRpc/index.d.mts.map +1 -0
  209. package/dist/jsonRpc/index.mjs +39 -5
  210. package/dist/jsonRpc/index.mjs.map +1 -0
  211. package/dist/jsonRpc/types.d.mts +420 -0
  212. package/dist/jsonRpc/types.d.mts.map +1 -0
  213. package/dist/keypairs/passkey/keypair.d.mts +1 -1
  214. package/dist/multisig/publickey.d.mts +12 -4
  215. package/dist/multisig/publickey.d.mts.map +1 -1
  216. package/dist/multisig/publickey.mjs +5 -5
  217. package/dist/multisig/publickey.mjs.map +1 -1
  218. package/dist/multisig/signer.d.mts +1 -1
  219. package/dist/transactions/ObjectCache.d.mts +1 -1
  220. package/dist/transactions/ObjectCache.mjs +5 -5
  221. package/dist/transactions/ObjectCache.mjs.map +1 -1
  222. package/dist/transactions/Transaction.d.mts +10 -9
  223. package/dist/transactions/Transaction.d.mts.map +1 -1
  224. package/dist/transactions/Transaction.mjs +17 -6
  225. package/dist/transactions/Transaction.mjs.map +1 -1
  226. package/dist/transactions/data/internal.d.mts +2 -0
  227. package/dist/transactions/data/internal.d.mts.map +1 -1
  228. package/dist/transactions/data/internal.mjs +2 -1
  229. package/dist/transactions/data/internal.mjs.map +1 -1
  230. package/dist/transactions/executor/parallel.d.mts +2 -2
  231. package/dist/transactions/executor/serial.d.mts +1 -1
  232. package/dist/transactions/executor/serial.mjs +2 -2
  233. package/dist/transactions/executor/serial.mjs.map +1 -1
  234. package/dist/transactions/index.d.mts +3 -2
  235. package/dist/transactions/index.mjs +4 -3
  236. package/dist/transactions/intents/AllowanceBalance.mjs +1 -1
  237. package/dist/transactions/intents/CoinWithBalance.mjs +1 -1
  238. package/dist/transactions/resolve.d.mts +6 -0
  239. package/dist/transactions/resolve.d.mts.map +1 -1
  240. package/dist/transactions/resolve.mjs.map +1 -1
  241. package/dist/transactions/restricted-move-calls.d.mts +25 -0
  242. package/dist/transactions/restricted-move-calls.d.mts.map +1 -0
  243. package/dist/transactions/restricted-move-calls.mjs +47 -0
  244. package/dist/transactions/restricted-move-calls.mjs.map +1 -0
  245. package/dist/transactions/serializer.d.mts +1 -4
  246. package/dist/transactions/serializer.d.mts.map +1 -1
  247. package/dist/transactions/serializer.mjs +1 -44
  248. package/dist/transactions/serializer.mjs.map +1 -1
  249. package/dist/transactions/utils.d.mts +0 -1
  250. package/dist/transactions/utils.d.mts.map +1 -1
  251. package/dist/transactions/utils.mjs.map +1 -1
  252. package/dist/utils/abort.mjs +89 -0
  253. package/dist/utils/abort.mjs.map +1 -0
  254. package/dist/utils/coin-reservation.mjs +1 -4
  255. package/dist/utils/coin-reservation.mjs.map +1 -1
  256. package/dist/utils/index.mjs +1 -1
  257. package/dist/utils/sui-types.mjs +1 -1
  258. package/dist/verify/index.d.mts +2 -2
  259. package/dist/verify/verify.d.mts +74 -24
  260. package/dist/verify/verify.d.mts.map +1 -1
  261. package/dist/verify/verify.mjs +128 -42
  262. package/dist/verify/verify.mjs.map +1 -1
  263. package/dist/version.mjs +1 -1
  264. package/dist/version.mjs.map +1 -1
  265. package/dist/zklogin/bcs.d.mts +14 -14
  266. package/dist/zklogin/publickey.d.mts.map +1 -1
  267. package/dist/zklogin/publickey.mjs +15 -20
  268. package/dist/zklogin/publickey.mjs.map +1 -1
  269. package/docs/bcs.md +2 -2
  270. package/docs/clients/core.md +19 -18
  271. package/docs/clients/executing.md +53 -8
  272. package/docs/clients/graphql.md +81 -11
  273. package/docs/clients/grpc.md +31 -15
  274. package/docs/clients/index.md +8 -7
  275. package/docs/clients/querying.md +134 -30
  276. package/docs/clients/streaming.md +324 -0
  277. package/docs/cryptography/index.md +85 -58
  278. package/docs/llms-index.md +4 -2
  279. package/docs/migrations/sui-2.0/dapp-kit.md +3 -2
  280. package/docs/migrations/sui-2.0/json-rpc-migration.md +106 -79
  281. package/docs/migrations/sui-3.0/index.md +247 -0
  282. package/docs/plugins.md +10 -10
  283. package/docs/sdk-building.md +3 -4
  284. package/docs/transactions/coins-and-balances.md +6 -11
  285. package/docs/transactions/reference.md +36 -1
  286. package/package.json +4 -5
  287. package/src/bcs/bcs.ts +80 -41
  288. package/src/bcs/effects.ts +61 -25
  289. package/src/bcs/index.ts +2 -0
  290. package/src/bcs/transactions.ts +36 -17
  291. package/src/bcs/types.ts +10 -4
  292. package/src/client/core-resolver.ts +3 -5
  293. package/src/client/core.ts +180 -8
  294. package/src/client/errors.ts +12 -0
  295. package/src/client/index.ts +4 -2
  296. package/src/client/mvr.ts +37 -10
  297. package/src/client/query-filters.ts +151 -97
  298. package/src/client/stream/adapter.ts +110 -0
  299. package/src/client/stream/errors.ts +40 -0
  300. package/src/client/stream/filter.ts +17 -0
  301. package/src/client/stream/follow.ts +63 -0
  302. package/src/client/stream/index.ts +9 -0
  303. package/src/client/stream/pager.ts +158 -0
  304. package/src/client/stream/plan.ts +147 -0
  305. package/src/client/stream/position.ts +143 -0
  306. package/src/client/stream/run.ts +147 -0
  307. package/src/client/stream/session.ts +259 -0
  308. package/src/client/stream/status.ts +44 -0
  309. package/src/client/stream/token.ts +104 -0
  310. package/src/client/transaction-data.ts +610 -0
  311. package/src/client/transaction-resolver.ts +158 -69
  312. package/src/client/types.ts +530 -115
  313. package/src/client/utils.ts +146 -61
  314. package/src/cryptography/publickey.ts +12 -1
  315. package/src/cryptography/signature.ts +6 -3
  316. package/src/graphql/client.ts +204 -135
  317. package/src/graphql/core.ts +446 -139
  318. package/src/graphql/errors.ts +24 -0
  319. package/src/graphql/filters.ts +48 -0
  320. package/src/graphql/generated/queries.ts +1455 -277
  321. package/src/graphql/generated/schema.graphql +282 -9
  322. package/src/graphql/generated/tada-env.ts +933 -4
  323. package/src/graphql/queries/checkpoints.graphql +34 -0
  324. package/src/graphql/queries/getDynamicFields.graphql +1 -0
  325. package/src/graphql/queries/listEvents.graphql +16 -24
  326. package/src/graphql/queries/streams.graphql +212 -0
  327. package/src/graphql/queries/transactions.graphql +71 -28
  328. package/src/graphql/queries/verifySignature.graphql +17 -0
  329. package/src/graphql/sse-parser.ts +99 -0
  330. package/src/graphql/stream/families.ts +515 -0
  331. package/src/graphql/stream/index.ts +55 -0
  332. package/src/graphql/stream/live.ts +70 -0
  333. package/src/graphql/stream/page.ts +47 -0
  334. package/src/graphql/stream/query.ts +52 -0
  335. package/src/graphql/subscribe.ts +83 -0
  336. package/src/grpc/client.ts +81 -79
  337. package/src/grpc/core.ts +388 -274
  338. package/src/grpc/filters.ts +59 -60
  339. package/src/grpc/grpc-web-pull.ts +360 -0
  340. package/src/grpc/index.ts +5 -0
  341. package/src/grpc/network-error.ts +33 -0
  342. package/src/grpc/proto/sui/rpc/v2/error_reason.ts +175 -0
  343. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +145 -0
  344. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +43 -1
  345. package/src/grpc/proto/sui/rpc/v2/query_options.ts +132 -8
  346. package/src/grpc/proto/sui/rpc/v2/signature.ts +4 -4
  347. package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +4 -0
  348. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +30 -0
  349. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +16 -10
  350. package/src/grpc/proto/sui/rpc/v2/transaction.ts +6 -0
  351. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +5 -1
  352. package/src/grpc/pull-call.ts +54 -0
  353. package/src/grpc/stream/call.ts +317 -0
  354. package/src/grpc/stream/families.ts +228 -0
  355. package/src/grpc/stream/index.ts +182 -0
  356. package/src/grpc/stream/live.ts +33 -0
  357. package/src/grpc/stream/page.ts +161 -0
  358. package/src/grpc/stream-types.ts +33 -0
  359. package/src/grpc/transport.ts +116 -59
  360. package/src/jsonRpc/index.ts +60 -17
  361. package/src/jsonRpc/types.ts +421 -0
  362. package/src/multisig/publickey.ts +19 -7
  363. package/src/transactions/ObjectCache.ts +6 -6
  364. package/src/transactions/Transaction.ts +30 -6
  365. package/src/transactions/data/internal.ts +2 -0
  366. package/src/transactions/executor/serial.ts +2 -2
  367. package/src/transactions/index.ts +8 -1
  368. package/src/transactions/resolve.ts +6 -0
  369. package/src/transactions/restricted-move-calls.ts +87 -0
  370. package/src/transactions/serializer.ts +0 -70
  371. package/src/transactions/utils.ts +0 -37
  372. package/src/utils/abort.ts +101 -0
  373. package/src/verify/index.ts +1 -0
  374. package/src/verify/verify.ts +190 -62
  375. package/src/version.ts +1 -1
  376. package/src/zklogin/publickey.ts +18 -34
  377. package/dist/client/core-resolver.d.mts +0 -9
  378. package/dist/client/core-resolver.d.mts.map +0 -1
  379. package/dist/jsonRpc/client.d.mts +0 -507
  380. package/dist/jsonRpc/client.d.mts.map +0 -1
  381. package/dist/jsonRpc/client.mjs +0 -868
  382. package/dist/jsonRpc/client.mjs.map +0 -1
  383. package/dist/jsonRpc/core.d.mts +0 -168
  384. package/dist/jsonRpc/core.d.mts.map +0 -1
  385. package/dist/jsonRpc/core.mjs +0 -1054
  386. package/dist/jsonRpc/core.mjs.map +0 -1
  387. package/dist/jsonRpc/errors.d.mts +0 -27
  388. package/dist/jsonRpc/errors.d.mts.map +0 -1
  389. package/dist/jsonRpc/errors.mjs +0 -50
  390. package/dist/jsonRpc/errors.mjs.map +0 -1
  391. package/dist/jsonRpc/http-transport.d.mts +0 -62
  392. package/dist/jsonRpc/http-transport.d.mts.map +0 -1
  393. package/dist/jsonRpc/http-transport.mjs +0 -60
  394. package/dist/jsonRpc/http-transport.mjs.map +0 -1
  395. package/dist/jsonRpc/network.d.mts +0 -9
  396. package/dist/jsonRpc/network.d.mts.map +0 -1
  397. package/dist/jsonRpc/network.mjs +0 -18
  398. package/dist/jsonRpc/network.mjs.map +0 -1
  399. package/dist/jsonRpc/types/chain.d.mts +0 -169
  400. package/dist/jsonRpc/types/chain.d.mts.map +0 -1
  401. package/dist/jsonRpc/types/changes.d.mts +0 -48
  402. package/dist/jsonRpc/types/changes.d.mts.map +0 -1
  403. package/dist/jsonRpc/types/coins.d.mts +0 -15
  404. package/dist/jsonRpc/types/coins.d.mts.map +0 -1
  405. package/dist/jsonRpc/types/common.d.mts +0 -9
  406. package/dist/jsonRpc/types/common.d.mts.map +0 -1
  407. package/dist/jsonRpc/types/generated.d.mts +0 -1976
  408. package/dist/jsonRpc/types/generated.d.mts.map +0 -1
  409. package/dist/jsonRpc/types/index.d.mts +0 -6
  410. package/dist/jsonRpc/types/params.d.mts +0 -898
  411. package/dist/jsonRpc/types/params.d.mts.map +0 -1
  412. package/src/graphql/generated/tsconfig.tada.json +0 -11
  413. package/src/graphql/queries/verifyZkLoginSignature.graphql +0 -15
  414. package/src/jsonRpc/client.ts +0 -1252
  415. package/src/jsonRpc/core.ts +0 -1557
  416. package/src/jsonRpc/errors.ts +0 -57
  417. package/src/jsonRpc/http-transport.ts +0 -118
  418. package/src/jsonRpc/network.ts +0 -21
  419. package/src/jsonRpc/types/chain.ts +0 -190
  420. package/src/jsonRpc/types/changes.ts +0 -35
  421. package/src/jsonRpc/types/coins.ts +0 -14
  422. package/src/jsonRpc/types/common.ts +0 -8
  423. package/src/jsonRpc/types/generated.ts +0 -2165
  424. package/src/jsonRpc/types/index.ts +0 -9
  425. package/src/jsonRpc/types/params.ts +0 -908
@@ -110,6 +110,14 @@ type Address implements Node & IAddressable {
110
110
  """
111
111
  defaultNameRecord: NameRecord
112
112
  """
113
+ Access a derived object using its key.
114
+
115
+ The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
116
+
117
+ Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
118
+ """
119
+ derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
120
+ """
113
121
  Access a dynamic field on an object using its type and BCS-encoded name.
114
122
 
115
123
  Returns `null` if a dynamic field with that name could not be found attached to the object with this address.
@@ -138,6 +146,12 @@ type Address implements Node & IAddressable {
138
146
  """
139
147
  multiGetBalances(keys: [String!]!): [Balance!]
140
148
  """
149
+ Access derived objects using their keys and optional version bounds.
150
+
151
+ Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
152
+ """
153
+ multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
154
+ """
141
155
  Access dynamic fields on an object using their types and BCS-encoded names.
142
156
 
143
157
  Returns a list of dynamic fields that is guaranteed to be the same length as `keys`. If a dynamic field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
@@ -293,6 +307,12 @@ type Balance {
293
307
  """
294
308
  coinBalance: BigInt
295
309
  """
310
+ Fetch the CoinMetadata for this balance's coin type.
311
+
312
+ Returns `null` if no CoinMetadata object exists for the coin type.
313
+ """
314
+ coinMetadata: CoinMetadata
315
+ """
296
316
  Coin type for the balance, such as `0x2::sui::SUI`.
297
317
  """
298
318
  coinType: MoveType
@@ -689,6 +709,14 @@ type CoinMetadata implements IAddressable & IMoveObject & IObject {
689
709
  """
690
710
  denyCap: MoveObject
691
711
  """
712
+ Access a derived object using its key.
713
+
714
+ The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
715
+
716
+ Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
717
+ """
718
+ derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
719
+ """
692
720
  Description of the coin.
693
721
  """
694
722
  description: String
@@ -735,6 +763,12 @@ type CoinMetadata implements IAddressable & IMoveObject & IObject {
735
763
  """
736
764
  multiGetBalances(keys: [String!]!): [Balance!]
737
765
  """
766
+ Access derived objects using their keys and optional version bounds.
767
+
768
+ Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
769
+ """
770
+ multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
771
+ """
738
772
  Access dynamic fields on an object using their types and BCS-encoded names.
739
773
 
740
774
  Returns a list of dynamic fields that is guaranteed to be the same length as `keys`. If a dynamic field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
@@ -988,6 +1022,30 @@ ISO-8601 Date and Time: RFC3339 in UTC with format: YYYY-MM-DDTHH:MM:SS.mmmZ. No
988
1022
  """
989
1023
  scalar DateTime
990
1024
 
1025
+ """
1026
+ Identifies a derived object under one parent object.
1027
+
1028
+ At most one of `version`, `rootVersion`, or `atCheckpoint` may be specified.
1029
+ """
1030
+ input DerivedObjectKey {
1031
+ """
1032
+ If specified, fetch the latest version of the derived object as of this checkpoint.
1033
+ """
1034
+ atCheckpoint: UInt53
1035
+ """
1036
+ The derived object's key.
1037
+ """
1038
+ name: DynamicFieldName!
1039
+ """
1040
+ If specified, fetch the latest version of the derived object at or before this root version.
1041
+ """
1042
+ rootVersion: UInt53
1043
+ """
1044
+ If specified, fetch the derived object at this exact version.
1045
+ """
1046
+ version: UInt53
1047
+ }
1048
+
991
1049
  """
992
1050
  A rendered JSON blob based on an on-chain template.
993
1051
  """
@@ -1013,12 +1071,12 @@ type DisplayRegistryCreateTransaction {
1013
1071
  }
1014
1072
 
1015
1073
  """
1016
- Dynamic fields are heterogenous fields that can be added or removed from an object at runtime. Their names are arbitrary Move values that have `copy`, `drop`, and `store`.
1074
+ Dynamic fields are heterogeneous fields that can be added to or removed from an object at runtime. Their names are arbitrary Move values that have `copy`, `drop`, and `store`.
1017
1075
 
1018
- There are two sub-types of dynamic fields:
1076
+ There are two kinds of dynamic fields:
1019
1077
 
1020
- - Dynamic fields can store any value that has `store`. Objects stored in this kind of field will be considered wrapped (not accessible via its ID by external tools like explorers, wallets, etc. accessing storage).
1021
- - Dynamic object fields can only store objects (values that have the `key` ability, and an `id: UID` as its first field) that have `store`, but they will still be directly accessible off-chain via their ID after being attached as a field.
1078
+ - Dynamic fields can store any value that has `store`. Objects stored in this kind of field are wrapped and cannot be accessed directly by their ID.
1079
+ - Dynamic object fields can store only objects that have `key` and `store`. Their values remain accessible directly by their ID while attached.
1022
1080
  """
1023
1081
  type DynamicField implements Node & IAddressable & IMoveObject & IObject {
1024
1082
  """
@@ -1062,6 +1120,14 @@ type DynamicField implements Node & IAddressable & IMoveObject & IObject {
1062
1120
  """
1063
1121
  defaultNameRecord: NameRecord
1064
1122
  """
1123
+ Access a derived object using its key.
1124
+
1125
+ The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
1126
+
1127
+ Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
1128
+ """
1129
+ derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
1130
+ """
1065
1131
  32-byte hash that identifies the object's contents, encoded in Base58.
1066
1132
  """
1067
1133
  digest: String
@@ -1104,6 +1170,12 @@ type DynamicField implements Node & IAddressable & IMoveObject & IObject {
1104
1170
  """
1105
1171
  multiGetBalances(keys: [String!]!): [Balance!]
1106
1172
  """
1173
+ Access derived objects using their keys and optional version bounds.
1174
+
1175
+ Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
1176
+ """
1177
+ multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
1178
+ """
1107
1179
  Access dynamic fields on an object using their types and BCS-encoded names.
1108
1180
 
1109
1181
  Returns a list of dynamic fields that is guaranteed to be the same length as `keys`. If a dynamic field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
@@ -1523,6 +1595,24 @@ input EventFilter {
1523
1595
  type: String
1524
1596
  }
1525
1597
 
1598
+ """
1599
+ One payload of the `events` subscription: a matching event, or progress.
1600
+ """
1601
+ type EventSubscriptionEdge {
1602
+ """
1603
+ Pass as `after` to resume the subscription after this payload.
1604
+ """
1605
+ cursor: String!
1606
+ """
1607
+ The matching event, or `null` for progress.
1608
+
1609
+ A payload whose `node` is `null` and that has no `errors` is progress: every match before its cursor has been delivered, so save the cursor and resume `after` it to skip the range already scanned.
1610
+
1611
+ A payload whose `node` is `null` and that has `errors` is a match that failed to resolve. Do not save its cursor: treat the payload as an error and resume from the previous cursor.
1612
+ """
1613
+ node: Event
1614
+ }
1615
+
1526
1616
  """
1527
1617
  Represents execution error information for failed transactions.
1528
1618
  """
@@ -1735,12 +1825,26 @@ interface IAddressable {
1735
1825
  """
1736
1826
  defaultNameRecord: NameRecord
1737
1827
  """
1828
+ Access a derived object using its key.
1829
+
1830
+ The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
1831
+
1832
+ Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
1833
+ """
1834
+ derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
1835
+ """
1738
1836
  Fetch balances keyed by coin types (e.g. `0x2::sui::SUI`) owned by this address.
1739
1837
 
1740
1838
  Each result includes the total balance, the balance held in coin objects, and the balance held in the address's balance accumulator. Returns `null` when no checkpoint is set in scope (e.g. execution scope). If this address has no balance of a given type, all three values are zero for that type.
1741
1839
  """
1742
1840
  multiGetBalances(keys: [String!]!): [Balance!]
1743
1841
  """
1842
+ Access derived objects using their keys and optional version bounds.
1843
+
1844
+ Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
1845
+ """
1846
+ multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
1847
+ """
1744
1848
  Objects owned by this address, optionally filtered by type.
1745
1849
  """
1746
1850
  objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection
@@ -1953,6 +2057,30 @@ type MergeCoinsCommand {
1953
2057
  coins: [TransactionArgument!]!
1954
2058
  }
1955
2059
 
2060
+ """
2061
+ An ML-DSA-65 (FIPS 204) public key.
2062
+ """
2063
+ type MlDsa65PublicKey {
2064
+ """
2065
+ The raw public key bytes.
2066
+ """
2067
+ bytes: Base64
2068
+ }
2069
+
2070
+ """
2071
+ An ML-DSA-65 (FIPS 204) signature.
2072
+ """
2073
+ type MlDsa65Signature {
2074
+ """
2075
+ The public key bytes.
2076
+ """
2077
+ publicKey: Base64
2078
+ """
2079
+ The raw signature bytes.
2080
+ """
2081
+ signature: Base64
2082
+ }
2083
+
1956
2084
  """
1957
2085
  Abilities are keywords in Sui Move that define how types behave at the compiler level.
1958
2086
  """
@@ -2385,6 +2513,14 @@ type MoveObject implements Node & IAddressable & IMoveObject & IObject {
2385
2513
  """
2386
2514
  defaultNameRecord: NameRecord
2387
2515
  """
2516
+ Access a derived object using its key.
2517
+
2518
+ The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
2519
+
2520
+ Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
2521
+ """
2522
+ derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
2523
+ """
2388
2524
  32-byte hash that identifies the object's contents, encoded in Base58.
2389
2525
  """
2390
2526
  digest: String
@@ -2427,6 +2563,12 @@ type MoveObject implements Node & IAddressable & IMoveObject & IObject {
2427
2563
  """
2428
2564
  multiGetBalances(keys: [String!]!): [Balance!]
2429
2565
  """
2566
+ Access derived objects using their keys and optional version bounds.
2567
+
2568
+ Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
2569
+ """
2570
+ multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
2571
+ """
2430
2572
  Access dynamic fields on an object using their types and BCS-encoded names.
2431
2573
 
2432
2574
  Returns a list of dynamic fields that is guaranteed to be the same length as `keys`. If a dynamic field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
@@ -2552,6 +2694,14 @@ type MovePackage implements Node & IAddressable & IObject {
2552
2694
  """
2553
2695
  defaultNameRecord: NameRecord
2554
2696
  """
2697
+ Access a derived object using its key.
2698
+
2699
+ The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
2700
+
2701
+ Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
2702
+ """
2703
+ derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
2704
+ """
2555
2705
  32-byte hash that identifies the package's contents, encoded in Base58.
2556
2706
  """
2557
2707
  digest: String
@@ -2582,6 +2732,12 @@ type MovePackage implements Node & IAddressable & IObject {
2582
2732
  """
2583
2733
  multiGetBalances(keys: [String!]!): [Balance!]
2584
2734
  """
2735
+ Access derived objects using their keys and optional version bounds.
2736
+
2737
+ Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
2738
+ """
2739
+ multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
2740
+ """
2585
2741
  Fetch the package as an object with the same ID, at a different version, root version bound, or checkpoint.
2586
2742
 
2587
2743
  If no additional bound is provided, the latest version of this object is fetched at the latest checkpoint.
@@ -2945,7 +3101,7 @@ type MultisigMember {
2945
3101
  """
2946
3102
  A multisig member's public key, varying by scheme.
2947
3103
  """
2948
- union MultisigMemberPublicKey = Ed25519PublicKey | Secp256K1PublicKey | Secp256R1PublicKey | PasskeyPublicKey | ZkLoginPublicIdentifier
3104
+ union MultisigMemberPublicKey = Ed25519PublicKey | Secp256K1PublicKey | Secp256R1PublicKey | PasskeyPublicKey | ZkLoginPublicIdentifier | MlDsa65PublicKey
2949
3105
 
2950
3106
  """
2951
3107
  An aggregated multisig signature.
@@ -2998,6 +3154,34 @@ type Mutation {
2998
3154
  executeTransaction(transactionDataBcs: Base64!, signatures: [Base64!]!): ExecutionResult!
2999
3155
  }
3000
3156
 
3157
+ """
3158
+ Identifies a dynamic field or derived object under a parent object.
3159
+
3160
+ At most one of `version`, `rootVersion`, or `atCheckpoint` may be specified.
3161
+ """
3162
+ input NameKey {
3163
+ """
3164
+ If specified, fetch the latest version of the result as of this checkpoint.
3165
+ """
3166
+ atCheckpoint: UInt53
3167
+ """
3168
+ The dynamic field name or derived object key.
3169
+ """
3170
+ name: DynamicFieldName!
3171
+ """
3172
+ The parent object that owns the dynamic field or derived object claim.
3173
+ """
3174
+ parent: SuiAddress!
3175
+ """
3176
+ If specified, fetch the latest version of the result at or before this root version.
3177
+ """
3178
+ rootVersion: UInt53
3179
+ """
3180
+ If specified, fetch the result at this exact version.
3181
+ """
3182
+ version: UInt53
3183
+ }
3184
+
3001
3185
  """
3002
3186
  A Name Service NameRecord representing a domain name registration.
3003
3187
  """
@@ -3085,6 +3269,14 @@ type Object implements Node & IAddressable & IObject {
3085
3269
  """
3086
3270
  defaultNameRecord: NameRecord
3087
3271
  """
3272
+ Access a derived object using its key.
3273
+
3274
+ The object can be bounded by at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`.
3275
+
3276
+ Returns `null` if the derived object has not been claimed, has been deleted, or is not available in the store.
3277
+ """
3278
+ derivedObject(name: DynamicFieldName!, version: UInt53, rootVersion: UInt53, atCheckpoint: UInt53): MoveObject
3279
+ """
3088
3280
  32-byte hash that identifies the object's contents, encoded in Base58.
3089
3281
  """
3090
3282
  digest: String
@@ -3115,6 +3307,12 @@ type Object implements Node & IAddressable & IObject {
3115
3307
  """
3116
3308
  multiGetBalances(keys: [String!]!): [Balance!]
3117
3309
  """
3310
+ Access derived objects using their keys and optional version bounds.
3311
+
3312
+ Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
3313
+ """
3314
+ multiGetDerivedObjects(keys: [DerivedObjectKey!]!): [MoveObject]!
3315
+ """
3118
3316
  Access dynamic fields on an object using their types and BCS-encoded names.
3119
3317
 
3120
3318
  Returns a list of dynamic fields that is guaranteed to be the same length as `keys`. If a dynamic field in `keys` could not be found in the store, its corresponding entry in the result will be `null`.
@@ -3665,6 +3863,24 @@ type Query {
3665
3863
  """
3666
3864
  multiGetCheckpoints(keys: [UInt53!]!): [Checkpoint]!
3667
3865
  """
3866
+ Access derived objects under parent objects using their names and optional version bounds.
3867
+
3868
+ Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a derived object has not been claimed, has been deleted, or is not available in the store, its corresponding entry is `null`.
3869
+ """
3870
+ multiGetDerivedObjects(keys: [NameKey!]!): [MoveObject]!
3871
+ """
3872
+ Access dynamic fields on parent objects using their names and optional version bounds.
3873
+
3874
+ Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a dynamic field could not be found, its corresponding entry in the result is `null`.
3875
+ """
3876
+ multiGetDynamicFields(keys: [NameKey!]!): [DynamicField]!
3877
+ """
3878
+ Access dynamic object fields on parent objects using their names and optional version bounds.
3879
+
3880
+ Each key can specify at most one of `version`, `rootVersion`, or `atCheckpoint`, with the same semantics as `Query.object`. Returns a list that is guaranteed to be the same length as `keys`. If a dynamic object field could not be found, its corresponding entry in the result is `null`.
3881
+ """
3882
+ multiGetDynamicObjectFields(keys: [NameKey!]!): [DynamicField]!
3883
+ """
3668
3884
  Fetch epochs by their IDs.
3669
3885
 
3670
3886
  Returns a list of epochs that is guaranteed to be the same length as `keys`. If an epoch in `keys` could not be found in the store, its corresponding entry in the result will be `null`. This could be because the epoch does not exist yet, or because it was pruned.
@@ -3820,8 +4036,8 @@ type Query {
3820
4036
  """
3821
4037
  Verify a signature is from the given `author`.
3822
4038
 
3823
- Supports all signature types: Ed25519, Secp256k1, Secp256r1, MultiSig, ZkLogin, and
3824
- Passkey.
4039
+ Supports all signature types: Ed25519, Secp256k1, Secp256r1, MultiSig, ZkLogin, Passkey,
4040
+ and ML-DSA-65.
3825
4041
 
3826
4042
  Returns successfully if the signature is valid. If the signature is invalid, returns an
3827
4043
  error with the reason for the failure.
@@ -3831,8 +4047,11 @@ type Query {
3831
4047
  - `intentScope` indicates whether `message` is to be parsed as a personal message or
3832
4048
  `TransactionData`.
3833
4049
  - `author` is the signer's address.
4050
+ - `checkAddressAliases`, if true, requires the signer to be one of `author`'s address aliases
4051
+ as of the checkpoint being viewed (or `author` itself, if it has none configured). Defaults
4052
+ to false.
3834
4053
  """
3835
- verifySignature(message: Base64!, signature: Base64!, intentScope: IntentScope!, author: SuiAddress!): SignatureVerifyResult
4054
+ verifySignature(message: Base64!, signature: Base64!, intentScope: IntentScope!, author: SuiAddress!, checkAddressAliases: Boolean): SignatureVerifyResult
3836
4055
  """
3837
4056
  Verify a zkLogin signature is from the given `author`.
3838
4057
 
@@ -4127,7 +4346,7 @@ type SharedInput {
4127
4346
  """
4128
4347
  The structured details of a signature, varying by scheme.
4129
4348
  """
4130
- union SignatureScheme = Ed25519Signature | Secp256K1Signature | Secp256R1Signature | MultisigSignature | ZkLoginSignature | PasskeySignature
4349
+ union SignatureScheme = Ed25519Signature | Secp256K1Signature | Secp256R1Signature | MultisigSignature | ZkLoginSignature | PasskeySignature | MlDsa65Signature
4131
4350
 
4132
4351
  """
4133
4352
  The result of signature verification.
@@ -4178,6 +4397,41 @@ type StoreExecutionTimeObservationsTransaction {
4178
4397
  }
4179
4398
 
4180
4399
 
4400
+ type Subscription {
4401
+ """
4402
+ Subscribe to checkpoints as they are finalized.
4403
+
4404
+ Pass `after` (opaque cursor) or `afterCheckpoint` (sequence number) to resume from a known point. If both are provided, the subscription resumes from whichever is later.
4405
+
4406
+ This subscription is not yet available for use.
4407
+ """
4408
+ checkpoints(after: String, afterCheckpoint: UInt53): CheckpointEdge!
4409
+ """
4410
+ Subscribe to events as they are emitted, with optional filtering.
4411
+
4412
+ Resume from a known point with `after` (an opaque cursor from a prior delivery) and/or `filter.afterCheckpoint`. The subscription first backfills the matching events after that point via the scanning API, then continues with the live stream.
4413
+
4414
+ Each matching event is yielded individually as an edge, ordered by checkpoint, then by transaction position within the checkpoint, then by position within the transaction. Each edge carries a cursor for resumption.
4415
+
4416
+ Set `progress` to true to also receive progress payloads (a `null` node carrying only a cursor) during stretches that match nothing, so the resume cursor advances without waiting for a match. It defaults to false, where only matching events are delivered. Live progress is paced by the server and can be turned off there, so a live-only subscription may receive none.
4417
+
4418
+ This subscription is not yet available for use.
4419
+ """
4420
+ events(filter: EventFilter, after: String, progress: Boolean! = false): EventSubscriptionEdge!
4421
+ """
4422
+ Subscribe to transactions as they are finalized, with optional filtering.
4423
+
4424
+ Resume from a known point with `after` (an opaque cursor from a prior delivery) and/or `filter.afterCheckpoint`. The subscription first backfills the matching transactions after that point via the scanning API, then continues with the live stream.
4425
+
4426
+ Each matching transaction is yielded individually as an edge, ordered by checkpoint and then by position within the checkpoint. Each edge carries a cursor for resumption.
4427
+
4428
+ Set `progress` to true to also receive progress payloads (a `null` node carrying only a cursor) during stretches that match nothing, so the resume cursor advances without waiting for a match. It defaults to false, where only matching transactions are delivered. Live progress is paced by the server and can be turned off there, so a live-only subscription may receive none.
4429
+
4430
+ This subscription is not yet available for use.
4431
+ """
4432
+ transactions(filter: TransactionFilter, after: String, progress: Boolean! = false): TransactionSubscriptionEdge!
4433
+ }
4434
+
4181
4435
  """
4182
4436
  String containing 32 byte hex-encoded address, with a leading '0x'. Leading zeroes can be omitted on input but will always appear in outputs (SuiAddress in output is guaranteed to be 66 characters long).
4183
4437
  """
@@ -4460,6 +4714,24 @@ An object as it appears in a specific transaction. The variant discriminates whe
4460
4714
  """
4461
4715
  union TransactionObject = ObjectChange | ConsensusObjectRead
4462
4716
 
4717
+ """
4718
+ One payload of the `transactions` subscription: a matching transaction, or progress.
4719
+ """
4720
+ type TransactionSubscriptionEdge {
4721
+ """
4722
+ Pass as `after` to resume the subscription after this payload.
4723
+ """
4724
+ cursor: String!
4725
+ """
4726
+ The matching transaction, or `null` for progress.
4727
+
4728
+ A payload whose `node` is `null` and that has no `errors` is progress: every match before its cursor has been delivered, so save the cursor and resume `after` it to skip the range already scanned.
4729
+
4730
+ A payload whose `node` is `null` and that has `errors` is a match that failed to resolve. Do not save its cursor: treat the payload as an error and resume from the previous cursor.
4731
+ """
4732
+ node: Transaction
4733
+ }
4734
+
4463
4735
  """
4464
4736
  Transfers `inputs` to `address`. All inputs must have the `store` ability (allows public transfer) and must not be previously immutable or shared.
4465
4737
  """
@@ -4838,4 +5110,5 @@ directive @skip(if: Boolean!) on FIELD | FRAGMENT_SPREAD | INLINE_FRAGMENT
4838
5110
  schema {
4839
5111
  query: Query
4840
5112
  mutation: Mutation
5113
+ subscription: Subscription
4841
5114
  }