@mysten/sui 1.42.0 → 1.43.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 (424) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/dist/cjs/bcs/bcs.d.ts +47 -111
  3. package/dist/cjs/bcs/bcs.js +17 -17
  4. package/dist/cjs/bcs/bcs.js.map +2 -2
  5. package/dist/cjs/bcs/effects.d.ts +2 -6
  6. package/dist/cjs/bcs/effects.js +1 -1
  7. package/dist/cjs/bcs/effects.js.map +2 -2
  8. package/dist/cjs/bcs/index.d.ts +49 -117
  9. package/dist/cjs/bcs/type-tag-serializer.d.ts +1 -0
  10. package/dist/cjs/bcs/type-tag-serializer.js +5 -1
  11. package/dist/cjs/bcs/type-tag-serializer.js.map +2 -2
  12. package/dist/cjs/cryptography/intent.js +1 -1
  13. package/dist/cjs/cryptography/intent.js.map +2 -2
  14. package/dist/cjs/cryptography/keypair.js +1 -1
  15. package/dist/cjs/cryptography/keypair.js.map +2 -2
  16. package/dist/cjs/cryptography/publickey.js +1 -1
  17. package/dist/cjs/cryptography/publickey.js.map +2 -2
  18. package/dist/cjs/cryptography/signature.d.ts +2 -2
  19. package/dist/cjs/experimental/client.js +0 -4
  20. package/dist/cjs/experimental/client.js.map +2 -2
  21. package/dist/cjs/experimental/types.d.ts +1 -7
  22. package/dist/cjs/experimental/types.js.map +1 -1
  23. package/dist/cjs/graphql/generated/queries.d.ts +1 -1
  24. package/dist/cjs/graphql/generated/queries.js.map +1 -1
  25. package/dist/cjs/grpc/core.d.ts +3 -1
  26. package/dist/cjs/grpc/core.js +5 -3
  27. package/dist/cjs/grpc/core.js.map +2 -2
  28. package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +6 -6
  29. package/dist/cjs/grpc/proto/google/protobuf/any.js +20 -20
  30. package/dist/cjs/grpc/proto/google/protobuf/any.js.map +2 -2
  31. package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +4 -4
  32. package/dist/cjs/grpc/proto/google/protobuf/duration.js +8 -12
  33. package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +2 -2
  34. package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +1 -1
  35. package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +2 -2
  36. package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  37. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +8 -7
  38. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  39. package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +10 -10
  40. package/dist/cjs/grpc/proto/google/protobuf/struct.js +29 -17
  41. package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +2 -2
  42. package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  43. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +21 -18
  44. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  45. package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +2 -2
  46. package/dist/cjs/grpc/proto/google/rpc/error_details.js +40 -11
  47. package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +2 -2
  48. package/dist/cjs/grpc/proto/google/rpc/status.d.ts +2 -2
  49. package/dist/cjs/grpc/proto/google/rpc/status.js +1 -1
  50. package/dist/cjs/grpc/proto/google/rpc/status.js.map +2 -2
  51. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
  52. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +7 -1
  53. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
  54. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
  55. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
  56. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
  57. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
  58. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
  59. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
  60. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
  61. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
  62. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
  63. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
  64. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
  65. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
  66. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
  67. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
  68. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +65 -19
  69. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
  70. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
  71. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +4 -8
  72. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
  73. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
  74. package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
  75. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +2 -2
  76. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +2 -2
  77. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
  78. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
  79. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
  80. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
  81. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
  82. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
  83. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
  84. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
  85. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
  86. package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
  87. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +8 -3
  88. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +2 -2
  89. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
  90. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
  91. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
  92. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
  93. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
  94. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
  95. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
  96. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
  97. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
  98. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +126 -20
  99. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
  100. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
  101. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
  102. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
  103. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
  104. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
  105. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
  106. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
  107. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
  108. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
  109. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
  110. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js +18 -7
  111. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
  112. package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
  113. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +4 -8
  114. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +2 -2
  115. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
  116. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
  117. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
  118. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
  119. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +7 -2
  120. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
  121. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
  122. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
  123. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
  124. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
  125. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +73 -17
  126. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
  127. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
  128. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
  129. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
  130. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
  131. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
  132. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
  133. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
  134. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
  135. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
  136. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
  137. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
  138. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +60 -14
  139. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
  140. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
  141. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
  142. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
  143. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
  144. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
  145. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
  146. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
  147. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +26 -59
  148. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
  149. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
  150. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +210 -71
  151. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
  152. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
  153. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
  154. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
  155. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
  156. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
  157. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
  158. package/dist/cjs/jsonRpc/client.d.ts +2 -6
  159. package/dist/cjs/jsonRpc/client.js +0 -8
  160. package/dist/cjs/jsonRpc/client.js.map +2 -2
  161. package/dist/cjs/keypairs/passkey/publickey.d.ts +1 -1
  162. package/dist/cjs/multisig/publickey.d.ts +10 -10
  163. package/dist/cjs/multisig/publickey.js +2 -2
  164. package/dist/cjs/multisig/publickey.js.map +2 -2
  165. package/dist/cjs/transactions/TransactionData.d.ts +1 -0
  166. package/dist/cjs/transactions/TransactionData.js +71 -0
  167. package/dist/cjs/transactions/TransactionData.js.map +3 -3
  168. package/dist/cjs/transactions/serializer.js +1 -1
  169. package/dist/cjs/transactions/serializer.js.map +2 -2
  170. package/dist/cjs/utils/index.d.ts +1 -0
  171. package/dist/cjs/utils/index.js +2 -0
  172. package/dist/cjs/utils/index.js.map +2 -2
  173. package/dist/cjs/version.d.ts +2 -2
  174. package/dist/cjs/version.js +2 -2
  175. package/dist/cjs/version.js.map +1 -1
  176. package/dist/cjs/zklogin/bcs.d.ts +1 -3
  177. package/dist/cjs/zklogin/bcs.js +1 -1
  178. package/dist/cjs/zklogin/bcs.js.map +2 -2
  179. package/dist/cjs/zklogin/publickey.d.ts +1 -1
  180. package/dist/cjs/zklogin/signature.d.ts +1 -1
  181. package/dist/esm/bcs/bcs.d.ts +47 -111
  182. package/dist/esm/bcs/bcs.js +17 -17
  183. package/dist/esm/bcs/bcs.js.map +2 -2
  184. package/dist/esm/bcs/effects.d.ts +2 -6
  185. package/dist/esm/bcs/effects.js +1 -1
  186. package/dist/esm/bcs/effects.js.map +2 -2
  187. package/dist/esm/bcs/index.d.ts +49 -117
  188. package/dist/esm/bcs/type-tag-serializer.d.ts +1 -0
  189. package/dist/esm/bcs/type-tag-serializer.js +5 -1
  190. package/dist/esm/bcs/type-tag-serializer.js.map +2 -2
  191. package/dist/esm/cryptography/intent.js +1 -1
  192. package/dist/esm/cryptography/intent.js.map +2 -2
  193. package/dist/esm/cryptography/keypair.js +1 -1
  194. package/dist/esm/cryptography/keypair.js.map +2 -2
  195. package/dist/esm/cryptography/publickey.js +1 -1
  196. package/dist/esm/cryptography/publickey.js.map +2 -2
  197. package/dist/esm/cryptography/signature.d.ts +2 -2
  198. package/dist/esm/experimental/client.js +0 -4
  199. package/dist/esm/experimental/client.js.map +2 -2
  200. package/dist/esm/experimental/types.d.ts +1 -7
  201. package/dist/esm/graphql/generated/queries.d.ts +1 -1
  202. package/dist/esm/graphql/generated/queries.js.map +1 -1
  203. package/dist/esm/grpc/core.d.ts +3 -1
  204. package/dist/esm/grpc/core.js +5 -3
  205. package/dist/esm/grpc/core.js.map +2 -2
  206. package/dist/esm/grpc/proto/google/protobuf/any.d.ts +6 -6
  207. package/dist/esm/grpc/proto/google/protobuf/any.js +20 -20
  208. package/dist/esm/grpc/proto/google/protobuf/any.js.map +2 -2
  209. package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +4 -4
  210. package/dist/esm/grpc/proto/google/protobuf/duration.js +8 -12
  211. package/dist/esm/grpc/proto/google/protobuf/duration.js.map +2 -2
  212. package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +1 -1
  213. package/dist/esm/grpc/proto/google/protobuf/empty.js.map +2 -2
  214. package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +4 -4
  215. package/dist/esm/grpc/proto/google/protobuf/field_mask.js +8 -7
  216. package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +2 -2
  217. package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +10 -10
  218. package/dist/esm/grpc/proto/google/protobuf/struct.js +29 -17
  219. package/dist/esm/grpc/proto/google/protobuf/struct.js.map +2 -2
  220. package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +4 -4
  221. package/dist/esm/grpc/proto/google/protobuf/timestamp.js +21 -18
  222. package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +2 -2
  223. package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +2 -2
  224. package/dist/esm/grpc/proto/google/rpc/error_details.js +40 -11
  225. package/dist/esm/grpc/proto/google/rpc/error_details.js.map +2 -2
  226. package/dist/esm/grpc/proto/google/rpc/status.d.ts +2 -2
  227. package/dist/esm/grpc/proto/google/rpc/status.js +1 -1
  228. package/dist/esm/grpc/proto/google/rpc/status.js.map +2 -2
  229. package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +1 -1
  230. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +7 -1
  231. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +2 -2
  232. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +1 -1
  233. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +2 -2
  234. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +1 -1
  235. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +2 -2
  236. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +6 -6
  237. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +12 -7
  238. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +2 -2
  239. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +3 -3
  240. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +16 -4
  241. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +2 -2
  242. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +5 -5
  243. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +35 -13
  244. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +2 -2
  245. package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +6 -6
  246. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +65 -19
  247. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +2 -2
  248. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +5 -5
  249. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +4 -8
  250. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +2 -2
  251. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +2 -2
  252. package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +3 -3
  253. package/dist/esm/grpc/proto/sui/rpc/v2/event.js +2 -2
  254. package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +2 -2
  255. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +8 -8
  256. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +21 -10
  257. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +2 -2
  258. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +12 -12
  259. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +75 -17
  260. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +2 -2
  261. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +1 -1
  262. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +0 -4
  263. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +2 -2
  264. package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +2 -2
  265. package/dist/esm/grpc/proto/sui/rpc/v2/input.js +8 -3
  266. package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +2 -2
  267. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +1 -1
  268. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +2 -2
  269. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +18 -18
  270. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +50 -8
  271. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +2 -2
  272. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +15 -15
  273. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +41 -20
  274. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +2 -2
  275. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +1 -1
  276. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +126 -20
  277. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +2 -2
  278. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +12 -12
  279. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +29 -5
  280. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +2 -2
  281. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +5 -5
  282. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +16 -6
  283. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +2 -2
  284. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +8 -8
  285. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +15 -3
  286. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +2 -2
  287. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +3 -3
  288. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +18 -7
  289. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +2 -2
  290. package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +5 -5
  291. package/dist/esm/grpc/proto/sui/rpc/v2/object.js +4 -8
  292. package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +2 -2
  293. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +1 -1
  294. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +0 -1
  295. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +2 -2
  296. package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +1 -1
  297. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +7 -2
  298. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +2 -2
  299. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +1 -1
  300. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +22 -11
  301. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +2 -2
  302. package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +8 -8
  303. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +73 -17
  304. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +2 -2
  305. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +2 -2
  306. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +6 -6
  307. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +8 -2
  308. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +2 -2
  309. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +5 -5
  310. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +7 -6
  311. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +2 -2
  312. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +14 -14
  313. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +36 -6
  314. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +2 -2
  315. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +5 -5
  316. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +60 -14
  317. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +2 -2
  318. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +6 -6
  319. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +8 -2
  320. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +2 -2
  321. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +4 -4
  322. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +9 -4
  323. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +2 -2
  324. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +1 -1
  325. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +26 -59
  326. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +2 -2
  327. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +29 -29
  328. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +210 -71
  329. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +2 -2
  330. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +8 -8
  331. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +15 -3
  332. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +2 -2
  333. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +9 -9
  334. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +62 -16
  335. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +2 -2
  336. package/dist/esm/jsonRpc/client.d.ts +2 -6
  337. package/dist/esm/jsonRpc/client.js +0 -8
  338. package/dist/esm/jsonRpc/client.js.map +2 -2
  339. package/dist/esm/keypairs/passkey/publickey.d.ts +1 -1
  340. package/dist/esm/multisig/publickey.d.ts +10 -10
  341. package/dist/esm/multisig/publickey.js +2 -2
  342. package/dist/esm/multisig/publickey.js.map +2 -2
  343. package/dist/esm/transactions/TransactionData.d.ts +1 -0
  344. package/dist/esm/transactions/TransactionData.js +71 -0
  345. package/dist/esm/transactions/TransactionData.js.map +3 -3
  346. package/dist/esm/transactions/serializer.js +1 -1
  347. package/dist/esm/transactions/serializer.js.map +2 -2
  348. package/dist/esm/utils/index.d.ts +1 -0
  349. package/dist/esm/utils/index.js +2 -0
  350. package/dist/esm/utils/index.js.map +2 -2
  351. package/dist/esm/version.d.ts +2 -2
  352. package/dist/esm/version.js +2 -2
  353. package/dist/esm/version.js.map +1 -1
  354. package/dist/esm/zklogin/bcs.d.ts +1 -3
  355. package/dist/esm/zklogin/bcs.js +1 -1
  356. package/dist/esm/zklogin/bcs.js.map +2 -2
  357. package/dist/esm/zklogin/publickey.d.ts +1 -1
  358. package/dist/esm/zklogin/signature.d.ts +1 -1
  359. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  360. package/dist/tsconfig.tsbuildinfo +1 -1
  361. package/package.json +2 -2
  362. package/src/bcs/bcs.ts +17 -17
  363. package/src/bcs/effects.ts +1 -1
  364. package/src/bcs/type-tag-serializer.ts +4 -0
  365. package/src/cryptography/intent.ts +1 -1
  366. package/src/cryptography/keypair.ts +1 -1
  367. package/src/cryptography/publickey.ts +1 -1
  368. package/src/experimental/client.ts +0 -4
  369. package/src/experimental/types.ts +4 -17
  370. package/src/graphql/generated/queries.ts +1 -1
  371. package/src/grpc/core.ts +28 -8
  372. package/src/grpc/proto/google/protobuf/any.ts +159 -144
  373. package/src/grpc/proto/google/protobuf/duration.ts +77 -74
  374. package/src/grpc/proto/google/protobuf/empty.ts +5 -6
  375. package/src/grpc/proto/google/protobuf/field_mask.ts +59 -47
  376. package/src/grpc/proto/google/protobuf/struct.ts +223 -201
  377. package/src/grpc/proto/google/protobuf/timestamp.ts +121 -100
  378. package/src/grpc/proto/google/rpc/error_details.ts +388 -352
  379. package/src/grpc/proto/google/rpc/status.ts +32 -32
  380. package/src/grpc/proto/sui/rpc/v2/argument.ts +60 -54
  381. package/src/grpc/proto/sui/rpc/v2/balance_change.ts +26 -26
  382. package/src/grpc/proto/sui/rpc/v2/bcs.ts +19 -19
  383. package/src/grpc/proto/sui/rpc/v2/checkpoint.ts +79 -66
  384. package/src/grpc/proto/sui/rpc/v2/checkpoint_contents.ts +72 -60
  385. package/src/grpc/proto/sui/rpc/v2/checkpoint_summary.ts +219 -158
  386. package/src/grpc/proto/sui/rpc/v2/effects.ts +418 -318
  387. package/src/grpc/proto/sui/rpc/v2/epoch.ts +90 -62
  388. package/src/grpc/proto/sui/rpc/v2/error_reason.ts +12 -12
  389. package/src/grpc/proto/sui/rpc/v2/event.ts +76 -76
  390. package/src/grpc/proto/sui/rpc/v2/executed_transaction.ts +99 -80
  391. package/src/grpc/proto/sui/rpc/v2/execution_status.ts +888 -755
  392. package/src/grpc/proto/sui/rpc/v2/gas_cost_summary.ts +62 -34
  393. package/src/grpc/proto/sui/rpc/v2/input.ts +102 -89
  394. package/src/grpc/proto/sui/rpc/v2/jwk.ts +51 -51
  395. package/src/grpc/proto/sui/rpc/v2/ledger_service.client.ts +196 -106
  396. package/src/grpc/proto/sui/rpc/v2/ledger_service.ts +420 -328
  397. package/src/grpc/proto/sui/rpc/v2/move_package.ts +608 -486
  398. package/src/grpc/proto/sui/rpc/v2/move_package_service.client.ts +114 -63
  399. package/src/grpc/proto/sui/rpc/v2/move_package_service.ts +190 -172
  400. package/src/grpc/proto/sui/rpc/v2/name_service.client.ts +62 -37
  401. package/src/grpc/proto/sui/rpc/v2/name_service.ts +123 -112
  402. package/src/grpc/proto/sui/rpc/v2/object.ts +147 -120
  403. package/src/grpc/proto/sui/rpc/v2/object_reference.ts +33 -26
  404. package/src/grpc/proto/sui/rpc/v2/owner.ts +61 -48
  405. package/src/grpc/proto/sui/rpc/v2/protocol_config.ts +43 -24
  406. package/src/grpc/proto/sui/rpc/v2/signature.ts +596 -503
  407. package/src/grpc/proto/sui/rpc/v2/signature_scheme.ts +28 -28
  408. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.client.ts +43 -29
  409. package/src/grpc/proto/sui/rpc/v2/signature_verification_service.ts +68 -67
  410. package/src/grpc/proto/sui/rpc/v2/state_service.client.ts +140 -76
  411. package/src/grpc/proto/sui/rpc/v2/state_service.ts +642 -573
  412. package/src/grpc/proto/sui/rpc/v2/subscription_service.client.ts +60 -48
  413. package/src/grpc/proto/sui/rpc/v2/subscription_service.ts +50 -37
  414. package/src/grpc/proto/sui/rpc/v2/system_state.ts +1055 -689
  415. package/src/grpc/proto/sui/rpc/v2/transaction.ts +1535 -1110
  416. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.client.ts +65 -38
  417. package/src/grpc/proto/sui/rpc/v2/transaction_execution_service.ts +185 -139
  418. package/src/jsonRpc/client.ts +2 -17
  419. package/src/multisig/publickey.ts +14 -14
  420. package/src/transactions/TransactionData.ts +100 -1
  421. package/src/transactions/serializer.ts +1 -1
  422. package/src/utils/index.ts +1 -0
  423. package/src/version.ts +2 -2
  424. package/src/zklogin/bcs.ts +1 -1
