@mysten/sui 1.40.0 → 1.41.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 (524) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/dist/cjs/client/index.d.ts +4 -4
  3. package/dist/cjs/client/index.js +6 -6
  4. package/dist/cjs/client/index.js.map +1 -1
  5. package/dist/cjs/experimental/core.js +1 -1
  6. package/dist/cjs/experimental/core.js.map +2 -2
  7. package/dist/cjs/faucet/faucet.d.ts +3 -3
  8. package/dist/cjs/faucet/faucet.js +1 -1
  9. package/dist/cjs/faucet/faucet.js.map +2 -2
  10. package/dist/cjs/graphql/client.d.ts +2 -2
  11. package/dist/cjs/graphql/client.js +2 -2
  12. package/dist/cjs/graphql/client.js.map +3 -3
  13. package/dist/cjs/{experimental/transports/graphql.d.ts → graphql/core.d.ts} +4 -4
  14. package/dist/cjs/{experimental/transports/graphql.js → graphql/core.js} +28 -28
  15. package/dist/cjs/graphql/core.js.map +7 -0
  16. package/dist/cjs/grpc/client.d.ts +31 -0
  17. package/dist/cjs/grpc/client.js +51 -0
  18. package/dist/cjs/grpc/client.js.map +7 -0
  19. package/dist/cjs/grpc/core.d.ts +27 -0
  20. package/dist/cjs/grpc/core.js +644 -0
  21. package/dist/cjs/grpc/core.js.map +7 -0
  22. package/dist/cjs/grpc/index.d.ts +4 -0
  23. package/dist/cjs/grpc/index.js +27 -0
  24. package/dist/cjs/grpc/index.js.map +7 -0
  25. package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +173 -0
  26. package/dist/cjs/grpc/proto/google/protobuf/any.js +139 -0
  27. package/dist/cjs/grpc/proto/google/protobuf/any.js.map +7 -0
  28. package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +104 -0
  29. package/dist/cjs/grpc/proto/google/protobuf/duration.js +88 -0
  30. package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +7 -0
  31. package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +25 -0
  32. package/dist/cjs/grpc/proto/google/protobuf/empty.js +31 -0
  33. package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +7 -0
  34. package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +231 -0
  35. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +73 -0
  36. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +7 -0
  37. package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +169 -0
  38. package/dist/cjs/grpc/proto/google/protobuf/struct.js +199 -0
  39. package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +7 -0
  40. package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +145 -0
  41. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +123 -0
  42. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +7 -0
  43. package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +525 -0
  44. package/dist/cjs/grpc/proto/google/rpc/error_details.js +332 -0
  45. package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +7 -0
  46. package/dist/cjs/grpc/proto/google/rpc/status.d.ts +46 -0
  47. package/dist/cjs/grpc/proto/google/rpc/status.js +48 -0
  48. package/dist/cjs/grpc/proto/google/rpc/status.js.map +7 -0
  49. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/argument.d.ts +66 -0
  50. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/argument.js +71 -0
  51. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/argument.js.map +7 -0
  52. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/balance_change.d.ts +34 -0
  53. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/balance_change.js +56 -0
  54. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/balance_change.js.map +7 -0
  55. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/bcs.d.ts +30 -0
  56. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/bcs.js +48 -0
  57. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/bcs.js.map +7 -0
  58. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint.d.ts +55 -0
  59. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint.js +62 -0
  60. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint.js.map +7 -0
  61. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.d.ts +74 -0
  62. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js +89 -0
  63. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js.map +7 -0
  64. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.d.ts +195 -0
  65. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js +165 -0
  66. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js.map +7 -0
  67. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/effects.d.ts +333 -0
  68. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/effects.js +286 -0
  69. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/effects.js.map +7 -0
  70. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/epoch.d.ts +62 -0
  71. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/epoch.js +73 -0
  72. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/epoch.js.map +7 -0
  73. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/error_reason.d.ts +17 -0
  74. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/error_reason.js +30 -0
  75. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/error_reason.js.map +7 -0
  76. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/event.d.ts +88 -0
  77. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/event.js +86 -0
  78. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/event.js.map +7 -0
  79. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/executed_transaction.d.ts +85 -0
  80. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/executed_transaction.js +87 -0
  81. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/executed_transaction.js.map +7 -0
  82. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/execution_status.d.ts +843 -0
  83. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/execution_status.js +513 -0
  84. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/execution_status.js.map +7 -0
  85. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.d.ts +41 -0
  86. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js +64 -0
  87. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js.map +7 -0
  88. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/input.d.ts +98 -0
  89. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/input.js +90 -0
  90. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/input.js.map +7 -0
  91. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.client.d.ts +95 -0
  92. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js +127 -0
  93. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js.map +7 -0
  94. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.d.ts +420 -0
  95. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.js +327 -0
  96. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/ledger_service.js.map +7 -0
  97. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.d.ts +81 -0
  98. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js +0 -0
  99. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js.map +7 -0
  100. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.d.ts +808 -0
  101. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.js +652 -0
  102. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/live_data_service.js.map +7 -0
  103. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package.d.ts +579 -0
  104. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package.js +483 -0
  105. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package.js.map +7 -0
  106. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.client.d.ts +61 -0
  107. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js +86 -0
  108. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js.map +7 -0
  109. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.d.ts +229 -0
  110. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.js +226 -0
  111. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/move_package_service.js.map +7 -0
  112. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.client.d.ts +41 -0
  113. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.client.js +60 -0
  114. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.client.js.map +7 -0
  115. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.d.ts +144 -0
  116. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.js +138 -0
  117. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/name_service.js.map +7 -0
  118. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object.d.ts +107 -0
  119. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object.js +104 -0
  120. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object.js.map +7 -0
  121. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object_reference.d.ts +34 -0
  122. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object_reference.js +56 -0
  123. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/object_reference.js.map +7 -0
  124. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/owner.d.ts +61 -0
  125. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/owner.js +65 -0
  126. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/owner.js.map +7 -0
  127. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/protocol_config.d.ts +30 -0
  128. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/protocol_config.js +62 -0
  129. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/protocol_config.js.map +7 -0
  130. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature.d.ts +617 -0
  131. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature.js +509 -0
  132. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature.js.map +7 -0
  133. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_scheme.d.ts +40 -0
  134. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_scheme.js +34 -0
  135. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_scheme.js.map +7 -0
  136. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.d.ts +35 -0
  137. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js +49 -0
  138. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js.map +7 -0
  139. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.d.ts +79 -0
  140. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js +76 -0
  141. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js.map +7 -0
  142. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.client.d.ts +55 -0
  143. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js +59 -0
  144. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js.map +7 -0
  145. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.d.ts +57 -0
  146. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.js +63 -0
  147. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/subscription_service.js.map +7 -0
  148. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/system_state.d.ts +684 -0
  149. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/system_state.js +674 -0
  150. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/system_state.js.map +7 -0
  151. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction.d.ts +1301 -0
  152. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction.js +987 -0
  153. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction.js.map +7 -0
  154. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.d.ts +37 -0
  155. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js +50 -0
  156. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js.map +7 -0
  157. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.d.ts +115 -0
  158. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js +94 -0
  159. package/dist/cjs/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js.map +7 -0
  160. package/dist/cjs/{client → jsonRpc}/client.d.ts +12 -12
  161. package/dist/cjs/{client → jsonRpc}/client.js +9 -9
  162. package/dist/cjs/jsonRpc/client.js.map +7 -0
  163. package/dist/cjs/{experimental/transports/jsonRPC.d.ts → jsonRpc/core.d.ts} +7 -7
  164. package/dist/cjs/{experimental/transports/jsonRPC.js → jsonRpc/core.js} +18 -18
  165. package/dist/cjs/jsonRpc/core.js.map +7 -0
  166. package/dist/cjs/{client → jsonRpc}/errors.js.map +1 -1
  167. package/dist/{esm/client → cjs/jsonRpc}/http-transport.d.ts +10 -10
  168. package/dist/cjs/{client → jsonRpc}/http-transport.js +6 -6
  169. package/dist/cjs/jsonRpc/http-transport.js.map +7 -0
  170. package/dist/cjs/jsonRpc/index.d.ts +4 -0
  171. package/dist/cjs/jsonRpc/index.js +32 -0
  172. package/dist/cjs/jsonRpc/index.js.map +7 -0
  173. package/dist/cjs/jsonRpc/json-rpc-resolver.d.ts +4 -0
  174. package/dist/cjs/{experimental/transports → jsonRpc}/json-rpc-resolver.js +6 -6
  175. package/dist/cjs/jsonRpc/json-rpc-resolver.js.map +7 -0
  176. package/dist/cjs/{client → jsonRpc}/rpc-websocket-client.js.map +1 -1
  177. package/dist/cjs/{client → jsonRpc}/types/chain.js.map +1 -1
  178. package/dist/cjs/{client → jsonRpc}/types/changes.js.map +1 -1
  179. package/dist/cjs/{client → jsonRpc}/types/coins.js.map +1 -1
  180. package/dist/cjs/{client → jsonRpc}/types/common.js.map +1 -1
  181. package/dist/cjs/{client → jsonRpc}/types/generated.js.map +1 -1
  182. package/dist/cjs/{client → jsonRpc}/types/index.js.map +1 -1
  183. package/dist/cjs/{client → jsonRpc}/types/params.js.map +1 -1
  184. package/dist/cjs/multisig/signer.d.ts +1 -0
  185. package/dist/cjs/multisig/signer.js +1 -0
  186. package/dist/cjs/multisig/signer.js.map +2 -2
  187. package/dist/cjs/transactions/ObjectCache.js +1 -1
  188. package/dist/cjs/transactions/ObjectCache.js.map +2 -2
  189. package/dist/cjs/transactions/Transaction.js +2 -2
  190. package/dist/cjs/transactions/Transaction.js.map +2 -2
  191. package/dist/cjs/transactions/resolve.js +2 -2
  192. package/dist/cjs/transactions/resolve.js.map +2 -2
  193. package/dist/cjs/utils/sui-types.js +1 -1
  194. package/dist/cjs/utils/sui-types.js.map +2 -2
  195. package/dist/cjs/version.d.ts +1 -1
  196. package/dist/cjs/version.js +1 -1
  197. package/dist/cjs/version.js.map +1 -1
  198. package/dist/cjs/zklogin/jwt-decode.js +1 -1
  199. package/dist/cjs/zklogin/jwt-decode.js.map +2 -2
  200. package/dist/esm/client/index.d.ts +4 -4
  201. package/dist/esm/client/index.js +9 -9
  202. package/dist/esm/client/index.js.map +2 -2
  203. package/dist/esm/experimental/core.js +1 -1
  204. package/dist/esm/experimental/core.js.map +2 -2
  205. package/dist/esm/faucet/faucet.d.ts +3 -3
  206. package/dist/esm/faucet/faucet.js +1 -1
  207. package/dist/esm/faucet/faucet.js.map +2 -2
  208. package/dist/esm/graphql/client.d.ts +2 -2
  209. package/dist/esm/graphql/client.js +2 -2
  210. package/dist/esm/graphql/client.js.map +2 -2
  211. package/dist/esm/{experimental/transports/graphql.d.ts → graphql/core.d.ts} +4 -4
  212. package/dist/esm/{experimental/transports/graphql.js → graphql/core.js} +28 -25
  213. package/dist/esm/graphql/core.js.map +7 -0
  214. package/dist/esm/grpc/client.d.ts +31 -0
  215. package/dist/esm/grpc/client.js +31 -0
  216. package/dist/esm/grpc/client.js.map +7 -0
  217. package/dist/esm/grpc/core.d.ts +27 -0
  218. package/dist/esm/grpc/core.js +633 -0
  219. package/dist/esm/grpc/core.js.map +7 -0
  220. package/dist/esm/grpc/index.d.ts +4 -0
  221. package/dist/esm/grpc/index.js +7 -0
  222. package/dist/esm/grpc/index.js.map +7 -0
  223. package/dist/esm/grpc/proto/google/protobuf/any.d.ts +173 -0
  224. package/dist/esm/grpc/proto/google/protobuf/any.js +119 -0
  225. package/dist/esm/grpc/proto/google/protobuf/any.js.map +7 -0
  226. package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +104 -0
  227. package/dist/esm/grpc/proto/google/protobuf/duration.js +68 -0
  228. package/dist/esm/grpc/proto/google/protobuf/duration.js.map +7 -0
  229. package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +25 -0
  230. package/dist/esm/grpc/proto/google/protobuf/empty.js +11 -0
  231. package/dist/esm/grpc/proto/google/protobuf/empty.js.map +7 -0
  232. package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +231 -0
  233. package/dist/esm/grpc/proto/google/protobuf/field_mask.js +53 -0
  234. package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +7 -0
  235. package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +169 -0
  236. package/dist/esm/grpc/proto/google/protobuf/struct.js +179 -0
  237. package/dist/esm/grpc/proto/google/protobuf/struct.js.map +7 -0
  238. package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +145 -0
  239. package/dist/esm/grpc/proto/google/protobuf/timestamp.js +103 -0
  240. package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +7 -0
  241. package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +525 -0
  242. package/dist/esm/grpc/proto/google/rpc/error_details.js +312 -0
  243. package/dist/esm/grpc/proto/google/rpc/error_details.js.map +7 -0
  244. package/dist/esm/grpc/proto/google/rpc/status.d.ts +46 -0
  245. package/dist/esm/grpc/proto/google/rpc/status.js +28 -0
  246. package/dist/esm/grpc/proto/google/rpc/status.js.map +7 -0
  247. package/dist/esm/grpc/proto/sui/rpc/v2beta2/argument.d.ts +66 -0
  248. package/dist/esm/grpc/proto/sui/rpc/v2beta2/argument.js +51 -0
  249. package/dist/esm/grpc/proto/sui/rpc/v2beta2/argument.js.map +7 -0
  250. package/dist/esm/grpc/proto/sui/rpc/v2beta2/balance_change.d.ts +34 -0
  251. package/dist/esm/grpc/proto/sui/rpc/v2beta2/balance_change.js +36 -0
  252. package/dist/esm/grpc/proto/sui/rpc/v2beta2/balance_change.js.map +7 -0
  253. package/dist/esm/grpc/proto/sui/rpc/v2beta2/bcs.d.ts +30 -0
  254. package/dist/esm/grpc/proto/sui/rpc/v2beta2/bcs.js +28 -0
  255. package/dist/esm/grpc/proto/sui/rpc/v2beta2/bcs.js.map +7 -0
  256. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint.d.ts +55 -0
  257. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint.js +42 -0
  258. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint.js.map +7 -0
  259. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.d.ts +74 -0
  260. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js +69 -0
  261. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.js.map +7 -0
  262. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.d.ts +195 -0
  263. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js +145 -0
  264. package/dist/esm/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.js.map +7 -0
  265. package/dist/esm/grpc/proto/sui/rpc/v2beta2/effects.d.ts +333 -0
  266. package/dist/esm/grpc/proto/sui/rpc/v2beta2/effects.js +266 -0
  267. package/dist/esm/grpc/proto/sui/rpc/v2beta2/effects.js.map +7 -0
  268. package/dist/esm/grpc/proto/sui/rpc/v2beta2/epoch.d.ts +62 -0
  269. package/dist/esm/grpc/proto/sui/rpc/v2beta2/epoch.js +53 -0
  270. package/dist/esm/grpc/proto/sui/rpc/v2beta2/epoch.js.map +7 -0
  271. package/dist/esm/grpc/proto/sui/rpc/v2beta2/error_reason.d.ts +17 -0
  272. package/dist/esm/grpc/proto/sui/rpc/v2beta2/error_reason.js +10 -0
  273. package/dist/esm/grpc/proto/sui/rpc/v2beta2/error_reason.js.map +7 -0
  274. package/dist/esm/grpc/proto/sui/rpc/v2beta2/event.d.ts +88 -0
  275. package/dist/esm/grpc/proto/sui/rpc/v2beta2/event.js +66 -0
  276. package/dist/esm/grpc/proto/sui/rpc/v2beta2/event.js.map +7 -0
  277. package/dist/esm/grpc/proto/sui/rpc/v2beta2/executed_transaction.d.ts +85 -0
  278. package/dist/esm/grpc/proto/sui/rpc/v2beta2/executed_transaction.js +67 -0
  279. package/dist/esm/grpc/proto/sui/rpc/v2beta2/executed_transaction.js.map +7 -0
  280. package/dist/esm/grpc/proto/sui/rpc/v2beta2/execution_status.d.ts +843 -0
  281. package/dist/esm/grpc/proto/sui/rpc/v2beta2/execution_status.js +493 -0
  282. package/dist/esm/grpc/proto/sui/rpc/v2beta2/execution_status.js.map +7 -0
  283. package/dist/esm/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.d.ts +41 -0
  284. package/dist/esm/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js +44 -0
  285. package/dist/esm/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.js.map +7 -0
  286. package/dist/esm/grpc/proto/sui/rpc/v2beta2/input.d.ts +98 -0
  287. package/dist/esm/grpc/proto/sui/rpc/v2beta2/input.js +70 -0
  288. package/dist/esm/grpc/proto/sui/rpc/v2beta2/input.js.map +7 -0
  289. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.d.ts +95 -0
  290. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js +107 -0
  291. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.client.js.map +7 -0
  292. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.d.ts +420 -0
  293. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.js +307 -0
  294. package/dist/esm/grpc/proto/sui/rpc/v2beta2/ledger_service.js.map +7 -0
  295. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.d.ts +81 -0
  296. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js +92 -0
  297. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.client.js.map +7 -0
  298. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.d.ts +808 -0
  299. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.js +632 -0
  300. package/dist/esm/grpc/proto/sui/rpc/v2beta2/live_data_service.js.map +7 -0
  301. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package.d.ts +579 -0
  302. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package.js +463 -0
  303. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package.js.map +7 -0
  304. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.client.d.ts +61 -0
  305. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js +66 -0
  306. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.client.js.map +7 -0
  307. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.d.ts +229 -0
  308. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.js +206 -0
  309. package/dist/esm/grpc/proto/sui/rpc/v2beta2/move_package_service.js.map +7 -0
  310. package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.client.d.ts +41 -0
  311. package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.client.js +40 -0
  312. package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.client.js.map +7 -0
  313. package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.d.ts +144 -0
  314. package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.js +118 -0
  315. package/dist/esm/grpc/proto/sui/rpc/v2beta2/name_service.js.map +7 -0
  316. package/dist/esm/grpc/proto/sui/rpc/v2beta2/object.d.ts +107 -0
  317. package/dist/esm/grpc/proto/sui/rpc/v2beta2/object.js +84 -0
  318. package/dist/esm/grpc/proto/sui/rpc/v2beta2/object.js.map +7 -0
  319. package/dist/esm/grpc/proto/sui/rpc/v2beta2/object_reference.d.ts +34 -0
  320. package/dist/esm/grpc/proto/sui/rpc/v2beta2/object_reference.js +36 -0
  321. package/dist/esm/grpc/proto/sui/rpc/v2beta2/object_reference.js.map +7 -0
  322. package/dist/esm/grpc/proto/sui/rpc/v2beta2/owner.d.ts +61 -0
  323. package/dist/esm/grpc/proto/sui/rpc/v2beta2/owner.js +45 -0
  324. package/dist/esm/grpc/proto/sui/rpc/v2beta2/owner.js.map +7 -0
  325. package/dist/esm/grpc/proto/sui/rpc/v2beta2/protocol_config.d.ts +30 -0
  326. package/dist/esm/grpc/proto/sui/rpc/v2beta2/protocol_config.js +42 -0
  327. package/dist/esm/grpc/proto/sui/rpc/v2beta2/protocol_config.js.map +7 -0
  328. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature.d.ts +617 -0
  329. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature.js +489 -0
  330. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature.js.map +7 -0
  331. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_scheme.d.ts +40 -0
  332. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_scheme.js +14 -0
  333. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_scheme.js.map +7 -0
  334. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.d.ts +35 -0
  335. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js +29 -0
  336. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.js.map +7 -0
  337. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.d.ts +79 -0
  338. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js +56 -0
  339. package/dist/esm/grpc/proto/sui/rpc/v2beta2/signature_verification_service.js.map +7 -0
  340. package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.client.d.ts +55 -0
  341. package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js +39 -0
  342. package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.client.js.map +7 -0
  343. package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.d.ts +57 -0
  344. package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.js +43 -0
  345. package/dist/esm/grpc/proto/sui/rpc/v2beta2/subscription_service.js.map +7 -0
  346. package/dist/esm/grpc/proto/sui/rpc/v2beta2/system_state.d.ts +684 -0
  347. package/dist/esm/grpc/proto/sui/rpc/v2beta2/system_state.js +654 -0
  348. package/dist/esm/grpc/proto/sui/rpc/v2beta2/system_state.js.map +7 -0
  349. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction.d.ts +1301 -0
  350. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction.js +967 -0
  351. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction.js.map +7 -0
  352. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.d.ts +37 -0
  353. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js +30 -0
  354. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.js.map +7 -0
  355. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.d.ts +115 -0
  356. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js +74 -0
  357. package/dist/esm/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.js.map +7 -0
  358. package/dist/esm/{client → jsonRpc}/client.d.ts +12 -12
  359. package/dist/esm/{client → jsonRpc}/client.js +10 -10
  360. package/dist/esm/jsonRpc/client.js.map +7 -0
  361. package/dist/esm/{experimental/transports/jsonRPC.d.ts → jsonRpc/core.d.ts} +7 -7
  362. package/dist/esm/{experimental/transports/jsonRPC.js → jsonRpc/core.js} +12 -12
  363. package/dist/esm/jsonRpc/core.js.map +7 -0
  364. package/dist/esm/{client → jsonRpc}/errors.js.map +1 -1
  365. package/dist/{cjs/client → esm/jsonRpc}/http-transport.d.ts +10 -10
  366. package/dist/esm/{client → jsonRpc}/http-transport.js +6 -6
  367. package/dist/esm/jsonRpc/http-transport.js.map +7 -0
  368. package/dist/esm/jsonRpc/index.d.ts +4 -0
  369. package/dist/esm/jsonRpc/index.js +17 -0
  370. package/dist/esm/jsonRpc/index.js.map +7 -0
  371. package/dist/esm/jsonRpc/json-rpc-resolver.d.ts +4 -0
  372. package/dist/esm/{experimental/transports → jsonRpc}/json-rpc-resolver.js +6 -6
  373. package/dist/esm/jsonRpc/json-rpc-resolver.js.map +7 -0
  374. package/dist/esm/{client → jsonRpc}/rpc-websocket-client.js.map +1 -1
  375. package/dist/esm/multisig/signer.d.ts +1 -0
  376. package/dist/esm/multisig/signer.js +1 -0
  377. package/dist/esm/multisig/signer.js.map +2 -2
  378. package/dist/esm/transactions/ObjectCache.js +1 -1
  379. package/dist/esm/transactions/ObjectCache.js.map +2 -2
  380. package/dist/esm/transactions/Transaction.js +2 -2
  381. package/dist/esm/transactions/Transaction.js.map +2 -2
  382. package/dist/esm/transactions/resolve.js +2 -2
  383. package/dist/esm/transactions/resolve.js.map +2 -2
  384. package/dist/esm/utils/sui-types.js +1 -1
  385. package/dist/esm/utils/sui-types.js.map +2 -2
  386. package/dist/esm/version.d.ts +1 -1
  387. package/dist/esm/version.js +1 -1
  388. package/dist/esm/version.js.map +1 -1
  389. package/dist/esm/zklogin/jwt-decode.js +1 -1
  390. package/dist/esm/zklogin/jwt-decode.js.map +2 -2
  391. package/dist/tsconfig.esm.tsbuildinfo +1 -1
  392. package/dist/tsconfig.tsbuildinfo +1 -1
  393. package/grpc/package.json +6 -0
  394. package/jsonRpc/package.json +6 -0
  395. package/package.json +20 -3
  396. package/src/client/index.ts +12 -12
  397. package/src/experimental/core.ts +1 -1
  398. package/src/faucet/faucet.ts +4 -4
  399. package/src/graphql/client.ts +3 -3
  400. package/src/{experimental/transports/graphql.ts → graphql/core.ts} +14 -11
  401. package/src/grpc/client.ts +59 -0
  402. package/src/grpc/core.ts +727 -0
  403. package/src/grpc/index.ts +7 -0
  404. package/src/grpc/proto/google/protobuf/any.ts +296 -0
  405. package/src/grpc/proto/google/protobuf/duration.ts +187 -0
  406. package/src/grpc/proto/google/protobuf/empty.ts +64 -0
  407. package/src/grpc/proto/google/protobuf/field_mask.ts +309 -0
  408. package/src/grpc/proto/google/protobuf/struct.ts +327 -0
  409. package/src/grpc/proto/google/protobuf/timestamp.ts +260 -0
  410. package/src/grpc/proto/google/rpc/error_details.ts +667 -0
  411. package/src/grpc/proto/google/rpc/status.ts +74 -0
  412. package/src/grpc/proto/sui/rpc/v2beta2/argument.ts +90 -0
  413. package/src/grpc/proto/sui/rpc/v2beta2/balance_change.ts +51 -0
  414. package/src/grpc/proto/sui/rpc/v2beta2/bcs.ts +46 -0
  415. package/src/grpc/proto/sui/rpc/v2beta2/checkpoint.ts +88 -0
  416. package/src/grpc/proto/sui/rpc/v2beta2/checkpoint_contents.ts +111 -0
  417. package/src/grpc/proto/sui/rpc/v2beta2/checkpoint_summary.ts +295 -0
  418. package/src/grpc/proto/sui/rpc/v2beta2/effects.ts +479 -0
  419. package/src/grpc/proto/sui/rpc/v2beta2/epoch.ts +113 -0
  420. package/src/grpc/proto/sui/rpc/v2beta2/error_reason.ts +28 -0
  421. package/src/grpc/proto/sui/rpc/v2beta2/event.ts +115 -0
  422. package/src/grpc/proto/sui/rpc/v2beta2/executed_transaction.ts +140 -0
  423. package/src/grpc/proto/sui/rpc/v2beta2/execution_status.ts +1079 -0
  424. package/src/grpc/proto/sui/rpc/v2beta2/gas_cost_summary.ts +87 -0
  425. package/src/grpc/proto/sui/rpc/v2beta2/input.ts +132 -0
  426. package/src/grpc/proto/sui/rpc/v2beta2/ledger_service.client.ts +217 -0
  427. package/src/grpc/proto/sui/rpc/v2beta2/ledger_service.ts +625 -0
  428. package/src/grpc/proto/sui/rpc/v2beta2/live_data_service.client.ts +187 -0
  429. package/src/grpc/proto/sui/rpc/v2beta2/live_data_service.ts +1066 -0
  430. package/src/grpc/proto/sui/rpc/v2beta2/move_package.ts +803 -0
  431. package/src/grpc/proto/sui/rpc/v2beta2/move_package_service.client.ts +135 -0
  432. package/src/grpc/proto/sui/rpc/v2beta2/move_package_service.ts +315 -0
  433. package/src/grpc/proto/sui/rpc/v2beta2/name_service.client.ts +83 -0
  434. package/src/grpc/proto/sui/rpc/v2beta2/name_service.ts +198 -0
  435. package/src/grpc/proto/sui/rpc/v2beta2/object.ts +161 -0
  436. package/src/grpc/proto/sui/rpc/v2beta2/object_reference.ts +58 -0
  437. package/src/grpc/proto/sui/rpc/v2beta2/owner.ts +91 -0
  438. package/src/grpc/proto/sui/rpc/v2beta2/protocol_config.ts +66 -0
  439. package/src/grpc/proto/sui/rpc/v2beta2/signature.ts +861 -0
  440. package/src/grpc/proto/sui/rpc/v2beta2/signature_scheme.ts +51 -0
  441. package/src/grpc/proto/sui/rpc/v2beta2/signature_verification_service.client.ts +63 -0
  442. package/src/grpc/proto/sui/rpc/v2beta2/signature_verification_service.ts +106 -0
  443. package/src/grpc/proto/sui/rpc/v2beta2/subscription_service.client.ts +81 -0
  444. package/src/grpc/proto/sui/rpc/v2beta2/subscription_service.ts +93 -0
  445. package/src/grpc/proto/sui/rpc/v2beta2/system_state.ts +1184 -0
  446. package/src/grpc/proto/sui/rpc/v2beta2/transaction.ts +2012 -0
  447. package/src/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.client.ts +65 -0
  448. package/src/grpc/proto/sui/rpc/v2beta2/transaction_execution_service.ts +178 -0
  449. package/src/{client → jsonRpc}/client.ts +21 -16
  450. package/src/{experimental/transports/jsonRPC.ts → jsonRpc/core.ts} +15 -15
  451. package/src/{client → jsonRpc}/http-transport.ts +13 -11
  452. package/src/jsonRpc/index.ts +20 -0
  453. package/src/{experimental/transports → jsonRpc}/json-rpc-resolver.ts +17 -14
  454. package/src/multisig/signer.ts +1 -0
  455. package/src/transactions/ObjectCache.ts +1 -1
  456. package/src/transactions/Transaction.ts +2 -2
  457. package/src/transactions/resolve.ts +3 -3
  458. package/src/utils/sui-types.ts +1 -1
  459. package/src/version.ts +1 -1
  460. package/src/zklogin/jwt-decode.ts +2 -1
  461. package/dist/cjs/client/client.js.map +0 -7
  462. package/dist/cjs/client/http-transport.js.map +0 -7
  463. package/dist/cjs/experimental/transports/graphql.js.map +0 -7
  464. package/dist/cjs/experimental/transports/json-rpc-resolver.d.ts +0 -4
  465. package/dist/cjs/experimental/transports/json-rpc-resolver.js.map +0 -7
  466. package/dist/cjs/experimental/transports/jsonRPC.js.map +0 -7
  467. package/dist/esm/client/client.js.map +0 -7
  468. package/dist/esm/client/http-transport.js.map +0 -7
  469. package/dist/esm/experimental/transports/graphql.js.map +0 -7
  470. package/dist/esm/experimental/transports/json-rpc-resolver.d.ts +0 -4
  471. package/dist/esm/experimental/transports/json-rpc-resolver.js.map +0 -7
  472. package/dist/esm/experimental/transports/jsonRPC.js.map +0 -7
  473. /package/dist/cjs/{client → jsonRpc}/errors.d.ts +0 -0
  474. /package/dist/cjs/{client → jsonRpc}/errors.js +0 -0
  475. /package/dist/cjs/{client → jsonRpc}/rpc-websocket-client.d.ts +0 -0
  476. /package/dist/cjs/{client → jsonRpc}/rpc-websocket-client.js +0 -0
  477. /package/dist/cjs/{client → jsonRpc}/types/chain.d.ts +0 -0
  478. /package/dist/cjs/{client → jsonRpc}/types/chain.js +0 -0
  479. /package/dist/cjs/{client → jsonRpc}/types/changes.d.ts +0 -0
  480. /package/dist/cjs/{client → jsonRpc}/types/changes.js +0 -0
  481. /package/dist/cjs/{client → jsonRpc}/types/coins.d.ts +0 -0
  482. /package/dist/cjs/{client → jsonRpc}/types/coins.js +0 -0
  483. /package/dist/cjs/{client → jsonRpc}/types/common.d.ts +0 -0
  484. /package/dist/cjs/{client → jsonRpc}/types/common.js +0 -0
  485. /package/dist/cjs/{client → jsonRpc}/types/generated.d.ts +0 -0
  486. /package/dist/cjs/{client → jsonRpc}/types/generated.js +0 -0
  487. /package/dist/cjs/{client → jsonRpc}/types/index.d.ts +0 -0
  488. /package/dist/cjs/{client → jsonRpc}/types/index.js +0 -0
  489. /package/dist/cjs/{client → jsonRpc}/types/params.d.ts +0 -0
  490. /package/dist/cjs/{client → jsonRpc}/types/params.js +0 -0
  491. /package/dist/esm/{client → jsonRpc}/errors.d.ts +0 -0
  492. /package/dist/esm/{client → jsonRpc}/errors.js +0 -0
  493. /package/dist/esm/{client → jsonRpc}/rpc-websocket-client.d.ts +0 -0
  494. /package/dist/esm/{client → jsonRpc}/rpc-websocket-client.js +0 -0
  495. /package/dist/esm/{client → jsonRpc}/types/chain.d.ts +0 -0
  496. /package/dist/esm/{client → jsonRpc}/types/chain.js +0 -0
  497. /package/dist/esm/{client → jsonRpc}/types/chain.js.map +0 -0
  498. /package/dist/esm/{client → jsonRpc}/types/changes.d.ts +0 -0
  499. /package/dist/esm/{client → jsonRpc}/types/changes.js +0 -0
  500. /package/dist/esm/{client → jsonRpc}/types/changes.js.map +0 -0
  501. /package/dist/esm/{client → jsonRpc}/types/coins.d.ts +0 -0
  502. /package/dist/esm/{client → jsonRpc}/types/coins.js +0 -0
  503. /package/dist/esm/{client → jsonRpc}/types/coins.js.map +0 -0
  504. /package/dist/esm/{client → jsonRpc}/types/common.d.ts +0 -0
  505. /package/dist/esm/{client → jsonRpc}/types/common.js +0 -0
  506. /package/dist/esm/{client → jsonRpc}/types/common.js.map +0 -0
  507. /package/dist/esm/{client → jsonRpc}/types/generated.d.ts +0 -0
  508. /package/dist/esm/{client → jsonRpc}/types/generated.js +0 -0
  509. /package/dist/esm/{client → jsonRpc}/types/generated.js.map +0 -0
  510. /package/dist/esm/{client → jsonRpc}/types/index.d.ts +0 -0
  511. /package/dist/esm/{client → jsonRpc}/types/index.js +0 -0
  512. /package/dist/esm/{client → jsonRpc}/types/index.js.map +0 -0
  513. /package/dist/esm/{client → jsonRpc}/types/params.d.ts +0 -0
  514. /package/dist/esm/{client → jsonRpc}/types/params.js +0 -0
  515. /package/dist/esm/{client → jsonRpc}/types/params.js.map +0 -0
  516. /package/src/{client → jsonRpc}/errors.ts +0 -0
  517. /package/src/{client → jsonRpc}/rpc-websocket-client.ts +0 -0
  518. /package/src/{client → jsonRpc}/types/chain.ts +0 -0
  519. /package/src/{client → jsonRpc}/types/changes.ts +0 -0
  520. /package/src/{client → jsonRpc}/types/coins.ts +0 -0
  521. /package/src/{client → jsonRpc}/types/common.ts +0 -0
  522. /package/src/{client → jsonRpc}/types/generated.ts +0 -0
  523. /package/src/{client → jsonRpc}/types/index.ts +0 -0
  524. /package/src/{client → jsonRpc}/types/params.ts +0 -0
