@mysten/sui 2.39.0 → 3.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (427) hide show
  1. package/CHANGELOG.md +162 -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 +4 -2
  28. package/dist/client/index.mjs +5 -2
  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 +12 -0
  64. package/dist/client/transaction-data.d.mts.map +1 -0
  65. package/dist/client/transaction-data.mjs +469 -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 +3 -1
  72. package/dist/client/utils.d.mts.map +1 -1
  73. package/dist/client/utils.mjs +91 -26
  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 +293 -117
  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.d.mts +111 -0
  143. package/dist/grpc/proto/sui/rpc/v2/ledger_service.d.mts.map +1 -1
  144. package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs +46 -0
  145. package/dist/grpc/proto/sui/rpc/v2/ledger_service.mjs.map +1 -1
  146. package/dist/grpc/proto/sui/rpc/v2/move_package_service.client.d.mts +4 -4
  147. package/dist/grpc/proto/sui/rpc/v2/move_package_service.d.mts +24 -1
  148. package/dist/grpc/proto/sui/rpc/v2/move_package_service.d.mts.map +1 -1
  149. package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs +25 -7
  150. package/dist/grpc/proto/sui/rpc/v2/move_package_service.mjs.map +1 -1
  151. package/dist/grpc/proto/sui/rpc/v2/name_service.client.d.mts +4 -4
  152. package/dist/grpc/proto/sui/rpc/v2/object.mjs +1 -1
  153. package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts +111 -9
  154. package/dist/grpc/proto/sui/rpc/v2/query_options.d.mts.map +1 -1
  155. package/dist/grpc/proto/sui/rpc/v2/query_options.mjs +63 -19
  156. package/dist/grpc/proto/sui/rpc/v2/query_options.mjs.map +1 -1
  157. package/dist/grpc/proto/sui/rpc/v2/signature.d.mts +5 -5
  158. package/dist/grpc/proto/sui/rpc/v2/signature.mjs.map +1 -1
  159. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.d.mts +5 -1
  160. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.d.mts.map +1 -1
  161. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs +4 -0
  162. package/dist/grpc/proto/sui/rpc/v2/signature_scheme.mjs.map +1 -1
  163. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts +20 -1
  164. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.d.mts.map +1 -1
  165. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs +30 -13
  166. package/dist/grpc/proto/sui/rpc/v2/signature_verification_service.mjs.map +1 -1
  167. package/dist/grpc/proto/sui/rpc/v2/state_service.client.d.mts +4 -4
  168. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts +20 -14
  169. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.d.mts.map +1 -1
  170. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs +8 -5
  171. package/dist/grpc/proto/sui/rpc/v2/subscription_service.client.mjs.map +1 -1
  172. package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts +11 -5
  173. package/dist/grpc/proto/sui/rpc/v2/transaction.d.mts.map +1 -1
  174. package/dist/grpc/proto/sui/rpc/v2/transaction.mjs +6 -0
  175. package/dist/grpc/proto/sui/rpc/v2/transaction.mjs.map +1 -1
  176. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts +6 -2
  177. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.d.mts.map +1 -1
  178. package/dist/grpc/proto/sui/rpc/v2/transaction_execution_service.mjs.map +1 -1
  179. package/dist/grpc/proto/types.d.mts +7 -7
  180. package/dist/grpc/proto/types.mjs +3 -2
  181. package/dist/grpc/pull-call.d.mts +20 -0
  182. package/dist/grpc/pull-call.d.mts.map +1 -0
  183. package/dist/grpc/pull-call.mjs +28 -0
  184. package/dist/grpc/pull-call.mjs.map +1 -0
  185. package/dist/grpc/stream/call.mjs +238 -0
  186. package/dist/grpc/stream/call.mjs.map +1 -0
  187. package/dist/grpc/stream/families.d.mts +26 -0
  188. package/dist/grpc/stream/families.d.mts.map +1 -0
  189. package/dist/grpc/stream/families.mjs +145 -0
  190. package/dist/grpc/stream/families.mjs.map +1 -0
  191. package/dist/grpc/stream/index.d.mts +41 -0
  192. package/dist/grpc/stream/index.d.mts.map +1 -0
  193. package/dist/grpc/stream/index.mjs +127 -0
  194. package/dist/grpc/stream/index.mjs.map +1 -0
  195. package/dist/grpc/stream/live.mjs +31 -0
  196. package/dist/grpc/stream/live.mjs.map +1 -0
  197. package/dist/grpc/stream/page.mjs +120 -0
  198. package/dist/grpc/stream/page.mjs.map +1 -0
  199. package/dist/grpc/stream-types.d.mts +28 -0
  200. package/dist/grpc/stream-types.d.mts.map +1 -0
  201. package/dist/grpc/transport.d.mts +8 -3
  202. package/dist/grpc/transport.d.mts.map +1 -1
  203. package/dist/grpc/transport.mjs +88 -45
  204. package/dist/grpc/transport.mjs.map +1 -1
  205. package/dist/jsonRpc/index.d.mts +34 -12
  206. package/dist/jsonRpc/index.d.mts.map +1 -0
  207. package/dist/jsonRpc/index.mjs +39 -5
  208. package/dist/jsonRpc/index.mjs.map +1 -0
  209. package/dist/jsonRpc/types.d.mts +420 -0
  210. package/dist/jsonRpc/types.d.mts.map +1 -0
  211. package/dist/keypairs/passkey/keypair.d.mts +1 -1
  212. package/dist/multisig/publickey.d.mts +12 -4
  213. package/dist/multisig/publickey.d.mts.map +1 -1
  214. package/dist/multisig/publickey.mjs +5 -5
  215. package/dist/multisig/publickey.mjs.map +1 -1
  216. package/dist/multisig/signer.d.mts +1 -1
  217. package/dist/transactions/ObjectCache.d.mts +1 -1
  218. package/dist/transactions/ObjectCache.mjs +5 -5
  219. package/dist/transactions/ObjectCache.mjs.map +1 -1
  220. package/dist/transactions/Transaction.d.mts +14 -13
  221. package/dist/transactions/Transaction.d.mts.map +1 -1
  222. package/dist/transactions/Transaction.mjs +17 -6
  223. package/dist/transactions/Transaction.mjs.map +1 -1
  224. package/dist/transactions/data/internal.d.mts +135 -133
  225. package/dist/transactions/data/internal.d.mts.map +1 -1
  226. package/dist/transactions/data/internal.mjs +2 -1
  227. package/dist/transactions/data/internal.mjs.map +1 -1
  228. package/dist/transactions/data/v1.d.mts +239 -239
  229. package/dist/transactions/data/v1.d.mts.map +1 -1
  230. package/dist/transactions/data/v2.d.mts +16 -16
  231. package/dist/transactions/data/v2.d.mts.map +1 -1
  232. package/dist/transactions/executor/parallel.d.mts +2 -2
  233. package/dist/transactions/executor/serial.d.mts +1 -1
  234. package/dist/transactions/executor/serial.mjs +2 -2
  235. package/dist/transactions/executor/serial.mjs.map +1 -1
  236. package/dist/transactions/index.d.mts +3 -2
  237. package/dist/transactions/index.mjs +4 -3
  238. package/dist/transactions/intents/AllowanceBalance.mjs +1 -1
  239. package/dist/transactions/intents/CoinWithBalance.mjs +1 -1
  240. package/dist/transactions/resolve.d.mts +6 -0
  241. package/dist/transactions/resolve.d.mts.map +1 -1
  242. package/dist/transactions/resolve.mjs.map +1 -1
  243. package/dist/transactions/restricted-move-calls.d.mts +25 -0
  244. package/dist/transactions/restricted-move-calls.d.mts.map +1 -0
  245. package/dist/transactions/restricted-move-calls.mjs +47 -0
  246. package/dist/transactions/restricted-move-calls.mjs.map +1 -0
  247. package/dist/transactions/serializer.d.mts +1 -4
  248. package/dist/transactions/serializer.d.mts.map +1 -1
  249. package/dist/transactions/serializer.mjs +1 -44
  250. package/dist/transactions/serializer.mjs.map +1 -1
  251. package/dist/transactions/utils.d.mts +0 -1
  252. package/dist/transactions/utils.d.mts.map +1 -1
  253. package/dist/transactions/utils.mjs.map +1 -1
  254. package/dist/utils/abort.mjs +89 -0
  255. package/dist/utils/abort.mjs.map +1 -0
  256. package/dist/utils/coin-reservation.mjs +1 -4
  257. package/dist/utils/coin-reservation.mjs.map +1 -1
  258. package/dist/utils/index.mjs +1 -1
  259. package/dist/utils/sui-types.mjs +1 -1
  260. package/dist/verify/index.d.mts +2 -2
  261. package/dist/verify/verify.d.mts +74 -24
  262. package/dist/verify/verify.d.mts.map +1 -1
  263. package/dist/verify/verify.mjs +128 -42
  264. package/dist/verify/verify.mjs.map +1 -1
  265. package/dist/version.mjs +1 -1
  266. package/dist/version.mjs.map +1 -1
  267. package/dist/zklogin/bcs.d.mts +14 -14
  268. package/dist/zklogin/publickey.d.mts.map +1 -1
  269. package/dist/zklogin/publickey.mjs +15 -20
  270. package/dist/zklogin/publickey.mjs.map +1 -1
  271. package/docs/bcs.md +2 -2
  272. package/docs/clients/core.md +19 -18
  273. package/docs/clients/executing.md +53 -8
  274. package/docs/clients/graphql.md +81 -11
  275. package/docs/clients/grpc.md +31 -15
  276. package/docs/clients/index.md +8 -7
  277. package/docs/clients/querying.md +134 -30
  278. package/docs/clients/streaming.md +324 -0
  279. package/docs/cryptography/index.md +85 -58
  280. package/docs/llms-index.md +4 -2
  281. package/docs/migrations/sui-2.0/dapp-kit.md +3 -2
  282. package/docs/migrations/sui-2.0/json-rpc-migration.md +106 -79
  283. package/docs/migrations/sui-3.0/index.md +250 -0
  284. package/docs/plugins.md +10 -10
  285. package/docs/sdk-building.md +3 -4
  286. package/docs/transactions/coins-and-balances.md +6 -11
  287. package/docs/transactions/reference.md +36 -1
  288. package/package.json +3 -4
  289. package/src/bcs/bcs.ts +80 -41
  290. package/src/bcs/effects.ts +61 -25
  291. package/src/bcs/index.ts +2 -0
  292. package/src/bcs/transactions.ts +36 -17
  293. package/src/bcs/types.ts +10 -4
  294. package/src/client/core-resolver.ts +3 -5
  295. package/src/client/core.ts +180 -8
  296. package/src/client/errors.ts +12 -0
  297. package/src/client/index.ts +4 -1
  298. package/src/client/mvr.ts +37 -10
  299. package/src/client/query-filters.ts +151 -97
  300. package/src/client/stream/adapter.ts +110 -0
  301. package/src/client/stream/errors.ts +40 -0
  302. package/src/client/stream/filter.ts +17 -0
  303. package/src/client/stream/follow.ts +63 -0
  304. package/src/client/stream/index.ts +9 -0
  305. package/src/client/stream/pager.ts +158 -0
  306. package/src/client/stream/plan.ts +147 -0
  307. package/src/client/stream/position.ts +143 -0
  308. package/src/client/stream/run.ts +147 -0
  309. package/src/client/stream/session.ts +259 -0
  310. package/src/client/stream/status.ts +44 -0
  311. package/src/client/stream/token.ts +104 -0
  312. package/src/client/transaction-data.ts +587 -0
  313. package/src/client/transaction-resolver.ts +158 -69
  314. package/src/client/types.ts +530 -115
  315. package/src/client/utils.ts +147 -50
  316. package/src/cryptography/publickey.ts +12 -1
  317. package/src/cryptography/signature.ts +6 -3
  318. package/src/graphql/client.ts +204 -135
  319. package/src/graphql/core.ts +446 -139
  320. package/src/graphql/errors.ts +24 -0
  321. package/src/graphql/filters.ts +48 -0
  322. package/src/graphql/generated/queries.ts +1455 -277
  323. package/src/graphql/generated/schema.graphql +282 -9
  324. package/src/graphql/generated/tada-env.ts +933 -4
  325. package/src/graphql/queries/checkpoints.graphql +34 -0
  326. package/src/graphql/queries/getDynamicFields.graphql +1 -0
  327. package/src/graphql/queries/listEvents.graphql +16 -24
  328. package/src/graphql/queries/streams.graphql +212 -0
  329. package/src/graphql/queries/transactions.graphql +71 -28
  330. package/src/graphql/queries/verifySignature.graphql +17 -0
  331. package/src/graphql/sse-parser.ts +99 -0
  332. package/src/graphql/stream/families.ts +515 -0
  333. package/src/graphql/stream/index.ts +55 -0
  334. package/src/graphql/stream/live.ts +70 -0
  335. package/src/graphql/stream/page.ts +47 -0
  336. package/src/graphql/stream/query.ts +52 -0
  337. package/src/graphql/subscribe.ts +83 -0
  338. package/src/grpc/client.ts +81 -79
  339. package/src/grpc/core.ts +388 -274
  340. package/src/grpc/filters.ts +59 -60
  341. package/src/grpc/grpc-web-pull.ts +360 -0
  342. package/src/grpc/index.ts +5 -0
  343. package/src/grpc/network-error.ts +33 -0
  344. package/src/grpc/proto/sui/rpc/v2/error_reason.ts +175 -0
  345. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +145 -0
  346. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +43 -1
  347. package/src/grpc/proto/sui/rpc/v2/query_options.ts +132 -8
  348. package/src/grpc/proto/sui/rpc/v2/signature.ts +4 -4
  349. package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +4 -0
  350. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +30 -0
  351. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +16 -10
  352. package/src/grpc/proto/sui/rpc/v2/transaction.ts +6 -0
  353. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +5 -1
  354. package/src/grpc/pull-call.ts +54 -0
  355. package/src/grpc/stream/call.ts +317 -0
  356. package/src/grpc/stream/families.ts +228 -0
  357. package/src/grpc/stream/index.ts +182 -0
  358. package/src/grpc/stream/live.ts +33 -0
  359. package/src/grpc/stream/page.ts +161 -0
  360. package/src/grpc/stream-types.ts +33 -0
  361. package/src/grpc/transport.ts +116 -59
  362. package/src/jsonRpc/index.ts +60 -17
  363. package/src/jsonRpc/types.ts +421 -0
  364. package/src/multisig/publickey.ts +19 -7
  365. package/src/transactions/ObjectCache.ts +6 -6
  366. package/src/transactions/Transaction.ts +30 -6
  367. package/src/transactions/data/internal.ts +2 -0
  368. package/src/transactions/executor/serial.ts +2 -2
  369. package/src/transactions/index.ts +8 -1
  370. package/src/transactions/resolve.ts +6 -0
  371. package/src/transactions/restricted-move-calls.ts +87 -0
  372. package/src/transactions/serializer.ts +0 -70
  373. package/src/transactions/utils.ts +0 -37
  374. package/src/utils/abort.ts +101 -0
  375. package/src/verify/index.ts +1 -0
  376. package/src/verify/verify.ts +190 -62
  377. package/src/version.ts +1 -1
  378. package/src/zklogin/publickey.ts +18 -34
  379. package/dist/client/core-resolver.d.mts +0 -9
  380. package/dist/client/core-resolver.d.mts.map +0 -1
  381. package/dist/jsonRpc/client.d.mts +0 -507
  382. package/dist/jsonRpc/client.d.mts.map +0 -1
  383. package/dist/jsonRpc/client.mjs +0 -868
  384. package/dist/jsonRpc/client.mjs.map +0 -1
  385. package/dist/jsonRpc/core.d.mts +0 -168
  386. package/dist/jsonRpc/core.d.mts.map +0 -1
  387. package/dist/jsonRpc/core.mjs +0 -1054
  388. package/dist/jsonRpc/core.mjs.map +0 -1
  389. package/dist/jsonRpc/errors.d.mts +0 -27
  390. package/dist/jsonRpc/errors.d.mts.map +0 -1
  391. package/dist/jsonRpc/errors.mjs +0 -50
  392. package/dist/jsonRpc/errors.mjs.map +0 -1
  393. package/dist/jsonRpc/http-transport.d.mts +0 -62
  394. package/dist/jsonRpc/http-transport.d.mts.map +0 -1
  395. package/dist/jsonRpc/http-transport.mjs +0 -60
  396. package/dist/jsonRpc/http-transport.mjs.map +0 -1
  397. package/dist/jsonRpc/network.d.mts +0 -9
  398. package/dist/jsonRpc/network.d.mts.map +0 -1
  399. package/dist/jsonRpc/network.mjs +0 -18
  400. package/dist/jsonRpc/network.mjs.map +0 -1
  401. package/dist/jsonRpc/types/chain.d.mts +0 -169
  402. package/dist/jsonRpc/types/chain.d.mts.map +0 -1
  403. package/dist/jsonRpc/types/changes.d.mts +0 -48
  404. package/dist/jsonRpc/types/changes.d.mts.map +0 -1
  405. package/dist/jsonRpc/types/coins.d.mts +0 -15
  406. package/dist/jsonRpc/types/coins.d.mts.map +0 -1
  407. package/dist/jsonRpc/types/common.d.mts +0 -9
  408. package/dist/jsonRpc/types/common.d.mts.map +0 -1
  409. package/dist/jsonRpc/types/generated.d.mts +0 -1976
  410. package/dist/jsonRpc/types/generated.d.mts.map +0 -1
  411. package/dist/jsonRpc/types/index.d.mts +0 -6
  412. package/dist/jsonRpc/types/params.d.mts +0 -898
  413. package/dist/jsonRpc/types/params.d.mts.map +0 -1
  414. package/src/graphql/generated/tsconfig.tada.json +0 -11
  415. package/src/graphql/queries/verifyZkLoginSignature.graphql +0 -15
  416. package/src/jsonRpc/client.ts +0 -1252
  417. package/src/jsonRpc/core.ts +0 -1557
  418. package/src/jsonRpc/errors.ts +0 -57
  419. package/src/jsonRpc/http-transport.ts +0 -118
  420. package/src/jsonRpc/network.ts +0 -21
  421. package/src/jsonRpc/types/chain.ts +0 -190
  422. package/src/jsonRpc/types/changes.ts +0 -35
  423. package/src/jsonRpc/types/coins.ts +0 -14
  424. package/src/jsonRpc/types/common.ts +0 -8
  425. package/src/jsonRpc/types/generated.ts +0 -2165
  426. package/src/jsonRpc/types/index.ts +0 -9
  427. package/src/jsonRpc/types/params.ts +0 -908