@@ -1,4 +1,4 @@
1
- import { StateService } from "./state_service";
1
+ import { StateService } from "./state_service.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class StateServiceClient {
4
4
  constructor(_transport) {
@@ -12,35 +12,65 @@ class StateServiceClient {
12
12
  */
13
13
  listDynamicFields(input, options) {
14
14
  const method = this.methods[0], opt = this._transport.mergeOptions(options);
15
- return stackIntercept("unary", this._transport, method, opt, input);
15
+ return stackIntercept(
16
+ "unary",
17
+ this._transport,
18
+ method,
19
+ opt,
20
+ input
21
+ );
16
22
  }
17
23
  /**
18
24
  * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2.ListOwnedObjectsRequest) returns (sui.rpc.v2.ListOwnedObjectsResponse);
19
25
  */
20
26
  listOwnedObjects(input, options) {
21
27
  const method = this.methods[1], opt = this._transport.mergeOptions(options);
22
- return stackIntercept("unary", this._transport, method, opt, input);
28
+ return stackIntercept(
29
+ "unary",
30
+ this._transport,
31
+ method,
32
+ opt,
33
+ input
34
+ );
23
35
  }
24
36
  /**
25
37
  * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2.GetCoinInfoRequest) returns (sui.rpc.v2.GetCoinInfoResponse);
26
38
  */
27
39
  getCoinInfo(input, options) {
28
40
  const method = this.methods[2], opt = this._transport.mergeOptions(options);
29
- return stackIntercept("unary", this._transport, method, opt, input);
41
+ return stackIntercept(
42
+ "unary",
43
+ this._transport,
44
+ method,
45
+ opt,
46
+ input
47
+ );
30
48
  }
31
49
  /**
32
50
  * @generated from protobuf rpc: GetBalance(sui.rpc.v2.GetBalanceRequest) returns (sui.rpc.v2.GetBalanceResponse);
33
51
  */
34
52
  getBalance(input, options) {
35
53
  const method = this.methods[3], opt = this._transport.mergeOptions(options);
36
- return stackIntercept("unary", this._transport, method, opt, input);
54
+ return stackIntercept(
55
+ "unary",
56
+ this._transport,
57
+ method,
58
+ opt,
59
+ input
60
+ );
37
61
  }
38
62
  /**
39
63
  * @generated from protobuf rpc: ListBalances(sui.rpc.v2.ListBalancesRequest) returns (sui.rpc.v2.ListBalancesResponse);
40
64
  */
41
65
  listBalances(input, options) {
42
66
  const method = this.methods[4], opt = this._transport.mergeOptions(options);
43
- return stackIntercept("unary", this._transport, method, opt, input);
67
+ return stackIntercept(
68
+ "unary",
69
+ this._transport,
70
+ method,
71
+ opt,
72
+ input
73
+ );
44
74
  }
45
75
  }
46
76
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/state_service.client.ts"],
4
- "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/state_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 type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { StateService } from \"./state_service\";\nimport type { ListBalancesResponse } from \"./state_service\";\nimport type { ListBalancesRequest } from \"./state_service\";\nimport type { GetBalanceResponse } from \"./state_service\";\nimport type { GetBalanceRequest } from \"./state_service\";\nimport type { GetCoinInfoResponse } from \"./state_service\";\nimport type { GetCoinInfoRequest } from \"./state_service\";\nimport type { ListOwnedObjectsResponse } from \"./state_service\";\nimport type { ListOwnedObjectsRequest } from \"./state_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { ListDynamicFieldsResponse } from \"./state_service\";\nimport type { ListDynamicFieldsRequest } from \"./state_service\";\nimport type { UnaryCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service sui.rpc.v2.StateService\n */\nexport interface IStateServiceClient {\n /**\n * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2.ListDynamicFieldsRequest) returns (sui.rpc.v2.ListDynamicFieldsResponse);\n */\n listDynamicFields(input: ListDynamicFieldsRequest, options?: RpcOptions): UnaryCall<ListDynamicFieldsRequest, ListDynamicFieldsResponse>;\n /**\n * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2.ListOwnedObjectsRequest) returns (sui.rpc.v2.ListOwnedObjectsResponse);\n */\n listOwnedObjects(input: ListOwnedObjectsRequest, options?: RpcOptions): UnaryCall<ListOwnedObjectsRequest, ListOwnedObjectsResponse>;\n /**\n * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2.GetCoinInfoRequest) returns (sui.rpc.v2.GetCoinInfoResponse);\n */\n getCoinInfo(input: GetCoinInfoRequest, options?: RpcOptions): UnaryCall<GetCoinInfoRequest, GetCoinInfoResponse>;\n /**\n * @generated from protobuf rpc: GetBalance(sui.rpc.v2.GetBalanceRequest) returns (sui.rpc.v2.GetBalanceResponse);\n */\n getBalance(input: GetBalanceRequest, options?: RpcOptions): UnaryCall<GetBalanceRequest, GetBalanceResponse>;\n /**\n * @generated from protobuf rpc: ListBalances(sui.rpc.v2.ListBalancesRequest) returns (sui.rpc.v2.ListBalancesResponse);\n */\n listBalances(input: ListBalancesRequest, options?: RpcOptions): UnaryCall<ListBalancesRequest, ListBalancesResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.StateService\n */\nexport class StateServiceClient implements IStateServiceClient, ServiceInfo {\n typeName = StateService.typeName;\n methods = StateService.methods;\n options = StateService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2.ListDynamicFieldsRequest) returns (sui.rpc.v2.ListDynamicFieldsResponse);\n */\n listDynamicFields(input: ListDynamicFieldsRequest, options?: RpcOptions): UnaryCall<ListDynamicFieldsRequest, ListDynamicFieldsResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListDynamicFieldsRequest, ListDynamicFieldsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2.ListOwnedObjectsRequest) returns (sui.rpc.v2.ListOwnedObjectsResponse);\n */\n listOwnedObjects(input: ListOwnedObjectsRequest, options?: RpcOptions): UnaryCall<ListOwnedObjectsRequest, ListOwnedObjectsResponse> {\n const method = this.methods[1], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListOwnedObjectsRequest, ListOwnedObjectsResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2.GetCoinInfoRequest) returns (sui.rpc.v2.GetCoinInfoResponse);\n */\n getCoinInfo(input: GetCoinInfoRequest, options?: RpcOptions): UnaryCall<GetCoinInfoRequest, GetCoinInfoResponse> {\n const method = this.methods[2], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetCoinInfoRequest, GetCoinInfoResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: GetBalance(sui.rpc.v2.GetBalanceRequest) returns (sui.rpc.v2.GetBalanceResponse);\n */\n getBalance(input: GetBalanceRequest, options?: RpcOptions): UnaryCall<GetBalanceRequest, GetBalanceResponse> {\n const method = this.methods[3], opt = this._transport.mergeOptions(options);\n return stackIntercept<GetBalanceRequest, GetBalanceResponse>(\"unary\", this._transport, method, opt, input);\n }\n /**\n * @generated from protobuf rpc: ListBalances(sui.rpc.v2.ListBalancesRequest) returns (sui.rpc.v2.ListBalancesResponse);\n */\n listBalances(input: ListBalancesRequest, options?: RpcOptions): UnaryCall<ListBalancesRequest, ListBalancesResponse> {\n const method = this.methods[4], opt = this._transport.mergeOptions(options);\n return stackIntercept<ListBalancesRequest, ListBalancesResponse>(\"unary\", this._transport, method, opt, input);\n }\n}\n"],
5
- "mappings": "AAaA,SAAS,oBAAoB;AAS7B,SAAS,sBAAsB;AAiCxB,MAAM,mBAA+D;AAAA,EAIxE,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,aAAa;AACxB,mBAAU,aAAa;AACvB,mBAAU,aAAa;AAAA,EAEvB;AAAA;AAAA;AAAA;AAAA,EAIA,kBAAkB,OAAiC,SAAsF;AACrI,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAAoE,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAC3H;AAAA;AAAA;AAAA;AAAA,EAIA,iBAAiB,OAAgC,SAAoF;AACjI,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAAkE,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EACzH;AAAA;AAAA;AAAA;AAAA,EAIA,YAAY,OAA2B,SAA0E;AAC7G,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAAwD,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAC/G;AAAA;AAAA;AAAA;AAAA,EAIA,WAAW,OAA0B,SAAwE;AACzG,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAAsD,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAC7G;AAAA;AAAA;AAAA;AAAA,EAIA,aAAa,OAA4B,SAA4E;AACjH,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAA0D,SAAS,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EACjH;AACJ;",
4
+ "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/state_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 type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { StateService } from './state_service.js';\nimport type { ListBalancesResponse } from './state_service.js';\nimport type { ListBalancesRequest } from './state_service.js';\nimport type { GetBalanceResponse } from './state_service.js';\nimport type { GetBalanceRequest } from './state_service.js';\nimport type { GetCoinInfoResponse } from './state_service.js';\nimport type { GetCoinInfoRequest } from './state_service.js';\nimport type { ListOwnedObjectsResponse } from './state_service.js';\nimport type { ListOwnedObjectsRequest } from './state_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { ListDynamicFieldsResponse } from './state_service.js';\nimport type { ListDynamicFieldsRequest } from './state_service.js';\nimport type { UnaryCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * @generated from protobuf service sui.rpc.v2.StateService\n */\nexport interface IStateServiceClient {\n\t/**\n\t * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2.ListDynamicFieldsRequest) returns (sui.rpc.v2.ListDynamicFieldsResponse);\n\t */\n\tlistDynamicFields(\n\t\tinput: ListDynamicFieldsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListDynamicFieldsRequest, ListDynamicFieldsResponse>;\n\t/**\n\t * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2.ListOwnedObjectsRequest) returns (sui.rpc.v2.ListOwnedObjectsResponse);\n\t */\n\tlistOwnedObjects(\n\t\tinput: ListOwnedObjectsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListOwnedObjectsRequest, ListOwnedObjectsResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2.GetCoinInfoRequest) returns (sui.rpc.v2.GetCoinInfoResponse);\n\t */\n\tgetCoinInfo(\n\t\tinput: GetCoinInfoRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetCoinInfoRequest, GetCoinInfoResponse>;\n\t/**\n\t * @generated from protobuf rpc: GetBalance(sui.rpc.v2.GetBalanceRequest) returns (sui.rpc.v2.GetBalanceResponse);\n\t */\n\tgetBalance(\n\t\tinput: GetBalanceRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetBalanceRequest, GetBalanceResponse>;\n\t/**\n\t * @generated from protobuf rpc: ListBalances(sui.rpc.v2.ListBalancesRequest) returns (sui.rpc.v2.ListBalancesResponse);\n\t */\n\tlistBalances(\n\t\tinput: ListBalancesRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListBalancesRequest, ListBalancesResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.StateService\n */\nexport class StateServiceClient implements IStateServiceClient, ServiceInfo {\n\ttypeName = StateService.typeName;\n\tmethods = StateService.methods;\n\toptions = StateService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2.ListDynamicFieldsRequest) returns (sui.rpc.v2.ListDynamicFieldsResponse);\n\t */\n\tlistDynamicFields(\n\t\tinput: ListDynamicFieldsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListDynamicFieldsRequest, ListDynamicFieldsResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListDynamicFieldsRequest, ListDynamicFieldsResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2.ListOwnedObjectsRequest) returns (sui.rpc.v2.ListOwnedObjectsResponse);\n\t */\n\tlistOwnedObjects(\n\t\tinput: ListOwnedObjectsRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListOwnedObjectsRequest, ListOwnedObjectsResponse> {\n\t\tconst method = this.methods[1],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListOwnedObjectsRequest, ListOwnedObjectsResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2.GetCoinInfoRequest) returns (sui.rpc.v2.GetCoinInfoResponse);\n\t */\n\tgetCoinInfo(\n\t\tinput: GetCoinInfoRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetCoinInfoRequest, GetCoinInfoResponse> {\n\t\tconst method = this.methods[2],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetCoinInfoRequest, GetCoinInfoResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: GetBalance(sui.rpc.v2.GetBalanceRequest) returns (sui.rpc.v2.GetBalanceResponse);\n\t */\n\tgetBalance(\n\t\tinput: GetBalanceRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<GetBalanceRequest, GetBalanceResponse> {\n\t\tconst method = this.methods[3],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<GetBalanceRequest, GetBalanceResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n\t/**\n\t * @generated from protobuf rpc: ListBalances(sui.rpc.v2.ListBalancesRequest) returns (sui.rpc.v2.ListBalancesResponse);\n\t */\n\tlistBalances(\n\t\tinput: ListBalancesRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListBalancesRequest, ListBalancesResponse> {\n\t\tconst method = this.methods[4],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<ListBalancesRequest, ListBalancesResponse>(\n\t\t\t'unary',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n}\n"],
5
+ "mappings": "AAaA,SAAS,oBAAoB;AAS7B,SAAS,sBAAsB;AAgDxB,MAAM,mBAA+D;AAAA,EAI3E,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,aAAa;AACxB,mBAAU,aAAa;AACvB,mBAAU,aAAa;AAAA,EACiC;AAAA;AAAA;AAAA;AAAA,EAIxD,kBACC,OACA,SACiE;AACjE,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AAAA;AAAA;AAAA;AAAA,EAIA,iBACC,OACA,SAC+D;AAC/D,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AAAA;AAAA;AAAA;AAAA,EAIA,YACC,OACA,SACqD;AACrD,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AAAA;AAAA;AAAA;AAAA,EAIA,WACC,OACA,SACmD;AACnD,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AAAA;AAAA;AAAA;AAAA,EAIA,aACC,OACA,SACuD;AACvD,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AACD;",
6
6
  "names": []