@@ -0,0 +1,307 @@
1
+ import { ServiceType } from "@protobuf-ts/runtime-rpc";
2
+ import { MessageType } from "@protobuf-ts/runtime";
3
+ import { Epoch } from "./epoch.js";
4
+ import { Checkpoint } from "./checkpoint.js";
5
+ import { ExecutedTransaction } from "./executed_transaction.js";
6
+ import { Status } from "../../../google/rpc/status.js";
7
+ import { Object } from "./object.js";
8
+ import { FieldMask } from "../../../google/protobuf/field_mask.js";
9
+ import { Timestamp } from "../../../google/protobuf/timestamp.js";
10
+ class GetServiceInfoRequest$Type extends MessageType {
11
+ constructor() {
12
+ super("sui.rpc.v2beta2.GetServiceInfoRequest", []);
13
+ }
14
+ }
15
+ const GetServiceInfoRequest = new GetServiceInfoRequest$Type();
16
+ class GetServiceInfoResponse$Type extends MessageType {
17
+ constructor() {
18
+ super("sui.rpc.v2beta2.GetServiceInfoResponse", [
19
+ {
20
+ no: 1,
21
+ name: "chain_id",
22
+ kind: "scalar",
23
+ opt: true,
24
+ T: 9
25
+ /*ScalarType.STRING*/
26
+ },
27
+ {
28
+ no: 2,
29
+ name: "chain",
30
+ kind: "scalar",
31
+ opt: true,
32
+ T: 9
33
+ /*ScalarType.STRING*/
34
+ },
35
+ {
36
+ no: 3,
37
+ name: "epoch",
38
+ kind: "scalar",
39
+ opt: true,
40
+ T: 4,
41
+ L: 0
42
+ },
43
+ {
44
+ no: 4,
45
+ name: "checkpoint_height",
46
+ kind: "scalar",
47
+ opt: true,
48
+ T: 4,
49
+ L: 0
50
+ },
51
+ { no: 5, name: "timestamp", kind: "message", T: () => Timestamp },
52
+ {
53
+ no: 6,
54
+ name: "lowest_available_checkpoint",
55
+ kind: "scalar",
56
+ opt: true,
57
+ T: 4,
58
+ L: 0
59
+ },
60
+ {
61
+ no: 7,
62
+ name: "lowest_available_checkpoint_objects",
63
+ kind: "scalar",
64
+ opt: true,
65
+ T: 4,
66
+ L: 0
67
+ },
68
+ {
69
+ no: 8,
70
+ name: "server",
71
+ kind: "scalar",
72
+ opt: true,
73
+ T: 9
74
+ /*ScalarType.STRING*/
75
+ }
76
+ ]);
77
+ }
78
+ }
79
+ const GetServiceInfoResponse = new GetServiceInfoResponse$Type();
80
+ class GetObjectRequest$Type extends MessageType {
81
+ constructor() {
82
+ super("sui.rpc.v2beta2.GetObjectRequest", [
83
+ {
84
+ no: 1,
85
+ name: "object_id",
86
+ kind: "scalar",
87
+ opt: true,
88
+ T: 9
89
+ /*ScalarType.STRING*/
90
+ },
91
+ {
92
+ no: 2,
93
+ name: "version",
94
+ kind: "scalar",
95
+ opt: true,
96
+ T: 4,
97
+ L: 0
98
+ },
99
+ { no: 3, name: "read_mask", kind: "message", T: () => FieldMask }
100
+ ]);
101
+ }
102
+ }
103
+ const GetObjectRequest = new GetObjectRequest$Type();
104
+ class GetObjectResponse$Type extends MessageType {
105
+ constructor() {
106
+ super("sui.rpc.v2beta2.GetObjectResponse", [
107
+ { no: 1, name: "object", kind: "message", T: () => Object }
108
+ ]);
109
+ }
110
+ }
111
+ const GetObjectResponse = new GetObjectResponse$Type();
112
+ class BatchGetObjectsRequest$Type extends MessageType {
113
+ constructor() {
114
+ super("sui.rpc.v2beta2.BatchGetObjectsRequest", [
115
+ {
116
+ no: 1,
117
+ name: "requests",
118
+ kind: "message",
119
+ repeat: 1,
120
+ T: () => GetObjectRequest
121
+ },
122
+ { no: 2, name: "read_mask", kind: "message", T: () => FieldMask }
123
+ ]);
124
+ }
125
+ }
126
+ const BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();
127
+ class BatchGetObjectsResponse$Type extends MessageType {
128
+ constructor() {
129
+ super("sui.rpc.v2beta2.BatchGetObjectsResponse", [
130
+ {
131
+ no: 1,
132
+ name: "objects",
133
+ kind: "message",
134
+ repeat: 1,
135
+ T: () => GetObjectResult
136
+ }
137
+ ]);
138
+ }
139
+ }
140
+ const BatchGetObjectsResponse = new BatchGetObjectsResponse$Type();
141
+ class GetObjectResult$Type extends MessageType {
142
+ constructor() {
143
+ super("sui.rpc.v2beta2.GetObjectResult", [
144
+ { no: 1, name: "object", kind: "message", oneof: "result", T: () => Object },
145
+ { no: 2, name: "error", kind: "message", oneof: "result", T: () => Status }
146
+ ]);
147
+ }
148
+ }
149
+ const GetObjectResult = new GetObjectResult$Type();
150
+ class GetTransactionRequest$Type extends MessageType {
151
+ constructor() {
152
+ super("sui.rpc.v2beta2.GetTransactionRequest", [
153
+ {
154
+ no: 1,
155
+ name: "digest",
156
+ kind: "scalar",
157
+ opt: true,
158
+ T: 9
159
+ /*ScalarType.STRING*/
160
+ },
161
+ { no: 2, name: "read_mask", kind: "message", T: () => FieldMask }
162
+ ]);
163
+ }
164
+ }
165
+ const GetTransactionRequest = new GetTransactionRequest$Type();
166
+ class GetTransactionResponse$Type extends MessageType {
167
+ constructor() {
168
+ super("sui.rpc.v2beta2.GetTransactionResponse", [
169
+ { no: 1, name: "transaction", kind: "message", T: () => ExecutedTransaction }
170
+ ]);
171
+ }
172
+ }
173
+ const GetTransactionResponse = new GetTransactionResponse$Type();
174
+ class BatchGetTransactionsRequest$Type extends MessageType {
175
+ constructor() {
176
+ super("sui.rpc.v2beta2.BatchGetTransactionsRequest", [
177
+ {
178
+ no: 1,
179
+ name: "digests",
180
+ kind: "scalar",
181
+ repeat: 2,
182
+ T: 9
183
+ },
184
+ { no: 2, name: "read_mask", kind: "message", T: () => FieldMask }
185
+ ]);
186
+ }
187
+ }
188
+ const BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();
189
+ class BatchGetTransactionsResponse$Type extends MessageType {
190
+ constructor() {
191
+ super("sui.rpc.v2beta2.BatchGetTransactionsResponse", [
192
+ {
193
+ no: 1,
194
+ name: "transactions",
195
+ kind: "message",
196
+ repeat: 1,
197
+ T: () => GetTransactionResult
198
+ }
199
+ ]);
200
+ }
201
+ }
202
+ const BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();
203
+ class GetTransactionResult$Type extends MessageType {
204
+ constructor() {
205
+ super("sui.rpc.v2beta2.GetTransactionResult", [
206
+ {
207
+ no: 1,
208
+ name: "transaction",
209
+ kind: "message",
210
+ oneof: "result",
211
+ T: () => ExecutedTransaction
212
+ },
213
+ { no: 2, name: "error", kind: "message", oneof: "result", T: () => Status }
214
+ ]);
215
+ }
216
+ }
217
+ const GetTransactionResult = new GetTransactionResult$Type();
218
+ class GetCheckpointRequest$Type extends MessageType {
219
+ constructor() {
220
+ super("sui.rpc.v2beta2.GetCheckpointRequest", [
221
+ {
222
+ no: 1,
223
+ name: "sequence_number",
224
+ kind: "scalar",
225
+ oneof: "checkpointId",
226
+ T: 4,
227
+ L: 0
228
+ },
229
+ {
230
+ no: 2,
231
+ name: "digest",
232
+ kind: "scalar",
233
+ oneof: "checkpointId",
234
+ T: 9
235
+ /*ScalarType.STRING*/
236
+ },
237
+ { no: 3, name: "read_mask", kind: "message", T: () => FieldMask }
238
+ ]);
239
+ }
240
+ }
241
+ const GetCheckpointRequest = new GetCheckpointRequest$Type();
242
+ class GetCheckpointResponse$Type extends MessageType {
243
+ constructor() {
244
+ super("sui.rpc.v2beta2.GetCheckpointResponse", [
245
+ { no: 1, name: "checkpoint", kind: "message", T: () => Checkpoint }
246
+ ]);
247
+ }
248
+ }
249
+ const GetCheckpointResponse = new GetCheckpointResponse$Type();
250
+ class GetEpochRequest$Type extends MessageType {
251
+ constructor() {
252
+ super("sui.rpc.v2beta2.GetEpochRequest", [
253
+ {
254
+ no: 1,
255
+ name: "epoch",
256
+ kind: "scalar",
257
+ opt: true,
258
+ T: 4,
259
+ L: 0
260
+ },
261
+ { no: 2, name: "read_mask", kind: "message", T: () => FieldMask }
262
+ ]);
263
+ }
264
+ }
265
+ const GetEpochRequest = new GetEpochRequest$Type();
266
+ class GetEpochResponse$Type extends MessageType {
267
+ constructor() {
268
+ super("sui.rpc.v2beta2.GetEpochResponse", [
269
+ { no: 1, name: "epoch", kind: "message", T: () => Epoch }
270
+ ]);
271
+ }
272
+ }
273
+ const GetEpochResponse = new GetEpochResponse$Type();
274
+ const LedgerService = new ServiceType("sui.rpc.v2beta2.LedgerService", [
275
+ { name: "GetServiceInfo", options: {}, I: GetServiceInfoRequest, O: GetServiceInfoResponse },
276
+ { name: "GetObject", options: {}, I: GetObjectRequest, O: GetObjectResponse },
277
+ { name: "BatchGetObjects", options: {}, I: BatchGetObjectsRequest, O: BatchGetObjectsResponse },
278
+ { name: "GetTransaction", options: {}, I: GetTransactionRequest, O: GetTransactionResponse },
279
+ {
280
+ name: "BatchGetTransactions",
281
+ options: {},
282
+ I: BatchGetTransactionsRequest,
283
+ O: BatchGetTransactionsResponse
284
+ },
285
+ { name: "GetCheckpoint", options: {}, I: GetCheckpointRequest, O: GetCheckpointResponse },
286
+ { name: "GetEpoch", options: {}, I: GetEpochRequest, O: GetEpochResponse }
287
+ ]);
288
+ export {
289
+ BatchGetObjectsRequest,
290
+ BatchGetObjectsResponse,
291
+ BatchGetTransactionsRequest,
292
+ BatchGetTransactionsResponse,
293
+ GetCheckpointRequest,
294
+ GetCheckpointResponse,
295
+ GetEpochRequest,
296
+ GetEpochResponse,
297
+ GetObjectRequest,
298
+ GetObjectResponse,
299
+ GetObjectResult,
300
+ GetServiceInfoRequest,
301
+ GetServiceInfoResponse,
302
+ GetTransactionRequest,
303
+ GetTransactionResponse,
304
+ GetTransactionResult,
305
+ LedgerService
306
+ };
307
+ //# sourceMappingURL=ledger_service.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/ledger_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/v2beta2/ledger_service.proto\" (package \"sui.rpc.v2beta2\", 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 { Epoch } from './epoch.js';\nimport { Checkpoint } from './checkpoint.js';\nimport { ExecutedTransaction } from './executed_transaction.js';\nimport { Status } from '../../../google/rpc/status.js';\nimport { Object } from './object.js';\nimport { FieldMask } from '../../../google/protobuf/field_mask.js';\nimport { Timestamp } from '../../../google/protobuf/timestamp.js';\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetServiceInfoRequest\n */\nexport interface GetServiceInfoRequest {}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetServiceInfoResponse\n */\nexport interface GetServiceInfoResponse {\n\t/**\n\t * The chain identifier of the chain that this node is on.\n\t *\n\t * The chain identifier is the digest of the genesis checkpoint, the\n\t * checkpoint with sequence number 0.\n\t *\n\t * @generated from protobuf field: optional string chain_id = 1;\n\t */\n\tchainId?: string;\n\t/**\n\t * Human-readable name of the chain that this node is on.\n\t *\n\t * This is intended to be a human-readable name like `mainnet`, `testnet`, and so on.\n\t *\n\t * @generated from protobuf field: optional string chain = 2;\n\t */\n\tchain?: string;\n\t/**\n\t * Current epoch of the node based on its highest executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 3;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Checkpoint height of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional uint64 checkpoint_height = 4;\n\t */\n\tcheckpointHeight?: bigint;\n\t/**\n\t * Unix timestamp of the most recently executed checkpoint.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.Timestamp timestamp = 5;\n\t */\n\ttimestamp?: Timestamp;\n\t/**\n\t * The lowest checkpoint for which checkpoints and transaction data are available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint = 6;\n\t */\n\tlowestAvailableCheckpoint?: bigint;\n\t/**\n\t * The lowest checkpoint for which object data is available.\n\t *\n\t * @generated from protobuf field: optional uint64 lowest_available_checkpoint_objects = 7;\n\t */\n\tlowestAvailableCheckpointObjects?: bigint;\n\t/**\n\t * Software version of the service. Similar to the `server` http header.\n\t *\n\t * @generated from protobuf field: optional string server = 8;\n\t */\n\tserver?: string;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetObjectRequest\n */\nexport interface GetObjectRequest {\n\t/**\n\t * Required. The `ObjectId` of the requested object.\n\t *\n\t * @generated from protobuf field: optional string object_id = 1;\n\t */\n\tobjectId?: string;\n\t/**\n\t * Request a specific version of the object.\n\t * If no version is specified, and the object is live, then the latest\n\t * version of the object is returned.\n\t *\n\t * @generated from protobuf field: optional uint64 version = 2;\n\t */\n\tversion?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetObjectResponse\n */\nexport interface GetObjectResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Object object = 1;\n\t */\n\tobject?: Object;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.BatchGetObjectsRequest\n */\nexport interface BatchGetObjectsRequest {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.GetObjectRequest requests = 1;\n\t */\n\trequests: GetObjectRequest[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `object_id,version,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.BatchGetObjectsResponse\n */\nexport interface BatchGetObjectsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.GetObjectResult objects = 1;\n\t */\n\tobjects: GetObjectResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetObjectResult\n */\nexport interface GetObjectResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'object';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2beta2.Object object = 1;\n\t\t\t\t */\n\t\t\t\tobject: Object;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetTransactionRequest\n */\nexport interface GetTransactionRequest {\n\t/**\n\t * Required. The digest of the requested transaction.\n\t *\n\t * @generated from protobuf field: optional string digest = 1;\n\t */\n\tdigest?: string;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetTransactionResponse\n */\nexport interface GetTransactionResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.ExecutedTransaction transaction = 1;\n\t */\n\ttransaction?: ExecutedTransaction;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.BatchGetTransactionsRequest\n */\nexport interface BatchGetTransactionsRequest {\n\t/**\n\t * Required. The digests of the requested transactions.\n\t *\n\t * @generated from protobuf field: repeated string digests = 1;\n\t */\n\tdigests: string[];\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.BatchGetTransactionsResponse\n */\nexport interface BatchGetTransactionsResponse {\n\t/**\n\t * @generated from protobuf field: repeated sui.rpc.v2beta2.GetTransactionResult transactions = 1;\n\t */\n\ttransactions: GetTransactionResult[];\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetTransactionResult\n */\nexport interface GetTransactionResult {\n\t/**\n\t * @generated from protobuf oneof: result\n\t */\n\tresult:\n\t\t| {\n\t\t\t\toneofKind: 'transaction';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: sui.rpc.v2beta2.ExecutedTransaction transaction = 1;\n\t\t\t\t */\n\t\t\t\ttransaction: ExecutedTransaction;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'error';\n\t\t\t\t/**\n\t\t\t\t * @generated from protobuf field: google.rpc.Status error = 2;\n\t\t\t\t */\n\t\t\t\terror: Status;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetCheckpointRequest\n */\nexport interface GetCheckpointRequest {\n\t/**\n\t * @generated from protobuf oneof: checkpoint_id\n\t */\n\tcheckpointId:\n\t\t| {\n\t\t\t\toneofKind: 'sequenceNumber';\n\t\t\t\t/**\n\t\t\t\t * The sequence number of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: uint64 sequence_number = 1;\n\t\t\t\t */\n\t\t\t\tsequenceNumber: bigint;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: 'digest';\n\t\t\t\t/**\n\t\t\t\t * The digest of the requested checkpoint.\n\t\t\t\t *\n\t\t\t\t * @generated from protobuf field: string digest = 2;\n\t\t\t\t */\n\t\t\t\tdigest: string;\n\t\t }\n\t\t| {\n\t\t\t\toneofKind: undefined;\n\t\t };\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `sequence_number,digest`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 3;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetCheckpointResponse\n */\nexport interface GetCheckpointResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Checkpoint checkpoint = 1;\n\t */\n\tcheckpoint?: Checkpoint;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetEpochRequest\n */\nexport interface GetEpochRequest {\n\t/**\n\t * The requested epoch.\n\t * If no epoch is provided the current epoch will be returned.\n\t *\n\t * @generated from protobuf field: optional uint64 epoch = 1;\n\t */\n\tepoch?: bigint;\n\t/**\n\t * Mask specifying which fields to read.\n\t * If no mask is specified, defaults to `epoch`.\n\t *\n\t * @generated from protobuf field: optional google.protobuf.FieldMask read_mask = 2;\n\t */\n\treadMask?: FieldMask;\n}\n/**\n * @generated from protobuf message sui.rpc.v2beta2.GetEpochResponse\n */\nexport interface GetEpochResponse {\n\t/**\n\t * @generated from protobuf field: optional sui.rpc.v2beta2.Epoch epoch = 1;\n\t */\n\tepoch?: Epoch;\n}\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoRequest$Type extends MessageType<GetServiceInfoRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetServiceInfoRequest', []);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetServiceInfoRequest\n */\nexport const GetServiceInfoRequest = new GetServiceInfoRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetServiceInfoResponse$Type extends MessageType<GetServiceInfoResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetServiceInfoResponse', [\n\t\t\t{ no: 1, name: 'chain_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'chain', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 3,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 4,\n\t\t\t\tname: 'checkpoint_height',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 5, name: 'timestamp', kind: 'message', T: () => Timestamp },\n\t\t\t{\n\t\t\t\tno: 6,\n\t\t\t\tname: 'lowest_available_checkpoint',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{\n\t\t\t\tno: 7,\n\t\t\t\tname: 'lowest_available_checkpoint_objects',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 8, name: 'server', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetServiceInfoResponse\n */\nexport const GetServiceInfoResponse = new GetServiceInfoResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectRequest$Type extends MessageType<GetObjectRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetObjectRequest', [\n\t\t\t{ no: 1, name: 'object_id', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{\n\t\t\t\tno: 2,\n\t\t\t\tname: 'version',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetObjectRequest\n */\nexport const GetObjectRequest = new GetObjectRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResponse$Type extends MessageType<GetObjectResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetObjectResponse', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', T: () => Object },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetObjectResponse\n */\nexport const GetObjectResponse = new GetObjectResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsRequest$Type extends MessageType<BatchGetObjectsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.BatchGetObjectsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'requests',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => GetObjectRequest,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.BatchGetObjectsRequest\n */\nexport const BatchGetObjectsRequest = new BatchGetObjectsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetObjectsResponse$Type extends MessageType<BatchGetObjectsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.BatchGetObjectsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'objects',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => GetObjectResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.BatchGetObjectsResponse\n */\nexport const BatchGetObjectsResponse = new BatchGetObjectsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetObjectResult$Type extends MessageType<GetObjectResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetObjectResult', [\n\t\t\t{ no: 1, name: 'object', kind: 'message', oneof: 'result', T: () => Object },\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetObjectResult\n */\nexport const GetObjectResult = new GetObjectResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionRequest$Type extends MessageType<GetTransactionRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetTransactionRequest', [\n\t\t\t{ no: 1, name: 'digest', kind: 'scalar', opt: true, T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetTransactionRequest\n */\nexport const GetTransactionRequest = new GetTransactionRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResponse$Type extends MessageType<GetTransactionResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetTransactionResponse', [\n\t\t\t{ no: 1, name: 'transaction', kind: 'message', T: () => ExecutedTransaction },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetTransactionResponse\n */\nexport const GetTransactionResponse = new GetTransactionResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsRequest$Type extends MessageType<BatchGetTransactionsRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.BatchGetTransactionsRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'digests',\n\t\t\t\tkind: 'scalar',\n\t\t\t\trepeat: 2 /*RepeatType.UNPACKED*/,\n\t\t\t\tT: 9 /*ScalarType.STRING*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.BatchGetTransactionsRequest\n */\nexport const BatchGetTransactionsRequest = new BatchGetTransactionsRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass BatchGetTransactionsResponse$Type extends MessageType<BatchGetTransactionsResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.BatchGetTransactionsResponse', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transactions',\n\t\t\t\tkind: 'message',\n\t\t\t\trepeat: 1 /*RepeatType.PACKED*/,\n\t\t\t\tT: () => GetTransactionResult,\n\t\t\t},\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.BatchGetTransactionsResponse\n */\nexport const BatchGetTransactionsResponse = new BatchGetTransactionsResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetTransactionResult$Type extends MessageType<GetTransactionResult> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetTransactionResult', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'transaction',\n\t\t\t\tkind: 'message',\n\t\t\t\toneof: 'result',\n\t\t\t\tT: () => ExecutedTransaction,\n\t\t\t},\n\t\t\t{ no: 2, name: 'error', kind: 'message', oneof: 'result', T: () => Status },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetTransactionResult\n */\nexport const GetTransactionResult = new GetTransactionResult$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointRequest$Type extends MessageType<GetCheckpointRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetCheckpointRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'sequence_number',\n\t\t\t\tkind: 'scalar',\n\t\t\t\toneof: 'checkpointId',\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'digest', kind: 'scalar', oneof: 'checkpointId', T: 9 /*ScalarType.STRING*/ },\n\t\t\t{ no: 3, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetCheckpointRequest\n */\nexport const GetCheckpointRequest = new GetCheckpointRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetCheckpointResponse$Type extends MessageType<GetCheckpointResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetCheckpointResponse', [\n\t\t\t{ no: 1, name: 'checkpoint', kind: 'message', T: () => Checkpoint },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetCheckpointResponse\n */\nexport const GetCheckpointResponse = new GetCheckpointResponse$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochRequest$Type extends MessageType<GetEpochRequest> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetEpochRequest', [\n\t\t\t{\n\t\t\t\tno: 1,\n\t\t\t\tname: 'epoch',\n\t\t\t\tkind: 'scalar',\n\t\t\t\topt: true,\n\t\t\t\tT: 4 /*ScalarType.UINT64*/,\n\t\t\t\tL: 0 /*LongType.BIGINT*/,\n\t\t\t},\n\t\t\t{ no: 2, name: 'read_mask', kind: 'message', T: () => FieldMask },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetEpochRequest\n */\nexport const GetEpochRequest = new GetEpochRequest$Type();\n// @generated message type with reflection information, may provide speed optimized methods\nclass GetEpochResponse$Type extends MessageType<GetEpochResponse> {\n\tconstructor() {\n\t\tsuper('sui.rpc.v2beta2.GetEpochResponse', [\n\t\t\t{ no: 1, name: 'epoch', kind: 'message', T: () => Epoch },\n\t\t]);\n\t}\n}\n/**\n * @generated MessageType for protobuf message sui.rpc.v2beta2.GetEpochResponse\n */\nexport const GetEpochResponse = new GetEpochResponse$Type();\n/**\n * @generated ServiceType for protobuf service sui.rpc.v2beta2.LedgerService\n */\nexport const LedgerService = new ServiceType('sui.rpc.v2beta2.LedgerService', [\n\t{ name: 'GetServiceInfo', options: {}, I: GetServiceInfoRequest, O: GetServiceInfoResponse },\n\t{ name: 'GetObject', options: {}, I: GetObjectRequest, O: GetObjectResponse },\n\t{ name: 'BatchGetObjects', options: {}, I: BatchGetObjectsRequest, O: BatchGetObjectsResponse },\n\t{ name: 'GetTransaction', options: {}, I: GetTransactionRequest, O: GetTransactionResponse },\n\t{\n\t\tname: 'BatchGetTransactions',\n\t\toptions: {},\n\t\tI: BatchGetTransactionsRequest,\n\t\tO: BatchGetTransactionsResponse,\n\t},\n\t{ name: 'GetCheckpoint', options: {}, I: GetCheckpointRequest, O: GetCheckpointResponse },\n\t{ name: 'GetEpoch', options: {}, I: GetEpochRequest, O: GetEpochResponse },\n]);\n"],
5
+ "mappings": "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",
6
+ "names": []
7
+ }
@@ -0,0 +1,81 @@
1
+ import type { RpcTransport } from '@protobuf-ts/runtime-rpc';
2
+ import type { ServiceInfo } from '@protobuf-ts/runtime-rpc';
3
+ import type { SimulateTransactionResponse } from './live_data_service.js';
4
+ import type { SimulateTransactionRequest } from './live_data_service.js';
5
+ import type { ListBalancesResponse } from './live_data_service.js';
6
+ import type { ListBalancesRequest } from './live_data_service.js';
7
+ import type { GetBalanceResponse } from './live_data_service.js';
8
+ import type { GetBalanceRequest } from './live_data_service.js';
9
+ import type { GetCoinInfoResponse } from './live_data_service.js';
10
+ import type { GetCoinInfoRequest } from './live_data_service.js';
11
+ import type { ListOwnedObjectsResponse } from './live_data_service.js';
12
+ import type { ListOwnedObjectsRequest } from './live_data_service.js';
13
+ import type { ListDynamicFieldsResponse } from './live_data_service.js';
14
+ import type { ListDynamicFieldsRequest } from './live_data_service.js';
15
+ import type { UnaryCall } from '@protobuf-ts/runtime-rpc';
16
+ import type { RpcOptions } from '@protobuf-ts/runtime-rpc';
17
+ /**
18
+ * @generated from protobuf service sui.rpc.v2beta2.LiveDataService
19
+ */
20
+ export interface ILiveDataServiceClient {
21
+ /**
22
+ * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2beta2.ListDynamicFieldsRequest) returns (sui.rpc.v2beta2.ListDynamicFieldsResponse);
23
+ */
24
+ listDynamicFields(input: ListDynamicFieldsRequest, options?: RpcOptions): UnaryCall<ListDynamicFieldsRequest, ListDynamicFieldsResponse>;
25
+ /**
26
+ * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2beta2.ListOwnedObjectsRequest) returns (sui.rpc.v2beta2.ListOwnedObjectsResponse);
27
+ */
28
+ listOwnedObjects(input: ListOwnedObjectsRequest, options?: RpcOptions): UnaryCall<ListOwnedObjectsRequest, ListOwnedObjectsResponse>;
29
+ /**
30
+ * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2beta2.GetCoinInfoRequest) returns (sui.rpc.v2beta2.GetCoinInfoResponse);
31
+ */
32
+ getCoinInfo(input: GetCoinInfoRequest, options?: RpcOptions): UnaryCall<GetCoinInfoRequest, GetCoinInfoResponse>;
33
+ /**
34
+ * @generated from protobuf rpc: GetBalance(sui.rpc.v2beta2.GetBalanceRequest) returns (sui.rpc.v2beta2.GetBalanceResponse);
35
+ */
36
+ getBalance(input: GetBalanceRequest, options?: RpcOptions): UnaryCall<GetBalanceRequest, GetBalanceResponse>;
37
+ /**
38
+ * @generated from protobuf rpc: ListBalances(sui.rpc.v2beta2.ListBalancesRequest) returns (sui.rpc.v2beta2.ListBalancesResponse);
39
+ */
40
+ listBalances(input: ListBalancesRequest, options?: RpcOptions): UnaryCall<ListBalancesRequest, ListBalancesResponse>;
41
+ /**
42
+ * @generated from protobuf rpc: SimulateTransaction(sui.rpc.v2beta2.SimulateTransactionRequest) returns (sui.rpc.v2beta2.SimulateTransactionResponse);
43
+ */
44
+ simulateTransaction(input: SimulateTransactionRequest, options?: RpcOptions): UnaryCall<SimulateTransactionRequest, SimulateTransactionResponse>;
45
+ }
46
+ /**
47
+ * @generated from protobuf service sui.rpc.v2beta2.LiveDataService
48
+ */
49
+ export declare class LiveDataServiceClient implements ILiveDataServiceClient, ServiceInfo {
50
+ private readonly _transport;
51
+ typeName: string;
52
+ methods: import("@protobuf-ts/runtime-rpc").MethodInfo<any, any>[];
53
+ options: {
54
+ [extensionName: string]: import("@protobuf-ts/runtime").JsonValue;
55
+ };
56
+ constructor(_transport: RpcTransport);
57
+ /**
58
+ * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2beta2.ListDynamicFieldsRequest) returns (sui.rpc.v2beta2.ListDynamicFieldsResponse);
59
+ */
60
+ listDynamicFields(input: ListDynamicFieldsRequest, options?: RpcOptions): UnaryCall<ListDynamicFieldsRequest, ListDynamicFieldsResponse>;
61
+ /**
62
+ * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2beta2.ListOwnedObjectsRequest) returns (sui.rpc.v2beta2.ListOwnedObjectsResponse);
63
+ */
64
+ listOwnedObjects(input: ListOwnedObjectsRequest, options?: RpcOptions): UnaryCall<ListOwnedObjectsRequest, ListOwnedObjectsResponse>;
65
+ /**
66
+ * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2beta2.GetCoinInfoRequest) returns (sui.rpc.v2beta2.GetCoinInfoResponse);
67
+ */
68
+ getCoinInfo(input: GetCoinInfoRequest, options?: RpcOptions): UnaryCall<GetCoinInfoRequest, GetCoinInfoResponse>;
69
+ /**
70
+ * @generated from protobuf rpc: GetBalance(sui.rpc.v2beta2.GetBalanceRequest) returns (sui.rpc.v2beta2.GetBalanceResponse);
71
+ */
72
+ getBalance(input: GetBalanceRequest, options?: RpcOptions): UnaryCall<GetBalanceRequest, GetBalanceResponse>;
73
+ /**
74
+ * @generated from protobuf rpc: ListBalances(sui.rpc.v2beta2.ListBalancesRequest) returns (sui.rpc.v2beta2.ListBalancesResponse);
75
+ */
76
+ listBalances(input: ListBalancesRequest, options?: RpcOptions): UnaryCall<ListBalancesRequest, ListBalancesResponse>;
77
+ /**
78
+ * @generated from protobuf rpc: SimulateTransaction(sui.rpc.v2beta2.SimulateTransactionRequest) returns (sui.rpc.v2beta2.SimulateTransactionResponse);
79
+ */
80
+ simulateTransaction(input: SimulateTransactionRequest, options?: RpcOptions): UnaryCall<SimulateTransactionRequest, SimulateTransactionResponse>;
81
+ }
@@ -0,0 +1,92 @@
1
+ import { LiveDataService } from "./live_data_service.js";
2
+ import { stackIntercept } from "@protobuf-ts/runtime-rpc";
3
+ class LiveDataServiceClient {
4
+ constructor(_transport) {
5
+ this._transport = _transport;
6
+ this.typeName = LiveDataService.typeName;
7
+ this.methods = LiveDataService.methods;
8
+ this.options = LiveDataService.options;
9
+ }
10
+ /**
11
+ * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2beta2.ListDynamicFieldsRequest) returns (sui.rpc.v2beta2.ListDynamicFieldsResponse);
12
+ */
13
+ listDynamicFields(input, options) {
14
+ const method = this.methods[0], opt = this._transport.mergeOptions(options);
15
+ return stackIntercept(
16
+ "unary",
17
+ this._transport,
18
+ method,
19
+ opt,
20
+ input
21
+ );
22
+ }
23
+ /**
24
+ * @generated from protobuf rpc: ListOwnedObjects(sui.rpc.v2beta2.ListOwnedObjectsRequest) returns (sui.rpc.v2beta2.ListOwnedObjectsResponse);
25
+ */
26
+ listOwnedObjects(input, options) {
27
+ const method = this.methods[1], opt = this._transport.mergeOptions(options);
28
+ return stackIntercept(
29
+ "unary",
30
+ this._transport,
31
+ method,
32
+ opt,
33
+ input
34
+ );
35
+ }
36
+ /**
37
+ * @generated from protobuf rpc: GetCoinInfo(sui.rpc.v2beta2.GetCoinInfoRequest) returns (sui.rpc.v2beta2.GetCoinInfoResponse);
38
+ */
39
+ getCoinInfo(input, options) {
40
+ const method = this.methods[2], opt = this._transport.mergeOptions(options);
41
+ return stackIntercept(
42
+ "unary",
43
+ this._transport,
44
+ method,
45
+ opt,
46
+ input
47
+ );
48
+ }
49
+ /**
50
+ * @generated from protobuf rpc: GetBalance(sui.rpc.v2beta2.GetBalanceRequest) returns (sui.rpc.v2beta2.GetBalanceResponse);
51
+ */
52
+ getBalance(input, options) {
53
+ const method = this.methods[3], opt = this._transport.mergeOptions(options);
54
+ return stackIntercept(
55
+ "unary",
56
+ this._transport,
57
+ method,
58
+ opt,
59
+ input
60
+ );
61
+ }
62
+ /**
63
+ * @generated from protobuf rpc: ListBalances(sui.rpc.v2beta2.ListBalancesRequest) returns (sui.rpc.v2beta2.ListBalancesResponse);
64
+ */
65
+ listBalances(input, options) {
66
+ const method = this.methods[4], opt = this._transport.mergeOptions(options);
67
+ return stackIntercept(
68
+ "unary",
69
+ this._transport,
70
+ method,
71
+ opt,
72
+ input
73
+ );
74
+ }
75
+ /**
76
+ * @generated from protobuf rpc: SimulateTransaction(sui.rpc.v2beta2.SimulateTransactionRequest) returns (sui.rpc.v2beta2.SimulateTransactionResponse);
77
+ */
78
+ simulateTransaction(input, options) {
79
+ const method = this.methods[5], opt = this._transport.mergeOptions(options);
80
+ return stackIntercept(
81
+ "unary",
82
+ this._transport,
83
+ method,
84
+ opt,
85
+ input
86
+ );
87
+ }
88
+ }
89
+ export {
90
+ LiveDataServiceClient
91
+ };
92
+ //# sourceMappingURL=live_data_service.client.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../../../../../../src/grpc/proto/sui/rpc/v2beta2/live_data_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/v2beta2/live_data_service.proto\" (package \"sui.rpc.v2beta2\", 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 { LiveDataService } from './live_data_service.js';\nimport type { SimulateTransactionResponse } from './live_data_service.js';\nimport type { SimulateTransactionRequest } from './live_data_service.js';\nimport type { ListBalancesResponse } from './live_data_service.js';\nimport type { ListBalancesRequest } from './live_data_service.js';\nimport type { GetBalanceResponse } from './live_data_service.js';\nimport type { GetBalanceRequest } from './live_data_service.js';\nimport type { GetCoinInfoResponse } from './live_data_service.js';\nimport type { GetCoinInfoRequest } from './live_data_service.js';\nimport type { ListOwnedObjectsResponse } from './live_data_service.js';\nimport type { ListOwnedObjectsRequest } from './live_data_service.js';\nimport { stackIntercept } from '@protobuf-ts/runtime-rpc';\nimport type { ListDynamicFieldsResponse } from './live_data_service.js';\nimport type { ListDynamicFieldsRequest } from './live_data_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.v2beta2.LiveDataService\n */\nexport interface ILiveDataServiceClient {\n\t/**\n\t * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2beta2.ListDynamicFieldsRequest) returns (sui.rpc.v2beta2.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.v2beta2.ListOwnedObjectsRequest) returns (sui.rpc.v2beta2.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.v2beta2.GetCoinInfoRequest) returns (sui.rpc.v2beta2.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.v2beta2.GetBalanceRequest) returns (sui.rpc.v2beta2.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.v2beta2.ListBalancesRequest) returns (sui.rpc.v2beta2.ListBalancesResponse);\n\t */\n\tlistBalances(\n\t\tinput: ListBalancesRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<ListBalancesRequest, ListBalancesResponse>;\n\t/**\n\t * @generated from protobuf rpc: SimulateTransaction(sui.rpc.v2beta2.SimulateTransactionRequest) returns (sui.rpc.v2beta2.SimulateTransactionResponse);\n\t */\n\tsimulateTransaction(\n\t\tinput: SimulateTransactionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<SimulateTransactionRequest, SimulateTransactionResponse>;\n}\n/**\n * @generated from protobuf service sui.rpc.v2beta2.LiveDataService\n */\nexport class LiveDataServiceClient implements ILiveDataServiceClient, ServiceInfo {\n\ttypeName = LiveDataService.typeName;\n\tmethods = LiveDataService.methods;\n\toptions = LiveDataService.options;\n\tconstructor(private readonly _transport: RpcTransport) {}\n\t/**\n\t * @generated from protobuf rpc: ListDynamicFields(sui.rpc.v2beta2.ListDynamicFieldsRequest) returns (sui.rpc.v2beta2.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.v2beta2.ListOwnedObjectsRequest) returns (sui.rpc.v2beta2.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.v2beta2.GetCoinInfoRequest) returns (sui.rpc.v2beta2.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.v2beta2.GetBalanceRequest) returns (sui.rpc.v2beta2.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.v2beta2.ListBalancesRequest) returns (sui.rpc.v2beta2.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\t/**\n\t * @generated from protobuf rpc: SimulateTransaction(sui.rpc.v2beta2.SimulateTransactionRequest) returns (sui.rpc.v2beta2.SimulateTransactionResponse);\n\t */\n\tsimulateTransaction(\n\t\tinput: SimulateTransactionRequest,\n\t\toptions?: RpcOptions,\n\t): UnaryCall<SimulateTransactionRequest, SimulateTransactionResponse> {\n\t\tconst method = this.methods[5],\n\t\t\topt = this._transport.mergeOptions(options);\n\t\treturn stackIntercept<SimulateTransactionRequest, SimulateTransactionResponse>(\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,uBAAuB;AAWhC,SAAS,sBAAsB;AAuDxB,MAAM,sBAAqE;AAAA,EAIjF,YAA6B,YAA0B;AAA1B;AAH7B,oBAAW,gBAAgB;AAC3B,mBAAU,gBAAgB;AAC1B,mBAAU,gBAAgB;AAAA,EAC8B;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;AAAA;AAAA;AAAA;AAAA,EAIA,oBACC,OACA,SACqE;AACrE,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
+ "names": []
7
+ }