@@ -1 +1 @@
1
- {"version":3,"file":"ledger_service.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/ledger_service.ts"],"mappings":";;;;;;;;;;;;;;;;;UA6BiB,qBAAA;;;;UAIA,sBAAA;EAiBhB;;;;;;;;EARA,OAAA;EA4CM;AAKP;;;;;;EAzCC,KAAA;EA8DW;;;AAKZ;;EA7DC,KAAA;EAiEA;;AAKD;;;EAhEC,gBAAA;EAoEA;;;;;EA9DA,SAAA,GAAY,SAAA;EA0EI;;;;;EApEhB,yBAAA;EA6E+B;;;;;EAvE/B,gCAAA;EAiFW;;;;;EA3EX,MAAA;AAAA;AA2FD;;;AAAA,UAtFiB,gBAAA;EA4FhB;;;;;EAtFA,QAAA;EAkGsC;;;;AASvC;;;EAnGC,OAA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;AAAA,cAE3B,yBAAA,SAAkC,WAAA,CAAY,oBAAA;;;;;;cAmBvC,oBAAA,EAAoB,yBAAA;AAAA,cAE3B,0BAAA,SAAmC,WAAA,CAAY,qBAAA;;;;;;cAUxC,qBAAA,EAAqB,0BAAA;AAAA,cAE5B,oBAAA,SAA6B,WAAA,CAAY,eAAA;;;;;;cAkBlC,eAAA,EAAe,oBAAA;AAAA,cAEtB,qBAAA,SAA8B,WAAA,CAAY,gBAAA;;;;;;cAUnC,gBAAA,EAAgB,qBAAA;AAAA,cAEvB,2BAAA,SAAoC,WAAA,CAAY,sBAAA;;;;;;cA4BzC,sBAAA,EAAsB,2BAAA;AAAA,cAE7B,4BAAA,SAAqC,WAAA,CAAY,uBAAA;;;;;;cAY1C,uBAAA,EAAuB,4BAAA;AAAA,cAE9B,4BAAA,SAAqC,WAAA,CAAY,uBAAA;;;;;;cA4C1C,uBAAA,EAAuB,4BAAA;AAAA,cAE9B,6BAAA,SAAsC,WAAA,CAAY,wBAAA;;;;;;cAY3C,wBAAA,EAAwB,6BAAA;AAAA,cAE/B,sBAAA,SAA+B,WAAA,CAAY,iBAAA;;;;;;cA8CpC,iBAAA,EAAiB,sBAAA;AAAA,cAExB,uBAAA,SAAgC,WAAA,CAAY,kBAAA;;;;;;cAYrC,kBAAA,EAAkB,uBAAA;;;;cAIlB,aAAA,EAAa,WAAA"}
@@ -469,6 +469,22 @@ var ListTransactionsRequest$Type = class extends MessageType {
469
469
  name: "options",
470
470
  kind: "message",
471
471
  T: () => QueryOptions
472
+ },
473
+ {
474
+ no: 6,
475
+ name: "start_transaction_index",
476
+ kind: "scalar",
477
+ opt: true,
478
+ T: 4,
479
+ L: 0
480
+ },
481
+ {
482
+ no: 7,
483
+ name: "end_transaction_index",
484
+ kind: "scalar",
485
+ opt: true,
486
+ T: 4,
487
+ L: 0
472
488
  }
473
489
  ]);
474
490
  }
@@ -541,6 +557,36 @@ var ListEventsRequest$Type = class extends MessageType {
541
557
  name: "options",
542
558
  kind: "message",
543
559
  T: () => QueryOptions
560
+ },
561
+ {
562
+ no: 6,
563
+ name: "start_transaction_index",
564
+ kind: "scalar",
565
+ opt: true,
566
+ T: 4,
567
+ L: 0
568
+ },
569
+ {
570
+ no: 7,
571
+ name: "start_event_index",
572
+ kind: "scalar",
573
+ opt: true,
574
+ T: 13
575
+ },
576
+ {
577
+ no: 8,
578
+ name: "end_transaction_index",
579
+ kind: "scalar",
580
+ opt: true,
581
+ T: 4,
582
+ L: 0
583
+ },
584
+ {
585
+ no: 9,
586
+ name: "end_event_index",
587
+ kind: "scalar",
588
+ opt: true,
589
+ T: 13
544
590
  }
545
591
  ]);
546
592
  }