7
7
  }
@@ -1,8 +1,8 @@
1
- import { ServiceType } from "@protobuf-ts/runtime-rpc";
2
- import { MessageType } from "@protobuf-ts/runtime";
3
- import { Bcs } from "./bcs";
4
- import { Object } from "./object";
5
- import { FieldMask } from "../../../google/protobuf/field_mask";
1
+ import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
+ import { MessageType } from '@protobuf-ts/runtime';
3
+ import { Bcs } from './bcs.js';
4
+ import { Object } from './object.js';
5
+ import { FieldMask } from '../../../google/protobuf/field_mask.js';
6
6
  /**
7
7
  * Request message for `NodeService.GetCoinInfo`.
8
8
  *
@@ -1,8 +1,8 @@
1
1
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
2
2
  import { MessageType } from "@protobuf-ts/runtime";
3
- import { Bcs } from "./bcs";
4
- import { Object } from "./object";
5
- import { FieldMask } from "../../../google/protobuf/field_mask";
3
+ import { Bcs } from "./bcs.js";
4
+ import { Object } from "./object.js";
5
+ import { FieldMask } from "../../../google/protobuf/field_mask.js";
6
6
  var CoinMetadata_MetadataCapState = /* @__PURE__ */ ((CoinMetadata_MetadataCapState2) => {
7
7
  CoinMetadata_MetadataCapState2[CoinMetadata_MetadataCapState2["METADATA_CAP_STATE_UNKNOWN"] = 0] = "METADATA_CAP_STATE_UNKNOWN";
8
8
  CoinMetadata_MetadataCapState2[CoinMetadata_MetadataCapState2["CLAIMED"] = 1] = "CLAIMED";
@@ -120,7 +120,13 @@ class CoinMetadata$Type extends MessageType {
120
120
  T: 9
121
121
  /*ScalarType.STRING*/
122
122
  },
123
- { no: 8, name: "metadata_cap_state", kind: "enum", opt: true, T: () => ["sui.rpc.v2.CoinMetadata.MetadataCapState", CoinMetadata_MetadataCapState] }
123
+ {
124
+ no: 8,
125
+ name: "metadata_cap_state",
126
+ kind: "enum",
127
+ opt: true,
128
+ T: () => ["sui.rpc.v2.CoinMetadata.MetadataCapState", CoinMetadata_MetadataCapState]
129
+ }
124
130
  ]);
125
131
  }
126
132
  }
@@ -143,9 +149,14 @@ class CoinTreasury$Type extends MessageType {
143
149
  opt: true,
144
150
  T: 4,
145
151
  L: 0
146
- /*LongType.BIGINT*/
147
152
  },
148
- { no: 3, name: "supply_state", kind: "enum", opt: true, T: () => ["sui.rpc.v2.CoinTreasury.SupplyState", CoinTreasury_SupplyState] }
153
+ {
154
+ no: 3,
155
+ name: "supply_state",
156
+ kind: "enum",
157
+ opt: true,
158
+ T: () => ["sui.rpc.v2.CoinTreasury.SupplyState", CoinTreasury_SupplyState]
159
+ }
149
160
  ]);
150
161
  }
151
162
  }
@@ -167,7 +178,6 @@ class RegulatedCoinMetadata$Type extends MessageType {
167
178
  kind: "scalar",
168
179
  opt: true,
169
180
  T: 9
170
- /*ScalarType.STRING*/
171
181
  },
172
182
  {
173
183
  no: 3,
@@ -193,7 +203,16 @@ class RegulatedCoinMetadata$Type extends MessageType {
193
203
  T: 13
194
204
  /*ScalarType.UINT32*/
195
205
  },
196
- { no: 6, name: "coin_regulated_state", kind: "enum", opt: true, T: () => ["sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState", RegulatedCoinMetadata_CoinRegulatedState] }
206
+ {
207
+ no: 6,
208
+ name: "coin_regulated_state",
209
+ kind: "enum",
210
+ opt: true,
211
+ T: () => [
212
+ "sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState",
213
+ RegulatedCoinMetadata_CoinRegulatedState
214
+ ]
215
+ }
197
216
  ]);
198
217
  }
199
218
  }
@@ -263,7 +282,13 @@ const ListBalancesRequest = new ListBalancesRequest$Type();
263
282
  class ListBalancesResponse$Type extends MessageType {
264
283
  constructor() {
265
284
  super("sui.rpc.v2.ListBalancesResponse", [
266
- { no: 1, name: "balances", kind: "message", repeat: 1, T: () => Balance },
285
+ {
286
+ no: 1,
287
+ name: "balances",
288
+ kind: "message",
289
+ repeat: 1,
290
+ T: () => Balance
291
+ },
267
292
  {
268
293
  no: 2,
269
294
  name: "next_page_token",
@@ -294,7 +319,6 @@ class Balance$Type extends MessageType {
294
319
  opt: true,
295
320
  T: 4,
296
321
  L: 0
297
- /*LongType.BIGINT*/
298
322
  }
299
323
  ]);
300
324
  }
@@ -335,7 +359,13 @@ const ListDynamicFieldsRequest = new ListDynamicFieldsRequest$Type();
335
359
  class ListDynamicFieldsResponse$Type extends MessageType {
336
360
  constructor() {
337
361
  super("sui.rpc.v2.ListDynamicFieldsResponse", [
338
- { no: 1, name: "dynamic_fields", kind: "message", repeat: 1, T: () => DynamicField },
362
+ {
363
+ no: 1,
364
+ name: "dynamic_fields",
365
+ kind: "message",
366
+ repeat: 1,
367
+ T: () => DynamicField
368
+ },
339
369
  {
340
370
  no: 2,
341
371
  name: "next_page_token",
@@ -351,7 +381,13 @@ const ListDynamicFieldsResponse = new ListDynamicFieldsResponse$Type();
351
381
  class DynamicField$Type extends MessageType {
352
382
  constructor() {
353
383
  super("sui.rpc.v2.DynamicField", [
354
- { no: 1, name: "kind", kind: "enum", opt: true, T: () => ["sui.rpc.v2.DynamicField.DynamicFieldKind", DynamicField_DynamicFieldKind] },
384
+ {
385
+ no: 1,
386
+ name: "kind",
387
+ kind: "enum",
388
+ opt: true,
389
+ T: () => ["sui.rpc.v2.DynamicField.DynamicFieldKind", DynamicField_DynamicFieldKind]
390
+ },
355
391
  {
356
392
  no: 2,
357
393
  name: "parent",
@@ -449,8 +485,18 @@ class ListOwnedObjectsResponse$Type extends MessageType {
449
485
  }
450
486
  const ListOwnedObjectsResponse = new ListOwnedObjectsResponse$Type();
451
487
  const StateService = new ServiceType("sui.rpc.v2.StateService", [
452
- { name: "ListDynamicFields", options: {}, I: ListDynamicFieldsRequest, O: ListDynamicFieldsResponse },
453
- { name: "ListOwnedObjects", options: {}, I: ListOwnedObjectsRequest, O: ListOwnedObjectsResponse },
488
+ {
489
+ name: "ListDynamicFields",
490
+ options: {},
491
+ I: ListDynamicFieldsRequest,
492
+ O: ListDynamicFieldsResponse
493
+ },
494
+ {
495
+ name: "ListOwnedObjects",
496
+ options: {},
497
+ I: ListOwnedObjectsRequest,
498
+ O: ListOwnedObjectsResponse
499
+ },
454
500
  { name: "GetCoinInfo", options: {}, I: GetCoinInfoRequest, O: GetCoinInfoResponse },
455
501
  { name: "GetBalance", options: {}, I: GetBalanceRequest, O: GetBalanceResponse },
456
502
  { name: "ListBalances", options: {}, I: ListBalancesRequest, O: ListBalancesResponse }
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/state_service.ts"],
4
- "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/state_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 { Bcs } from \"./bcs\";\nimport { Object } from \"./object\";\nimport { FieldMask } from \"../../../google/protobuf/field_mask\";\n/**\n * Request message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2.GetCoinInfoRequest\n */\nexport interface GetCoinInfoRequest {\n /**\n * The coin type to request information about\n *\n * @generated from protobuf field: optional string coin_type = 1;\n */\n coinType?: string;\n}\n/**\n * Response message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2.GetCoinInfoResponse\n */\nexport interface GetCoinInfoResponse {\n /**\n * Required. The coin type.\n *\n * @generated from protobuf field: optional string coin_type = 1;\n */\n coinType?: string;\n /**\n * This field will be populated with information about this coin\n * type's `0x2::coin::CoinMetadata` if it exists and has not been wrapped.\n *\n * @generated from protobuf field: optional sui.rpc.v2.CoinMetadata metadata = 2;\n */\n metadata?: CoinMetadata;\n /**\n * This field will be populated with information about this coin\n * type's `0x2::coin::TreasuryCap` if it exists and has not been wrapped.\n *\n * @generated from protobuf field: optional sui.rpc.v2.CoinTreasury treasury = 3;\n */\n treasury?: CoinTreasury;\n /**\n * If this coin type is a regulated coin, this field will be\n * populated with information either from its Currency object\n * in the CoinRegistry, or from its `0x2::coin::RegulatedCoinMetadata`\n * object for coins that have not been migrated to the CoinRegistry\n *\n * If this coin is not known to be regulated, only the\n * coin_regulated_state field will be populated.\n *\n * @generated from protobuf field: optional sui.rpc.v2.RegulatedCoinMetadata regulated_metadata = 4;\n */\n regulatedMetadata?: RegulatedCoinMetadata;\n}\n/**\n * Metadata for a coin type\n *\n * @generated from protobuf message sui.rpc.v2.CoinMetadata\n */\nexport interface CoinMetadata {\n /**\n * ObjectId of the `0x2::coin::CoinMetadata` object or\n * 0x2::sui::coin_registry::Currency object (when registered with CoinRegistry).\n *\n * @generated from protobuf field: optional string id = 1;\n */\n id?: string;\n /**\n * Number of decimal places to coin uses.\n *\n * @generated from protobuf field: optional uint32 decimals = 2;\n */\n decimals?: number;\n /**\n * Name for the token\n *\n * @generated from protobuf field: optional string name = 3;\n */\n name?: string;\n /**\n * Symbol for the token\n *\n * @generated from protobuf field: optional string symbol = 4;\n */\n symbol?: string;\n /**\n * Description of the token\n *\n * @generated from protobuf field: optional string description = 5;\n */\n description?: string;\n /**\n * URL for the token logo\n *\n * @generated from protobuf field: optional string icon_url = 6;\n */\n iconUrl?: string;\n /**\n * The MetadataCap ID if it has been claimed for this coin type.\n * This capability allows updating the coin's metadata fields.\n * Only populated when metadata is from CoinRegistry.\n *\n * @generated from protobuf field: optional string metadata_cap_id = 7;\n */\n metadataCapId?: string;\n /**\n * State of the MetadataCap for this coin type.\n *\n * @generated from protobuf field: optional sui.rpc.v2.CoinMetadata.MetadataCapState metadata_cap_state = 8;\n */\n metadataCapState?: CoinMetadata_MetadataCapState;\n}\n/**\n * Information about the state of the coin's MetadataCap\n *\n * @generated from protobuf enum sui.rpc.v2.CoinMetadata.MetadataCapState\n */\nexport enum CoinMetadata_MetadataCapState {\n /**\n * Indicates the state of the MetadataCap is unknown.\n * Set when the coin has not been migrated to the CoinRegistry.\n *\n * @generated from protobuf enum value: METADATA_CAP_STATE_UNKNOWN = 0;\n */\n METADATA_CAP_STATE_UNKNOWN = 0,\n /**\n * Indicates the MetadataCap has been claimed.\n *\n * @generated from protobuf enum value: CLAIMED = 1;\n */\n CLAIMED = 1,\n /**\n * Indicates the MetadataCap has not been claimed.\n *\n * @generated from protobuf enum value: UNCLAIMED = 2;\n */\n UNCLAIMED = 2,\n /**\n * Indicates the MetadataCap has been deleted.\n *\n * @generated from protobuf enum value: DELETED = 3;\n */\n DELETED = 3\n}\n/**\n * Information about a coin type's `0x2::coin::TreasuryCap` and its total available supply\n *\n * @generated from protobuf message sui.rpc.v2.CoinTreasury\n */\nexport interface CoinTreasury {\n /**\n * ObjectId of the `0x2::coin::TreasuryCap` object.\n *\n * @generated from protobuf field: optional string id = 1;\n */\n id?: string;\n /**\n * Total available supply for this coin type.\n *\n * @generated from protobuf field: optional uint64 total_supply = 2;\n */\n totalSupply?: bigint;\n /**\n * Supply state indicating if the supply is fixed or can still be minted\n *\n * @generated from protobuf field: optional sui.rpc.v2.CoinTreasury.SupplyState supply_state = 3;\n */\n supplyState?: CoinTreasury_SupplyState;\n}\n/**\n * Supply state of a coin, matching the Move SupplyState enum\n *\n * @generated from protobuf enum sui.rpc.v2.CoinTreasury.SupplyState\n */\nexport enum CoinTreasury_SupplyState {\n /**\n * Supply is unknown or TreasuryCap still exists (minting still possible)\n *\n * @generated from protobuf enum value: SUPPLY_STATE_UNKNOWN = 0;\n */\n SUPPLY_STATE_UNKNOWN = 0,\n /**\n * Supply is fixed (TreasuryCap consumed, no more minting possible)\n *\n * @generated from protobuf enum value: FIXED = 1;\n */\n FIXED = 1,\n /**\n * Supply can only decrease (burning allowed, minting not allowed)\n *\n * @generated from protobuf enum value: BURN_ONLY = 2;\n */\n BURN_ONLY = 2\n}\n/**\n * Information about a regulated coin, which indicates that it makes use of the transfer deny list.\n *\n * @generated from protobuf message sui.rpc.v2.RegulatedCoinMetadata\n */\nexport interface RegulatedCoinMetadata {\n /**\n * ObjectId of the `0x2::coin::RegulatedCoinMetadata` object.\n * Only present for coins that have not been migrated to CoinRegistry.\n *\n * @generated from protobuf field: optional string id = 1;\n */\n id?: string;\n /**\n * The ID of the coin's `CoinMetadata` or `CoinData` object.\n *\n * @generated from protobuf field: optional string coin_metadata_object = 2;\n */\n coinMetadataObject?: string;\n /**\n * The ID of the coin's `DenyCap` object.\n *\n * @generated from protobuf field: optional string deny_cap_object = 3;\n */\n denyCapObject?: string;\n /**\n * Whether the coin can be globally paused\n *\n * @generated from protobuf field: optional bool allow_global_pause = 4;\n */\n allowGlobalPause?: boolean;\n /**\n * Variant of the regulated coin metadata\n *\n * @generated from protobuf field: optional uint32 variant = 5;\n */\n variant?: number;\n /**\n * Indicates the coin's regulated state.\n *\n * @generated from protobuf field: optional sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState coin_regulated_state = 6;\n */\n coinRegulatedState?: RegulatedCoinMetadata_CoinRegulatedState;\n}\n/**\n * Indicates the state of the regulation of the coin.\n *\n * @generated from protobuf enum sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState\n */\nexport enum RegulatedCoinMetadata_CoinRegulatedState {\n /**\n * Indicates the regulation state of the coin is unknown.\n * This is set when a coin has not been migrated to the\n * coin registry and has no `0x2::coin::RegulatedCoinMetadata`\n * object.\n *\n * @generated from protobuf enum value: COIN_REGULATED_STATE_UNKNOWN = 0;\n */\n COIN_REGULATED_STATE_UNKNOWN = 0,\n /**\n * Indicates a coin is regulated. RegulatedCoinMetadata will be populated.\n *\n * @generated from protobuf enum value: REGULATED = 1;\n */\n REGULATED = 1,\n /**\n * Indicates a coin is unregulated.\n *\n * @generated from protobuf enum value: UNREGULATED = 2;\n */\n UNREGULATED = 2\n}\n/**\n * Request message for `LiveDataService.GetBalance`.\n *\n * @generated from protobuf message sui.rpc.v2.GetBalanceRequest\n */\nexport interface GetBalanceRequest {\n /**\n * Required. The owner's Sui address.\n *\n * @generated from protobuf field: optional string owner = 1;\n */\n owner?: string;\n /**\n * Required. The type names for the coin (e.g., 0x2::sui::SUI).\n *\n * @generated from protobuf field: optional string coin_type = 2;\n */\n coinType?: string;\n}\n/**\n * Response message for `LiveDataService.GetBalance`.\n * Return the total coin balance for one coin type, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2.GetBalanceResponse\n */\nexport interface GetBalanceResponse {\n /**\n * The balance information for the requested coin type.\n *\n * @generated from protobuf field: optional sui.rpc.v2.Balance balance = 1;\n */\n balance?: Balance;\n}\n/**\n * Request message for `LiveDataService.ListBalances`.\n *\n * @generated from protobuf message sui.rpc.v2.ListBalancesRequest\n */\nexport interface ListBalancesRequest {\n /**\n * Required. The owner's Sui address.\n *\n * @generated from protobuf field: optional string owner = 1;\n */\n owner?: string;\n /**\n * The maximum number of balance entries to return. The service may return fewer than this value.\n * If unspecified, at most `50` entries will be returned.\n * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n *\n * @generated from protobuf field: optional uint32 page_size = 2;\n */\n pageSize?: number;\n /**\n * A page token, received from a previous `ListBalances` call.\n * Provide this to retrieve the subsequent page.\n *\n * When paginating, all other parameters provided to `ListBalances` must\n * match the call that provided the page token.\n *\n * @generated from protobuf field: optional bytes page_token = 3;\n */\n pageToken?: Uint8Array;\n}\n/**\n * Response message for `LiveDataService.ListBalances`.\n * Return the total coin balance for all coin types, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2.ListBalancesResponse\n */\nexport interface ListBalancesResponse {\n /**\n * The list of coin types and their respective balances.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.Balance balances = 1;\n */\n balances: Balance[];\n /**\n * A token, which can be sent as `page_token` to retrieve the next page.\n * If this field is omitted, there are no subsequent pages.\n *\n * @generated from protobuf field: optional bytes next_page_token = 2;\n */\n nextPageToken?: Uint8Array;\n}\n/**\n * Balance information for a specific coin type.\n *\n * @generated from protobuf message sui.rpc.v2.Balance\n */\nexport interface Balance {\n /**\n * The type of the coin (e.g., 0x2::sui::SUI).\n *\n * @generated from protobuf field: optional string coin_type = 1;\n */\n coinType?: string;\n /**\n * Shows the total balance of the coin in its smallest unit.\n *\n * @generated from protobuf field: optional uint64 balance = 3;\n */\n balance?: bigint;\n}\n/**\n * Request message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n */\nexport interface ListDynamicFieldsRequest {\n /**\n * Required. The `UID` of the parent, which owns the collections of dynamic fields.\n *\n * @generated from protobuf field: optional string parent = 1;\n */\n parent?: string;\n /**\n * The maximum number of dynamic fields to return. The service may return fewer than this value.\n * If unspecified, at most `50` entries will be returned.\n * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n *\n * @generated from protobuf field: optional uint32 page_size = 2;\n */\n pageSize?: number;\n /**\n * A page token, received from a previous `ListDynamicFields` call.\n * Provide this to retrieve the subsequent page.\n *\n * When paginating, all other parameters provided to `ListDynamicFields` must\n * match the call that provided the page token.\n *\n * @generated from protobuf field: optional bytes page_token = 3;\n */\n pageToken?: Uint8Array;\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `parent,field_id`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n */\n readMask?: FieldMask;\n}\n/**\n * Response message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2.ListDynamicFieldsResponse\n */\nexport interface ListDynamicFieldsResponse {\n /**\n * Page of dynamic fields owned by the specified parent.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.DynamicField dynamic_fields = 1;\n */\n dynamicFields: DynamicField[];\n /**\n * A token, which can be sent as `page_token` to retrieve the next page.\n * If this field is omitted, there are no subsequent pages.\n *\n * @generated from protobuf field: optional bytes next_page_token = 2;\n */\n nextPageToken?: Uint8Array;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.DynamicField\n */\nexport interface DynamicField {\n /**\n * @generated from protobuf field: optional sui.rpc.v2.DynamicField.DynamicFieldKind kind = 1;\n */\n kind?: DynamicField_DynamicFieldKind;\n /**\n * ObjectId of this dynamic field's parent.\n *\n * @generated from protobuf field: optional string parent = 2;\n */\n parent?: string;\n /**\n * ObjectId of this dynamic field.\n *\n * @generated from protobuf field: optional string field_id = 3;\n */\n fieldId?: string;\n /**\n * The field object itself\n *\n * @generated from protobuf field: optional sui.rpc.v2.Object field_object = 4;\n */\n fieldObject?: Object;\n /**\n * The dynamic field's \"name\"\n *\n * @generated from protobuf field: optional sui.rpc.v2.Bcs name = 5;\n */\n name?: Bcs;\n /**\n * The dynamic field's \"value\"\n *\n * @generated from protobuf field: optional sui.rpc.v2.Bcs value = 6;\n */\n value?: Bcs;\n /**\n * The type of the dynamic field \"value\".\n *\n * If this is a dynamic object field then this is the type of the object\n * itself (which is a child of this field), otherwise this is the type of the\n * value of this field.\n *\n * @generated from protobuf field: optional string value_type = 7;\n */\n valueType?: string;\n /**\n * The ObjectId of the child object when a child is a dynamic\n * object field.\n *\n * The presence or absence of this field can be used to determine if a child\n * is a dynamic field or a dynamic child object\n *\n * @generated from protobuf field: optional string child_id = 8;\n */\n childId?: string;\n /**\n * The object itself when a child is a dynamic object field.\n *\n * @generated from protobuf field: optional sui.rpc.v2.Object child_object = 9;\n */\n childObject?: Object;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.DynamicField.DynamicFieldKind\n */\nexport enum DynamicField_DynamicFieldKind {\n /**\n * @generated from protobuf enum value: DYNAMIC_FIELD_KIND_UNKNOWN = 0;\n */\n DYNAMIC_FIELD_KIND_UNKNOWN = 0,\n /**\n * @generated from protobuf enum value: FIELD = 1;\n */\n FIELD = 1,\n /**\n * @generated from protobuf enum value: OBJECT = 2;\n */\n OBJECT = 2\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n */\nexport interface ListOwnedObjectsRequest {\n /**\n * Required. The address of the account that owns the objects.\n *\n * @generated from protobuf field: optional string owner = 1;\n */\n owner?: string;\n /**\n * The maximum number of entries return. The service may return fewer than this value.\n * If unspecified, at most `50` entries will be returned.\n * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\n *\n * @generated from protobuf field: optional uint32 page_size = 2;\n */\n pageSize?: number;\n /**\n * A page token, received from a previous `ListOwnedObjects` call.\n * Provide this to retrieve the subsequent page.\n *\n * When paginating, all other parameters provided to `ListOwnedObjects` must\n * match the call that provided the page token.\n *\n * @generated from protobuf field: optional bytes page_token = 3;\n */\n pageToken?: Uint8Array;\n /**\n * Mask specifying which fields to read.\n * If no mask is specified, defaults to `object_id,version,object_type`.\n *\n * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n */\n readMask?: FieldMask;\n /**\n * Optional type filter to limit the types of objects listed.\n *\n * Providing an object type with no type params will return objects of that\n * type with any type parameter, e.g. `0x2::coin::Coin` will return all\n * `Coin<T>` objects regardless of the type parameter `T`. Providing a type\n * with a type param will restrict the returned objects to only those objects\n * that match the provided type parameters, e.g.\n * `0x2::coin::Coin<0x2::sui::SUI>` will only return `Coin<SUI>` objects.\n *\n * @generated from protobuf field: optional string object_type = 5;\n */\n objectType?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListOwnedObjectsResponse\n */\nexport interface ListOwnedObjectsResponse {\n /**\n * Page of dynamic fields owned by the specified parent.\n *\n * @generated from protobuf field: repeated sui.rpc.v2.Object objects = 1;\n */\n objects: Object[];\n /**\n * A token, which can be sent as `page_token` to retrieve the next page.\n * If this field is omitted, there are no subsequent pages.\n *\n * @generated from protobuf field: optional bytes next_page_token = 2;\n */\n nextPageToken?: Uint8Array;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoRequest$Type extends MessageType<GetCoinInfoRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetCoinInfoRequest\", [\n { no: 1, name: \"coin_type\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoRequest\n */\nexport const GetCoinInfoRequest = new GetCoinInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoResponse$Type extends MessageType<GetCoinInfoResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetCoinInfoResponse\", [\n { no: 1, name: \"coin_type\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"metadata\", kind: \"message\", T: () => CoinMetadata },\n { no: 3, name: \"treasury\", kind: \"message\", T: () => CoinTreasury },\n { no: 4, name: \"regulated_metadata\", kind: \"message\", T: () => RegulatedCoinMetadata }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoResponse\n */\nexport const GetCoinInfoResponse = new GetCoinInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinMetadata$Type extends MessageType<CoinMetadata> {\n constructor() {\n super(\"sui.rpc.v2.CoinMetadata\", [\n { no: 1, name: \"id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"decimals\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"name\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"symbol\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 5, name: \"description\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 6, name: \"icon_url\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 7, name: \"metadata_cap_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"metadata_cap_state\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.CoinMetadata.MetadataCapState\", CoinMetadata_MetadataCapState] }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CoinMetadata\n */\nexport const CoinMetadata = new CoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinTreasury$Type extends MessageType<CoinTreasury> {\n constructor() {\n super(\"sui.rpc.v2.CoinTreasury\", [\n { no: 1, name: \"id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"total_supply\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ },\n { no: 3, name: \"supply_state\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.CoinTreasury.SupplyState\", CoinTreasury_SupplyState] }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CoinTreasury\n */\nexport const CoinTreasury = new CoinTreasury$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RegulatedCoinMetadata$Type extends MessageType<RegulatedCoinMetadata> {\n constructor() {\n super(\"sui.rpc.v2.RegulatedCoinMetadata\", [\n { no: 1, name: \"id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"coin_metadata_object\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"deny_cap_object\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"allow_global_pause\", kind: \"scalar\", opt: true, T: 8 /*ScalarType.BOOL*/ },\n { no: 5, name: \"variant\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 6, name: \"coin_regulated_state\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState\", RegulatedCoinMetadata_CoinRegulatedState] }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.RegulatedCoinMetadata\n */\nexport const RegulatedCoinMetadata = new RegulatedCoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceRequest$Type extends MessageType<GetBalanceRequest> {\n constructor() {\n super(\"sui.rpc.v2.GetBalanceRequest\", [\n { no: 1, name: \"owner\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"coin_type\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetBalanceRequest\n */\nexport const GetBalanceRequest = new GetBalanceRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceResponse$Type extends MessageType<GetBalanceResponse> {\n constructor() {\n super(\"sui.rpc.v2.GetBalanceResponse\", [\n { no: 1, name: \"balance\", kind: \"message\", T: () => Balance }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetBalanceResponse\n */\nexport const GetBalanceResponse = new GetBalanceResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesRequest$Type extends MessageType<ListBalancesRequest> {\n constructor() {\n super(\"sui.rpc.v2.ListBalancesRequest\", [\n { no: 1, name: \"owner\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"page_size\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"page_token\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListBalancesRequest\n */\nexport const ListBalancesRequest = new ListBalancesRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesResponse$Type extends MessageType<ListBalancesResponse> {\n constructor() {\n super(\"sui.rpc.v2.ListBalancesResponse\", [\n { no: 1, name: \"balances\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => Balance },\n { no: 2, name: \"next_page_token\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListBalancesResponse\n */\nexport const ListBalancesResponse = new ListBalancesResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Balance$Type extends MessageType<Balance> {\n constructor() {\n super(\"sui.rpc.v2.Balance\", [\n { no: 1, name: \"coin_type\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"balance\", kind: \"scalar\", opt: true, T: 4 /*ScalarType.UINT64*/, L: 0 /*LongType.BIGINT*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.Balance\n */\nexport const Balance = new Balance$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsRequest$Type extends MessageType<ListDynamicFieldsRequest> {\n constructor() {\n super(\"sui.rpc.v2.ListDynamicFieldsRequest\", [\n { no: 1, name: \"parent\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"page_size\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"page_token\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"read_mask\", kind: \"message\", T: () => FieldMask }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n */\nexport const ListDynamicFieldsRequest = new ListDynamicFieldsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsResponse$Type extends MessageType<ListDynamicFieldsResponse> {\n constructor() {\n super(\"sui.rpc.v2.ListDynamicFieldsResponse\", [\n { no: 1, name: \"dynamic_fields\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => DynamicField },\n { no: 2, name: \"next_page_token\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsResponse\n */\nexport const ListDynamicFieldsResponse = new ListDynamicFieldsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DynamicField$Type extends MessageType<DynamicField> {\n constructor() {\n super(\"sui.rpc.v2.DynamicField\", [\n { no: 1, name: \"kind\", kind: \"enum\", opt: true, T: () => [\"sui.rpc.v2.DynamicField.DynamicFieldKind\", DynamicField_DynamicFieldKind] },\n { no: 2, name: \"parent\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 3, name: \"field_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 4, name: \"field_object\", kind: \"message\", T: () => Object },\n { no: 5, name: \"name\", kind: \"message\", T: () => Bcs },\n { no: 6, name: \"value\", kind: \"message\", T: () => Bcs },\n { no: 7, name: \"value_type\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 8, name: \"child_id\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 9, name: \"child_object\", kind: \"message\", T: () => Object }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.DynamicField\n */\nexport const DynamicField = new DynamicField$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsRequest$Type extends MessageType<ListOwnedObjectsRequest> {\n constructor() {\n super(\"sui.rpc.v2.ListOwnedObjectsRequest\", [\n { no: 1, name: \"owner\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ },\n { no: 2, name: \"page_size\", kind: \"scalar\", opt: true, T: 13 /*ScalarType.UINT32*/ },\n { no: 3, name: \"page_token\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ },\n { no: 4, name: \"read_mask\", kind: \"message\", T: () => FieldMask },\n { no: 5, name: \"object_type\", kind: \"scalar\", opt: true, T: 9 /*ScalarType.STRING*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n */\nexport const ListOwnedObjectsRequest = new ListOwnedObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsResponse$Type extends MessageType<ListOwnedObjectsResponse> {\n constructor() {\n super(\"sui.rpc.v2.ListOwnedObjectsResponse\", [\n { no: 1, name: \"objects\", kind: \"message\", repeat: 1 /*RepeatType.PACKED*/, T: () => Object },\n { no: 2, name: \"next_page_token\", kind: \"scalar\", opt: true, T: 12 /*ScalarType.BYTES*/ }\n ]);\n }\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsResponse\n */\nexport const ListOwnedObjectsResponse = new ListOwnedObjectsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.StateService\n */\nexport const StateService = new ServiceType(\"sui.rpc.v2.StateService\", [\n { name: \"ListDynamicFields\", options: {}, I: ListDynamicFieldsRequest, O: ListDynamicFieldsResponse },\n { name: \"ListOwnedObjects\", options: {}, I: ListOwnedObjectsRequest, O: ListOwnedObjectsResponse },\n { name: \"GetCoinInfo\", options: {}, I: GetCoinInfoRequest, O: GetCoinInfoResponse },\n { name: \"GetBalance\", options: {}, I: GetBalanceRequest, O: GetBalanceResponse },\n { name: \"ListBalances\", options: {}, I: ListBalancesRequest, O: ListBalancesResponse }\n]);\n"],
5
- "mappings": "AAWA,SAAS,mBAAmB;AAC5B,SAAS,mBAAmB;AAC5B,SAAS,WAAW;AACpB,SAAS,cAAc;AACvB,SAAS,iBAAiB;AAoHnB,IAAK,gCAAL,kBAAKA,mCAAL;AAOH,EAAAA,8DAAA,gCAA6B,KAA7B;AAMA,EAAAA,8DAAA,aAAU,KAAV;AAMA,EAAAA,8DAAA,eAAY,KAAZ;AAMA,EAAAA,8DAAA,aAAU,KAAV;AAzBQ,SAAAA;AAAA,GAAA;AAyDL,IAAK,2BAAL,kBAAKC,8BAAL;AAMH,EAAAA,oDAAA,0BAAuB,KAAvB;AAMA,EAAAA,oDAAA,WAAQ,KAAR;AAMA,EAAAA,oDAAA,eAAY,KAAZ;AAlBQ,SAAAA;AAAA,GAAA;AAqEL,IAAK,2CAAL,kBAAKC,8CAAL;AASH,EAAAA,oFAAA,kCAA+B,KAA/B;AAMA,EAAAA,oFAAA,eAAY,KAAZ;AAMA,EAAAA,oFAAA,iBAAc,KAAd;AArBQ,SAAAA;AAAA,GAAA;AA6PL,IAAK,gCAAL,kBAAKC,mCAAL;AAIH,EAAAA,8DAAA,gCAA6B,KAA7B;AAIA,EAAAA,8DAAA,WAAQ,KAAR;AAIA,EAAAA,8DAAA,YAAS,KAAT;AAZQ,SAAAA;AAAA,GAAA;AAkFZ,MAAM,gCAAgC,YAAgC;AAAA,EAClE,cAAc;AACV,UAAM,iCAAiC;AAAA,MACnC;AAAA,QAAE,IAAI;AAAA,QAAG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AAAA,MAChE;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAe,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACxF,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,0BAA0B,IAAI,6BAA6B;AAExE,MAAM,sCAAsC,YAAsC;AAAA,EAC9E,cAAc;AACV,UAAM,uCAAuC;AAAA,MACzC,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,QAAQ,GAAyB,GAAG,MAAM,OAAO;AAAA,MAC5F;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAmB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IAC5F,CAAC;AAAA,EACL;AACJ;AAIO,MAAM,2BAA2B,IAAI,8BAA8B;AAInE,MAAM,eAAe,IAAI,YAAY,2BAA2B;AAAA,EACnE,EAAE,MAAM,qBAAqB,SAAS,CAAC,GAAG,GAAG,0BAA0B,GAAG,0BAA0B;AAAA,EACpG,EAAE,MAAM,oBAAoB,SAAS,CAAC,GAAG,GAAG,yBAAyB,GAAG,yBAAyB;AAAA,EACjG,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E,EAAE,MAAM,gBAAgB,SAAS,CAAC,GAAG,GAAG,qBAAqB,GAAG,qBAAqB;AACzF,CAAC;",
4
+ "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/state_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 { Bcs } from './bcs.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\n/**\n * Request message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2.GetCoinInfoRequest\n */\nexport interface GetCoinInfoRequest {\n\t/**\n\t * The coin type to request information about\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n}\n/**\n * Response message for `NodeService.GetCoinInfo`.\n *\n * @generated from protobuf message sui.rpc.v2.GetCoinInfoResponse\n */\nexport interface GetCoinInfoResponse {\n\t/**\n\t * Required. The coin type.\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n\t/**\n\t * This field will be populated with information about this coin\n\t * type's `0x2::coin::CoinMetadata` if it exists and has not been wrapped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinMetadata metadata = 2;\n\t */\n\tmetadata?: CoinMetadata;\n\t/**\n\t * This field will be populated with information about this coin\n\t * type's `0x2::coin::TreasuryCap` if it exists and has not been wrapped.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinTreasury treasury = 3;\n\t */\n\ttreasury?: CoinTreasury;\n\t/**\n\t * If this coin type is a regulated coin, this field will be\n\t * populated with information either from its Currency object\n\t * in the CoinRegistry, or from its `0x2::coin::RegulatedCoinMetadata`\n\t * object for coins that have not been migrated to the CoinRegistry\n\t *\n\t * If this coin is not known to be regulated, only the\n\t * coin_regulated_state field will be populated.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.RegulatedCoinMetadata regulated_metadata = 4;\n\t */\n\tregulatedMetadata?: RegulatedCoinMetadata;\n}\n/**\n * Metadata for a coin type\n *\n * @generated from protobuf message sui.rpc.v2.CoinMetadata\n */\nexport interface CoinMetadata {\n\t/**\n\t * ObjectId of the `0x2::coin::CoinMetadata` object or\n\t * 0x2::sui::coin_registry::Currency object (when registered with CoinRegistry).\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * Number of decimal places to coin uses.\n\t *\n\t * @generated from protobuf field: optional uint32 decimals = 2;\n\t */\n\tdecimals?: number;\n\t/**\n\t * Name for the token\n\t *\n\t * @generated from protobuf field: optional string name = 3;\n\t */\n\tname?: string;\n\t/**\n\t * Symbol for the token\n\t *\n\t * @generated from protobuf field: optional string symbol = 4;\n\t */\n\tsymbol?: string;\n\t/**\n\t * Description of the token\n\t *\n\t * @generated from protobuf field: optional string description = 5;\n\t */\n\tdescription?: string;\n\t/**\n\t * URL for the token logo\n\t *\n\t * @generated from protobuf field: optional string icon_url = 6;\n\t */\n\ticonUrl?: string;\n\t/**\n\t * The MetadataCap ID if it has been claimed for this coin type.\n\t * This capability allows updating the coin's metadata fields.\n\t * Only populated when metadata is from CoinRegistry.\n\t *\n\t * @generated from protobuf field: optional string metadata_cap_id = 7;\n\t */\n\tmetadataCapId?: string;\n\t/**\n\t * State of the MetadataCap for this coin type.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinMetadata.MetadataCapState metadata_cap_state = 8;\n\t */\n\tmetadataCapState?: CoinMetadata_MetadataCapState;\n}\n/**\n * Information about the state of the coin's MetadataCap\n *\n * @generated from protobuf enum sui.rpc.v2.CoinMetadata.MetadataCapState\n */\nexport enum CoinMetadata_MetadataCapState {\n\t/**\n\t * Indicates the state of the MetadataCap is unknown.\n\t * Set when the coin has not been migrated to the CoinRegistry.\n\t *\n\t * @generated from protobuf enum value: METADATA_CAP_STATE_UNKNOWN = 0;\n\t */\n\tMETADATA_CAP_STATE_UNKNOWN = 0,\n\t/**\n\t * Indicates the MetadataCap has been claimed.\n\t *\n\t * @generated from protobuf enum value: CLAIMED = 1;\n\t */\n\tCLAIMED = 1,\n\t/**\n\t * Indicates the MetadataCap has not been claimed.\n\t *\n\t * @generated from protobuf enum value: UNCLAIMED = 2;\n\t */\n\tUNCLAIMED = 2,\n\t/**\n\t * Indicates the MetadataCap has been deleted.\n\t *\n\t * @generated from protobuf enum value: DELETED = 3;\n\t */\n\tDELETED = 3,\n}\n/**\n * Information about a coin type's `0x2::coin::TreasuryCap` and its total available supply\n *\n * @generated from protobuf message sui.rpc.v2.CoinTreasury\n */\nexport interface CoinTreasury {\n\t/**\n\t * ObjectId of the `0x2::coin::TreasuryCap` object.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * Total available supply for this coin type.\n\t *\n\t * @generated from protobuf field: optional uint64 total_supply = 2;\n\t */\n\ttotalSupply?: bigint;\n\t/**\n\t * Supply state indicating if the supply is fixed or can still be minted\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.CoinTreasury.SupplyState supply_state = 3;\n\t */\n\tsupplyState?: CoinTreasury_SupplyState;\n}\n/**\n * Supply state of a coin, matching the Move SupplyState enum\n *\n * @generated from protobuf enum sui.rpc.v2.CoinTreasury.SupplyState\n */\nexport enum CoinTreasury_SupplyState {\n\t/**\n\t * Supply is unknown or TreasuryCap still exists (minting still possible)\n\t *\n\t * @generated from protobuf enum value: SUPPLY_STATE_UNKNOWN = 0;\n\t */\n\tSUPPLY_STATE_UNKNOWN = 0,\n\t/**\n\t * Supply is fixed (TreasuryCap consumed, no more minting possible)\n\t *\n\t * @generated from protobuf enum value: FIXED = 1;\n\t */\n\tFIXED = 1,\n\t/**\n\t * Supply can only decrease (burning allowed, minting not allowed)\n\t *\n\t * @generated from protobuf enum value: BURN_ONLY = 2;\n\t */\n\tBURN_ONLY = 2,\n}\n/**\n * Information about a regulated coin, which indicates that it makes use of the transfer deny list.\n *\n * @generated from protobuf message sui.rpc.v2.RegulatedCoinMetadata\n */\nexport interface RegulatedCoinMetadata {\n\t/**\n\t * ObjectId of the `0x2::coin::RegulatedCoinMetadata` object.\n\t * Only present for coins that have not been migrated to CoinRegistry.\n\t *\n\t * @generated from protobuf field: optional string id = 1;\n\t */\n\tid?: string;\n\t/**\n\t * The ID of the coin's `CoinMetadata` or `CoinData` object.\n\t *\n\t * @generated from protobuf field: optional string coin_metadata_object = 2;\n\t */\n\tcoinMetadataObject?: string;\n\t/**\n\t * The ID of the coin's `DenyCap` object.\n\t *\n\t * @generated from protobuf field: optional string deny_cap_object = 3;\n\t */\n\tdenyCapObject?: string;\n\t/**\n\t * Whether the coin can be globally paused\n\t *\n\t * @generated from protobuf field: optional bool allow_global_pause = 4;\n\t */\n\tallowGlobalPause?: boolean;\n\t/**\n\t * Variant of the regulated coin metadata\n\t *\n\t * @generated from protobuf field: optional uint32 variant = 5;\n\t */\n\tvariant?: number;\n\t/**\n\t * Indicates the coin's regulated state.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState coin_regulated_state = 6;\n\t */\n\tcoinRegulatedState?: RegulatedCoinMetadata_CoinRegulatedState;\n}\n/**\n * Indicates the state of the regulation of the coin.\n *\n * @generated from protobuf enum sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState\n */\nexport enum RegulatedCoinMetadata_CoinRegulatedState {\n\t/**\n\t * Indicates the regulation state of the coin is unknown.\n\t * This is set when a coin has not been migrated to the\n\t * coin registry and has no `0x2::coin::RegulatedCoinMetadata`\n\t * object.\n\t *\n\t * @generated from protobuf enum value: COIN_REGULATED_STATE_UNKNOWN = 0;\n\t */\n\tCOIN_REGULATED_STATE_UNKNOWN = 0,\n\t/**\n\t * Indicates a coin is regulated. RegulatedCoinMetadata will be populated.\n\t *\n\t * @generated from protobuf enum value: REGULATED = 1;\n\t */\n\tREGULATED = 1,\n\t/**\n\t * Indicates a coin is unregulated.\n\t *\n\t * @generated from protobuf enum value: UNREGULATED = 2;\n\t */\n\tUNREGULATED = 2,\n}\n/**\n * Request message for `LiveDataService.GetBalance`.\n *\n * @generated from protobuf message sui.rpc.v2.GetBalanceRequest\n */\nexport interface GetBalanceRequest {\n\t/**\n\t * Required. The owner's Sui address.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * Required. The type names for the coin (e.g., 0x2::sui::SUI).\n\t *\n\t * @generated from protobuf field: optional string coin_type = 2;\n\t */\n\tcoinType?: string;\n}\n/**\n * Response message for `LiveDataService.GetBalance`.\n * Return the total coin balance for one coin type, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2.GetBalanceResponse\n */\nexport interface GetBalanceResponse {\n\t/**\n\t * The balance information for the requested coin type.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Balance balance = 1;\n\t */\n\tbalance?: Balance;\n}\n/**\n * Request message for `LiveDataService.ListBalances`.\n *\n * @generated from protobuf message sui.rpc.v2.ListBalancesRequest\n */\nexport interface ListBalancesRequest {\n\t/**\n\t * Required. The owner's Sui address.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * The maximum number of balance entries to return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\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 `ListBalances` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListBalances` 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 * Response message for `LiveDataService.ListBalances`.\n * Return the total coin balance for all coin types, owned by the address owner.\n *\n * @generated from protobuf message sui.rpc.v2.ListBalancesResponse\n */\nexport interface ListBalancesResponse {\n\t/**\n\t * The list of coin types and their respective balances.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Balance balances = 1;\n\t */\n\tbalances: Balance[];\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 * Balance information for a specific coin type.\n *\n * @generated from protobuf message sui.rpc.v2.Balance\n */\nexport interface Balance {\n\t/**\n\t * The type of the coin (e.g., 0x2::sui::SUI).\n\t *\n\t * @generated from protobuf field: optional string coin_type = 1;\n\t */\n\tcoinType?: string;\n\t/**\n\t * Shows the total balance of the coin in its smallest unit.\n\t *\n\t * @generated from protobuf field: optional uint64 balance = 3;\n\t */\n\tbalance?: bigint;\n}\n/**\n * Request message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n */\nexport interface ListDynamicFieldsRequest {\n\t/**\n\t * Required. The `UID` of the parent, which owns the collections of dynamic fields.\n\t *\n\t * @generated from protobuf field: optional string parent = 1;\n\t */\n\tparent?: string;\n\t/**\n\t * The maximum number of dynamic fields to return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\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 `ListDynamicFields` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListDynamicFields` 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\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `parent,field_id`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * Response message for `NodeService.ListDynamicFields`\n *\n * @generated from protobuf message sui.rpc.v2.ListDynamicFieldsResponse\n */\nexport interface ListDynamicFieldsResponse {\n\t/**\n\t * Page of dynamic fields owned by the specified parent.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.DynamicField dynamic_fields = 1;\n\t */\n\tdynamicFields: DynamicField[];\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 * @generated from protobuf message sui.rpc.v2.DynamicField\n */\nexport interface DynamicField {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2.DynamicField.DynamicFieldKind kind = 1;\n\t */\n\tkind?: DynamicField_DynamicFieldKind;\n\t/**\n\t * ObjectId of this dynamic field's parent.\n\t *\n\t * @generated from protobuf field: optional string parent = 2;\n\t */\n\tparent?: string;\n\t/**\n\t * ObjectId of this dynamic field.\n\t *\n\t * @generated from protobuf field: optional string field_id = 3;\n\t */\n\tfieldId?: string;\n\t/**\n\t * The field object itself\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Object field_object = 4;\n\t */\n\tfieldObject?: Object;\n\t/**\n\t * The dynamic field's \"name\"\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs name = 5;\n\t */\n\tname?: Bcs;\n\t/**\n\t * The dynamic field's \"value\"\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Bcs value = 6;\n\t */\n\tvalue?: Bcs;\n\t/**\n\t * The type of the dynamic field \"value\".\n\t *\n\t * If this is a dynamic object field then this is the type of the object\n\t * itself (which is a child of this field), otherwise this is the type of the\n\t * value of this field.\n\t *\n\t * @generated from protobuf field: optional string value_type = 7;\n\t */\n\tvalueType?: string;\n\t/**\n\t * The ObjectId of the child object when a child is a dynamic\n\t * object field.\n\t *\n\t * The presence or absence of this field can be used to determine if a child\n\t * is a dynamic field or a dynamic child object\n\t *\n\t * @generated from protobuf field: optional string child_id = 8;\n\t */\n\tchildId?: string;\n\t/**\n\t * The object itself when a child is a dynamic object field.\n\t *\n\t * @generated from protobuf field: optional sui.rpc.v2.Object child_object = 9;\n\t */\n\tchildObject?: Object;\n}\n/**\n * @generated from protobuf enum sui.rpc.v2.DynamicField.DynamicFieldKind\n */\nexport enum DynamicField_DynamicFieldKind {\n\t/**\n\t * @generated from protobuf enum value: DYNAMIC_FIELD_KIND_UNKNOWN = 0;\n\t */\n\tDYNAMIC_FIELD_KIND_UNKNOWN = 0,\n\t/**\n\t * @generated from protobuf enum value: FIELD = 1;\n\t */\n\tFIELD = 1,\n\t/**\n\t * @generated from protobuf enum value: OBJECT = 2;\n\t */\n\tOBJECT = 2,\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n */\nexport interface ListOwnedObjectsRequest {\n\t/**\n\t * Required. The address of the account that owns the objects.\n\t *\n\t * @generated from protobuf field: optional string owner = 1;\n\t */\n\towner?: string;\n\t/**\n\t * The maximum number of entries return. The service may return fewer than this value.\n\t * If unspecified, at most `50` entries will be returned.\n\t * The maximum value is `1000`; values above `1000` will be coerced to `1000`.\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 `ListOwnedObjects` call.\n\t * Provide this to retrieve the subsequent page.\n\t *\n\t * When paginating, all other parameters provided to `ListOwnedObjects` 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\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,object_type`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 4;\n\t */\n\treadMask?: FieldMask;\n\t/**\n\t * Optional type filter to limit the types of objects listed.\n\t *\n\t * Providing an object type with no type params will return objects of that\n\t * type with any type parameter, e.g. `0x2::coin::Coin` will return all\n\t * `Coin<T>` objects regardless of the type parameter `T`. Providing a type\n\t * with a type param will restrict the returned objects to only those objects\n\t * that match the provided type parameters, e.g.\n\t * `0x2::coin::Coin<0x2::sui::SUI>` will only return `Coin<SUI>` objects.\n\t *\n\t * @generated from protobuf field: optional string object_type = 5;\n\t */\n\tobjectType?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2.ListOwnedObjectsResponse\n */\nexport interface ListOwnedObjectsResponse {\n\t/**\n\t * Page of dynamic fields owned by the specified parent.\n\t *\n\t * @generated from protobuf field: repeated sui.rpc.v2.Object objects = 1;\n\t */\n\tobjects: Object[];\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// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoRequest$Type extends MessageType<GetCoinInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCoinInfoRequest', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoRequest\n */\nexport const GetCoinInfoRequest = new GetCoinInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCoinInfoResponse$Type extends MessageType<GetCoinInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetCoinInfoResponse', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'metadata', kind: 'message', T: () => CoinMetadata },\n\t\t\t{ no: 3, name: 'treasury', kind: 'message', T: () => CoinTreasury },\n\t\t\t{ no: 4, name: 'regulated_metadata', kind: 'message', T: () => RegulatedCoinMetadata },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetCoinInfoResponse\n */\nexport const GetCoinInfoResponse = new GetCoinInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinMetadata$Type extends MessageType<CoinMetadata> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CoinMetadata', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'decimals', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{ no: 3, name: 'name', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'symbol', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 5, name: 'description', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 6, name: 'icon_url', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 7, name: 'metadata_cap_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 8,\n\t\t\t\tname: 'metadata_cap_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.CoinMetadata.MetadataCapState', CoinMetadata_MetadataCapState],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CoinMetadata\n */\nexport const CoinMetadata = new CoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass CoinTreasury$Type extends MessageType<CoinTreasury> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.CoinTreasury', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'total_supply',\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: 'supply_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.CoinTreasury.SupplyState', CoinTreasury_SupplyState],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.CoinTreasury\n */\nexport const CoinTreasury = new CoinTreasury$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass RegulatedCoinMetadata$Type extends MessageType<RegulatedCoinMetadata> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.RegulatedCoinMetadata', [\n\t\t\t{ no: 1, name: 'id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'coin_metadata_object',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'deny_cap_object', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'allow_global_pause', kind: 'scalar', opt: true, T: 8 /*ScalarType.BOOL*/ },\n\t\t\t{ no: 5, name: 'variant', kind: 'scalar', opt: true, T: 13 /*ScalarType.UINT32*/ },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'coin_regulated_state',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => [\n\t\t\t\t\t'sui.rpc.v2.RegulatedCoinMetadata.CoinRegulatedState',\n\t\t\t\t\tRegulatedCoinMetadata_CoinRegulatedState,\n\t\t\t\t],\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.RegulatedCoinMetadata\n */\nexport const RegulatedCoinMetadata = new RegulatedCoinMetadata$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceRequest$Type extends MessageType<GetBalanceRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetBalanceRequest', [\n\t\t\t{ no: 1, name: 'owner', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetBalanceRequest\n */\nexport const GetBalanceRequest = new GetBalanceRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetBalanceResponse$Type extends MessageType<GetBalanceResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.GetBalanceResponse', [\n\t\t\t{ no: 1, name: 'balance', kind: 'message', T: () => Balance },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.GetBalanceResponse\n */\nexport const GetBalanceResponse = new GetBalanceResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesRequest$Type extends MessageType<ListBalancesRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListBalancesRequest', [\n\t\t\t{ no: 1, name: 'owner', 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.ListBalancesRequest\n */\nexport const ListBalancesRequest = new ListBalancesRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListBalancesResponse$Type extends MessageType<ListBalancesResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListBalancesResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'balances',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => Balance,\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.ListBalancesResponse\n */\nexport const ListBalancesResponse = new ListBalancesResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass Balance$Type extends MessageType<Balance> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.Balance', [\n\t\t\t{ no: 1, name: 'coin_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'balance',\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.Balance\n */\nexport const Balance = new Balance$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsRequest$Type extends MessageType<ListDynamicFieldsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListDynamicFieldsRequest', [\n\t\t\t{ no: 1, name: 'parent', 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\t{ no: 4, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListDynamicFieldsRequest\n */\nexport const ListDynamicFieldsRequest = new ListDynamicFieldsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListDynamicFieldsResponse$Type extends MessageType<ListDynamicFieldsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListDynamicFieldsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'dynamic_fields',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => DynamicField,\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.ListDynamicFieldsResponse\n */\nexport const ListDynamicFieldsResponse = new ListDynamicFieldsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass DynamicField$Type extends MessageType<DynamicField> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.DynamicField', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'kind',\n\t\t\t\tkind: 'enum',\n\t\t\t\topt: true,\n\t\t\t\tT: () => ['sui.rpc.v2.DynamicField.DynamicFieldKind', DynamicField_DynamicFieldKind],\n\t\t\t},\n\t\t\t{ no: 2, name: 'parent', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'field_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 4, name: 'field_object', kind: 'message', T: () => Object },\n\t\t\t{ no: 5, name: 'name', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 6, name: 'value', kind: 'message', T: () => Bcs },\n\t\t\t{ no: 7, name: 'value_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 8, name: 'child_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 9, name: 'child_object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.DynamicField\n */\nexport const DynamicField = new DynamicField$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsRequest$Type extends MessageType<ListOwnedObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListOwnedObjectsRequest', [\n\t\t\t{ no: 1, name: 'owner', 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\t{ no: 4, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t\t{ no: 5, name: 'object_type', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2.ListOwnedObjectsRequest\n */\nexport const ListOwnedObjectsRequest = new ListOwnedObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass ListOwnedObjectsResponse$Type extends MessageType<ListOwnedObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2.ListOwnedObjectsResponse', [\n\t\t\t{ no: 1, name: 'objects', kind: 'message', repeat: 1 /*RepeatType.PACKED*/, T: () => Object },\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.ListOwnedObjectsResponse\n */\nexport const ListOwnedObjectsResponse = new ListOwnedObjectsResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2.StateService\n */\nexport const StateService = new ServiceType('sui.rpc.v2.StateService', [\n\t{\n\t\tname: 'ListDynamicFields',\n\t\toptions: {},\n\t\tI: ListDynamicFieldsRequest,\n\t\tO: ListDynamicFieldsResponse,\n\t},\n\t{\n\t\tname: 'ListOwnedObjects',\n\t\toptions: {},\n\t\tI: ListOwnedObjectsRequest,\n\t\tO: ListOwnedObjectsResponse,\n\t},\n\t{ name: 'GetCoinInfo', options: {}, I: GetCoinInfoRequest, O: GetCoinInfoResponse },\n\t{ name: 'GetBalance', options: {}, I: GetBalanceRequest, O: GetBalanceResponse },\n\t{ name: 'ListBalances',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AI,6BAA6B;AAExE,MAAM,sCAAsC,YAAsC;AAAA,EACjF,cAAc;AACb,UAAM,uCAAuC;AAAA,MAC5C,EAAE,IAAI,GAAG,MAAM,WAAW,MAAM,WAAW,QAAQ,GAAyB,GAAG,MAAM,OAAO;AAAA,MAC5F;AAAA,QAAE,IAAI;AAAA,QAAG,MAAM;AAAA,QAAmB,MAAM;AAAA,QAAU,KAAK;AAAA,QAAM,GAAG;AAAA;AAAA,MAAwB;AAAA,IACzF,CAAC;AAAA,EACF;AACD;AAIO,MAAM,2BAA2B,IAAI,8BAA8B;AAInE,MAAM,eAAe,IAAI,YAAY,2BAA2B;AAAA,EACtE;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AAAA,EACA;AAAA,IACC,MAAM;AAAA,IACN,SAAS,CAAC;AAAA,IACV,GAAG;AAAA,IACH,GAAG;AAAA,EACJ;AAAA,EACA,EAAE,MAAM,eAAe,SAAS,CAAC,GAAG,GAAG,oBAAoB,GAAG,oBAAoB;AAAA,EAClF,EAAE,MAAM,cAAc,SAAS,CAAC,GAAG,GAAG,mBAAmB,GAAG,mBAAmB;AAAA,EAC/E,EAAE,MAAM,gBAAgB,SAAS,CAAC,GAAG,GAAG,qBAAqB,GAAG,qBAAqB;AACtF,CAAC;",
6
6
  "names": ["CoinMetadata_MetadataCapState", "CoinTreasury_SupplyState", "RegulatedCoinMetadata_CoinRegulatedState", "DynamicField_DynamicFieldKind"]
7
7
  }
@@ -1,9 +1,9 @@
1
- import type { RpcTransport } from "@protobuf-ts/runtime-rpc";
2
- import type { ServiceInfo } from "@protobuf-ts/runtime-rpc";
3
- import type { SubscribeCheckpointsResponse } from "./subscription_service";
4
- import type { SubscribeCheckpointsRequest } from "./subscription_service";
5
- import type { ServerStreamingCall } from "@protobuf-ts/runtime-rpc";
6
- import type { RpcOptions } from "@protobuf-ts/runtime-rpc";
1
+ import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
+ import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
+ import type { SubscribeCheckpointsResponse } from './subscription_service.js';
4
+ import type { SubscribeCheckpointsRequest } from './subscription_service.js';
5
+ import type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';
6
+ import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
7
7
  /**
8
8
  * @generated from protobuf service sui.rpc.v2.SubscriptionService
9
9
  */
@@ -1,4 +1,4 @@
1
- import { SubscriptionService } from "./subscription_service";
1
+ import { SubscriptionService } from "./subscription_service.js";
2
2
  import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
3
  class SubscriptionServiceClient {
4
4
  constructor(_transport) {
@@ -24,7 +24,13 @@ class SubscriptionServiceClient {
24
24
  */
25
25
  subscribeCheckpoints(input, options) {
26
26
  const method = this.methods[0], opt = this._transport.mergeOptions(options);
27
- return stackIntercept("serverStreaming", this._transport, method, opt, input);
27
+ return stackIntercept(
28
+ "serverStreaming",
29
+ this._transport,
30
+ method,
31
+ opt,
32
+ input
33
+ );
28
34
  }
29
35
  }
30
36
  export {
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2/subscription_service.client.ts"],
4
- "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/subscription_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 type { RpcTransport } from \"@protobuf-ts/runtime-rpc\";\nimport type { ServiceInfo } from \"@protobuf-ts/runtime-rpc\";\nimport { SubscriptionService } from \"./subscription_service\";\nimport { stackIntercept } from \"@protobuf-ts/runtime-rpc\";\nimport type { SubscribeCheckpointsResponse } from \"./subscription_service\";\nimport type { SubscribeCheckpointsRequest } from \"./subscription_service\";\nimport type { ServerStreamingCall } from \"@protobuf-ts/runtime-rpc\";\nimport type { RpcOptions } from \"@protobuf-ts/runtime-rpc\";\n/**\n * @generated from protobuf service sui.rpc.v2.SubscriptionService\n */\nexport interface ISubscriptionServiceClient {\n /**\n * Subscribe to the stream of checkpoints.\n *\n * This API provides a subscription to the checkpoint stream for the Sui\n * blockchain. When a subscription is initialized the stream will begin with\n * the latest executed checkpoint as seen by the server. Responses are\n * guaranteed to return checkpoints in-order and without gaps. This enables\n * clients to know exactly the last checkpoint they have processed and in the\n * event the subscription terminates (either by the client/server or by the\n * connection breaking), clients will be able to reinitialize a subscription\n * and then leverage other APIs in order to request data for the checkpoints\n * they missed.\n *\n * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n */\n subscribeCheckpoints(input: SubscribeCheckpointsRequest, options?: RpcOptions): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.SubscriptionService\n */\nexport class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {\n typeName = SubscriptionService.typeName;\n methods = SubscriptionService.methods;\n options = SubscriptionService.options;\n constructor(private readonly _transport: RpcTransport) {\n }\n /**\n * Subscribe to the stream of checkpoints.\n *\n * This API provides a subscription to the checkpoint stream for the Sui\n * blockchain. When a subscription is initialized the stream will begin with\n * the latest executed checkpoint as seen by the server. Responses are\n * guaranteed to return checkpoints in-order and without gaps. This enables\n * clients to know exactly the last checkpoint they have processed and in the\n * event the subscription terminates (either by the client/server or by the\n * connection breaking), clients will be able to reinitialize a subscription\n * and then leverage other APIs in order to request data for the checkpoints\n * they missed.\n *\n * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n */\n subscribeCheckpoints(input: SubscribeCheckpointsRequest, options?: RpcOptions): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse> {\n const method = this.methods[0], opt = this._transport.mergeOptions(options);\n return stackIntercept<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>(\"serverStreaming\", this._transport, method, opt, input);\n }\n}\n"],
5
- "mappings": "AAaA,SAAS,2BAA2B;AACpC,SAAS,sBAAsB;AA6BxB,MAAM,0BAA6E;AAAA,EAItF,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,oBAAoB;AAC/B,mBAAU,oBAAoB;AAC9B,mBAAU,oBAAoB;AAAA,EAE9B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBA,qBAAqB,OAAoC,SAAsG;AAC3J,UAAM,SAAS,KAAK,QAAQ,CAAC,GAAG,MAAM,KAAK,WAAW,aAAa,OAAO;AAC1E,WAAO,eAA0E,mBAAmB,KAAK,YAAY,QAAQ,KAAK,KAAK;AAAA,EAC3I;AACJ;",
4
+ "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/subscription_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 type { RpcTransport } from '@protobuf-ts/runtime-rpc';\nimport type { ServiceInfo } from '@protobuf-ts/runtime-rpc';\nimport { SubscriptionService } from './subscription_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { SubscribeCheckpointsResponse } from './subscription_service.js';\nimport type { SubscribeCheckpointsRequest } from './subscription_service.js';\nimport type { ServerStreamingCall } from '@protobuf-ts/runtime-rpc';\nimport type { RpcOptions } from '@protobuf-ts/runtime-rpc';\n/**\n * @generated from protobuf service sui.rpc.v2.SubscriptionService\n */\nexport interface ISubscriptionServiceClient {\n\t/**\n\t * Subscribe to the stream of checkpoints.\n\t *\n\t * This API provides a subscription to the checkpoint stream for the Sui\n\t * blockchain. When a subscription is initialized the stream will begin with\n\t * the latest executed checkpoint as seen by the server. Responses are\n\t * guaranteed to return checkpoints in-order and without gaps. This enables\n\t * clients to know exactly the last checkpoint they have processed and in the\n\t * event the subscription terminates (either by the client/server or by the\n\t * connection breaking), clients will be able to reinitialize a subscription\n\t * and then leverage other APIs in order to request data for the checkpoints\n\t * they missed.\n\t *\n\t * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n\t */\n\tsubscribeCheckpoints(\n\t\tinput: SubscribeCheckpointsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2.SubscriptionService\n */\nexport class SubscriptionServiceClient implements ISubscriptionServiceClient, ServiceInfo {\n\ttypeName = SubscriptionService.typeName;\n\tmethods = SubscriptionService.methods;\n\toptions = SubscriptionService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * Subscribe to the stream of checkpoints.\n\t *\n\t * This API provides a subscription to the checkpoint stream for the Sui\n\t * blockchain. When a subscription is initialized the stream will begin with\n\t * the latest executed checkpoint as seen by the server. Responses are\n\t * guaranteed to return checkpoints in-order and without gaps. This enables\n\t * clients to know exactly the last checkpoint they have processed and in the\n\t * event the subscription terminates (either by the client/server or by the\n\t * connection breaking), clients will be able to reinitialize a subscription\n\t * and then leverage other APIs in order to request data for the checkpoints\n\t * they missed.\n\t *\n\t * @generated from protobuf rpc: SubscribeCheckpoints(sui.rpc.v2.SubscribeCheckpointsRequest) returns (stream sui.rpc.v2.SubscribeCheckpointsResponse);\n\t */\n\tsubscribeCheckpoints(\n\t\tinput: SubscribeCheckpointsRequest,\n\t\toptions?: RpcOptions,\n\t): ServerStreamingCall<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse> {\n\t\tconst method = this.methods[0],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SubscribeCheckpointsRequest, SubscribeCheckpointsResponse>(\n\t\t\t'serverStreaming',\n\t\t\tthis._transport,\n\t\t\tmethod,\n\t\t\topt,\n\t\t\tinput,\n\t\t);\n\t}\n}\n"],
5
+ "mappings": "AAaA,SAAS,2BAA2B;AACpC,SAAS,sBAAsB;AAgCxB,MAAM,0BAA6E;AAAA,EAIzF,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,oBAAoB;AAC/B,mBAAU,oBAAoB;AAC9B,mBAAU,oBAAoB;AAAA,EAC0B;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,EAgBxD,qBACC,OACA,SACiF;AACjF,UAAM,SAAS,KAAK,QAAQ,CAAC,GAC5B,MAAM,KAAK,WAAW,aAAa,OAAO;AAC3C,WAAO;AAAA,MACN;AAAA,MACA,KAAK;AAAA,MACL;AAAA,MACA;AAAA,MACA;AAAA,IACD;AAAA,EACD;AACD;",
6
6
  "names": []
7
7
  }
@@ -1,7 +1,7 @@
1
- import { ServiceType } from "@protobuf-ts/runtime-rpc";
2
- import { MessageType } from "@protobuf-ts/runtime";
3
- import { Checkpoint } from "./checkpoint";
4
- import { FieldMask } from "../../../google/protobuf/field_mask";
1
+ import { ServiceType } from '@protobuf-ts/runtime-rpc';
2
+ import { MessageType } from '@protobuf-ts/runtime';
3
+ import { Checkpoint } from './checkpoint.js';
4
+ import { FieldMask } from '../../../google/protobuf/field_mask.js';
5
5
  /**
6
6
  * Request message for SubscriptionService.SubscribeCheckpoints
7
7
  *
@@ -1,7 +1,7 @@
1
1
  import { ServiceType } from "@protobuf-ts/runtime-rpc";
2
2
  import { MessageType } from "@protobuf-ts/runtime";
3
- import { Checkpoint } from "./checkpoint";
4
- import { FieldMask } from "../../../google/protobuf/field_mask";
3
+ import { Checkpoint } from "./checkpoint.js";
4
+ import { FieldMask } from "../../../google/protobuf/field_mask.js";
5
5
  class SubscribeCheckpointsRequest$Type extends MessageType {
6
6
  constructor() {
7
7
  super("sui.rpc.v2.SubscribeCheckpointsRequest", [
@@ -20,7 +20,6 @@ class SubscribeCheckpointsResponse$Type extends MessageType {
20
20
  opt: true,
21
21
  T: 4,
22
22
  L: 0
23
- /*LongType.BIGINT*/
24
23
  },
25
24
  { no: 2, name: "checkpoint", kind: "message", T: () => Checkpoint }
26
25
  ]);
@@ -28,7 +27,13 @@ class SubscribeCheckpointsResponse$Type extends MessageType {
28
27
  }
29
28
  const SubscribeCheckpointsResponse = new SubscribeCheckpointsResponse$Type();
30
29
  const SubscriptionService = new ServiceType("sui.rpc.v2.SubscriptionService", [
31
- { name: "SubscribeCheckpoints", serverStreaming: true, options: {}, I: SubscribeCheckpointsRequest, O: SubscribeCheckpointsResponse }
30
+ {
31
+ name: "SubscribeCheckpoints",
32
+ serverStreaming: true,
33
+ options: {},
34
+ I: SubscribeCheckpointsRequest,
35
+ O: SubscribeCheckpointsResponse
36
+ }
32
37
  ]);
33
38
  export {
34
39
  SubscribeCheckpointsRequest,