@@ -1 +1 @@
1
- {"version":3,"file":"ledger_service.mjs","names":["Object"],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/ledger_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/ledger_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Event } from './event.js';\nimport { EventFilter } from './filter.js';\nimport { QueryEnd } from './query_options.js';\nimport { Watermark } from './query_options.js';\nimport { QueryOptions } from './query_options.js';\nimport { TransactionFilter } from './filter.js';\nimport { Epoch } from './epoch.js';\nimport { Checkpoint } from './checkpoint.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { Status } from '../../../google/rpc/status.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport interface GetServiceInfoRequest {}\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport interface GetServiceInfoResponse {\n\t/**\n\t * The chain identifier of the chain that this node is on.\n\t *\n\t * The chain identifier is the digest of the genesis checkpoint, the\n\t * checkpoint with sequence number 0.\n\t *\n\t * @generated from protobuf field: optional string chain_id = 1;\n\t */\n\tchainId?: string;\n\t/**\n\t * Human-readable name of the chain that this node is on.\n\t *\n\t * This is intended to be a human-readable name like `mainnet`, `testnet`, and so on.\n\t *\n\t * @generated from protobuf field: optional string chain = 2;\n\t */\n\tchain?: string;\n\t/**\n\t * Current epoch of the node based on its highest executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 3;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Checkpoint height of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 checkpoint_height = 4;\n\t */\n\tcheckpointHeight?: bigint;\n\t/**\n\t * Unix timestamp of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 5;\n\t */\n\ttimestamp?: Timestamp;\n\t/**\n\t * The lowest checkpoint for which checkpoints and transaction data are available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint = 6;\n\t */\n\tlowestAvailableCheckpoint?: bigint;\n\t/**\n\t * The lowest checkpoint for which object data is available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint_objects = 7;\n\t */\n\tlowestAvailableCheckpointObjects?: bigint;\n\t/**\n\t * Software version of the service. Similar to the `server` http header.\n\t *\n\t * @generated from protobuf field: optional string server = 8;\n\t */\n\tserver?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport interface GetObjectRequest {\n\t/**\n\t * Required. The `ObjectId` of the requested object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 1;\n\t */\n\tobjectId?: string;\n\t/**\n\t * Request a specific version of the object.\n\t * If no version is specified, and the object is live, then the latest\n\t * version of the object is returned.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport interface GetObjectResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Object object = 1;\n\t */\n\tobject?: Object;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport interface BatchGetObjectsRequest {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetObjectRequest requests = 1;\n\t */\n\trequests: GetObjectRequest[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport interface BatchGetObjectsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetObjectResult objects = 1;\n\t */\n\tobjects: GetObjectResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResult\n */\nexport interface GetObjectResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'object';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.Object object = 1;\n\t\t\t\t */\n\t\t\t\tobject: Object;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport interface GetTransactionRequest {\n\t/**\n\t * Required. The digest of the requested transaction.\n\t *\n\t * @generated from protobuf field: optional string digest = 1;\n\t */\n\tdigest?: string;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport interface GetTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport interface BatchGetTransactionsRequest {\n\t/**\n\t * Required. The digests of the requested transactions.\n\t *\n\t * @generated from protobuf field: repeated string digests = 1;\n\t */\n\tdigests: string[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport interface BatchGetTransactionsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetTransactionResult transactions = 1;\n\t */\n\ttransactions: GetTransactionResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport interface GetTransactionResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'transaction';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t\t\t\t */\n\t\t\t\ttransaction: ExecutedTransaction;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport interface GetCheckpointRequest {\n\t/**\n\t * @generated from protobuf oneof: checkpoint_id\n\t */\n\tcheckpointId:\n\t\t| {\n\t\t\t\toneofKind: 'sequenceNumber';\n\t\t\t\t/**\n\t\t\t\t * The sequence number of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: uint64 sequence_number = 1;\n\t\t\t\t */\n\t\t\t\tsequenceNumber: bigint;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'digest';\n\t\t\t\t/**\n\t\t\t\t * The digest of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: string digest = 2;\n\t\t\t\t */\n\t\t\t\tdigest: string;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `sequence_number,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport interface GetCheckpointResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;\n\t */\n\tcheckpoint?: Checkpoint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport interface GetEpochRequest {\n\t/**\n\t * The requested epoch.\n\t * If no epoch is provided the current epoch will be returned.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `epoch`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport interface GetEpochResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Epoch epoch = 1;\n\t */\n\tepoch?: Epoch;\n}\n/**\n * Request message for LedgerService.ListCheckpoints.\n *\n * @generated from protobuf message sui.rpc.v2.ListCheckpointsRequest\n */\nexport interface ListCheckpointsRequest {\n\t/**\n\t * Optional. Mask for specifying which parts of the Checkpoint should be\n\t * returned (e.g. summary, contents, signatures).\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional. Start of the checkpoint range to query (inclusive). Defaults to\n\t * genesis.\n\t *\n\t * @generated from protobuf field: optional uint64 start_checkpoint = 2;\n\t */\n\tstartCheckpoint?: bigint;\n\t/**\n\t * Optional. End of the checkpoint range to query (exclusive). Defaults to the\n\t * current indexed ledger tip.\n\t *\n\t * @generated from protobuf field: optional uint64 end_checkpoint = 3;\n\t */\n\tendCheckpoint?: bigint;\n\t/**\n\t * Optional. DNF filter over indexed transaction dimensions. A checkpoint\n\t * matches if any transaction it contains satisfies the filter. If absent,\n\t * all checkpoints in the range are returned.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.TransactionFilter filter = 4;\n\t */\n\tfilter?: TransactionFilter;\n\t/**\n\t * Optional cursor-bounded query options. If unspecified, reads in ascending\n\t * order with the default item limit. The server enforces a maximum item\n\t * limit and silently coerces larger values down to it. To paginate, pass\n\t * the last received `Watermark.cursor` as `options.after` (ascending) or\n\t * `options.before` (descending) on the next request.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;\n\t */\n\toptions?: QueryOptions;\n}\n/**\n * Response message for LedgerService.ListCheckpoints.\n *\n * Every frame carries a `watermark` with a safe resume cursor. A frame\n * with `checkpoint` set delivers one matching item; a frame without it reports\n * scan progress or terminal completion. Watermarks never regress in the\n * requested ordering but may repeat.\n *\n * `end` is set exactly once, on the final frame of a successful stream. For\n * `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For\n * every other end reason, the final frame has no `checkpoint` payload.\n *\n * @generated from protobuf message sui.rpc.v2.ListCheckpointsResponse\n */\nexport interface ListCheckpointsResponse {\n\t/**\n\t * One matching checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;\n\t */\n\tcheckpoint?: Checkpoint;\n\t/**\n\t * Progress watermark as of this frame. Present on every frame. A\n\t * ScanLimit terminal watermark may repeat the previous frame's cursor when\n\t * its authoritative scan frontier was already emitted.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;\n\t */\n\twatermark?: Watermark;\n\t/**\n\t * Set exactly once, on the final frame of a successful query stream.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;\n\t */\n\tend?: QueryEnd;\n}\n/**\n * Request message for LedgerService.ListTransactions.\n *\n * @generated from protobuf message sui.rpc.v2.ListTransactionsRequest\n */\nexport interface ListTransactionsRequest {\n\t/**\n\t * Optional. Mask for specifying which parts of the ExecutedTransaction\n\t * should be returned.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional. Start of the checkpoint range to query (inclusive). Defaults to\n\t * genesis.\n\t *\n\t * @generated from protobuf field: optional uint64 start_checkpoint = 2;\n\t */\n\tstartCheckpoint?: bigint;\n\t/**\n\t * Optional. End of the checkpoint range to query (exclusive). Defaults to the\n\t * current indexed ledger tip.\n\t *\n\t * @generated from protobuf field: optional uint64 end_checkpoint = 3;\n\t */\n\tendCheckpoint?: bigint;\n\t/**\n\t * Optional. DNF filter over indexed dimensions.\n\t * If absent, all transactions in the range are returned.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.TransactionFilter filter = 4;\n\t */\n\tfilter?: TransactionFilter;\n\t/**\n\t * Optional cursor-bounded query options. If unspecified, reads in ascending\n\t * order with the default item limit. The server enforces a maximum item\n\t * limit and silently coerces larger values down to it. To paginate, pass\n\t * the last received `Watermark.cursor` as `options.after` (ascending) or\n\t * `options.before` (descending) on the next request.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;\n\t */\n\toptions?: QueryOptions;\n}\n/**\n * Response message for LedgerService.ListTransactions.\n *\n * Every frame carries a `watermark` with a safe resume cursor. A frame\n * with `transaction` set delivers one matching item; a frame without it reports\n * scan progress or terminal completion. Watermarks never regress in the\n * requested ordering but may repeat.\n *\n * `end` is set exactly once, on the final frame of a successful stream. For\n * `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For\n * every other end reason, the final frame has no `transaction` payload.\n *\n * @generated from protobuf message sui.rpc.v2.ListTransactionsResponse\n */\nexport interface ListTransactionsResponse {\n\t/**\n\t * One matching transaction. Its position within the containing checkpoint\n\t * is reported by `ExecutedTransaction.transaction_index`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n\t/**\n\t * Progress watermark as of this frame. Present on every frame. A\n\t * ScanLimit terminal watermark may repeat the previous frame's cursor when\n\t * its authoritative scan frontier was already emitted.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;\n\t */\n\twatermark?: Watermark;\n\t/**\n\t * Set exactly once, on the final frame of a successful query stream.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;\n\t */\n\tend?: QueryEnd;\n}\n/**\n * Request message for LedgerService.ListEvents.\n *\n * @generated from protobuf message sui.rpc.v2.ListEventsRequest\n */\nexport interface ListEventsRequest {\n\t/**\n\t * Optional. Mask for specifying which parts of the Event should be returned.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional. Start of the checkpoint range to query (inclusive). Defaults to\n\t * genesis.\n\t *\n\t * @generated from protobuf field: optional uint64 start_checkpoint = 2;\n\t */\n\tstartCheckpoint?: bigint;\n\t/**\n\t * Optional. End of the checkpoint range to query (exclusive). Defaults to the\n\t * current indexed ledger tip.\n\t *\n\t * @generated from protobuf field: optional uint64 end_checkpoint = 3;\n\t */\n\tendCheckpoint?: bigint;\n\t/**\n\t * Optional. DNF filter over indexed dimensions.\n\t * If absent, all events in the range are returned.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.EventFilter filter = 4;\n\t */\n\tfilter?: EventFilter;\n\t/**\n\t * Optional cursor-bounded query options. If unspecified, reads in ascending\n\t * order with the default item limit. The server enforces a maximum item\n\t * limit and silently coerces larger values down to it. To paginate, pass\n\t * the last received `Watermark.cursor` as `options.after` (ascending) or\n\t * `options.before` (descending) on the next request.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;\n\t */\n\toptions?: QueryOptions;\n}\n/**\n * Response message for LedgerService.ListEvents.\n *\n * Every frame carries a `watermark` with a safe resume cursor. A frame\n * with `event` set delivers one matching item; a frame without it reports scan\n * progress or terminal completion. Watermarks never regress in the requested\n * ordering but may repeat.\n *\n * `end` is set exactly once, on the final frame of a successful stream. For\n * `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For\n * every other end reason, the final frame has no `event` payload.\n *\n * @generated from protobuf message sui.rpc.v2.ListEventsResponse\n */\nexport interface ListEventsResponse {\n\t/**\n\t * One matching event. Its ledger position -- containing checkpoint,\n\t * emitting transaction digest and offset, and index within that\n\t * transaction's event list -- is reported by the corresponding fields on\n\t * `Event`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Event event = 1;\n\t */\n\tevent?: Event;\n\t/**\n\t * Progress watermark as of this frame. Present on every frame. A\n\t * ScanLimit terminal watermark may repeat the previous frame's cursor when\n\t * its authoritative scan frontier was already emitted.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;\n\t */\n\twatermark?: Watermark;\n\t/**\n\t * Set exactly once, on the final frame of a successful query stream.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;\n\t */\n\tend?: QueryEnd;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoRequest$Type extends MessageType<GetServiceInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetServiceInfoRequest', []);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport const GetServiceInfoRequest = new GetServiceInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoResponse$Type extends MessageType<GetServiceInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetServiceInfoResponse', [\n\t\t\t{ no: 1, name: 'chain_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'chain', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'checkpoint_height',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 5, name: 'timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'lowest_available_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'lowest_available_checkpoint_objects',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 8, name: 'server', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport const GetServiceInfoResponse = new GetServiceInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectRequest$Type extends MessageType<GetObjectRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectRequest', [\n\t\t\t{ no: 1, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport const GetObjectRequest = new GetObjectRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResponse$Type extends MessageType<GetObjectResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectResponse', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport const GetObjectResponse = new GetObjectResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsRequest$Type extends MessageType<BatchGetObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetObjectsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'requests',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetObjectRequest,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport const BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsResponse$Type extends MessageType<BatchGetObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetObjectsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'objects',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetObjectResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport const BatchGetObjectsResponse = new BatchGetObjectsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResult$Type extends MessageType<GetObjectResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectResult', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', oneof: 'result', T: () => Object },\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResult\n */\nexport const GetObjectResult = new GetObjectResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionRequest$Type extends MessageType<GetTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionRequest', [\n\t\t\t{ no: 1, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport const GetTransactionRequest = new GetTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResponse$Type extends MessageType<GetTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport const GetTransactionResponse = new GetTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsRequest$Type extends MessageType<BatchGetTransactionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetTransactionsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'digests',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport const BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsResponse$Type extends MessageType<BatchGetTransactionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetTransactionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transactions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetTransactionResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport const BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResult$Type extends MessageType<GetTransactionResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transaction',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'result',\n\t\t\t\tT: () => ExecutedTransaction,\n\t\t\t},\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport const GetTransactionResult = new GetTransactionResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointRequest$Type extends MessageType<GetCheckpointRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCheckpointRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'sequence_number',\n\t\t\t\tkind: 'scalar',\n\t\t\t\toneof: 'checkpointId',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', oneof: 'checkpointId', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport const GetCheckpointRequest = new GetCheckpointRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointResponse$Type extends MessageType<GetCheckpointResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCheckpointResponse', [\n\t\t\t{ no: 1, name: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport const GetCheckpointResponse = new GetCheckpointResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochRequest$Type extends MessageType<GetEpochRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetEpochRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport const GetEpochRequest = new GetEpochRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochResponse$Type extends MessageType<GetEpochResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetEpochResponse', [\n\t\t\t{ no: 1, name: 'epoch', kind: 'message', T: () => Epoch },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport const GetEpochResponse = new GetEpochResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListCheckpointsRequest$Type extends MessageType<ListCheckpointsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListCheckpointsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'start_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'end_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'filter', kind: 'message', T: () => TransactionFilter },\n\t\t\t{ no: 5, name: 'options', kind: 'message', T: () => QueryOptions },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListCheckpointsRequest\n */\nexport const ListCheckpointsRequest = new ListCheckpointsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListCheckpointsResponse$Type extends MessageType<ListCheckpointsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListCheckpointsResponse', [\n\t\t\t{ no: 1, name: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t\t{ no: 2, name: 'watermark', kind: 'message', T: () => Watermark },\n\t\t\t{ no: 3, name: 'end', kind: 'message', T: () => QueryEnd },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListCheckpointsResponse\n */\nexport const ListCheckpointsResponse = new ListCheckpointsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListTransactionsRequest$Type extends MessageType<ListTransactionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListTransactionsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'start_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'end_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'filter', kind: 'message', T: () => TransactionFilter },\n\t\t\t{ no: 5, name: 'options', kind: 'message', T: () => QueryOptions },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListTransactionsRequest\n */\nexport const ListTransactionsRequest = new ListTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListTransactionsResponse$Type extends MessageType<ListTransactionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListTransactionsResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t\t{ no: 2, name: 'watermark', kind: 'message', T: () => Watermark },\n\t\t\t{ no: 3, name: 'end', kind: 'message', T: () => QueryEnd },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListTransactionsResponse\n */\nexport const ListTransactionsResponse = new ListTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListEventsRequest$Type extends MessageType<ListEventsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListEventsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'start_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'end_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'filter', kind: 'message', T: () => EventFilter },\n\t\t\t{ no: 5, name: 'options', kind: 'message', T: () => QueryOptions },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListEventsRequest\n */\nexport const ListEventsRequest = new ListEventsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListEventsResponse$Type extends MessageType<ListEventsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListEventsResponse', [\n\t\t\t{ no: 1, name: 'event', kind: 'message', T: () => Event },\n\t\t\t{ no: 2, name: 'watermark', kind: 'message', T: () => Watermark },\n\t\t\t{ no: 3, name: 'end', kind: 'message', T: () => QueryEnd },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListEventsResponse\n */\nexport const ListEventsResponse = new ListEventsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.LedgerService\n */\nexport const LedgerService = new ServiceType('sui.rpc.v2.LedgerService', [\n\t{ name: 'GetServiceInfo', options: {}, I: GetServiceInfoRequest, O: GetServiceInfoResponse },\n\t{ name: 'GetObject', options: {}, I: GetObjectRequest, O: GetObjectResponse },\n\t{ name: 'BatchGetObjects', options: {}, I: BatchGetObjectsRequest, O: BatchGetObjectsResponse },\n\t{ name: 'GetTransaction', options: {}, I: GetTransactionRequest, O: GetTransactionResponse },\n\t{\n\t\tname: 'BatchGetTransactions',\n\t\toptions: {},\n\t\tI: BatchGetTransactionsRequest,\n\t\tO: BatchGetTransactionsResponse,\n\t},\n\t{ name: 'GetCheckpoint', options: {}, I: GetCheckpointRequest, O: GetCheckpointResponse },\n\t{ name: 'GetEpoch', options: {}, I: GetEpochRequest, O: GetEpochResponse },\n\t{\n\t\tname: 'ListCheckpoints',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: ListCheckpointsRequest,\n\t\tO: ListCheckpointsResponse,\n\t},\n\t{\n\t\tname: 'ListTransactions',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: ListTransactionsRequest,\n\t\tO: ListTransactionsResponse,\n\t},\n\t{\n\t\tname: 'ListEvents',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: ListEventsRequest,\n\t\tO: ListEventsResponse,\n\t},\n]);\n"],"mappings":";;;;;;;;;;;;;;AAgkBA,IAAM,6BAAN,cAAyC,YAAmC;CAC3E,cAAc;AACb,QAAM,oCA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AAS;IAAO;GACzD;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAW;GACjE;IAAE,IAAI;IAAG,MAAM;IAAO,MAAM;IAAW,SAAS;IAAU;GAC1D,CAAC;;;;;;AAMJ,MAAa,qBAAqB,IAAI,yBAAyB;;;;AAI/D,MAAa,gBAAgB,IAAI,YAAY,4BAA4B;CACxE;EAAE,MAAM;EAAkB,SAAS,EAAE;EAAE,GAAG;EAAuB,GAAG;EAAwB;CAC5F;EAAE,MAAM;EAAa,SAAS,EAAE;EAAE,GAAG;EAAkB,GAAG;EAAmB;CAC7E;EAAE,MAAM;EAAmB,SAAS,EAAE;EAAE,GAAG;EAAwB,GAAG;EAAyB;CAC/F;EAAE,MAAM;EAAkB,SAAS,EAAE;EAAE,GAAG;EAAuB,GAAG;EAAwB;CAC5F;EACC,MAAM;EACN,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD;EAAE,MAAM;EAAiB,SAAS,EAAE;EAAE,GAAG;EAAsB,GAAG;EAAuB;CACzF;EAAE,MAAM;EAAY,SAAS,EAAE;EAAE,GAAG;EAAiB,GAAG;EAAkB;CAC1E;EACC,MAAM;EACN,iBAAiB;EACjB,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD;EACC,MAAM;EACN,iBAAiB;EACjB,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD;EACC,MAAM;EACN,iBAAiB;EACjB,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD,CAAC"}
1
+ {"version":3,"file":"ledger_service.mjs","names":["Object"],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/ledger_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/ledger_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { Event } from './event.js';\nimport { EventFilter } from './filter.js';\nimport { QueryEnd } from './query_options.js';\nimport { Watermark } from './query_options.js';\nimport { QueryOptions } from './query_options.js';\nimport { TransactionFilter } from './filter.js';\nimport { Epoch } from './epoch.js';\nimport { Checkpoint } from './checkpoint.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { Status } from '../../../google/rpc/status.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport interface GetServiceInfoRequest {}\n/**\n * @generated from protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport interface GetServiceInfoResponse {\n\t/**\n\t * The chain identifier of the chain that this node is on.\n\t *\n\t * The chain identifier is the digest of the genesis checkpoint, the\n\t * checkpoint with sequence number 0.\n\t *\n\t * @generated from protobuf field: optional string chain_id = 1;\n\t */\n\tchainId?: string;\n\t/**\n\t * Human-readable name of the chain that this node is on.\n\t *\n\t * This is intended to be a human-readable name like `mainnet`, `testnet`, and so on.\n\t *\n\t * @generated from protobuf field: optional string chain = 2;\n\t */\n\tchain?: string;\n\t/**\n\t * Current epoch of the node based on its highest executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 3;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Checkpoint height of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 checkpoint_height = 4;\n\t */\n\tcheckpointHeight?: bigint;\n\t/**\n\t * Unix timestamp of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 5;\n\t */\n\ttimestamp?: Timestamp;\n\t/**\n\t * The lowest checkpoint for which checkpoints and transaction data are available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint = 6;\n\t */\n\tlowestAvailableCheckpoint?: bigint;\n\t/**\n\t * The lowest checkpoint for which object data is available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint_objects = 7;\n\t */\n\tlowestAvailableCheckpointObjects?: bigint;\n\t/**\n\t * Software version of the service. Similar to the `server` http header.\n\t *\n\t * @generated from protobuf field: optional string server = 8;\n\t */\n\tserver?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport interface GetObjectRequest {\n\t/**\n\t * Required. The `ObjectId` of the requested object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 1;\n\t */\n\tobjectId?: string;\n\t/**\n\t * Request a specific version of the object.\n\t * If no version is specified, and the object is live, then the latest\n\t * version of the object is returned.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport interface GetObjectResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Object object = 1;\n\t */\n\tobject?: Object;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport interface BatchGetObjectsRequest {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetObjectRequest requests = 1;\n\t */\n\trequests: GetObjectRequest[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport interface BatchGetObjectsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetObjectResult objects = 1;\n\t */\n\tobjects: GetObjectResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetObjectResult\n */\nexport interface GetObjectResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'object';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.Object object = 1;\n\t\t\t\t */\n\t\t\t\tobject: Object;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport interface GetTransactionRequest {\n\t/**\n\t * Required. The digest of the requested transaction.\n\t *\n\t * @generated from protobuf field: optional string digest = 1;\n\t */\n\tdigest?: string;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport interface GetTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport interface BatchGetTransactionsRequest {\n\t/**\n\t * Required. The digests of the requested transactions.\n\t *\n\t * @generated from protobuf field: repeated string digests = 1;\n\t */\n\tdigests: string[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport interface BatchGetTransactionsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2.GetTransactionResult transactions = 1;\n\t */\n\ttransactions: GetTransactionResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport interface GetTransactionResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'transaction';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t\t\t\t */\n\t\t\t\ttransaction: ExecutedTransaction;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport interface GetCheckpointRequest {\n\t/**\n\t * @generated from protobuf oneof: checkpoint_id\n\t */\n\tcheckpointId:\n\t\t| {\n\t\t\t\toneofKind: 'sequenceNumber';\n\t\t\t\t/**\n\t\t\t\t * The sequence number of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: uint64 sequence_number = 1;\n\t\t\t\t */\n\t\t\t\tsequenceNumber: bigint;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'digest';\n\t\t\t\t/**\n\t\t\t\t * The digest of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: string digest = 2;\n\t\t\t\t */\n\t\t\t\tdigest: string;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `sequence_number,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport interface GetCheckpointResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;\n\t */\n\tcheckpoint?: Checkpoint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport interface GetEpochRequest {\n\t/**\n\t * The requested epoch.\n\t * If no epoch is provided the current epoch will be returned.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `epoch`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport interface GetEpochResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.Epoch epoch = 1;\n\t */\n\tepoch?: Epoch;\n}\n/**\n * Request message for LedgerService.ListCheckpoints.\n *\n * @generated from protobuf message sui.rpc.v2.ListCheckpointsRequest\n */\nexport interface ListCheckpointsRequest {\n\t/**\n\t * Optional. Mask for specifying which parts of the Checkpoint should be\n\t * returned (e.g. summary, contents, signatures).\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional. Start of the checkpoint range to query (inclusive). Defaults to\n\t * genesis.\n\t *\n\t * @generated from protobuf field: optional uint64 start_checkpoint = 2;\n\t */\n\tstartCheckpoint?: bigint;\n\t/**\n\t * Optional. End of the checkpoint range to query (exclusive). Defaults to the\n\t * current indexed ledger tip.\n\t *\n\t * @generated from protobuf field: optional uint64 end_checkpoint = 3;\n\t */\n\tendCheckpoint?: bigint;\n\t/**\n\t * Optional. DNF filter over indexed transaction dimensions. A checkpoint\n\t * matches if any transaction it contains satisfies the filter. If absent,\n\t * all checkpoints in the range are returned.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.TransactionFilter filter = 4;\n\t */\n\tfilter?: TransactionFilter;\n\t/**\n\t * Optional cursor-bounded query options. If unspecified, reads in ascending\n\t * order with the default item limit. The server enforces a maximum item\n\t * limit and silently coerces larger values down to it. To paginate, pass\n\t * the last received `Watermark.cursor` as `options.after` (ascending) or\n\t * `options.before` (descending) on the next request.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;\n\t */\n\toptions?: QueryOptions;\n}\n/**\n * Response message for LedgerService.ListCheckpoints.\n *\n * Every frame carries a `watermark` with a safe resume cursor. A frame\n * with `checkpoint` set delivers one matching item; a frame without it reports\n * scan progress or terminal completion. Watermarks never regress in the\n * requested ordering but may repeat.\n *\n * `end` is set exactly once, on the final frame of a successful stream. For\n * `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For\n * every other end reason, the final frame has no `checkpoint` payload.\n *\n * @generated from protobuf message sui.rpc.v2.ListCheckpointsResponse\n */\nexport interface ListCheckpointsResponse {\n\t/**\n\t * One matching checkpoint.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Checkpoint checkpoint = 1;\n\t */\n\tcheckpoint?: Checkpoint;\n\t/**\n\t * Progress watermark as of this frame. Present on every frame. A\n\t * ScanLimit terminal watermark may repeat the previous frame's cursor when\n\t * its authoritative scan frontier was already emitted.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;\n\t */\n\twatermark?: Watermark;\n\t/**\n\t * Set exactly once, on the final frame of a successful query stream.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;\n\t */\n\tend?: QueryEnd;\n}\n/**\n * Request message for LedgerService.ListTransactions.\n *\n * @generated from protobuf message sui.rpc.v2.ListTransactionsRequest\n */\nexport interface ListTransactionsRequest {\n\t/**\n\t * Optional. Mask for specifying which parts of the ExecutedTransaction\n\t * should be returned.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional. Start of the checkpoint range to query (inclusive). Defaults to\n\t * genesis.\n\t *\n\t * @generated from protobuf field: optional uint64 start_checkpoint = 2;\n\t */\n\tstartCheckpoint?: bigint;\n\t/**\n\t * Optional. End of the checkpoint range to query (exclusive). Defaults to the\n\t * current indexed ledger tip.\n\t *\n\t * @generated from protobuf field: optional uint64 end_checkpoint = 3;\n\t */\n\tendCheckpoint?: bigint;\n\t/**\n\t * Optional. DNF filter over indexed dimensions.\n\t * If absent, all transactions in the range are returned.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.TransactionFilter filter = 4;\n\t */\n\tfilter?: TransactionFilter;\n\t/**\n\t * Optional cursor-bounded query options. If unspecified, reads in ascending\n\t * order with the default item limit. The server enforces a maximum item\n\t * limit and silently coerces larger values down to it. To paginate, pass\n\t * the last received `Watermark.cursor` as `options.after` (ascending) or\n\t * `options.before` (descending) on the next request.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;\n\t */\n\toptions?: QueryOptions;\n\t/**\n\t * Optional. Transaction position within `start_checkpoint` at which the\n\t * query starts (inclusive): within `start_checkpoint`, only transactions\n\t * whose `ExecutedTransaction.transaction_index` is at least this value are\n\t * returned. Unset starts at the beginning of `start_checkpoint`. An index at\n\t * or past the checkpoint's transaction count starts at the next checkpoint.\n\t * Requires `start_checkpoint`. When this position leaves transactions of\n\t * `start_checkpoint` out, a descending query does not report that checkpoint\n\t * as covered in `Watermark.checkpoint`.\n\t *\n\t * Combines with `options.after` by intersection: the query starts at\n\t * whichever of the two is later in ledger order.\n\t *\n\t * Servers that predate this field ignore it and start at the beginning of\n\t * `start_checkpoint`, so clients must still drop transactions before this\n\t * position themselves.\n\t *\n\t * @generated from protobuf field: optional uint64 start_transaction_index = 6;\n\t */\n\tstartTransactionIndex?: bigint;\n\t/**\n\t * Optional. Transaction position within the last checkpoint of the range,\n\t * `end_checkpoint - 1`, at which the query ends (exclusive): within that\n\t * checkpoint, only transactions whose `ExecutedTransaction.transaction_index`\n\t * is below this value are returned, so 0 returns none of it. Unset ends after\n\t * the whole checkpoint. An index at or past the checkpoint's transaction\n\t * count ends after the whole checkpoint. Requires `end_checkpoint`. A query\n\t * that stops at this position ends with `QUERY_END_REASON_CHECKPOINT_BOUND`.\n\t * When this position leaves transactions of that checkpoint out, an\n\t * ascending query does not report it as covered in `Watermark.checkpoint`.\n\t *\n\t * Combines with `options.before` by intersection: the query ends at\n\t * whichever of the two is earlier in ledger order.\n\t *\n\t * Servers that predate this field ignore it and return the whole\n\t * checkpoint, so clients must still drop transactions at or after this\n\t * position themselves.\n\t *\n\t * @generated from protobuf field: optional uint64 end_transaction_index = 7;\n\t */\n\tendTransactionIndex?: bigint;\n}\n/**\n * Response message for LedgerService.ListTransactions.\n *\n * Every frame carries a `watermark` with a safe resume cursor. A frame\n * with `transaction` set delivers one matching item; a frame without it reports\n * scan progress or terminal completion. Watermarks never regress in the\n * requested ordering but may repeat.\n *\n * `end` is set exactly once, on the final frame of a successful stream. For\n * `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For\n * every other end reason, the final frame has no `transaction` payload.\n *\n * @generated from protobuf message sui.rpc.v2.ListTransactionsResponse\n */\nexport interface ListTransactionsResponse {\n\t/**\n\t * One matching transaction. Its position within the containing checkpoint\n\t * is reported by `ExecutedTransaction.transaction_index`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n\t/**\n\t * Progress watermark as of this frame. Present on every frame. A\n\t * ScanLimit terminal watermark may repeat the previous frame's cursor when\n\t * its authoritative scan frontier was already emitted.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;\n\t */\n\twatermark?: Watermark;\n\t/**\n\t * Set exactly once, on the final frame of a successful query stream.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;\n\t */\n\tend?: QueryEnd;\n}\n/**\n * Request message for LedgerService.ListEvents.\n *\n * @generated from protobuf message sui.rpc.v2.ListEventsRequest\n */\nexport interface ListEventsRequest {\n\t/**\n\t * Optional. Mask for specifying which parts of the Event should be returned.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 1;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional. Start of the checkpoint range to query (inclusive). Defaults to\n\t * genesis.\n\t *\n\t * @generated from protobuf field: optional uint64 start_checkpoint = 2;\n\t */\n\tstartCheckpoint?: bigint;\n\t/**\n\t * Optional. End of the checkpoint range to query (exclusive). Defaults to the\n\t * current indexed ledger tip.\n\t *\n\t * @generated from protobuf field: optional uint64 end_checkpoint = 3;\n\t */\n\tendCheckpoint?: bigint;\n\t/**\n\t * Optional. DNF filter over indexed dimensions.\n\t * If absent, all events in the range are returned.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.EventFilter filter = 4;\n\t */\n\tfilter?: EventFilter;\n\t/**\n\t * Optional cursor-bounded query options. If unspecified, reads in ascending\n\t * order with the default item limit. The server enforces a maximum item\n\t * limit and silently coerces larger values down to it. To paginate, pass\n\t * the last received `Watermark.cursor` as `options.after` (ascending) or\n\t * `options.before` (descending) on the next request.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryOptions options = 5;\n\t */\n\toptions?: QueryOptions;\n\t/**\n\t * Optional. Transaction position within `start_checkpoint` at which the\n\t * query starts (inclusive): within `start_checkpoint`, only events of\n\t * transactions whose `Event.transaction_index` is at least this value are\n\t * returned. Unset starts at the beginning of `start_checkpoint`. An index at\n\t * or past the checkpoint's transaction count starts at the next checkpoint,\n\t * ignoring `start_event_index`. Requires `start_checkpoint`. When this\n\t * position leaves events of `start_checkpoint` out, a descending query does\n\t * not report that checkpoint as covered in `Watermark.checkpoint`.\n\t *\n\t * Combines with `options.after` by intersection: the query starts at\n\t * whichever of the two is later in ledger order.\n\t *\n\t * Servers that predate this field ignore it and start at the beginning of\n\t * `start_checkpoint`, so clients must still drop events before this\n\t * position themselves.\n\t *\n\t * @generated from protobuf field: optional uint64 start_transaction_index = 6;\n\t */\n\tstartTransactionIndex?: bigint;\n\t/**\n\t * Optional. Event position within the transaction at\n\t * `start_transaction_index` at which the query starts (inclusive): within\n\t * that transaction, only events whose `Event.event_index` is at least this\n\t * value are returned. Unset starts at the transaction's first event. An\n\t * index past the transaction's last event starts at the next transaction.\n\t * Requires `start_transaction_index`.\n\t *\n\t * Servers that predate this field ignore it, as for\n\t * `start_transaction_index`.\n\t *\n\t * @generated from protobuf field: optional uint32 start_event_index = 7;\n\t */\n\tstartEventIndex?: number;\n\t/**\n\t * Optional. Transaction position within the last checkpoint of the range,\n\t * `end_checkpoint - 1`, at which the query ends (exclusive): within that\n\t * checkpoint, only events of transactions whose `Event.transaction_index` is\n\t * below this value are returned, plus, with `end_event_index`, the events\n\t * of the transaction at this index that precede it. Unset ends after the\n\t * whole checkpoint. An index at or past the checkpoint's transaction count\n\t * ends after the whole checkpoint. Requires `end_checkpoint`. A query that\n\t * stops at this position ends with `QUERY_END_REASON_CHECKPOINT_BOUND`.\n\t * When this position leaves events of that checkpoint out, an ascending\n\t * query does not report it as covered in `Watermark.checkpoint`.\n\t *\n\t * Combines with `options.before` by intersection: the query ends at\n\t * whichever of the two is earlier in ledger order.\n\t *\n\t * Servers that predate this field ignore it and return the whole\n\t * checkpoint, so clients must still drop events at or after this position\n\t * themselves.\n\t *\n\t * @generated from protobuf field: optional uint64 end_transaction_index = 8;\n\t */\n\tendTransactionIndex?: bigint;\n\t/**\n\t * Optional. Event position within the transaction at\n\t * `end_transaction_index` at which the query ends (exclusive): events of\n\t * that transaction whose `Event.event_index` is below this value are also\n\t * returned. Unset, like 0, returns none of the transaction's events. An\n\t * index past the transaction's last event returns all of them. Requires\n\t * `end_transaction_index`.\n\t *\n\t * Servers that predate this field ignore it, as for\n\t * `end_transaction_index`.\n\t *\n\t * @generated from protobuf field: optional uint32 end_event_index = 9;\n\t */\n\tendEventIndex?: number;\n}\n/**\n * Response message for LedgerService.ListEvents.\n *\n * Every frame carries a `watermark` with a safe resume cursor. A frame\n * with `event` set delivers one matching item; a frame without it reports scan\n * progress or terminal completion. Watermarks never regress in the requested\n * ordering but may repeat.\n *\n * `end` is set exactly once, on the final frame of a successful stream. For\n * `QUERY_END_REASON_ITEM_LIMIT`, that frame also carries the final item. For\n * every other end reason, the final frame has no `event` payload.\n *\n * @generated from protobuf message sui.rpc.v2.ListEventsResponse\n */\nexport interface ListEventsResponse {\n\t/**\n\t * One matching event. Its ledger position -- containing checkpoint,\n\t * emitting transaction digest and offset, and index within that\n\t * transaction's event list -- is reported by the corresponding fields on\n\t * `Event`.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Event event = 1;\n\t */\n\tevent?: Event;\n\t/**\n\t * Progress watermark as of this frame. Present on every frame. A\n\t * ScanLimit terminal watermark may repeat the previous frame's cursor when\n\t * its authoritative scan frontier was already emitted.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Watermark watermark = 2;\n\t */\n\twatermark?: Watermark;\n\t/**\n\t * Set exactly once, on the final frame of a successful query stream.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.QueryEnd end = 3;\n\t */\n\tend?: QueryEnd;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoRequest$Type extends MessageType<GetServiceInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetServiceInfoRequest', []);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoRequest\n */\nexport const GetServiceInfoRequest = new GetServiceInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoResponse$Type extends MessageType<GetServiceInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetServiceInfoResponse', [\n\t\t\t{ no: 1, name: 'chain_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'chain', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'checkpoint_height',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 5, name: 'timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'lowest_available_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'lowest_available_checkpoint_objects',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 8, name: 'server', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetServiceInfoResponse\n */\nexport const GetServiceInfoResponse = new GetServiceInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectRequest$Type extends MessageType<GetObjectRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectRequest', [\n\t\t\t{ no: 1, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectRequest\n */\nexport const GetObjectRequest = new GetObjectRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResponse$Type extends MessageType<GetObjectResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectResponse', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResponse\n */\nexport const GetObjectResponse = new GetObjectResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsRequest$Type extends MessageType<BatchGetObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetObjectsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'requests',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetObjectRequest,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsRequest\n */\nexport const BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsResponse$Type extends MessageType<BatchGetObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetObjectsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'objects',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetObjectResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetObjectsResponse\n */\nexport const BatchGetObjectsResponse = new BatchGetObjectsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResult$Type extends MessageType<GetObjectResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetObjectResult', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', oneof: 'result', T: () => Object },\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetObjectResult\n */\nexport const GetObjectResult = new GetObjectResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionRequest$Type extends MessageType<GetTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionRequest', [\n\t\t\t{ no: 1, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionRequest\n */\nexport const GetTransactionRequest = new GetTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResponse$Type extends MessageType<GetTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResponse\n */\nexport const GetTransactionResponse = new GetTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsRequest$Type extends MessageType<BatchGetTransactionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetTransactionsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'digests',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsRequest\n */\nexport const BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsResponse$Type extends MessageType<BatchGetTransactionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.BatchGetTransactionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transactions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => GetTransactionResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.BatchGetTransactionsResponse\n */\nexport const BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResult$Type extends MessageType<GetTransactionResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetTransactionResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transaction',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'result',\n\t\t\t\tT: () => ExecutedTransaction,\n\t\t\t},\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetTransactionResult\n */\nexport const GetTransactionResult = new GetTransactionResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointRequest$Type extends MessageType<GetCheckpointRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCheckpointRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'sequence_number',\n\t\t\t\tkind: 'scalar',\n\t\t\t\toneof: 'checkpointId',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', oneof: 'checkpointId', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointRequest\n */\nexport const GetCheckpointRequest = new GetCheckpointRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointResponse$Type extends MessageType<GetCheckpointResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCheckpointResponse', [\n\t\t\t{ no: 1, name: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCheckpointResponse\n */\nexport const GetCheckpointResponse = new GetCheckpointResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochRequest$Type extends MessageType<GetEpochRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetEpochRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochRequest\n */\nexport const GetEpochRequest = new GetEpochRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochResponse$Type extends MessageType<GetEpochResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetEpochResponse', [\n\t\t\t{ no: 1, name: 'epoch', kind: 'message', T: () => Epoch },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetEpochResponse\n */\nexport const GetEpochResponse = new GetEpochResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListCheckpointsRequest$Type extends MessageType<ListCheckpointsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListCheckpointsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'start_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'end_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'filter', kind: 'message', T: () => TransactionFilter },\n\t\t\t{ no: 5, name: 'options', kind: 'message', T: () => QueryOptions },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListCheckpointsRequest\n */\nexport const ListCheckpointsRequest = new ListCheckpointsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListCheckpointsResponse$Type extends MessageType<ListCheckpointsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListCheckpointsResponse', [\n\t\t\t{ no: 1, name: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t\t{ no: 2, name: 'watermark', kind: 'message', T: () => Watermark },\n\t\t\t{ no: 3, name: 'end', kind: 'message', T: () => QueryEnd },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListCheckpointsResponse\n */\nexport const ListCheckpointsResponse = new ListCheckpointsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListTransactionsRequest$Type extends MessageType<ListTransactionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListTransactionsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'start_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'end_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'filter', kind: 'message', T: () => TransactionFilter },\n\t\t\t{ no: 5, name: 'options', kind: 'message', T: () => QueryOptions },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'start_transaction_index',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'end_transaction_index',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListTransactionsRequest\n */\nexport const ListTransactionsRequest = new ListTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListTransactionsResponse$Type extends MessageType<ListTransactionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListTransactionsResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t\t{ no: 2, name: 'watermark', kind: 'message', T: () => Watermark },\n\t\t\t{ no: 3, name: 'end', kind: 'message', T: () => QueryEnd },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListTransactionsResponse\n */\nexport const ListTransactionsResponse = new ListTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListEventsRequest$Type extends MessageType<ListEventsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListEventsRequest', [\n\t\t\t{ no: 1, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'start_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'end_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 4, name: 'filter', kind: 'message', T: () => EventFilter },\n\t\t\t{ no: 5, name: 'options', kind: 'message', T: () => QueryOptions },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'start_transaction_index',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 7, name: 'start_event_index', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'end_transaction_index',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 9, name: 'end_event_index', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListEventsRequest\n */\nexport const ListEventsRequest = new ListEventsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListEventsResponse$Type extends MessageType<ListEventsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListEventsResponse', [\n\t\t\t{ no: 1, name: 'event', kind: 'message', T: () => Event },\n\t\t\t{ no: 2, name: 'watermark', kind: 'message', T: () => Watermark },\n\t\t\t{ no: 3, name: 'end', kind: 'message', T: () => QueryEnd },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListEventsResponse\n */\nexport const ListEventsResponse = new ListEventsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.LedgerService\n */\nexport const LedgerService = new ServiceType('sui.rpc.v2.LedgerService', [\n\t{ name: 'GetServiceInfo', options: {}, I: GetServiceInfoRequest, O: GetServiceInfoResponse },\n\t{ name: 'GetObject', options: {}, I: GetObjectRequest, O: GetObjectResponse },\n\t{ name: 'BatchGetObjects', options: {}, I: BatchGetObjectsRequest, O: BatchGetObjectsResponse },\n\t{ name: 'GetTransaction', options: {}, I: GetTransactionRequest, O: GetTransactionResponse },\n\t{\n\t\tname: 'BatchGetTransactions',\n\t\toptions: {},\n\t\tI: BatchGetTransactionsRequest,\n\t\tO: BatchGetTransactionsResponse,\n\t},\n\t{ name: 'GetCheckpoint', options: {}, I: GetCheckpointRequest, O: GetCheckpointResponse },\n\t{ name: 'GetEpoch', options: {}, I: GetEpochRequest, O: GetEpochResponse },\n\t{\n\t\tname: 'ListCheckpoints',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: ListCheckpointsRequest,\n\t\tO: ListCheckpointsResponse,\n\t},\n\t{\n\t\tname: 'ListTransactions',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: ListTransactionsRequest,\n\t\tO: ListTransactionsResponse,\n\t},\n\t{\n\t\tname: 'ListEvents',\n\t\tserverStreaming: true,\n\t\toptions: {},\n\t\tI: ListEventsRequest,\n\t\tO: ListEventsResponse,\n\t},\n]);\n"],"mappings":";;;;;;;;;;;;;;AA+qBA,IAAM,6BAAN,cAAyC,YAAmC;CAC3E,cAAc;AACb,QAAM,oCAAoC,EAAE,CAAC;;;;;;AAM/C,MAAa,wBAAwB,IAAI,4BAA4B;AAErE,IAAM,8BAAN,cAA0C,YAAoC;CAC7E,cAAc;AACb,QAAM,qCAAqC;GAC1C;IAAE,IAAI;IAAG,MAAM;IAAY,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAClF;IAAE,IAAI;IAAG,MAAM;IAAS,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC/E;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAW,SAAS;IAAW;GACjE;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,KAAK;IACL,GAAG;IACH,GAAG;IACH;GACD;IAAE,IAAI;IAAG,MAAM;IAAU,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAChF,CAAC;;;;;;AAMJ,MAAa,yBAAyB,IAAI,6BAA6B;AAEvE,IAAM,wBAAN,cAAoC,YAA8B;CACjE,cAAc;AACb,QAAM,+BAA+B;GACpC;IAAE,IAAI;IAAG,MAAM;IAAa,MAAM;IAAU,KAA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,GAAG;EAAyB;CAC/F;EAAE,MAAM;EAAkB,SAAS,EAAE;EAAE,GAAG;EAAuB,GAAG;EAAwB;CAC5F;EACC,MAAM;EACN,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD;EAAE,MAAM;EAAiB,SAAS,EAAE;EAAE,GAAG;EAAsB,GAAG;EAAuB;CACzF;EAAE,MAAM;EAAY,SAAS,EAAE;EAAE,GAAG;EAAiB,GAAG;EAAkB;CAC1E;EACC,MAAM;EACN,iBAAiB;EACjB,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD;EACC,MAAM;EACN,iBAAiB;EACjB,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD;EACC,MAAM;EACN,iBAAiB;EACjB,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { GetDatatypeRequest, GetDatatypeResponse, GetFunctionRequest, GetFunctionResponse, GetPackageRequest, GetPackageResponse, ListPackageVersionsRequest, ListPackageVersionsResponse } from "./move_package_service.mjs";
2
- import * as _protobuf_ts_runtime2 from "@protobuf-ts/runtime";
3
- import * as _protobuf_ts_runtime_rpc2 from "@protobuf-ts/runtime-rpc";
2
+ import * as _protobuf_ts_runtime0 from "@protobuf-ts/runtime";
3
+ import * as _protobuf_ts_runtime_rpc0 from "@protobuf-ts/runtime-rpc";
4
4
  import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
5
5
 
6
6
  //#region src/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts
@@ -31,9 +31,9 @@ interface IMovePackageServiceClient {
31
31
  declare class MovePackageServiceClient implements IMovePackageServiceClient, ServiceInfo {
32
32
  private readonly _transport;
33
33
  typeName: string;
34
- methods: _protobuf_ts_runtime_rpc2.MethodInfo<any, any>[];
34
+ methods: _protobuf_ts_runtime_rpc0.MethodInfo<any, any>[];
35
35
  options: {
36
- [extensionName: string]: _protobuf_ts_runtime2.JsonValue;
36
+ [extensionName: string]: _protobuf_ts_runtime0.JsonValue;
37
37
  };
38
38
  constructor(_transport: RpcTransport);
39
39
  /**
@@ -8,11 +8,34 @@ import { ServiceType } from "@protobuf-ts/runtime-rpc";
8
8
  */
9
9
  interface GetPackageRequest {
10
10
  /**
11
- * Required. The `storage_id` of the requested package.
11
+ * Required. The `storage_id` of any version of the requested package.
12
+ *
13
+ * When no `selector` is set, the package stored at exactly this id is
14
+ * returned. When a `selector` is set, `package_id` only identifies the
15
+ * package's upgrade lineage (via its original id), and the selected
16
+ * version within that lineage is returned.
12
17
  *
13
18
  * @generated from protobuf field: optional string package_id = 1;
14
19
  */
15
20
  packageId?: string;
21
+ /**
22
+ * @generated from protobuf oneof: selector
23
+ */
24
+ selector: {
25
+ oneofKind: 'version';
26
+ /**
27
+ * @generated from protobuf field: uint64 version = 2;
28
+ */
29
+ version: bigint;
30
+ } | {
31
+ oneofKind: 'atCheckpoint';
32
+ /**
33
+ * @generated from protobuf field: uint64 at_checkpoint = 3;
34
+ */
35
+ atCheckpoint: bigint;
36
+ } | {
37
+ oneofKind: undefined;
38
+ };
16
39
  }
17
40
  /**
18
41
  * @generated from protobuf message sui.rpc.v2.GetPackageResponse
@@ -1 +1 @@
1
- {"version":3,"file":"move_package_service.d.mts","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/move_package_service.ts"],"mappings":";;;;;AAmBA;;;AAAA,UAAiB,iBAAA;EAMP;AAKV;;;;EALC,SAAA;AAAA;;;;UAKgB,kBAAA;EAuBhB;;;;AAWD;EA5BC,OAAA,GAAU,OAAA;AAAA;;;AAuCX;UAlCiB,kBAAA;;;;;;EAMhB,SAAA;EA8CI;AAKL;;;;EA7CC,UAAA;EAwDgB;;;;;EAlDhB,IAAA;AAAA;;;;UAKgB,mBAAA;EA0E2B;;;;;EApE3C,QAAA,GAAW,kBAAA;AAAA;;;AAwFZ;UAnFiB,kBAAA;;;;AAgGhB;;EA1FA,SAAA;EA4F+C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BAAA,EAAkB,uBAAA;AAAA,cAEzB,uBAAA,SAAgC,WAAA,CAAY,kBAAA;;;;AA2GlD;;cA/Fa,kBAAA,EAAkB,uBAAA;AAAA,cAEzB,wBAAA,SAAiC,WAAA,CAAY,mBAAA;;;;;;cAUtC,mBAAA,EAAmB,wBAAA;AAAA,cAE1B,uBAAA,SAAgC,WAAA,CAAY,kBAAA;;;;;;cAYrC,kBAAA,EAAkB,uBAAA;AAAA,cAEzB,wBAAA,SAAiC,WAAA,CAAY,mBAAA;;;;;;cAUtC,mBAAA,EAAmB,wBAAA;AAAA,cAE1B,+BAAA,SAAwC,WAAA,CAAY,0BAAA;;;;;;cAY7C,0BAAA,EAA0B,+BAAA;AAAA,cAEjC,gCAAA,SAAyC,WAAA,CAAY,2BAAA;;;;;;cAiB9C,2BAAA,EAA2B,gCAAA;AAAA,cAElC,mBAAA,SAA4B,WAAA,CAAY,cAAA;;;;;;cAkBjC,cAAA,EAAc,mBAAA;;;;cAId,kBAAA,EAAkB,WAAA"}
@@ -5,13 +5,31 @@ import { ServiceType } from "@protobuf-ts/runtime-rpc";
5
5
  //#region src/grpc/proto/sui/rpc/v2/move_package_service.ts
6
6
  var GetPackageRequest$Type = class extends MessageType {
7
7
  constructor() {
8
- super("sui.rpc.v2.GetPackageRequest", [{
9
- no: 1,
10
- name: "package_id",
11
- kind: "scalar",
12
- opt: true,
13
- T: 9
14
- }]);
8
+ super("sui.rpc.v2.GetPackageRequest", [
9
+ {
10
+ no: 1,
11
+ name: "package_id",
12
+ kind: "scalar",
13
+ opt: true,
14
+ T: 9
15
+ },
16
+ {
17
+ no: 2,
18
+ name: "version",
19
+ kind: "scalar",
20
+ oneof: "selector",
21
+ T: 4,
22
+ L: 0
23
+ },
24
+ {
25
+ no: 3,
26
+ name: "at_checkpoint",
27
+ kind: "scalar",
28
+ oneof: "selector",
29
+ T: 4,
30
+ L: 0
31
+ }
32
+ ]);
15
33
  }
16
34
  };
17
35
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"move_package_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/move_package_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/move_package_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { FunctionDescriptor } from './move_package.js';\nimport { DatatypeDescriptor } from './move_package.js';\nimport { Package } from './move_package.js';\n/**\n * @generated from protobuf message sui.rpc.v2.GetPackageRequest\n */\nexport interface GetPackageRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetPackageResponse\n */\nexport interface GetPackageResponse {\n\t/**\n\t * The package.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Package package = 1;\n\t */\n\tpackage?: Package;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetDatatypeRequest\n */\nexport interface GetDatatypeRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * Required. The name of the requested module.\n\t *\n\t * @generated from protobuf field: optional string module_name = 2;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * Required. The name of the requested datatype.\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetDatatypeResponse\n */\nexport interface GetDatatypeResponse {\n\t/**\n\t * The datatype.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.DatatypeDescriptor datatype = 1;\n\t */\n\tdatatype?: DatatypeDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetFunctionRequest\n */\nexport interface GetFunctionRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * Required. The name of the requested module.\n\t *\n\t * @generated from protobuf field: optional string module_name = 2;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * Required. The name of the requested function.\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetFunctionResponse\n */\nexport interface GetFunctionResponse {\n\t/**\n\t * The function.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.FunctionDescriptor function = 1;\n\t */\n\tfunction?: FunctionDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListPackageVersionsRequest\n */\nexport interface ListPackageVersionsRequest {\n\t/**\n\t * Required. The `storage_id` of any version of the package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * The maximum number of versions to return. The service may return fewer than this value.\n\t * If unspecified, at most `1000` entries will be returned.\n\t * The maximum value is `10000`; values above `10000` will be coerced to `10000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListPackageVersions` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListPackageVersions` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListPackageVersionsResponse\n */\nexport interface ListPackageVersionsResponse {\n\t/**\n\t * List of all package versions, ordered by version.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.PackageVersion versions = 1;\n\t */\n\tversions: PackageVersion[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * A simplified representation of a package version\n *\n * @generated from protobuf message sui.rpc.v2.PackageVersion\n */\nexport interface PackageVersion {\n\t/**\n\t * The storage ID of this package version\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * The version number\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageRequest$Type extends MessageType<GetPackageRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetPackageRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetPackageRequest\n */\nexport const GetPackageRequest = new GetPackageRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageResponse$Type extends MessageType<GetPackageResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetPackageResponse', [\n\t\t\t{ no: 1, name: 'package', kind: 'message', T: () => Package },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetPackageResponse\n */\nexport const GetPackageResponse = new GetPackageResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeRequest$Type extends MessageType<GetDatatypeRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetDatatypeRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetDatatypeRequest\n */\nexport const GetDatatypeRequest = new GetDatatypeRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeResponse$Type extends MessageType<GetDatatypeResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetDatatypeResponse', [\n\t\t\t{ no: 1, name: 'datatype', kind: 'message', T: () => DatatypeDescriptor },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetDatatypeResponse\n */\nexport const GetDatatypeResponse = new GetDatatypeResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionRequest$Type extends MessageType<GetFunctionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetFunctionRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetFunctionRequest\n */\nexport const GetFunctionRequest = new GetFunctionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionResponse$Type extends MessageType<GetFunctionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetFunctionResponse', [\n\t\t\t{ no: 1, name: 'function', kind: 'message', T: () => FunctionDescriptor },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetFunctionResponse\n */\nexport const GetFunctionResponse = new GetFunctionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsRequest$Type extends MessageType<ListPackageVersionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListPackageVersionsRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListPackageVersionsRequest\n */\nexport const ListPackageVersionsRequest = new ListPackageVersionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsResponse$Type extends MessageType<ListPackageVersionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListPackageVersionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'versions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => PackageVersion,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListPackageVersionsResponse\n */\nexport const ListPackageVersionsResponse = new ListPackageVersionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PackageVersion$Type extends MessageType<PackageVersion> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.PackageVersion', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.PackageVersion\n */\nexport const PackageVersion = new PackageVersion$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.MovePackageService\n */\nexport const MovePackageService = new ServiceType('sui.rpc.v2.MovePackageService', [\n\t{ name: 'GetPackage', options: {}, I: GetPackageRequest, O: GetPackageResponse },\n\t{ name: 'GetDatatype', options: {}, I: GetDatatypeRequest, O: GetDatatypeResponse },\n\t{ name: 'GetFunction', options: {}, I: GetFunctionRequest, O: GetFunctionResponse },\n\t{\n\t\tname: 'ListPackageVersions',\n\t\toptions: {},\n\t\tI: ListPackageVersionsRequest,\n\t\tO: ListPackageVersionsResponse,\n\t},\n]);\n"],"mappings":";;;;;AA6KA,IAAM,yBAAN,cAAqC,YAA+B;CACnE,cAAc;AACb,QAAM,gCAAgC,CACrC;GAAE,IAAI;GAAG,MAAM;GAAc,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,CACpF,CAAC;;;;;;AAMJ,MAAa,oBAAoB,IAAI,wBAAwB;AAE7D,IAAM,0BAAN,cAAsC,YAAgC;CACrE,cAAc;AACb,QAAM,iCAAiC,CACtC;GAAE,IAAI;GAAG,MAAM;GAAW,MAAM;GAAW,SAAS;GAAS,CAC7D,CAAC;;;;;;AAMJ,MAAa,qBAAqB,IAAI,yBAAyB;AAE/D,IAAM,0BAAN,cAAsC,YAAgC;CACrE,cAAc;AACb,QAAM,iCAAiC;GACtC;IAAE,IAAI;IAAG,MAAM;IAAc,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACpF;IAAE,IAAI;IAAG,MAAM;IAAe,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACrF;IAAE,IAAI;IAAG,MAAM;IAAQ,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GAC9E,CAAC;;;;;;AAMJ,MAAa,qBAAqB,IAAI,yBAAyB;AAE/D,IAAM,2BAAN,cAAuC,YAAiC;CACvE,cAAc;AACb,QAAM,kCAAkC,CACvC;GAAE,IAAI;GAAG,MAAM;GAAY,MAAM;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A4B;CAC7D,cAAc;AACb,QAAM,6BAA6B,CAClC;GAAE,IAAI;GAAG,MAAM;GAAc,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,EACpF;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,GAAG;GACH,GAAG;GACH,CACD,CAAC;;;;;;AAMJ,MAAa,iBAAiB,IAAI,qBAAqB;;;;AAIvD,MAAa,qBAAqB,IAAI,YAAY,iCAAiC;CAClF;EAAE,MAAM;EAAc,SAAS,EAAE;EAAE,GAAG;EAAmB,GAAG;EAAoB;CAChF;EAAE,MAAM;EAAe,SAAS,EAAE;EAAE,GAAG;EAAoB,GAAG;EAAqB;CACnF;EAAE,MAAM;EAAe,SAAS,EAAE;EAAE,GAAG;EAAoB,GAAG;EAAqB;CACnF;EACC,MAAM;EACN,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD,CAAC"}
1
+ {"version":3,"file":"move_package_service.mjs","names":[],"sources":["../../../../../../src/grpc/proto/sui/rpc/v2/move_package_service.ts"],"sourcesContent":["// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n\n// @generated by protobuf-ts 2.9.6 with parameter force_server_none,optimize_code_size,ts_nocheck\n// @generated from protobuf file \"sui/rpc/v2/move_package_service.proto\" (package \"sui.rpc.v2\", syntax proto3)\n// tslint:disable\n// @ts-nocheck\n//\n// Copyright (c) Mysten Labs, Inc.\n// SPDX-License-Identifier: Apache-2.0\n//\nimport { ServiceType } from '@protobuf-ts/runtime-rpc';\nimport { MessageType } from '@protobuf-ts/runtime';\nimport { FunctionDescriptor } from './move_package.js';\nimport { DatatypeDescriptor } from './move_package.js';\nimport { Package } from './move_package.js';\n/**\n * @generated from protobuf message sui.rpc.v2.GetPackageRequest\n */\nexport interface GetPackageRequest {\n\t/**\n\t * Required. The `storage_id` of any version of the requested package.\n\t *\n\t * When no `selector` is set, the package stored at exactly this id is\n\t * returned. When a `selector` is set, `package_id` only identifies the\n\t * package's upgrade lineage (via its original id), and the selected\n\t * version within that lineage is returned.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * @generated from protobuf oneof: selector\n\t */\n\tselector:\n\t\t| {\n\t\t\t\toneofKind: 'version';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: uint64 version = 2;\n\t\t\t\t */\n\t\t\t\tversion: bigint;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'atCheckpoint';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: uint64 at_checkpoint = 3;\n\t\t\t\t */\n\t\t\t\tatCheckpoint: bigint;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetPackageResponse\n */\nexport interface GetPackageResponse {\n\t/**\n\t * The package.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Package package = 1;\n\t */\n\tpackage?: Package;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetDatatypeRequest\n */\nexport interface GetDatatypeRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * Required. The name of the requested module.\n\t *\n\t * @generated from protobuf field: optional string module_name = 2;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * Required. The name of the requested datatype.\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetDatatypeResponse\n */\nexport interface GetDatatypeResponse {\n\t/**\n\t * The datatype.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.DatatypeDescriptor datatype = 1;\n\t */\n\tdatatype?: DatatypeDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetFunctionRequest\n */\nexport interface GetFunctionRequest {\n\t/**\n\t * Required. The `storage_id` of the requested package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * Required. The name of the requested module.\n\t *\n\t * @generated from protobuf field: optional string module_name = 2;\n\t */\n\tmoduleName?: string;\n\t/**\n\t * Required. The name of the requested function.\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.GetFunctionResponse\n */\nexport interface GetFunctionResponse {\n\t/**\n\t * The function.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.FunctionDescriptor function = 1;\n\t */\n\tfunction?: FunctionDescriptor;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListPackageVersionsRequest\n */\nexport interface ListPackageVersionsRequest {\n\t/**\n\t * Required. The `storage_id` of any version of the package.\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * The maximum number of versions to return. The service may return fewer than this value.\n\t * If unspecified, at most `1000` entries will be returned.\n\t * The maximum value is `10000`; values above `10000` will be coerced to `10000`.\n\t *\n\t * @generated from protobuf field: optional uint32 page_size = 2;\n\t */\n\tpageSize?: number;\n\t/**\n\t * A page token, received from a previous `ListPackageVersions` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListPackageVersions` must\n\t * match the call that provided the page token.\n\t *\n\t * @generated from protobuf field: optional bytes page_token = 3;\n\t */\n\tpageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListPackageVersionsResponse\n */\nexport interface ListPackageVersionsResponse {\n\t/**\n\t * List of all package versions, ordered by version.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.PackageVersion versions = 1;\n\t */\n\tversions: PackageVersion[];\n\t/**\n\t * A token, which can be sent as `page_token` to retrieve the next page.\n\t * If this field is omitted, there are no subsequent pages.\n\t *\n\t * @generated from protobuf field: optional bytes next_page_token = 2;\n\t */\n\tnextPageToken?: Uint8Array;\n}\n/**\n * A simplified representation of a package version\n *\n * @generated from protobuf message sui.rpc.v2.PackageVersion\n */\nexport interface PackageVersion {\n\t/**\n\t * The storage ID of this package version\n\t *\n\t * @generated from protobuf field: optional string package_id = 1;\n\t */\n\tpackageId?: string;\n\t/**\n\t * The version number\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageRequest$Type extends MessageType<GetPackageRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetPackageRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\toneof: 'selector',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'at_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\toneof: 'selector',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetPackageRequest\n */\nexport const GetPackageRequest = new GetPackageRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetPackageResponse$Type extends MessageType<GetPackageResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetPackageResponse', [\n\t\t\t{ no: 1, name: 'package', kind: 'message', T: () => Package },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetPackageResponse\n */\nexport const GetPackageResponse = new GetPackageResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeRequest$Type extends MessageType<GetDatatypeRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetDatatypeRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetDatatypeRequest\n */\nexport const GetDatatypeRequest = new GetDatatypeRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetDatatypeResponse$Type extends MessageType<GetDatatypeResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetDatatypeResponse', [\n\t\t\t{ no: 1, name: 'datatype', kind: 'message', T: () => DatatypeDescriptor },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetDatatypeResponse\n */\nexport const GetDatatypeResponse = new GetDatatypeResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionRequest$Type extends MessageType<GetFunctionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetFunctionRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'module_name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetFunctionRequest\n */\nexport const GetFunctionRequest = new GetFunctionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetFunctionResponse$Type extends MessageType<GetFunctionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetFunctionResponse', [\n\t\t\t{ no: 1, name: 'function', kind: 'message', T: () => FunctionDescriptor },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetFunctionResponse\n */\nexport const GetFunctionResponse = new GetFunctionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsRequest$Type extends MessageType<ListPackageVersionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListPackageVersionsRequest', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'page_size', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListPackageVersionsRequest\n */\nexport const ListPackageVersionsRequest = new ListPackageVersionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListPackageVersionsResponse$Type extends MessageType<ListPackageVersionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListPackageVersionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'versions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: () => PackageVersion,\n\t\t\t},\n\t\t\t{ no: 2, name: 'next_page_token', kind: 'scalar', opt: true, T: 12 /*ScalarType.BYTES*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListPackageVersionsResponse\n */\nexport const ListPackageVersionsResponse = new ListPackageVersionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass PackageVersion$Type extends MessageType<PackageVersion> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.PackageVersion', [\n\t\t\t{ no: 1, name: 'package_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.PackageVersion\n */\nexport const PackageVersion = new PackageVersion$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.MovePackageService\n */\nexport const MovePackageService = new ServiceType('sui.rpc.v2.MovePackageService', [\n\t{ name: 'GetPackage', options: {}, I: GetPackageRequest, O: GetPackageResponse },\n\t{ name: 'GetDatatype', options: {}, I: GetDatatypeRequest, O: GetDatatypeResponse },\n\t{ name: 'GetFunction', options: {}, I: GetFunctionRequest, O: GetFunctionResponse },\n\t{\n\t\tname: 'ListPackageVersions',\n\t\toptions: {},\n\t\tI: ListPackageVersionsRequest,\n\t\tO: ListPackageVersionsResponse,\n\t},\n]);\n"],"mappings":";;;;;AAuMA,IAAM,yBAAN,cAAqC,YAA+B;CACnE,cAAc;AACb,QAAM,gCAAgC;GACrC;IAAE,IAAI;IAAG,MAAM;IAAc,MAAM;IAAU,KAAK;IAAM,GAAG;IAAyB;GACpF;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,GAAG;IACH,GAAG;IACH;GACD;IACC,IAAI;IACJ,MAAM;IACN,MAAM;IACN,OAAO;IACP,GAAG;IACH,GAAG;IACH;GACD,CAAC;;;;;;AAMJ,MAAa,oBAAoB,IAAI,wBAAwB;AAE7D,IAAM,0BAAN,cAAsC,YAAgC;CACrE,cAAc;AACb,QAAM,iCAAiC,CACtC;GAAE,IAAI;GAAG,MAAM;GAAW,MAAM;GAAW,SAAS;GAAS,CAC7D,CAAC;;;;;;AAMJ,MAAa,qBAAqB,IAAI,yBAAyB;AAE/D,IAAM,0BAAN,cAAsC,YAAgC;CACrE,cAAc;AACb,QAAM,iCAAiC;GACtC;IAAE,IAAI;IAAG,MAAM;IAAc,MAAM;IAAU,KAAK;IAAM,GA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,MAAa,6BAA6B,IAAI,iCAAiC;AAE/E,IAAM,mCAAN,cAA+C,YAAyC;CACvF,cAAc;AACb,QAAM,0CAA0C,CAC/C;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,QAAQ;GACR,SAAS;GACT,EACD;GAAE,IAAI;GAAG,MAAM;GAAmB,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,CACzF,CAAC;;;;;;AAMJ,MAAa,8BAA8B,IAAI,kCAAkC;AAEjF,IAAM,sBAAN,cAAkC,YAA4B;CAC7D,cAAc;AACb,QAAM,6BAA6B,CAClC;GAAE,IAAI;GAAG,MAAM;GAAc,MAAM;GAAU,KAAK;GAAM,GAAG;GAAyB,EACpF;GACC,IAAI;GACJ,MAAM;GACN,MAAM;GACN,KAAK;GACL,GAAG;GACH,GAAG;GACH,CACD,CAAC;;;;;;AAMJ,MAAa,iBAAiB,IAAI,qBAAqB;;;;AAIvD,MAAa,qBAAqB,IAAI,YAAY,iCAAiC;CAClF;EAAE,MAAM;EAAc,SAAS,EAAE;EAAE,GAAG;EAAmB,GAAG;EAAoB;CAChF;EAAE,MAAM;EAAe,SAAS,EAAE;EAAE,GAAG;EAAoB,GAAG;EAAqB;CACnF;EAAE,MAAM;EAAe,SAAS,EAAE;EAAE,GAAG;EAAoB,GAAG;EAAqB;CACnF;EACC,MAAM;EACN,SAAS,EAAE;EACX,GAAG;EACH,GAAG;EACH;CACD,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { LookupNameRequest, LookupNameResponse, ReverseLookupNameRequest, ReverseLookupNameResponse } from "./name_service.mjs";
2
- import * as _protobuf_ts_runtime6 from "@protobuf-ts/runtime";
3
- import * as _protobuf_ts_runtime_rpc6 from "@protobuf-ts/runtime-rpc";
2
+ import * as _protobuf_ts_runtime5 from "@protobuf-ts/runtime";
3
+ import * as _protobuf_ts_runtime_rpc5 from "@protobuf-ts/runtime-rpc";
4
4
  import { RpcOptions, RpcTransport, ServiceInfo, UnaryCall } from "@protobuf-ts/runtime-rpc";
5
5
 
6
6
  //#region src/grpc/proto/sui/rpc/v2/name_service.client.d.ts
@@ -23,9 +23,9 @@ interface INameServiceClient {
23
23
  declare class NameServiceClient implements INameServiceClient, ServiceInfo {
24
24
  private readonly _transport;
25
25
  typeName: string;
26
- methods: _protobuf_ts_runtime_rpc6.MethodInfo<any, any>[];
26
+ methods: _protobuf_ts_runtime_rpc5.MethodInfo<any, any>[];
27
27
  options: {
28
- [extensionName: string]: _protobuf_ts_runtime6.JsonValue;
28
+ [extensionName: string]: _protobuf_ts_runtime5.JsonValue;
29
29
  };
30
30
  constructor(_transport: RpcTransport);
31
31
  /**
@@ -1,6 +1,6 @@
1
+ import { Owner } from "./owner.mjs";
1
2
  import { Value } from "../../../google/protobuf/struct.mjs";
2
3
  import { Package } from "./move_package.mjs";
3
- import { Owner } from "./owner.mjs";
4
4
  import { Bcs } from "./bcs.mjs";
5
5
  import { MessageType } from "@protobuf-ts/runtime";
6
6