wowok 2.1.38 → 2.1.40

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 (1017) hide show
  1. package/dist/cjs/bcs/bcs.d.ts +0 -8
  2. package/dist/cjs/bcs/bcs.js +0 -25
  3. package/dist/cjs/bcs/effects.js +0 -4
  4. package/dist/cjs/bcs/index.js +0 -4
  5. package/dist/cjs/bcs/pure.js +0 -3
  6. package/dist/cjs/bcs/type-tag-serializer.js +0 -3
  7. package/dist/cjs/bcs/types.d.ts +0 -49
  8. package/dist/cjs/bcs/types.js +0 -3
  9. package/dist/cjs/client/index.js +0 -3
  10. package/dist/cjs/client/network.js +0 -9
  11. package/dist/cjs/cryptography/index.js +0 -3
  12. package/dist/cjs/cryptography/intent.d.ts +0 -3
  13. package/dist/cjs/cryptography/intent.js +0 -6
  14. package/dist/cjs/cryptography/keypair.d.ts +4 -38
  15. package/dist/cjs/cryptography/keypair.js +2 -32
  16. package/dist/cjs/cryptography/mnemonics.d.ts +0 -23
  17. package/dist/cjs/cryptography/mnemonics.js +0 -26
  18. package/dist/cjs/cryptography/publickey.d.ts +0 -42
  19. package/dist/cjs/cryptography/publickey.js +0 -34
  20. package/dist/cjs/cryptography/signature-scheme.js +0 -3
  21. package/dist/cjs/cryptography/signature.d.ts +0 -11
  22. package/dist/cjs/cryptography/signature.js +0 -9
  23. package/dist/cjs/experimental/cache.js +0 -3
  24. package/dist/cjs/experimental/client.js +0 -4
  25. package/dist/cjs/experimental/core.d.ts +0 -2
  26. package/dist/cjs/experimental/core.js +0 -5
  27. package/dist/cjs/experimental/errors.js +0 -3
  28. package/dist/cjs/experimental/index.js +0 -3
  29. package/dist/cjs/experimental/persistent-storage.d.ts +0 -98
  30. package/dist/cjs/experimental/persistent-storage.js +2 -119
  31. package/dist/cjs/experimental/persistent-storage.test.d.ts +0 -4
  32. package/dist/cjs/experimental/persistent-storage.test.js +2 -56
  33. package/dist/cjs/experimental/transports/utils.js +0 -4
  34. package/dist/cjs/experimental/types.d.ts +0 -6
  35. package/dist/cjs/experimental/types.js +0 -4
  36. package/dist/cjs/faucet/faucet.d.ts +0 -9
  37. package/dist/cjs/faucet/faucet.js +0 -12
  38. package/dist/cjs/faucet/index.js +0 -3
  39. package/dist/cjs/grpc/client.js +0 -3
  40. package/dist/cjs/grpc/core.js +0 -16
  41. package/dist/cjs/grpc/index.js +0 -3
  42. package/dist/cjs/grpc/proto/google/protobuf/any.d.ts +0 -151
  43. package/dist/cjs/grpc/proto/google/protobuf/any.js +2 -64
  44. package/dist/cjs/grpc/proto/google/protobuf/duration.d.ts +0 -89
  45. package/dist/cjs/grpc/proto/google/protobuf/duration.js +3 -51
  46. package/dist/cjs/grpc/proto/google/protobuf/empty.d.ts +0 -17
  47. package/dist/cjs/grpc/proto/google/protobuf/empty.js +0 -42
  48. package/dist/cjs/grpc/proto/google/protobuf/field_mask.d.ts +0 -217
  49. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js +2 -50
  50. package/dist/cjs/grpc/proto/google/protobuf/struct.d.ts +0 -112
  51. package/dist/cjs/grpc/proto/google/protobuf/struct.js +5 -86
  52. package/dist/cjs/grpc/proto/google/protobuf/timestamp.d.ts +0 -127
  53. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js +3 -62
  54. package/dist/cjs/grpc/proto/google/rpc/error_details.d.ts +0 -407
  55. package/dist/cjs/grpc/proto/google/rpc/error_details.js +29 -107
  56. package/dist/cjs/grpc/proto/google/rpc/status.d.ts +0 -34
  57. package/dist/cjs/grpc/proto/google/rpc/status.js +3 -29
  58. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.d.ts +0 -48
  59. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js +3 -40
  60. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.d.ts +0 -23
  61. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js +3 -18
  62. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.d.ts +0 -20
  63. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js +2 -17
  64. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.d.ts +0 -48
  65. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js +4 -19
  66. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +0 -51
  67. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js +6 -25
  68. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +0 -149
  69. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js +16 -56
  70. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.d.ts +0 -257
  71. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js +27 -126
  72. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.d.ts +0 -41
  73. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js +8 -23
  74. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.d.ts +0 -12
  75. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js +0 -23
  76. package/dist/cjs/grpc/proto/sui/rpc/v2/event.d.ts +0 -63
  77. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js +6 -25
  78. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +0 -56
  79. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js +5 -20
  80. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.d.ts +0 -623
  81. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js +36 -441
  82. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +0 -29
  83. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js +8 -23
  84. package/dist/cjs/grpc/proto/sui/rpc/v2/input.d.ts +0 -75
  85. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js +6 -47
  86. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.d.ts +0 -50
  87. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js +6 -25
  88. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +0 -52
  89. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js +0 -29
  90. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.d.ts +0 -260
  91. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js +25 -103
  92. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.d.ts +0 -429
  93. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js +41 -202
  94. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +0 -30
  95. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js +0 -18
  96. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.d.ts +0 -151
  97. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js +15 -65
  98. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.d.ts +0 -18
  99. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js +0 -12
  100. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.d.ts +0 -97
  101. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js +8 -42
  102. package/dist/cjs/grpc/proto/sui/rpc/v2/object.d.ts +0 -95
  103. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js +12 -31
  104. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.d.ts +0 -23
  105. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js +4 -19
  106. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.d.ts +0 -42
  107. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js +3 -39
  108. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.d.ts +0 -15
  109. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js +6 -21
  110. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.d.ts +0 -447
  111. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js +39 -122
  112. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +0 -31
  113. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js +0 -42
  114. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +0 -16
  115. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +0 -11
  116. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +0 -54
  117. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js +4 -26
  118. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.d.ts +0 -36
  119. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js +0 -21
  120. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.d.ts +0 -518
  121. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js +42 -197
  122. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +0 -36
  123. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js +0 -21
  124. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.d.ts +0 -36
  125. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js +2 -24
  126. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.d.ts +0 -538
  127. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js +115 -162
  128. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.d.ts +0 -945
  129. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js +98 -393
  130. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +0 -18
  131. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +0 -12
  132. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +0 -118
  133. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js +5 -54
  134. package/dist/cjs/index.js +0 -11
  135. package/dist/cjs/jsonRpc/client.d.ts +0 -140
  136. package/dist/cjs/jsonRpc/client.js +0 -137
  137. package/dist/cjs/jsonRpc/core.js +0 -3
  138. package/dist/cjs/jsonRpc/errors.js +0 -3
  139. package/dist/cjs/jsonRpc/http-transport.d.ts +0 -3
  140. package/dist/cjs/jsonRpc/http-transport.js +0 -3
  141. package/dist/cjs/jsonRpc/index.js +0 -3
  142. package/dist/cjs/jsonRpc/json-rpc-resolver.js +0 -18
  143. package/dist/cjs/jsonRpc/rpc-websocket-client.d.ts +0 -15
  144. package/dist/cjs/jsonRpc/rpc-websocket-client.js +0 -4
  145. package/dist/cjs/jsonRpc/types/chain.js +0 -3
  146. package/dist/cjs/jsonRpc/types/changes.js +0 -3
  147. package/dist/cjs/jsonRpc/types/coins.js +0 -3
  148. package/dist/cjs/jsonRpc/types/common.js +0 -3
  149. package/dist/cjs/jsonRpc/types/generated.d.ts +56 -542
  150. package/dist/cjs/jsonRpc/types/generated.js +0 -3
  151. package/dist/cjs/jsonRpc/types/index.js +0 -3
  152. package/dist/cjs/jsonRpc/types/params.d.ts +0 -336
  153. package/dist/cjs/jsonRpc/types/params.js +0 -3
  154. package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js +1 -6
  155. package/dist/cjs/keypairs/ed25519/index.js +0 -3
  156. package/dist/cjs/keypairs/ed25519/keypair.d.ts +0 -52
  157. package/dist/cjs/keypairs/ed25519/keypair.js +0 -50
  158. package/dist/cjs/keypairs/ed25519/publickey.d.ts +0 -19
  159. package/dist/cjs/keypairs/ed25519/publickey.js +0 -22
  160. package/dist/cjs/keypairs/index.js +0 -3
  161. package/dist/cjs/keypairs/passkey/index.js +0 -3
  162. package/dist/cjs/keypairs/passkey/keypair.d.ts +0 -80
  163. package/dist/cjs/keypairs/passkey/keypair.js +1 -97
  164. package/dist/cjs/keypairs/passkey/publickey.d.ts +0 -47
  165. package/dist/cjs/keypairs/passkey/publickey.js +8 -61
  166. package/dist/cjs/keypairs/passkey/types.d.ts +0 -6
  167. package/dist/cjs/keypairs/passkey/types.js +0 -3
  168. package/dist/cjs/keypairs/secp256k1/index.js +0 -3
  169. package/dist/cjs/keypairs/secp256k1/keypair.d.ts +0 -51
  170. package/dist/cjs/keypairs/secp256k1/keypair.js +0 -51
  171. package/dist/cjs/keypairs/secp256k1/publickey.d.ts +0 -19
  172. package/dist/cjs/keypairs/secp256k1/publickey.js +0 -22
  173. package/dist/cjs/keypairs/secp256r1/index.js +0 -3
  174. package/dist/cjs/keypairs/secp256r1/keypair.d.ts +0 -51
  175. package/dist/cjs/keypairs/secp256r1/keypair.js +0 -52
  176. package/dist/cjs/keypairs/secp256r1/publickey.d.ts +0 -19
  177. package/dist/cjs/keypairs/secp256r1/publickey.js +0 -22
  178. package/dist/cjs/multisig/index.js +0 -3
  179. package/dist/cjs/multisig/publickey.d.ts +1 -36
  180. package/dist/cjs/multisig/publickey.js +1 -43
  181. package/dist/cjs/multisig/signer.d.ts +0 -1
  182. package/dist/cjs/multisig/signer.js +0 -4
  183. package/dist/cjs/transactions/Arguments.js +0 -3
  184. package/dist/cjs/transactions/Commands.d.ts +0 -3
  185. package/dist/cjs/transactions/Commands.js +0 -8
  186. package/dist/cjs/transactions/Inputs.js +0 -3
  187. package/dist/cjs/transactions/ObjectCache.js +0 -3
  188. package/dist/cjs/transactions/Transaction.d.ts +0 -56
  189. package/dist/cjs/transactions/Transaction.js +0 -72
  190. package/dist/cjs/transactions/TransactionData.d.ts +0 -6
  191. package/dist/cjs/transactions/TransactionData.js +0 -15
  192. package/dist/cjs/transactions/__tests__/Transaction.test.js +0 -7
  193. package/dist/cjs/transactions/__tests__/bcs.test.js +0 -18
  194. package/dist/cjs/transactions/data/internal.js +0 -16
  195. package/dist/cjs/transactions/data/v1.js +0 -5
  196. package/dist/cjs/transactions/data/v2.js +0 -11
  197. package/dist/cjs/transactions/executor/caching.d.ts +0 -4
  198. package/dist/cjs/transactions/executor/caching.js +0 -7
  199. package/dist/cjs/transactions/executor/parallel.d.ts +0 -11
  200. package/dist/cjs/transactions/executor/parallel.js +0 -5
  201. package/dist/cjs/transactions/executor/queue.js +0 -3
  202. package/dist/cjs/transactions/executor/serial.d.ts +0 -1
  203. package/dist/cjs/transactions/executor/serial.js +0 -3
  204. package/dist/cjs/transactions/hash.d.ts +0 -6
  205. package/dist/cjs/transactions/hash.js +0 -9
  206. package/dist/cjs/transactions/index.d.ts +0 -1
  207. package/dist/cjs/transactions/index.js +0 -3
  208. package/dist/cjs/transactions/intents/CoinWithBalance.js +0 -3
  209. package/dist/cjs/transactions/object.js +0 -3
  210. package/dist/cjs/transactions/plugins/NamedPackagesPlugin.d.ts +0 -18
  211. package/dist/cjs/transactions/plugins/NamedPackagesPlugin.js +0 -9
  212. package/dist/cjs/transactions/pure.js +0 -3
  213. package/dist/cjs/transactions/resolve.js +0 -3
  214. package/dist/cjs/transactions/serializer.js +0 -3
  215. package/dist/cjs/transactions/utils.js +0 -3
  216. package/dist/cjs/utils/constants.js +0 -9
  217. package/dist/cjs/utils/derived-objects.d.ts +0 -3
  218. package/dist/cjs/utils/derived-objects.js +0 -6
  219. package/dist/cjs/utils/dynamic-fields.js +0 -3
  220. package/dist/cjs/utils/format.js +0 -4
  221. package/dist/cjs/utils/index.js +2 -9
  222. package/dist/cjs/utils/move-registry.d.ts +0 -4
  223. package/dist/cjs/utils/move-registry.js +1 -18
  224. package/dist/cjs/utils/sui-types.d.ts +0 -12
  225. package/dist/cjs/utils/sui-types.js +0 -20
  226. package/dist/cjs/utils/suins.js +0 -3
  227. package/dist/cjs/verify/index.js +0 -4
  228. package/dist/cjs/verify/verify.js +0 -4
  229. package/dist/cjs/version.js +0 -4
  230. package/dist/cjs/w/call/allocation.js +2 -26
  231. package/dist/cjs/w/call/arb.js +1 -7
  232. package/dist/cjs/w/call/arbitration.js +1 -32
  233. package/dist/cjs/w/call/base.js +3 -34
  234. package/dist/cjs/w/call/contact.js +1 -6
  235. package/dist/cjs/w/call/demand.js +2 -23
  236. package/dist/cjs/w/call/entity.js +0 -7
  237. package/dist/cjs/w/call/guard-ins.d.ts +0 -3
  238. package/dist/cjs/w/call/guard-ins.js +116 -54
  239. package/dist/cjs/w/call/guard.d.ts +0 -27
  240. package/dist/cjs/w/call/guard.js +3 -109
  241. package/dist/cjs/w/call/index.js +0 -5
  242. package/dist/cjs/w/call/machine.js +1 -20
  243. package/dist/cjs/w/call/order.js +1 -12
  244. package/dist/cjs/w/call/passport.js +0 -14
  245. package/dist/cjs/w/call/payment.js +0 -14
  246. package/dist/cjs/w/call/permission.d.ts +0 -20
  247. package/dist/cjs/w/call/permission.js +0 -65
  248. package/dist/cjs/w/call/personal.js +0 -3
  249. package/dist/cjs/w/call/progress.js +1 -14
  250. package/dist/cjs/w/call/proof.js +0 -3
  251. package/dist/cjs/w/call/repository.js +3 -76
  252. package/dist/cjs/w/call/resource.js +1 -12
  253. package/dist/cjs/w/call/reward.js +7 -20
  254. package/dist/cjs/w/call/service.js +4 -35
  255. package/dist/cjs/w/call/treasury.js +15 -19
  256. package/dist/cjs/w/call/util.js +5 -63
  257. package/dist/cjs/w/common.d.ts +48 -68
  258. package/dist/cjs/w/common.js +0 -33
  259. package/dist/cjs/w/exception.d.ts +1 -0
  260. package/dist/cjs/w/exception.js +105 -69
  261. package/dist/cjs/w/index.js +0 -4
  262. package/dist/cjs/w/local/account.d.ts +0 -45
  263. package/dist/cjs/w/local/account.js +12 -102
  264. package/dist/cjs/w/local/cache.js +0 -30
  265. package/dist/cjs/w/local/config.d.ts +0 -3
  266. package/dist/cjs/w/local/config.js +0 -7
  267. package/dist/cjs/w/local/index.js +0 -5
  268. package/dist/cjs/w/local/local.js +17 -107
  269. package/dist/cjs/w/local/storage.d.ts +0 -20
  270. package/dist/cjs/w/local/storage.js +0 -37
  271. package/dist/cjs/w/local/token.d.ts +1 -4
  272. package/dist/cjs/w/local/token.js +0 -30
  273. package/dist/cjs/w/local/util.d.ts +0 -4
  274. package/dist/cjs/w/local/util.js +0 -24
  275. package/dist/cjs/w/local/wip.d.ts +0 -92
  276. package/dist/cjs/w/local/wip.js +31 -351
  277. package/dist/cjs/w/messenger/crypto.d.ts +0 -186
  278. package/dist/cjs/w/messenger/crypto.js +2 -196
  279. package/dist/cjs/w/messenger/index.d.ts +0 -18
  280. package/dist/cjs/w/messenger/index.js +0 -24
  281. package/dist/cjs/w/messenger/messenger-api.d.ts +0 -177
  282. package/dist/cjs/w/messenger/messenger-api.js +5 -354
  283. package/dist/cjs/w/messenger/messenger-manager.d.ts +0 -24
  284. package/dist/cjs/w/messenger/messenger-manager.js +1 -63
  285. package/dist/cjs/w/messenger/messenger.d.ts +0 -206
  286. package/dist/cjs/w/messenger/messenger.js +14 -360
  287. package/dist/cjs/w/messenger/server.d.ts +0 -94
  288. package/dist/cjs/w/messenger/server.js +0 -117
  289. package/dist/cjs/w/messenger/session.d.ts +0 -76
  290. package/dist/cjs/w/messenger/session.js +3 -143
  291. package/dist/cjs/w/messenger/storage.d.ts +0 -143
  292. package/dist/cjs/w/messenger/storage.js +0 -233
  293. package/dist/cjs/w/messenger/templates/wts-html-template.d.ts +0 -31
  294. package/dist/cjs/w/messenger/templates/wts-html-template.js +0 -43
  295. package/dist/cjs/w/messenger/types.d.ts +7 -218
  296. package/dist/cjs/w/messenger/types.js +14 -36
  297. package/dist/cjs/w/messenger/utils.d.ts +0 -14
  298. package/dist/cjs/w/messenger/utils.js +0 -17
  299. package/dist/cjs/w/query/bult-in.d.ts +0 -11
  300. package/dist/cjs/w/query/bult-in.js +1 -13
  301. package/dist/cjs/w/query/event.d.ts +0 -7
  302. package/dist/cjs/w/query/event.js +0 -3
  303. package/dist/cjs/w/query/index.js +0 -3
  304. package/dist/cjs/w/query/object.d.ts +7 -51
  305. package/dist/cjs/w/query/object.js +7 -93
  306. package/dist/cjs/w/query/received.d.ts +0 -6
  307. package/dist/cjs/w/query/received.js +0 -5
  308. package/dist/cjs/w/query/util.d.ts +1 -2
  309. package/dist/cjs/w/query/util.js +1 -6
  310. package/dist/cjs/w/util.d.ts +2 -5
  311. package/dist/cjs/w/util.js +2 -31
  312. package/dist/esm/bcs/bcs.d.ts +0 -8
  313. package/dist/esm/bcs/bcs.js +0 -25
  314. package/dist/esm/bcs/effects.js +0 -4
  315. package/dist/esm/bcs/index.js +0 -4
  316. package/dist/esm/bcs/pure.js +0 -3
  317. package/dist/esm/bcs/type-tag-serializer.js +0 -3
  318. package/dist/esm/bcs/types.d.ts +0 -49
  319. package/dist/esm/bcs/types.js +0 -3
  320. package/dist/esm/client/index.js +0 -3
  321. package/dist/esm/client/network.js +0 -9
  322. package/dist/esm/cryptography/index.js +0 -3
  323. package/dist/esm/cryptography/intent.d.ts +0 -3
  324. package/dist/esm/cryptography/intent.js +0 -6
  325. package/dist/esm/cryptography/keypair.d.ts +4 -38
  326. package/dist/esm/cryptography/keypair.js +2 -32
  327. package/dist/esm/cryptography/mnemonics.d.ts +0 -23
  328. package/dist/esm/cryptography/mnemonics.js +0 -26
  329. package/dist/esm/cryptography/publickey.d.ts +0 -42
  330. package/dist/esm/cryptography/publickey.js +0 -34
  331. package/dist/esm/cryptography/signature-scheme.js +0 -3
  332. package/dist/esm/cryptography/signature.d.ts +0 -11
  333. package/dist/esm/cryptography/signature.js +0 -9
  334. package/dist/esm/experimental/cache.js +0 -3
  335. package/dist/esm/experimental/client.js +0 -4
  336. package/dist/esm/experimental/core.d.ts +0 -2
  337. package/dist/esm/experimental/core.js +0 -5
  338. package/dist/esm/experimental/errors.js +0 -3
  339. package/dist/esm/experimental/index.js +0 -3
  340. package/dist/esm/experimental/persistent-storage.d.ts +0 -98
  341. package/dist/esm/experimental/persistent-storage.js +2 -119
  342. package/dist/esm/experimental/persistent-storage.test.d.ts +0 -4
  343. package/dist/esm/experimental/persistent-storage.test.js +2 -56
  344. package/dist/esm/experimental/transports/utils.js +0 -4
  345. package/dist/esm/experimental/types.d.ts +0 -6
  346. package/dist/esm/experimental/types.js +0 -4
  347. package/dist/esm/faucet/faucet.d.ts +0 -9
  348. package/dist/esm/faucet/faucet.js +0 -12
  349. package/dist/esm/faucet/index.js +0 -3
  350. package/dist/esm/grpc/client.js +0 -3
  351. package/dist/esm/grpc/core.js +0 -16
  352. package/dist/esm/grpc/index.js +0 -3
  353. package/dist/esm/grpc/proto/google/protobuf/any.d.ts +0 -151
  354. package/dist/esm/grpc/proto/google/protobuf/any.js +2 -64
  355. package/dist/esm/grpc/proto/google/protobuf/duration.d.ts +0 -89
  356. package/dist/esm/grpc/proto/google/protobuf/duration.js +3 -51
  357. package/dist/esm/grpc/proto/google/protobuf/empty.d.ts +0 -17
  358. package/dist/esm/grpc/proto/google/protobuf/empty.js +0 -42
  359. package/dist/esm/grpc/proto/google/protobuf/field_mask.d.ts +0 -217
  360. package/dist/esm/grpc/proto/google/protobuf/field_mask.js +2 -50
  361. package/dist/esm/grpc/proto/google/protobuf/struct.d.ts +0 -112
  362. package/dist/esm/grpc/proto/google/protobuf/struct.js +5 -86
  363. package/dist/esm/grpc/proto/google/protobuf/timestamp.d.ts +0 -127
  364. package/dist/esm/grpc/proto/google/protobuf/timestamp.js +3 -62
  365. package/dist/esm/grpc/proto/google/rpc/error_details.d.ts +0 -407
  366. package/dist/esm/grpc/proto/google/rpc/error_details.js +29 -107
  367. package/dist/esm/grpc/proto/google/rpc/status.d.ts +0 -34
  368. package/dist/esm/grpc/proto/google/rpc/status.js +3 -29
  369. package/dist/esm/grpc/proto/sui/rpc/v2/argument.d.ts +0 -48
  370. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js +3 -40
  371. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.d.ts +0 -23
  372. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js +3 -18
  373. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.d.ts +0 -20
  374. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js +2 -17
  375. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.d.ts +0 -48
  376. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js +4 -19
  377. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.d.ts +0 -51
  378. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js +6 -25
  379. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.d.ts +0 -149
  380. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js +16 -56
  381. package/dist/esm/grpc/proto/sui/rpc/v2/effects.d.ts +0 -257
  382. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js +27 -126
  383. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.d.ts +0 -41
  384. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js +8 -23
  385. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.d.ts +0 -12
  386. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js +0 -23
  387. package/dist/esm/grpc/proto/sui/rpc/v2/event.d.ts +0 -63
  388. package/dist/esm/grpc/proto/sui/rpc/v2/event.js +6 -25
  389. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.d.ts +0 -56
  390. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js +5 -20
  391. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.d.ts +0 -623
  392. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js +36 -441
  393. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.d.ts +0 -29
  394. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js +8 -23
  395. package/dist/esm/grpc/proto/sui/rpc/v2/input.d.ts +0 -75
  396. package/dist/esm/grpc/proto/sui/rpc/v2/input.js +6 -47
  397. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.d.ts +0 -50
  398. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js +6 -25
  399. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.d.ts +0 -52
  400. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js +0 -29
  401. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.d.ts +0 -260
  402. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js +25 -103
  403. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.d.ts +0 -429
  404. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js +41 -202
  405. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.d.ts +0 -30
  406. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js +0 -18
  407. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.d.ts +0 -151
  408. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js +15 -65
  409. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.d.ts +0 -18
  410. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js +0 -12
  411. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.d.ts +0 -97
  412. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js +8 -42
  413. package/dist/esm/grpc/proto/sui/rpc/v2/object.d.ts +0 -95
  414. package/dist/esm/grpc/proto/sui/rpc/v2/object.js +12 -31
  415. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.d.ts +0 -23
  416. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js +4 -19
  417. package/dist/esm/grpc/proto/sui/rpc/v2/owner.d.ts +0 -42
  418. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js +3 -39
  419. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.d.ts +0 -15
  420. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js +6 -21
  421. package/dist/esm/grpc/proto/sui/rpc/v2/signature.d.ts +0 -447
  422. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js +39 -122
  423. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.d.ts +0 -31
  424. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js +0 -42
  425. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.d.ts +0 -16
  426. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js +0 -11
  427. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.d.ts +0 -54
  428. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js +4 -26
  429. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.d.ts +0 -36
  430. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js +0 -21
  431. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.d.ts +0 -518
  432. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js +42 -197
  433. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.d.ts +0 -36
  434. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js +0 -21
  435. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.d.ts +0 -36
  436. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js +2 -24
  437. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.d.ts +0 -538
  438. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js +115 -162
  439. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.d.ts +0 -945
  440. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js +98 -393
  441. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.d.ts +0 -18
  442. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js +0 -12
  443. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.d.ts +0 -118
  444. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js +5 -54
  445. package/dist/esm/index.js +0 -11
  446. package/dist/esm/jsonRpc/client.d.ts +0 -140
  447. package/dist/esm/jsonRpc/client.js +0 -137
  448. package/dist/esm/jsonRpc/core.js +0 -3
  449. package/dist/esm/jsonRpc/errors.js +0 -3
  450. package/dist/esm/jsonRpc/http-transport.d.ts +0 -3
  451. package/dist/esm/jsonRpc/http-transport.js +0 -3
  452. package/dist/esm/jsonRpc/index.js +0 -3
  453. package/dist/esm/jsonRpc/json-rpc-resolver.js +0 -18
  454. package/dist/esm/jsonRpc/rpc-websocket-client.d.ts +0 -15
  455. package/dist/esm/jsonRpc/rpc-websocket-client.js +0 -4
  456. package/dist/esm/jsonRpc/types/chain.js +0 -3
  457. package/dist/esm/jsonRpc/types/changes.js +0 -3
  458. package/dist/esm/jsonRpc/types/coins.js +0 -3
  459. package/dist/esm/jsonRpc/types/common.js +0 -3
  460. package/dist/esm/jsonRpc/types/generated.d.ts +56 -542
  461. package/dist/esm/jsonRpc/types/generated.js +0 -3
  462. package/dist/esm/jsonRpc/types/index.js +0 -3
  463. package/dist/esm/jsonRpc/types/params.d.ts +0 -336
  464. package/dist/esm/jsonRpc/types/params.js +0 -3
  465. package/dist/esm/keypairs/ed25519/ed25519-hd-key.js +1 -6
  466. package/dist/esm/keypairs/ed25519/index.js +0 -3
  467. package/dist/esm/keypairs/ed25519/keypair.d.ts +0 -52
  468. package/dist/esm/keypairs/ed25519/keypair.js +0 -50
  469. package/dist/esm/keypairs/ed25519/publickey.d.ts +0 -19
  470. package/dist/esm/keypairs/ed25519/publickey.js +0 -22
  471. package/dist/esm/keypairs/index.js +0 -3
  472. package/dist/esm/keypairs/passkey/index.js +0 -3
  473. package/dist/esm/keypairs/passkey/keypair.d.ts +0 -80
  474. package/dist/esm/keypairs/passkey/keypair.js +1 -97
  475. package/dist/esm/keypairs/passkey/publickey.d.ts +0 -47
  476. package/dist/esm/keypairs/passkey/publickey.js +8 -61
  477. package/dist/esm/keypairs/passkey/types.d.ts +0 -6
  478. package/dist/esm/keypairs/passkey/types.js +0 -3
  479. package/dist/esm/keypairs/secp256k1/index.js +0 -3
  480. package/dist/esm/keypairs/secp256k1/keypair.d.ts +0 -51
  481. package/dist/esm/keypairs/secp256k1/keypair.js +0 -51
  482. package/dist/esm/keypairs/secp256k1/publickey.d.ts +0 -19
  483. package/dist/esm/keypairs/secp256k1/publickey.js +0 -22
  484. package/dist/esm/keypairs/secp256r1/index.js +0 -3
  485. package/dist/esm/keypairs/secp256r1/keypair.d.ts +0 -51
  486. package/dist/esm/keypairs/secp256r1/keypair.js +0 -52
  487. package/dist/esm/keypairs/secp256r1/publickey.d.ts +0 -19
  488. package/dist/esm/keypairs/secp256r1/publickey.js +0 -22
  489. package/dist/esm/multisig/index.js +0 -3
  490. package/dist/esm/multisig/publickey.d.ts +1 -36
  491. package/dist/esm/multisig/publickey.js +1 -43
  492. package/dist/esm/multisig/signer.d.ts +0 -1
  493. package/dist/esm/multisig/signer.js +0 -4
  494. package/dist/esm/transactions/Arguments.js +0 -3
  495. package/dist/esm/transactions/Commands.d.ts +0 -3
  496. package/dist/esm/transactions/Commands.js +0 -8
  497. package/dist/esm/transactions/Inputs.js +0 -3
  498. package/dist/esm/transactions/ObjectCache.js +0 -3
  499. package/dist/esm/transactions/Transaction.d.ts +0 -56
  500. package/dist/esm/transactions/Transaction.js +0 -72
  501. package/dist/esm/transactions/TransactionData.d.ts +0 -6
  502. package/dist/esm/transactions/TransactionData.js +0 -15
  503. package/dist/esm/transactions/__tests__/Transaction.test.js +0 -7
  504. package/dist/esm/transactions/__tests__/bcs.test.js +0 -18
  505. package/dist/esm/transactions/data/internal.js +0 -16
  506. package/dist/esm/transactions/data/v1.js +0 -5
  507. package/dist/esm/transactions/data/v2.js +0 -11
  508. package/dist/esm/transactions/executor/caching.d.ts +0 -4
  509. package/dist/esm/transactions/executor/caching.js +0 -7
  510. package/dist/esm/transactions/executor/parallel.d.ts +0 -11
  511. package/dist/esm/transactions/executor/parallel.js +0 -5
  512. package/dist/esm/transactions/executor/queue.js +0 -3
  513. package/dist/esm/transactions/executor/serial.d.ts +0 -1
  514. package/dist/esm/transactions/executor/serial.js +0 -3
  515. package/dist/esm/transactions/hash.d.ts +0 -6
  516. package/dist/esm/transactions/hash.js +0 -9
  517. package/dist/esm/transactions/index.d.ts +0 -1
  518. package/dist/esm/transactions/index.js +0 -3
  519. package/dist/esm/transactions/intents/CoinWithBalance.js +0 -3
  520. package/dist/esm/transactions/object.js +0 -3
  521. package/dist/esm/transactions/plugins/NamedPackagesPlugin.d.ts +0 -18
  522. package/dist/esm/transactions/plugins/NamedPackagesPlugin.js +0 -9
  523. package/dist/esm/transactions/pure.js +0 -3
  524. package/dist/esm/transactions/resolve.js +0 -3
  525. package/dist/esm/transactions/serializer.js +0 -3
  526. package/dist/esm/transactions/utils.js +0 -3
  527. package/dist/esm/utils/constants.js +0 -9
  528. package/dist/esm/utils/derived-objects.d.ts +0 -3
  529. package/dist/esm/utils/derived-objects.js +0 -6
  530. package/dist/esm/utils/dynamic-fields.js +0 -3
  531. package/dist/esm/utils/format.js +0 -4
  532. package/dist/esm/utils/index.js +2 -9
  533. package/dist/esm/utils/move-registry.d.ts +0 -4
  534. package/dist/esm/utils/move-registry.js +1 -18
  535. package/dist/esm/utils/sui-types.d.ts +0 -12
  536. package/dist/esm/utils/sui-types.js +0 -20
  537. package/dist/esm/utils/suins.js +0 -3
  538. package/dist/esm/verify/index.js +0 -4
  539. package/dist/esm/verify/verify.js +0 -4
  540. package/dist/esm/version.js +0 -4
  541. package/dist/esm/w/call/allocation.js +2 -26
  542. package/dist/esm/w/call/arb.js +1 -7
  543. package/dist/esm/w/call/arbitration.js +1 -32
  544. package/dist/esm/w/call/base.js +3 -34
  545. package/dist/esm/w/call/contact.js +1 -6
  546. package/dist/esm/w/call/demand.js +2 -23
  547. package/dist/esm/w/call/entity.js +0 -7
  548. package/dist/esm/w/call/guard-ins.d.ts +0 -3
  549. package/dist/esm/w/call/guard-ins.js +116 -54
  550. package/dist/esm/w/call/guard.d.ts +0 -27
  551. package/dist/esm/w/call/guard.js +3 -109
  552. package/dist/esm/w/call/index.js +0 -5
  553. package/dist/esm/w/call/machine.js +1 -20
  554. package/dist/esm/w/call/order.js +1 -12
  555. package/dist/esm/w/call/passport.js +0 -14
  556. package/dist/esm/w/call/payment.js +0 -14
  557. package/dist/esm/w/call/permission.d.ts +0 -20
  558. package/dist/esm/w/call/permission.js +0 -65
  559. package/dist/esm/w/call/personal.js +0 -3
  560. package/dist/esm/w/call/progress.js +1 -14
  561. package/dist/esm/w/call/proof.js +0 -3
  562. package/dist/esm/w/call/repository.js +3 -76
  563. package/dist/esm/w/call/resource.js +1 -12
  564. package/dist/esm/w/call/reward.js +7 -20
  565. package/dist/esm/w/call/service.js +4 -35
  566. package/dist/esm/w/call/treasury.js +15 -19
  567. package/dist/esm/w/call/util.js +5 -63
  568. package/dist/esm/w/common.d.ts +48 -68
  569. package/dist/esm/w/common.js +0 -33
  570. package/dist/esm/w/exception.d.ts +1 -0
  571. package/dist/esm/w/exception.js +105 -69
  572. package/dist/esm/w/index.js +0 -4
  573. package/dist/esm/w/local/account.d.ts +0 -45
  574. package/dist/esm/w/local/account.js +12 -102
  575. package/dist/esm/w/local/cache.js +0 -30
  576. package/dist/esm/w/local/config.d.ts +0 -3
  577. package/dist/esm/w/local/config.js +0 -7
  578. package/dist/esm/w/local/index.js +0 -5
  579. package/dist/esm/w/local/local.js +17 -107
  580. package/dist/esm/w/local/storage.d.ts +0 -20
  581. package/dist/esm/w/local/storage.js +0 -37
  582. package/dist/esm/w/local/token.d.ts +1 -4
  583. package/dist/esm/w/local/token.js +0 -30
  584. package/dist/esm/w/local/util.d.ts +0 -4
  585. package/dist/esm/w/local/util.js +0 -24
  586. package/dist/esm/w/local/wip.d.ts +0 -92
  587. package/dist/esm/w/local/wip.js +31 -351
  588. package/dist/esm/w/messenger/crypto.d.ts +0 -186
  589. package/dist/esm/w/messenger/crypto.js +2 -196
  590. package/dist/esm/w/messenger/index.d.ts +0 -18
  591. package/dist/esm/w/messenger/index.js +0 -24
  592. package/dist/esm/w/messenger/messenger-api.d.ts +0 -177
  593. package/dist/esm/w/messenger/messenger-api.js +5 -354
  594. package/dist/esm/w/messenger/messenger-manager.d.ts +0 -24
  595. package/dist/esm/w/messenger/messenger-manager.js +1 -63
  596. package/dist/esm/w/messenger/messenger.d.ts +0 -206
  597. package/dist/esm/w/messenger/messenger.js +14 -360
  598. package/dist/esm/w/messenger/server.d.ts +0 -94
  599. package/dist/esm/w/messenger/server.js +0 -117
  600. package/dist/esm/w/messenger/session.d.ts +0 -76
  601. package/dist/esm/w/messenger/session.js +3 -143
  602. package/dist/esm/w/messenger/storage.d.ts +0 -143
  603. package/dist/esm/w/messenger/storage.js +0 -233
  604. package/dist/esm/w/messenger/templates/wts-html-template.d.ts +0 -31
  605. package/dist/esm/w/messenger/templates/wts-html-template.js +0 -43
  606. package/dist/esm/w/messenger/types.d.ts +7 -218
  607. package/dist/esm/w/messenger/types.js +14 -36
  608. package/dist/esm/w/messenger/utils.d.ts +0 -14
  609. package/dist/esm/w/messenger/utils.js +0 -17
  610. package/dist/esm/w/query/bult-in.d.ts +0 -11
  611. package/dist/esm/w/query/bult-in.js +1 -13
  612. package/dist/esm/w/query/event.d.ts +0 -7
  613. package/dist/esm/w/query/event.js +0 -3
  614. package/dist/esm/w/query/index.js +0 -3
  615. package/dist/esm/w/query/object.d.ts +7 -51
  616. package/dist/esm/w/query/object.js +7 -93
  617. package/dist/esm/w/query/received.d.ts +0 -6
  618. package/dist/esm/w/query/received.js +0 -5
  619. package/dist/esm/w/query/util.d.ts +1 -2
  620. package/dist/esm/w/query/util.js +1 -6
  621. package/dist/esm/w/util.d.ts +2 -5
  622. package/dist/esm/w/util.js +2 -31
  623. package/package.json +1 -1
  624. package/dist/cjs/bcs/bcs.js.map +0 -1
  625. package/dist/cjs/bcs/effects.js.map +0 -1
  626. package/dist/cjs/bcs/index.js.map +0 -1
  627. package/dist/cjs/bcs/pure.js.map +0 -1
  628. package/dist/cjs/bcs/type-tag-serializer.js.map +0 -1
  629. package/dist/cjs/bcs/types.js.map +0 -1
  630. package/dist/cjs/client/index.js.map +0 -1
  631. package/dist/cjs/client/network.js.map +0 -1
  632. package/dist/cjs/cryptography/index.js.map +0 -1
  633. package/dist/cjs/cryptography/intent.js.map +0 -1
  634. package/dist/cjs/cryptography/keypair.js.map +0 -1
  635. package/dist/cjs/cryptography/mnemonics.js.map +0 -1
  636. package/dist/cjs/cryptography/publickey.js.map +0 -1
  637. package/dist/cjs/cryptography/signature-scheme.js.map +0 -1
  638. package/dist/cjs/cryptography/signature.js.map +0 -1
  639. package/dist/cjs/experimental/cache.js.map +0 -1
  640. package/dist/cjs/experimental/client.js.map +0 -1
  641. package/dist/cjs/experimental/core.js.map +0 -1
  642. package/dist/cjs/experimental/errors.js.map +0 -1
  643. package/dist/cjs/experimental/index.js.map +0 -1
  644. package/dist/cjs/experimental/persistent-storage.js.map +0 -1
  645. package/dist/cjs/experimental/persistent-storage.test.js.map +0 -1
  646. package/dist/cjs/experimental/transports/utils.js.map +0 -1
  647. package/dist/cjs/experimental/types.js.map +0 -1
  648. package/dist/cjs/faucet/faucet.js.map +0 -1
  649. package/dist/cjs/faucet/index.js.map +0 -1
  650. package/dist/cjs/grpc/client.js.map +0 -1
  651. package/dist/cjs/grpc/core.js.map +0 -1
  652. package/dist/cjs/grpc/index.js.map +0 -1
  653. package/dist/cjs/grpc/proto/google/protobuf/any.js.map +0 -1
  654. package/dist/cjs/grpc/proto/google/protobuf/duration.js.map +0 -1
  655. package/dist/cjs/grpc/proto/google/protobuf/empty.js.map +0 -1
  656. package/dist/cjs/grpc/proto/google/protobuf/field_mask.js.map +0 -1
  657. package/dist/cjs/grpc/proto/google/protobuf/struct.js.map +0 -1
  658. package/dist/cjs/grpc/proto/google/protobuf/timestamp.js.map +0 -1
  659. package/dist/cjs/grpc/proto/google/rpc/error_details.js.map +0 -1
  660. package/dist/cjs/grpc/proto/google/rpc/status.js.map +0 -1
  661. package/dist/cjs/grpc/proto/sui/rpc/v2/argument.js.map +0 -1
  662. package/dist/cjs/grpc/proto/sui/rpc/v2/balance_change.js.map +0 -1
  663. package/dist/cjs/grpc/proto/sui/rpc/v2/bcs.js.map +0 -1
  664. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint.js.map +0 -1
  665. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +0 -1
  666. package/dist/cjs/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +0 -1
  667. package/dist/cjs/grpc/proto/sui/rpc/v2/effects.js.map +0 -1
  668. package/dist/cjs/grpc/proto/sui/rpc/v2/epoch.js.map +0 -1
  669. package/dist/cjs/grpc/proto/sui/rpc/v2/error_reason.js.map +0 -1
  670. package/dist/cjs/grpc/proto/sui/rpc/v2/event.js.map +0 -1
  671. package/dist/cjs/grpc/proto/sui/rpc/v2/executed_transaction.js.map +0 -1
  672. package/dist/cjs/grpc/proto/sui/rpc/v2/execution_status.js.map +0 -1
  673. package/dist/cjs/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +0 -1
  674. package/dist/cjs/grpc/proto/sui/rpc/v2/input.js.map +0 -1
  675. package/dist/cjs/grpc/proto/sui/rpc/v2/jwk.js.map +0 -1
  676. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +0 -1
  677. package/dist/cjs/grpc/proto/sui/rpc/v2/ledger_service.js.map +0 -1
  678. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package.js.map +0 -1
  679. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +0 -1
  680. package/dist/cjs/grpc/proto/sui/rpc/v2/move_package_service.js.map +0 -1
  681. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.client.js.map +0 -1
  682. package/dist/cjs/grpc/proto/sui/rpc/v2/name_service.js.map +0 -1
  683. package/dist/cjs/grpc/proto/sui/rpc/v2/object.js.map +0 -1
  684. package/dist/cjs/grpc/proto/sui/rpc/v2/object_reference.js.map +0 -1
  685. package/dist/cjs/grpc/proto/sui/rpc/v2/owner.js.map +0 -1
  686. package/dist/cjs/grpc/proto/sui/rpc/v2/protocol_config.js.map +0 -1
  687. package/dist/cjs/grpc/proto/sui/rpc/v2/signature.js.map +0 -1
  688. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_scheme.js.map +0 -1
  689. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +0 -1
  690. package/dist/cjs/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +0 -1
  691. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.client.js.map +0 -1
  692. package/dist/cjs/grpc/proto/sui/rpc/v2/state_service.js.map +0 -1
  693. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +0 -1
  694. package/dist/cjs/grpc/proto/sui/rpc/v2/subscription_service.js.map +0 -1
  695. package/dist/cjs/grpc/proto/sui/rpc/v2/system_state.js.map +0 -1
  696. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction.js.map +0 -1
  697. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +0 -1
  698. package/dist/cjs/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +0 -1
  699. package/dist/cjs/index.js.map +0 -1
  700. package/dist/cjs/jsonRpc/client.js.map +0 -1
  701. package/dist/cjs/jsonRpc/core.js.map +0 -1
  702. package/dist/cjs/jsonRpc/errors.js.map +0 -1
  703. package/dist/cjs/jsonRpc/http-transport.js.map +0 -1
  704. package/dist/cjs/jsonRpc/index.js.map +0 -1
  705. package/dist/cjs/jsonRpc/json-rpc-resolver.js.map +0 -1
  706. package/dist/cjs/jsonRpc/rpc-websocket-client.js.map +0 -1
  707. package/dist/cjs/jsonRpc/types/chain.js.map +0 -1
  708. package/dist/cjs/jsonRpc/types/changes.js.map +0 -1
  709. package/dist/cjs/jsonRpc/types/coins.js.map +0 -1
  710. package/dist/cjs/jsonRpc/types/common.js.map +0 -1
  711. package/dist/cjs/jsonRpc/types/generated.js.map +0 -1
  712. package/dist/cjs/jsonRpc/types/index.js.map +0 -1
  713. package/dist/cjs/jsonRpc/types/params.js.map +0 -1
  714. package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js.map +0 -1
  715. package/dist/cjs/keypairs/ed25519/index.js.map +0 -1
  716. package/dist/cjs/keypairs/ed25519/keypair.js.map +0 -1
  717. package/dist/cjs/keypairs/ed25519/publickey.js.map +0 -1
  718. package/dist/cjs/keypairs/index.js.map +0 -1
  719. package/dist/cjs/keypairs/passkey/index.js.map +0 -1
  720. package/dist/cjs/keypairs/passkey/keypair.js.map +0 -1
  721. package/dist/cjs/keypairs/passkey/publickey.js.map +0 -1
  722. package/dist/cjs/keypairs/passkey/types.js.map +0 -1
  723. package/dist/cjs/keypairs/secp256k1/index.js.map +0 -1
  724. package/dist/cjs/keypairs/secp256k1/keypair.js.map +0 -1
  725. package/dist/cjs/keypairs/secp256k1/publickey.js.map +0 -1
  726. package/dist/cjs/keypairs/secp256r1/index.js.map +0 -1
  727. package/dist/cjs/keypairs/secp256r1/keypair.js.map +0 -1
  728. package/dist/cjs/keypairs/secp256r1/publickey.js.map +0 -1
  729. package/dist/cjs/multisig/index.js.map +0 -1
  730. package/dist/cjs/multisig/publickey.js.map +0 -1
  731. package/dist/cjs/multisig/signer.js.map +0 -1
  732. package/dist/cjs/transactions/Arguments.js.map +0 -1
  733. package/dist/cjs/transactions/Commands.js.map +0 -1
  734. package/dist/cjs/transactions/Inputs.js.map +0 -1
  735. package/dist/cjs/transactions/ObjectCache.js.map +0 -1
  736. package/dist/cjs/transactions/Transaction.js.map +0 -1
  737. package/dist/cjs/transactions/TransactionData.js.map +0 -1
  738. package/dist/cjs/transactions/__tests__/Transaction.test.js.map +0 -1
  739. package/dist/cjs/transactions/__tests__/bcs.test.js.map +0 -1
  740. package/dist/cjs/transactions/data/internal.js.map +0 -1
  741. package/dist/cjs/transactions/data/v1.js.map +0 -1
  742. package/dist/cjs/transactions/data/v2.js.map +0 -1
  743. package/dist/cjs/transactions/executor/caching.js.map +0 -1
  744. package/dist/cjs/transactions/executor/parallel.js.map +0 -1
  745. package/dist/cjs/transactions/executor/queue.js.map +0 -1
  746. package/dist/cjs/transactions/executor/serial.js.map +0 -1
  747. package/dist/cjs/transactions/hash.js.map +0 -1
  748. package/dist/cjs/transactions/index.js.map +0 -1
  749. package/dist/cjs/transactions/intents/CoinWithBalance.js.map +0 -1
  750. package/dist/cjs/transactions/object.js.map +0 -1
  751. package/dist/cjs/transactions/plugins/NamedPackagesPlugin.js.map +0 -1
  752. package/dist/cjs/transactions/pure.js.map +0 -1
  753. package/dist/cjs/transactions/resolve.js.map +0 -1
  754. package/dist/cjs/transactions/serializer.js.map +0 -1
  755. package/dist/cjs/transactions/utils.js.map +0 -1
  756. package/dist/cjs/utils/constants.js.map +0 -1
  757. package/dist/cjs/utils/derived-objects.js.map +0 -1
  758. package/dist/cjs/utils/dynamic-fields.js.map +0 -1
  759. package/dist/cjs/utils/format.js.map +0 -1
  760. package/dist/cjs/utils/index.js.map +0 -1
  761. package/dist/cjs/utils/move-registry.js.map +0 -1
  762. package/dist/cjs/utils/sui-types.js.map +0 -1
  763. package/dist/cjs/utils/suins.js.map +0 -1
  764. package/dist/cjs/verify/index.js.map +0 -1
  765. package/dist/cjs/verify/verify.js.map +0 -1
  766. package/dist/cjs/version.js.map +0 -1
  767. package/dist/cjs/w/call/allocation.js.map +0 -1
  768. package/dist/cjs/w/call/arb.js.map +0 -1
  769. package/dist/cjs/w/call/arbitration.js.map +0 -1
  770. package/dist/cjs/w/call/base.js.map +0 -1
  771. package/dist/cjs/w/call/contact.js.map +0 -1
  772. package/dist/cjs/w/call/demand.js.map +0 -1
  773. package/dist/cjs/w/call/entity.js.map +0 -1
  774. package/dist/cjs/w/call/guard-ins.js.map +0 -1
  775. package/dist/cjs/w/call/guard.js.map +0 -1
  776. package/dist/cjs/w/call/index.js.map +0 -1
  777. package/dist/cjs/w/call/machine.js.map +0 -1
  778. package/dist/cjs/w/call/order.js.map +0 -1
  779. package/dist/cjs/w/call/passport.js.map +0 -1
  780. package/dist/cjs/w/call/payment.js.map +0 -1
  781. package/dist/cjs/w/call/permission.js.map +0 -1
  782. package/dist/cjs/w/call/personal.js.map +0 -1
  783. package/dist/cjs/w/call/progress.js.map +0 -1
  784. package/dist/cjs/w/call/proof.js.map +0 -1
  785. package/dist/cjs/w/call/repository.js.map +0 -1
  786. package/dist/cjs/w/call/resource.js.map +0 -1
  787. package/dist/cjs/w/call/reward.js.map +0 -1
  788. package/dist/cjs/w/call/service.js.map +0 -1
  789. package/dist/cjs/w/call/treasury.js.map +0 -1
  790. package/dist/cjs/w/call/util.js.map +0 -1
  791. package/dist/cjs/w/common.js.map +0 -1
  792. package/dist/cjs/w/exception.js.map +0 -1
  793. package/dist/cjs/w/index.js.map +0 -1
  794. package/dist/cjs/w/local/account.js.map +0 -1
  795. package/dist/cjs/w/local/cache.js.map +0 -1
  796. package/dist/cjs/w/local/config.js.map +0 -1
  797. package/dist/cjs/w/local/index.js.map +0 -1
  798. package/dist/cjs/w/local/local.js.map +0 -1
  799. package/dist/cjs/w/local/storage.js.map +0 -1
  800. package/dist/cjs/w/local/token.js.map +0 -1
  801. package/dist/cjs/w/local/util.js.map +0 -1
  802. package/dist/cjs/w/local/wip.js.map +0 -1
  803. package/dist/cjs/w/messenger/crypto.js.map +0 -1
  804. package/dist/cjs/w/messenger/index.js.map +0 -1
  805. package/dist/cjs/w/messenger/messenger-api.js.map +0 -1
  806. package/dist/cjs/w/messenger/messenger-manager.js.map +0 -1
  807. package/dist/cjs/w/messenger/messenger.js.map +0 -1
  808. package/dist/cjs/w/messenger/server.js.map +0 -1
  809. package/dist/cjs/w/messenger/session.js.map +0 -1
  810. package/dist/cjs/w/messenger/storage.js.map +0 -1
  811. package/dist/cjs/w/messenger/templates/wts-html-template.js.map +0 -1
  812. package/dist/cjs/w/messenger/types.js.map +0 -1
  813. package/dist/cjs/w/messenger/utils.js.map +0 -1
  814. package/dist/cjs/w/query/bult-in.js.map +0 -1
  815. package/dist/cjs/w/query/event.js.map +0 -1
  816. package/dist/cjs/w/query/index.js.map +0 -1
  817. package/dist/cjs/w/query/object.js.map +0 -1
  818. package/dist/cjs/w/query/received.js.map +0 -1
  819. package/dist/cjs/w/query/util.js.map +0 -1
  820. package/dist/cjs/w/util.js.map +0 -1
  821. package/dist/esm/bcs/bcs.js.map +0 -1
  822. package/dist/esm/bcs/effects.js.map +0 -1
  823. package/dist/esm/bcs/index.js.map +0 -1
  824. package/dist/esm/bcs/pure.js.map +0 -1
  825. package/dist/esm/bcs/type-tag-serializer.js.map +0 -1
  826. package/dist/esm/bcs/types.js.map +0 -1
  827. package/dist/esm/client/index.js.map +0 -1
  828. package/dist/esm/client/network.js.map +0 -1
  829. package/dist/esm/cryptography/index.js.map +0 -1
  830. package/dist/esm/cryptography/intent.js.map +0 -1
  831. package/dist/esm/cryptography/keypair.js.map +0 -1
  832. package/dist/esm/cryptography/mnemonics.js.map +0 -1
  833. package/dist/esm/cryptography/publickey.js.map +0 -1
  834. package/dist/esm/cryptography/signature-scheme.js.map +0 -1
  835. package/dist/esm/cryptography/signature.js.map +0 -1
  836. package/dist/esm/experimental/cache.js.map +0 -1
  837. package/dist/esm/experimental/client.js.map +0 -1
  838. package/dist/esm/experimental/core.js.map +0 -1
  839. package/dist/esm/experimental/errors.js.map +0 -1
  840. package/dist/esm/experimental/index.js.map +0 -1
  841. package/dist/esm/experimental/persistent-storage.js.map +0 -1
  842. package/dist/esm/experimental/persistent-storage.test.js.map +0 -1
  843. package/dist/esm/experimental/transports/utils.js.map +0 -1
  844. package/dist/esm/experimental/types.js.map +0 -1
  845. package/dist/esm/faucet/faucet.js.map +0 -1
  846. package/dist/esm/faucet/index.js.map +0 -1
  847. package/dist/esm/grpc/client.js.map +0 -1
  848. package/dist/esm/grpc/core.js.map +0 -1
  849. package/dist/esm/grpc/index.js.map +0 -1
  850. package/dist/esm/grpc/proto/google/protobuf/any.js.map +0 -1
  851. package/dist/esm/grpc/proto/google/protobuf/duration.js.map +0 -1
  852. package/dist/esm/grpc/proto/google/protobuf/empty.js.map +0 -1
  853. package/dist/esm/grpc/proto/google/protobuf/field_mask.js.map +0 -1
  854. package/dist/esm/grpc/proto/google/protobuf/struct.js.map +0 -1
  855. package/dist/esm/grpc/proto/google/protobuf/timestamp.js.map +0 -1
  856. package/dist/esm/grpc/proto/google/rpc/error_details.js.map +0 -1
  857. package/dist/esm/grpc/proto/google/rpc/status.js.map +0 -1
  858. package/dist/esm/grpc/proto/sui/rpc/v2/argument.js.map +0 -1
  859. package/dist/esm/grpc/proto/sui/rpc/v2/balance_change.js.map +0 -1
  860. package/dist/esm/grpc/proto/sui/rpc/v2/bcs.js.map +0 -1
  861. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint.js.map +0 -1
  862. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_contents.js.map +0 -1
  863. package/dist/esm/grpc/proto/sui/rpc/v2/checkpoint_summary.js.map +0 -1
  864. package/dist/esm/grpc/proto/sui/rpc/v2/effects.js.map +0 -1
  865. package/dist/esm/grpc/proto/sui/rpc/v2/epoch.js.map +0 -1
  866. package/dist/esm/grpc/proto/sui/rpc/v2/error_reason.js.map +0 -1
  867. package/dist/esm/grpc/proto/sui/rpc/v2/event.js.map +0 -1
  868. package/dist/esm/grpc/proto/sui/rpc/v2/executed_transaction.js.map +0 -1
  869. package/dist/esm/grpc/proto/sui/rpc/v2/execution_status.js.map +0 -1
  870. package/dist/esm/grpc/proto/sui/rpc/v2/gas_cost_summary.js.map +0 -1
  871. package/dist/esm/grpc/proto/sui/rpc/v2/input.js.map +0 -1
  872. package/dist/esm/grpc/proto/sui/rpc/v2/jwk.js.map +0 -1
  873. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.client.js.map +0 -1
  874. package/dist/esm/grpc/proto/sui/rpc/v2/ledger_service.js.map +0 -1
  875. package/dist/esm/grpc/proto/sui/rpc/v2/move_package.js.map +0 -1
  876. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.client.js.map +0 -1
  877. package/dist/esm/grpc/proto/sui/rpc/v2/move_package_service.js.map +0 -1
  878. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.client.js.map +0 -1
  879. package/dist/esm/grpc/proto/sui/rpc/v2/name_service.js.map +0 -1
  880. package/dist/esm/grpc/proto/sui/rpc/v2/object.js.map +0 -1
  881. package/dist/esm/grpc/proto/sui/rpc/v2/object_reference.js.map +0 -1
  882. package/dist/esm/grpc/proto/sui/rpc/v2/owner.js.map +0 -1
  883. package/dist/esm/grpc/proto/sui/rpc/v2/protocol_config.js.map +0 -1
  884. package/dist/esm/grpc/proto/sui/rpc/v2/signature.js.map +0 -1
  885. package/dist/esm/grpc/proto/sui/rpc/v2/signature_scheme.js.map +0 -1
  886. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.client.js.map +0 -1
  887. package/dist/esm/grpc/proto/sui/rpc/v2/signature_verification_service.js.map +0 -1
  888. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.client.js.map +0 -1
  889. package/dist/esm/grpc/proto/sui/rpc/v2/state_service.js.map +0 -1
  890. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.client.js.map +0 -1
  891. package/dist/esm/grpc/proto/sui/rpc/v2/subscription_service.js.map +0 -1
  892. package/dist/esm/grpc/proto/sui/rpc/v2/system_state.js.map +0 -1
  893. package/dist/esm/grpc/proto/sui/rpc/v2/transaction.js.map +0 -1
  894. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.client.js.map +0 -1
  895. package/dist/esm/grpc/proto/sui/rpc/v2/transaction_execution_service.js.map +0 -1
  896. package/dist/esm/index.js.map +0 -1
  897. package/dist/esm/jsonRpc/client.js.map +0 -1
  898. package/dist/esm/jsonRpc/core.js.map +0 -1
  899. package/dist/esm/jsonRpc/errors.js.map +0 -1
  900. package/dist/esm/jsonRpc/http-transport.js.map +0 -1
  901. package/dist/esm/jsonRpc/index.js.map +0 -1
  902. package/dist/esm/jsonRpc/json-rpc-resolver.js.map +0 -1
  903. package/dist/esm/jsonRpc/rpc-websocket-client.js.map +0 -1
  904. package/dist/esm/jsonRpc/types/chain.js.map +0 -1
  905. package/dist/esm/jsonRpc/types/changes.js.map +0 -1
  906. package/dist/esm/jsonRpc/types/coins.js.map +0 -1
  907. package/dist/esm/jsonRpc/types/common.js.map +0 -1
  908. package/dist/esm/jsonRpc/types/generated.js.map +0 -1
  909. package/dist/esm/jsonRpc/types/index.js.map +0 -1
  910. package/dist/esm/jsonRpc/types/params.js.map +0 -1
  911. package/dist/esm/keypairs/ed25519/ed25519-hd-key.js.map +0 -1
  912. package/dist/esm/keypairs/ed25519/index.js.map +0 -1
  913. package/dist/esm/keypairs/ed25519/keypair.js.map +0 -1
  914. package/dist/esm/keypairs/ed25519/publickey.js.map +0 -1
  915. package/dist/esm/keypairs/index.js.map +0 -1
  916. package/dist/esm/keypairs/passkey/index.js.map +0 -1
  917. package/dist/esm/keypairs/passkey/keypair.js.map +0 -1
  918. package/dist/esm/keypairs/passkey/publickey.js.map +0 -1
  919. package/dist/esm/keypairs/passkey/types.js.map +0 -1
  920. package/dist/esm/keypairs/secp256k1/index.js.map +0 -1
  921. package/dist/esm/keypairs/secp256k1/keypair.js.map +0 -1
  922. package/dist/esm/keypairs/secp256k1/publickey.js.map +0 -1
  923. package/dist/esm/keypairs/secp256r1/index.js.map +0 -1
  924. package/dist/esm/keypairs/secp256r1/keypair.js.map +0 -1
  925. package/dist/esm/keypairs/secp256r1/publickey.js.map +0 -1
  926. package/dist/esm/multisig/index.js.map +0 -1
  927. package/dist/esm/multisig/publickey.js.map +0 -1
  928. package/dist/esm/multisig/signer.js.map +0 -1
  929. package/dist/esm/transactions/Arguments.js.map +0 -1
  930. package/dist/esm/transactions/Commands.js.map +0 -1
  931. package/dist/esm/transactions/Inputs.js.map +0 -1
  932. package/dist/esm/transactions/ObjectCache.js.map +0 -1
  933. package/dist/esm/transactions/Transaction.js.map +0 -1
  934. package/dist/esm/transactions/TransactionData.js.map +0 -1
  935. package/dist/esm/transactions/__tests__/Transaction.test.js.map +0 -1
  936. package/dist/esm/transactions/__tests__/bcs.test.js.map +0 -1
  937. package/dist/esm/transactions/data/internal.js.map +0 -1
  938. package/dist/esm/transactions/data/v1.js.map +0 -1
  939. package/dist/esm/transactions/data/v2.js.map +0 -1
  940. package/dist/esm/transactions/executor/caching.js.map +0 -1
  941. package/dist/esm/transactions/executor/parallel.js.map +0 -1
  942. package/dist/esm/transactions/executor/queue.js.map +0 -1
  943. package/dist/esm/transactions/executor/serial.js.map +0 -1
  944. package/dist/esm/transactions/hash.js.map +0 -1
  945. package/dist/esm/transactions/index.js.map +0 -1
  946. package/dist/esm/transactions/intents/CoinWithBalance.js.map +0 -1
  947. package/dist/esm/transactions/object.js.map +0 -1
  948. package/dist/esm/transactions/plugins/NamedPackagesPlugin.js.map +0 -1
  949. package/dist/esm/transactions/pure.js.map +0 -1
  950. package/dist/esm/transactions/resolve.js.map +0 -1
  951. package/dist/esm/transactions/serializer.js.map +0 -1
  952. package/dist/esm/transactions/utils.js.map +0 -1
  953. package/dist/esm/utils/constants.js.map +0 -1
  954. package/dist/esm/utils/derived-objects.js.map +0 -1
  955. package/dist/esm/utils/dynamic-fields.js.map +0 -1
  956. package/dist/esm/utils/format.js.map +0 -1
  957. package/dist/esm/utils/index.js.map +0 -1
  958. package/dist/esm/utils/move-registry.js.map +0 -1
  959. package/dist/esm/utils/sui-types.js.map +0 -1
  960. package/dist/esm/utils/suins.js.map +0 -1
  961. package/dist/esm/verify/index.js.map +0 -1
  962. package/dist/esm/verify/verify.js.map +0 -1
  963. package/dist/esm/version.js.map +0 -1
  964. package/dist/esm/w/call/allocation.js.map +0 -1
  965. package/dist/esm/w/call/arb.js.map +0 -1
  966. package/dist/esm/w/call/arbitration.js.map +0 -1
  967. package/dist/esm/w/call/base.js.map +0 -1
  968. package/dist/esm/w/call/contact.js.map +0 -1
  969. package/dist/esm/w/call/demand.js.map +0 -1
  970. package/dist/esm/w/call/entity.js.map +0 -1
  971. package/dist/esm/w/call/guard-ins.js.map +0 -1
  972. package/dist/esm/w/call/guard.js.map +0 -1
  973. package/dist/esm/w/call/index.js.map +0 -1
  974. package/dist/esm/w/call/machine.js.map +0 -1
  975. package/dist/esm/w/call/order.js.map +0 -1
  976. package/dist/esm/w/call/passport.js.map +0 -1
  977. package/dist/esm/w/call/payment.js.map +0 -1
  978. package/dist/esm/w/call/permission.js.map +0 -1
  979. package/dist/esm/w/call/personal.js.map +0 -1
  980. package/dist/esm/w/call/progress.js.map +0 -1
  981. package/dist/esm/w/call/proof.js.map +0 -1
  982. package/dist/esm/w/call/repository.js.map +0 -1
  983. package/dist/esm/w/call/resource.js.map +0 -1
  984. package/dist/esm/w/call/reward.js.map +0 -1
  985. package/dist/esm/w/call/service.js.map +0 -1
  986. package/dist/esm/w/call/treasury.js.map +0 -1
  987. package/dist/esm/w/call/util.js.map +0 -1
  988. package/dist/esm/w/common.js.map +0 -1
  989. package/dist/esm/w/exception.js.map +0 -1
  990. package/dist/esm/w/index.js.map +0 -1
  991. package/dist/esm/w/local/account.js.map +0 -1
  992. package/dist/esm/w/local/cache.js.map +0 -1
  993. package/dist/esm/w/local/config.js.map +0 -1
  994. package/dist/esm/w/local/index.js.map +0 -1
  995. package/dist/esm/w/local/local.js.map +0 -1
  996. package/dist/esm/w/local/storage.js.map +0 -1
  997. package/dist/esm/w/local/token.js.map +0 -1
  998. package/dist/esm/w/local/util.js.map +0 -1
  999. package/dist/esm/w/local/wip.js.map +0 -1
  1000. package/dist/esm/w/messenger/crypto.js.map +0 -1
  1001. package/dist/esm/w/messenger/index.js.map +0 -1
  1002. package/dist/esm/w/messenger/messenger-api.js.map +0 -1
  1003. package/dist/esm/w/messenger/messenger-manager.js.map +0 -1
  1004. package/dist/esm/w/messenger/messenger.js.map +0 -1
  1005. package/dist/esm/w/messenger/server.js.map +0 -1
  1006. package/dist/esm/w/messenger/session.js.map +0 -1
  1007. package/dist/esm/w/messenger/storage.js.map +0 -1
  1008. package/dist/esm/w/messenger/templates/wts-html-template.js.map +0 -1
  1009. package/dist/esm/w/messenger/types.js.map +0 -1
  1010. package/dist/esm/w/messenger/utils.js.map +0 -1
  1011. package/dist/esm/w/query/bult-in.js.map +0 -1
  1012. package/dist/esm/w/query/event.js.map +0 -1
  1013. package/dist/esm/w/query/index.js.map +0 -1
  1014. package/dist/esm/w/query/object.js.map +0 -1
  1015. package/dist/esm/w/query/received.js.map +0 -1
  1016. package/dist/esm/w/query/util.js.map +0 -1
  1017. package/dist/esm/w/util.js.map +0 -1
@@ -1,11 +1,3 @@
1
- /**
2
- * ######################################
3
- * ### DO NOT EDIT THIS FILE DIRECTLY ###
4
- * ######################################
5
- *
6
- * This file is generated from:
7
- * /crates/sui-open-rpc/spec/openrpc.json
8
- */
9
1
  export interface Balance {
10
2
  coinObjectCount: number;
11
3
  coinType: string;
@@ -15,51 +7,27 @@ export interface Balance {
15
7
  totalBalance: string;
16
8
  }
17
9
  export interface BalanceChange {
18
- /**
19
- * The amount indicate the balance value changes, negative amount means spending coin value and
20
- * positive means receiving coin value.
21
- */
22
10
  amount: string;
23
11
  coinType: string;
24
- /** Owner of the balance change */
25
12
  owner: ObjectOwner;
26
13
  }
27
14
  export interface Checkpoint {
28
- /** Commitments to checkpoint state */
29
15
  checkpointCommitments: CheckpointCommitment[];
30
- /** Checkpoint digest */
31
16
  digest: string;
32
- /** Present only on the final checkpoint of the epoch. */
33
17
  endOfEpochData?: EndOfEpochData | null;
34
- /** Checkpoint's epoch ID */
35
18
  epoch: string;
36
- /**
37
- * The running total gas costs of all transactions included in the current epoch so far until this
38
- * checkpoint.
39
- */
40
19
  epochRollingGasCostSummary: GasCostSummary;
41
- /** Total number of transactions committed since genesis, including those in this checkpoint. */
42
20
  networkTotalTransactions: string;
43
- /** Digest of the previous checkpoint */
44
21
  previousDigest?: string | null;
45
- /** Checkpoint sequence number */
46
22
  sequenceNumber: string;
47
- /**
48
- * Timestamp of the checkpoint - number of milliseconds from the Unix epoch Checkpoint timestamps are
49
- * monotonic, but not strongly monotonic - subsequent checkpoints can have same timestamp if they
50
- * originate from the same underlining consensus commit
51
- */
52
23
  timestampMs: string;
53
- /** Transaction digests */
54
24
  transactions: string[];
55
- /** Validator Signature */
56
25
  validatorSignature: string;
57
26
  }
58
27
  export type CheckpointCommitment = {
59
28
  ECMHLiveObjectSetDigest: ECMHLiveObjectSetDigest;
60
29
  };
61
30
  export type CheckpointId = string | string;
62
- /** A claim consists of value and index_mod_4. */
63
31
  export interface Claim {
64
32
  indexMod4: number;
65
33
  value: string;
@@ -72,12 +40,10 @@ export interface CoinStruct {
72
40
  previousTransaction: string;
73
41
  version: string;
74
42
  }
75
- /** RPC representation of the [Committee] type. */
76
43
  export interface CommitteeInfo {
77
44
  epoch: string;
78
45
  validators: [string, string][];
79
46
  }
80
- /** Unlike [enum Signature], [enum CompressedSignature] does not contain public key. */
81
47
  export type CompressedSignature = {
82
48
  Ed25519: string;
83
49
  } | {
@@ -89,7 +55,6 @@ export type CompressedSignature = {
89
55
  } | {
90
56
  Passkey: string;
91
57
  };
92
- /** Uses an enum to allow for future expansion of the ConsensusDeterminedVersionAssignments. */
93
58
  export type ConsensusDeterminedVersionAssignments = {
94
59
  CancelledTransactions: [string, [string, string][]][];
95
60
  } | {
@@ -108,41 +73,22 @@ export type SuiParsedData = {
108
73
  };
109
74
  export interface DelegatedStake {
110
75
  stakes: StakeObject[];
111
- /** Staking pool object id. */
112
76
  stakingPool: string;
113
- /** Validator's Address. */
114
77
  validatorAddress: string;
115
78
  }
116
- /** Additional rguments supplied to dev inspect beyond what is allowed in today's API. */
117
79
  export interface DevInspectArgs {
118
- /** The gas budget for the transaction. */
119
80
  gasBudget?: string | null;
120
- /** The gas objects used to pay for the transaction. */
121
81
  gasObjects?: [string, string, string][] | null;
122
- /** The sponsor of the gas for the transaction, might be different from the sender. */
123
82
  gasSponsor?: string | null;
124
- /** Whether to return the raw transaction data and effects. */
125
83
  showRawTxnDataAndEffects?: boolean | null;
126
- /** Whether to skip transaction checks for the transaction. */
127
84
  skipChecks?: boolean | null;
128
85
  }
129
- /** The response from processing a dev inspect transaction */
130
86
  export interface DevInspectResults {
131
- /**
132
- * Summary of effects that likely would be generated if the transaction is actually run. Note however,
133
- * that not all dev-inspect transactions are actually usable as transactions so it might not be
134
- * possible actually generate these effects from a normal transaction.
135
- */
136
87
  effects: TransactionEffects;
137
- /** Execution error from executing the transactions */
138
88
  error?: string | null;
139
- /** Events that likely would be generated if the transaction is actually run. */
140
89
  events: SuiEvent[];
141
- /** The raw effects of the transaction that was dev inspected. */
142
90
  rawEffects?: number[];
143
- /** The raw transaction data that was dev inspected. */
144
91
  rawTxnData?: number[];
145
- /** Execution results (including return values) from executing the transactions */
146
92
  results?: SuiExecutionResult[] | null;
147
93
  }
148
94
  export interface DisplayFieldsResponse {
@@ -184,117 +130,61 @@ export interface DynamicFieldName {
184
130
  value: unknown;
185
131
  }
186
132
  export type DynamicFieldType = "DynamicField" | "DynamicObject";
187
- /** The Sha256 digest of an EllipticCurveMultisetHash committing to the live object set. */
188
133
  export interface ECMHLiveObjectSetDigest {
189
134
  digest: number[];
190
135
  }
191
136
  export interface EndOfEpochData {
192
- /** Commitments to epoch specific state (e.g. live object set) */
193
137
  epochCommitments: CheckpointCommitment[];
194
- /**
195
- * next_epoch_committee is `Some` if and only if the current checkpoint is the last checkpoint of an
196
- * epoch. Therefore next_epoch_committee can be used to pick the last checkpoint of an epoch, which is
197
- * often useful to get epoch level summary stats like total gas cost of an epoch, or the total number
198
- * of transactions from genesis to the end of an epoch. The committee is stored as a vector of
199
- * validator pub key and stake pairs. The vector should be sorted based on the Committee data
200
- * structure.
201
- */
202
138
  nextEpochCommittee: [string, string][];
203
- /**
204
- * The protocol version that is in effect during the epoch that starts immediately after this
205
- * checkpoint.
206
- */
207
139
  nextEpochProtocolVersion: string;
208
140
  }
209
141
  export type SuiEvent = {
210
- /**
211
- * Sequential event ID, ie (transaction seq number, event seq number). 1) Serves as a unique event ID
212
- * for each fullnode 2) Also serves to sequence events for the purposes of pagination and querying. A
213
- * higher id is an event seen later by that fullnode. This ID is the "cursor" for event querying.
214
- */
215
142
  id: EventId;
216
- /** Move package where this event was emitted. */
217
143
  packageId: string;
218
- /** Parsed json value of the event */
219
144
  parsedJson: unknown;
220
- /** Sender's Sui address. */
221
145
  sender: string;
222
- /** UTC timestamp in milliseconds since epoch (1/1/1970) */
223
146
  timestampMs?: string | null;
224
- /** Move module where this event was emitted. */
225
147
  transactionModule: string;
226
- /** Move event type. */
227
148
  type: string;
228
149
  bcs: string;
229
150
  bcsEncoding: "base64";
230
151
  } | {
231
- /**
232
- * Sequential event ID, ie (transaction seq number, event seq number). 1) Serves as a unique event ID
233
- * for each fullnode 2) Also serves to sequence events for the purposes of pagination and querying. A
234
- * higher id is an event seen later by that fullnode. This ID is the "cursor" for event querying.
235
- */
236
152
  id: EventId;
237
- /** Move package where this event was emitted. */
238
153
  packageId: string;
239
- /** Parsed json value of the event */
240
154
  parsedJson: unknown;
241
- /** Sender's Sui address. */
242
155
  sender: string;
243
- /** UTC timestamp in milliseconds since epoch (1/1/1970) */
244
156
  timestampMs?: string | null;
245
- /** Move module where this event was emitted. */
246
157
  transactionModule: string;
247
- /** Move event type. */
248
158
  type: string;
249
159
  bcs: string;
250
160
  bcsEncoding: "base58";
251
161
  };
252
- export type SuiEventFilter =
253
- /** Return all events. */
254
- {
162
+ export type SuiEventFilter = {
255
163
  All: [];
256
- } /** Return events that match any of the given filters. Only supported on event subscriptions. */ | {
164
+ } | {
257
165
  Any: SuiEventFilter[];
258
- } /** Query by sender address. */ | {
166
+ } | {
259
167
  Sender: string;
260
- } /** Return events emitted by the given transaction. */ | {
168
+ } | {
261
169
  Transaction: string;
262
- } /**
263
- * Return events emitted in a specified Move module. If the event is defined in Module A but emitted in
264
- * a tx with Module B, query `MoveModule` by module B returns the event. Query `MoveEventModule` by
265
- * module A returns the event too.
266
- */ | {
170
+ } | {
267
171
  MoveModule: {
268
- /** the module name */
269
172
  module: string;
270
- /** the Move package ID */
271
173
  package: string;
272
174
  };
273
- } /**
274
- * Return events with the given Move event struct name (struct tag). For example, if the event is
275
- * defined in `0xabcd::MyModule`, and named `Foo`, then the struct tag is `0xabcd::MyModule::Foo`.
276
- */ | {
175
+ } | {
277
176
  MoveEventType: string;
278
- } /**
279
- * Return events with the given Move module name where the event struct is defined. If the event is
280
- * defined in Module A but emitted in a tx with Module B, query `MoveEventModule` by module A returns
281
- * the event. Query `MoveModule` by module B returns the event too.
282
- */ | {
177
+ } | {
283
178
  MoveEventModule: {
284
- /** the module name */
285
179
  module: string;
286
- /** the Move package ID */
287
180
  package: string;
288
181
  };
289
- } /** Return events emitted in [start_time, end_time] interval */ | {
182
+ } | {
290
183
  TimeRange: {
291
- /** right endpoint of time interval, milliseconds since epoch, exclusive */
292
184
  endTime: string;
293
- /** left endpoint of time interval, milliseconds since epoch, inclusive */
294
185
  startTime: string;
295
186
  };
296
187
  };
297
- /** Unique ID of a Sui Event, the ID is a combination of transaction digest and event seq number. */
298
188
  export interface EventId {
299
189
  eventSeq: string;
300
190
  txDigest: string;
@@ -304,36 +194,10 @@ export type ExecutionStatus = {
304
194
  status: "success" | "failure";
305
195
  error?: string;
306
196
  };
307
- /**
308
- * Summary of the charges in a transaction. Storage is charged independently of computation. There are
309
- * 3 parts to the storage charges: `storage_cost`: it is the charge of storage at the time the
310
- * transaction is executed. The cost of storage is the number of bytes of the objects being mutated
311
- * multiplied by a variable storage cost per byte `storage_rebate`: this is the amount a user gets back
312
- * when manipulating an object. The `storage_rebate` is the `storage_cost` for an object minus fees.
313
- * `non_refundable_storage_fee`: not all the value of the object storage cost is given back to user and
314
- * there is a small fraction that is kept by the system. This value tracks that charge.
315
- *
316
- * When looking at a gas cost summary the amount charged to the user is
317
- * `computation_cost + storage_cost - storage_rebate` and that is the amount that is deducted from the
318
- * gas coins. `non_refundable_storage_fee` is collected from the objects being mutated/deleted and it
319
- * is tracked by the system in storage funds.
320
- *
321
- * Objects deleted, including the older versions of objects mutated, have the storage field on the
322
- * objects added up to a pool of "potential rebate". This rebate then is reduced by the "nonrefundable
323
- * rate" such that:
324
- * `potential_rebate(storage cost of deleted/mutated objects) = storage_rebate + non_refundable_storage_fee`
325
- */
326
197
  export interface GasCostSummary {
327
- /** Cost of computation/execution */
328
198
  computationCost: string;
329
- /** The fee for the rebate. The portion of the storage rebate kept by the system. */
330
199
  nonRefundableStorageFee: string;
331
- /** Storage cost, it's the sum of all storage cost for all objects created or mutated. */
332
200
  storageCost: string;
333
- /**
334
- * The amount of storage cost refunded to the user for all objects deleted or mutated in the
335
- * transaction.
336
- */
337
201
  storageRebate: string;
338
202
  }
339
203
  export interface SuiGasData {
@@ -343,9 +207,7 @@ export interface SuiGasData {
343
207
  price: string;
344
208
  }
345
209
  export interface GetPastObjectRequest {
346
- /** the ID of the queried object */
347
210
  objectId: string;
348
- /** the version of the queried object. */
349
211
  version: string;
350
212
  }
351
213
  export type InputObjectKind = {
@@ -387,69 +249,31 @@ export interface MoveVariant {
387
249
  type: string;
388
250
  variant: string;
389
251
  }
390
- /** The struct that contains signatures and public keys necessary for authenticating a MultiSig. */
391
252
  export interface MultiSig {
392
- /** A bitmap that indicates the position of which public key the signature should be authenticated with. */
393
253
  bitmap: number;
394
- /**
395
- * The public key encoded with each public key with its signature scheme used along with the
396
- * corresponding weight.
397
- */
398
254
  multisig_pk: MultiSigPublicKey;
399
- /** The plain signature encoded with signature scheme. */
400
255
  sigs: CompressedSignature[];
401
256
  }
402
- /**
403
- * Deprecated, use [struct MultiSig] instead. The struct that contains signatures and public keys
404
- * necessary for authenticating a MultiSigLegacy.
405
- */
406
257
  export interface MultiSigLegacy {
407
- /** A bitmap that indicates the position of which public key the signature should be authenticated with. */
408
258
  bitmap: string;
409
- /**
410
- * The public key encoded with each public key with its signature scheme used along with the
411
- * corresponding weight.
412
- */
413
259
  multisig_pk: MultiSigPublicKeyLegacy;
414
- /** The plain signature encoded with signature scheme. */
415
260
  sigs: CompressedSignature[];
416
261
  }
417
- /** The struct that contains the public key used for authenticating a MultiSig. */
418
262
  export interface MultiSigPublicKey {
419
- /** A list of public key and its corresponding weight. */
420
263
  pk_map: [PublicKey, number][];
421
- /**
422
- * If the total weight of the public keys corresponding to verified signatures is larger than
423
- * threshold, the MultiSig is verified.
424
- */
425
264
  threshold: number;
426
265
  }
427
- /**
428
- * Deprecated, use [struct MultiSigPublicKey] instead. The struct that contains the public key used for
429
- * authenticating a MultiSig.
430
- */
431
266
  export interface MultiSigPublicKeyLegacy {
432
- /** A list of public key and its corresponding weight. */
433
267
  pk_map: [PublicKey, number][];
434
- /**
435
- * If the total weight of the public keys corresponding to verified signatures is larger than
436
- * threshold, the MultiSig is verified.
437
- */
438
268
  threshold: number;
439
269
  }
440
- /**
441
- * ObjectChange are derived from the object mutations in the TransactionEffect to provide richer object
442
- * information.
443
- */
444
- export type SuiObjectChange =
445
- /** Module published */
446
- {
270
+ export type SuiObjectChange = {
447
271
  digest: string;
448
272
  modules: string[];
449
273
  packageId: string;
450
274
  type: "published";
451
275
  version: string;
452
- } /** Transfer objects to new address / wrap in another object */ | {
276
+ } | {
453
277
  digest: string;
454
278
  objectId: string;
455
279
  objectType: string;
@@ -457,7 +281,7 @@ export type SuiObjectChange =
457
281
  sender: string;
458
282
  type: "transferred";
459
283
  version: string;
460
- } /** Object mutated. */ | {
284
+ } | {
461
285
  digest: string;
462
286
  objectId: string;
463
287
  objectType: string;
@@ -466,19 +290,19 @@ export type SuiObjectChange =
466
290
  sender: string;
467
291
  type: "mutated";
468
292
  version: string;
469
- } /** Delete object */ | {
293
+ } | {
470
294
  objectId: string;
471
295
  objectType: string;
472
296
  sender: string;
473
297
  type: "deleted";
474
298
  version: string;
475
- } /** Wrapped object */ | {
299
+ } | {
476
300
  objectId: string;
477
301
  objectType: string;
478
302
  sender: string;
479
303
  type: "wrapped";
480
304
  version: string;
481
- } /** New object creation */ | {
305
+ } | {
482
306
  digest: string;
483
307
  objectId: string;
484
308
  objectType: string;
@@ -488,76 +312,39 @@ export type SuiObjectChange =
488
312
  version: string;
489
313
  };
490
314
  export interface SuiObjectData {
491
- /**
492
- * Move object content or package content in BCS, default to be None unless
493
- * SuiObjectDataOptions.showBcs is set to true
494
- */
495
315
  bcs?: RawData | null;
496
- /**
497
- * Move object content or package content, default to be None unless SuiObjectDataOptions.showContent
498
- * is set to true
499
- */
500
316
  content?: SuiParsedData | null;
501
- /** Base64 string representing the object digest */
502
317
  digest: string;
503
- /**
504
- * The Display metadata for frontend UI rendering, default to be None unless
505
- * SuiObjectDataOptions.showContent is set to true This can also be None if the struct type does not
506
- * have Display defined See more details in <https://forums.sui.io/t/nft-object-display-proposal/4872>
507
- */
508
318
  display?: DisplayFieldsResponse | null;
509
319
  objectId: string;
510
- /** The owner of this object. Default to be None unless SuiObjectDataOptions.showOwner is set to true */
511
320
  owner?: ObjectOwner | null;
512
- /**
513
- * The digest of the transaction that created or last mutated this object. Default to be None unless
514
- * SuiObjectDataOptions.showPreviousTransaction is set to true
515
- */
516
321
  previousTransaction?: string | null;
517
- /**
518
- * The amount of SUI we would rebate if this object gets deleted. This number is re-calculated each
519
- * time the object is mutated based on the present storage gas price.
520
- */
521
322
  storageRebate?: string | null;
522
- /** The type of the object. Default to be None unless SuiObjectDataOptions.showType is set to true */
523
323
  type?: string | null;
524
- /** Object version. */
525
324
  version: string;
526
325
  }
527
326
  export interface SuiObjectDataOptions {
528
- /** Whether to show the content in BCS format. Default to be False */
529
327
  showBcs?: boolean;
530
- /**
531
- * Whether to show the content(i.e., package content or Move struct content) of the object. Default to
532
- * be False
533
- */
534
328
  showContent?: boolean;
535
- /** Whether to show the Display metadata of the object for frontend rendering. Default to be False */
536
329
  showDisplay?: boolean;
537
- /** Whether to show the owner of the object. Default to be False */
538
330
  showOwner?: boolean;
539
- /** Whether to show the previous transaction digest of the object. Default to be False */
540
331
  showPreviousTransaction?: boolean;
541
- /** Whether to show the storage rebate of the object. Default to be False */
542
332
  showStorageRebate?: boolean;
543
- /** Whether to show the type of the object. Default to be False */
544
333
  showType?: boolean;
545
334
  }
546
- export type ObjectRead =
547
- /** The object exists and is found with this version */
548
- {
335
+ export type ObjectRead = {
549
336
  details: SuiObjectData;
550
337
  status: "VersionFound";
551
- } /** The object does not exist */ | {
338
+ } | {
552
339
  details: string;
553
340
  status: "ObjectNotExists";
554
- } /** The object is found to be deleted with this version */ | {
341
+ } | {
555
342
  details: SuiObjectRef;
556
343
  status: "ObjectDeleted";
557
- } /** The object exists but not found with this version */ | {
344
+ } | {
558
345
  details: [string, string];
559
346
  status: "VersionNotFound";
560
- } /** The asked object version is higher than the latest */ | {
347
+ } | {
561
348
  details: {
562
349
  asked_version: string;
563
350
  latest_version: string;
@@ -566,11 +353,8 @@ export type ObjectRead =
566
353
  status: "VersionTooHigh";
567
354
  };
568
355
  export interface SuiObjectRef {
569
- /** Base64 string representing the object digest */
570
356
  digest: string;
571
- /** Hex code as string representing the object id */
572
357
  objectId: string;
573
- /** Object version. */
574
358
  version: string;
575
359
  }
576
360
  export type ObjectResponseError = {
@@ -581,10 +365,8 @@ export type ObjectResponseError = {
581
365
  parent_object_id: string;
582
366
  } | {
583
367
  code: "deleted";
584
- /** Base64 string representing the object digest */
585
368
  digest: string;
586
369
  object_id: string;
587
- /** Object version. */
588
370
  version: string;
589
371
  } | {
590
372
  code: "unknown";
@@ -593,9 +375,7 @@ export type ObjectResponseError = {
593
375
  error: string;
594
376
  };
595
377
  export interface SuiObjectResponseQuery {
596
- /** If None, no filter will be applied */
597
378
  filter?: SuiObjectDataFilter | null;
598
- /** config which fields to include in the response, by default only digest is included */
599
379
  options?: SuiObjectDataOptions | null;
600
380
  }
601
381
  export type ObjectValueKind = "ByImmutableReference" | "ByMutableReference" | "ByValue";
@@ -603,116 +383,57 @@ export interface OwnedObjectRef {
603
383
  owner: ObjectOwner;
604
384
  reference: SuiObjectRef;
605
385
  }
606
- export type ObjectOwner =
607
- /** Object is exclusively owned by a single address, and is mutable. */
608
- {
386
+ export type ObjectOwner = {
609
387
  AddressOwner: string;
610
- } /**
611
- * Object is exclusively owned by a single object, and is mutable. The object ID is converted to
612
- * SuiAddress as SuiAddress is universal.
613
- */ | {
388
+ } | {
614
389
  ObjectOwner: string;
615
- } /** Object is shared, can be used by any address, and is mutable. */ | {
390
+ } | {
616
391
  Shared: {
617
- /** The version at which the object became shared */
618
392
  initial_shared_version: string;
619
393
  };
620
- } | "Immutable" /** Object is exclusively owned by a single address and sequenced via consensus. */ | {
394
+ } | "Immutable" | {
621
395
  ConsensusAddressOwner: {
622
396
  owner: string;
623
- /**
624
- * The version at which the object most recently became a consensus object. This serves the same
625
- * function as `initial_shared_version`, except it may change if the object's Owner type changes.
626
- */
627
397
  start_version: string;
628
398
  };
629
399
  };
630
- /**
631
- * `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
632
- * next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
633
- * item.
634
- */
635
400
  export interface PaginatedCheckpoints {
636
401
  data: Checkpoint[];
637
402
  hasNextPage: boolean;
638
403
  nextCursor?: string | null;
639
404
  }
640
- /**
641
- * `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
642
- * next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
643
- * item.
644
- */
645
405
  export interface PaginatedCoins {
646
406
  data: CoinStruct[];
647
407
  hasNextPage: boolean;
648
408
  nextCursor?: string | null;
649
409
  }
650
- /**
651
- * `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
652
- * next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
653
- * item.
654
- */
655
410
  export interface PaginatedDynamicFieldInfos {
656
411
  data: DynamicFieldInfo[];
657
412
  hasNextPage: boolean;
658
413
  nextCursor?: string | null;
659
414
  }
660
- /**
661
- * `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
662
- * next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
663
- * item.
664
- */
665
415
  export interface PaginatedEvents {
666
416
  data: SuiEvent[];
667
417
  hasNextPage: boolean;
668
418
  nextCursor?: EventId | null;
669
419
  }
670
- /**
671
- * `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
672
- * next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
673
- * item.
674
- */
675
420
  export interface PaginatedStrings {
676
421
  data: string[];
677
422
  hasNextPage: boolean;
678
423
  nextCursor?: string | null;
679
424
  }
680
- /**
681
- * `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
682
- * next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
683
- * item.
684
- */
685
425
  export interface PaginatedObjectsResponse {
686
426
  data: SuiObjectResponse[];
687
427
  hasNextPage: boolean;
688
428
  nextCursor?: string | null;
689
429
  }
690
- /**
691
- * `next_cursor` points to the last item in the page; Reading with `next_cursor` will start from the
692
- * next item after `next_cursor` if `next_cursor` is `Some`, otherwise it will start from the first
693
- * item.
694
- */
695
430
  export interface PaginatedTransactionResponse {
696
431
  data: SuiTransactionBlockResponse[];
697
432
  hasNextPage: boolean;
698
433
  nextCursor?: string | null;
699
434
  }
700
- /**
701
- * An passkey authenticator with parsed fields. See field defition below. Can be initialized from
702
- * [struct RawPasskeyAuthenticator].
703
- */
704
435
  export interface PasskeyAuthenticator {
705
- /**
706
- * `authenticatorData` is a bytearray that encodes
707
- * [Authenticator Data](https://www.w3.org/TR/webauthn-2/#sctn-authenticator-data) structure returned
708
- * by the authenticator attestation response as is.
709
- */
710
436
  authenticator_data: number[];
711
- /**
712
- * `clientDataJSON` contains a JSON-compatible UTF-8 encoded string of the client data which is passed
713
- * to the authenticator by the client during the authentication request (see
714
- * [CollectedClientData](https://www.w3.org/TR/webauthn-2/#dictdef-collectedclientdata))
715
- */
716
437
  client_data_json: string;
717
438
  }
718
439
  export interface ProtocolConfig {
@@ -782,14 +503,12 @@ export type StakeObject = {
782
503
  principal: string;
783
504
  stakeActiveEpoch: string;
784
505
  stakeRequestEpoch: string;
785
- /** ID of the StakedSui receipt object. */
786
506
  stakedSuiId: string;
787
507
  status: "Pending";
788
508
  } | {
789
509
  principal: string;
790
510
  stakeActiveEpoch: string;
791
511
  stakeRequestEpoch: string;
792
- /** ID of the StakedSui receipt object. */
793
512
  stakedSuiId: string;
794
513
  estimatedReward: string;
795
514
  status: "Active";
@@ -797,7 +516,6 @@ export type StakeObject = {
797
516
  principal: string;
798
517
  stakeActiveEpoch: string;
799
518
  stakeRequestEpoch: string;
800
- /** ID of the StakedSui receipt object. */
801
519
  stakedSuiId: string;
802
520
  status: "Unstaked";
803
521
  };
@@ -806,15 +524,11 @@ export interface SuiActiveJwk {
806
524
  jwk: SuiJWK;
807
525
  jwk_id: SuiJwkId;
808
526
  }
809
- /** An argument to a transaction in a programmable transaction block */
810
- export type SuiArgument = "GasCoin" /** One of the input objects or primitive values (from `ProgrammableTransactionBlock` inputs) */ | {
527
+ export type SuiArgument = "GasCoin" | {
811
528
  Input: number;
812
- } /** The result of another transaction (from `ProgrammableTransactionBlock` transactions) */ | {
529
+ } | {
813
530
  Result: number;
814
- } /**
815
- * Like a `Result` but it accesses a nested result. Currently, the only usage of this is to access a
816
- * value from a Move call with multiple return values.
817
- */ | {
531
+ } | {
818
532
  NestedResult: [number, number];
819
533
  };
820
534
  export interface SuiAuthenticatorStateExpire {
@@ -851,17 +565,11 @@ export interface SuiChangeEpoch {
851
565
  storage_rebate: string;
852
566
  }
853
567
  export interface CoinMetadata {
854
- /** Number of decimal places the coin uses. */
855
568
  decimals: number;
856
- /** Description of the token */
857
569
  description: string;
858
- /** URL for the token logo */
859
570
  iconUrl?: string | null;
860
- /** Object id for the CoinMetadata object */
861
571
  id?: string | null;
862
- /** Name for the token */
863
572
  name: string;
864
- /** Symbol for the token */
865
573
  symbol: string;
866
574
  }
867
575
  export type SuiEndOfEpochTransactionKind = "AuthenticatorStateCreate" | "RandomnessStateCreate" | "CoinDenyListStateCreate" | "StoreExecutionTimeObservations" | "AccumulatorRootCreate" | {
@@ -874,9 +582,7 @@ export type SuiEndOfEpochTransactionKind = "AuthenticatorStateCreate" | "Randomn
874
582
  BridgeCommitteeUpdate: string;
875
583
  };
876
584
  export interface SuiExecutionResult {
877
- /** The value of any arguments that were mutably borrowed. Non-mut borrowed values are not included */
878
585
  mutableReferenceOutputs?: [SuiArgument, number[], string][];
879
- /** The return values from the transaction */
880
586
  returnValues?: [number[], string][];
881
587
  }
882
588
  export interface SuiJWK {
@@ -969,16 +675,14 @@ export type SuiObjectDataFilter = {
969
675
  MatchAny: SuiObjectDataFilter[];
970
676
  } | {
971
677
  MatchNone: SuiObjectDataFilter[];
972
- } /** Query by type a specified Package. */ | {
678
+ } | {
973
679
  Package: string;
974
- } /** Query by type a specified Move module. */ | {
680
+ } | {
975
681
  MoveModule: {
976
- /** the module name */
977
682
  module: string;
978
- /** the Move package ID */
979
683
  package: string;
980
684
  };
981
- } /** Query by type */ | {
685
+ } | {
982
686
  StructType: string;
983
687
  } | {
984
688
  AddressOwner: string;
@@ -995,177 +699,72 @@ export interface SuiObjectResponse {
995
699
  data?: SuiObjectData | null;
996
700
  error?: ObjectResponseError | null;
997
701
  }
998
- /**
999
- * The transaction for calling a Move function, either an entry function or a public function (which
1000
- * cannot return references).
1001
- */
1002
702
  export interface MoveCallSuiTransaction {
1003
- /** The arguments to the function. */
1004
703
  arguments?: SuiArgument[];
1005
- /** The function to be called. */
1006
704
  function: string;
1007
- /** The specific module in the package containing the function. */
1008
705
  module: string;
1009
- /** The package containing the module and function. */
1010
706
  package: string;
1011
- /** The type arguments to the function. */
1012
707
  type_arguments?: string[];
1013
708
  }
1014
- /**
1015
- * This is the JSON-RPC type for the SUI system state object. It flattens all fields to make them
1016
- * top-level fields such that it as minimum dependencies to the internal data structures of the SUI
1017
- * system state type.
1018
- */
1019
709
  export interface SuiSystemStateSummary {
1020
- /** The list of active validators in the current epoch. */
1021
710
  activeValidators: SuiValidatorSummary[];
1022
- /** Map storing the number of epochs for which each validator has been below the low stake threshold. */
1023
711
  atRiskValidators: [string, string][];
1024
- /** The current epoch ID, starting from 0. */
1025
712
  epoch: string;
1026
- /** The duration of an epoch, in milliseconds. */
1027
713
  epochDurationMs: string;
1028
- /** Unix timestamp of the current epoch start */
1029
714
  epochStartTimestampMs: string;
1030
- /**
1031
- * ID of the object that maps from a staking pool ID to the inactive validator that has that pool as
1032
- * its staking pool.
1033
- */
1034
715
  inactivePoolsId: string;
1035
- /** Number of inactive staking pools. */
1036
716
  inactivePoolsSize: string;
1037
- /**
1038
- * Maximum number of active validators at any moment. We do not allow the number of validators in any
1039
- * epoch to go above this.
1040
- */
1041
717
  maxValidatorCount: string;
1042
- /** Lower-bound on the amount of stake required to become a validator. */
1043
718
  minValidatorJoiningStake: string;
1044
- /** ID of the object that contains the list of new validators that will join at the end of the epoch. */
1045
719
  pendingActiveValidatorsId: string;
1046
- /** Number of new validators that will join at the end of the epoch. */
1047
720
  pendingActiveValidatorsSize: string;
1048
- /** Removal requests from the validators. Each element is an index pointing to `active_validators`. */
1049
721
  pendingRemovals: string[];
1050
- /** The current protocol version, starting from 1. */
1051
722
  protocolVersion: string;
1052
- /** The reference gas price for the current epoch. */
1053
723
  referenceGasPrice: string;
1054
- /**
1055
- * Whether the system is running in a downgraded safe mode due to a non-recoverable bug. This is set
1056
- * whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode. It can
1057
- * be reset once we are able to successfully execute advance_epoch.
1058
- */
1059
724
  safeMode: boolean;
1060
- /** Amount of computation rewards accumulated (and not yet distributed) during safe mode. */
1061
725
  safeModeComputationRewards: string;
1062
- /** Amount of non-refundable storage fee accumulated during safe mode. */
1063
726
  safeModeNonRefundableStorageFee: string;
1064
- /** Amount of storage rebates accumulated (and not yet burned) during safe mode. */
1065
727
  safeModeStorageRebates: string;
1066
- /** Amount of storage rewards accumulated (and not yet distributed) during safe mode. */
1067
728
  safeModeStorageRewards: string;
1068
- /** Balance of SUI set aside for stake subsidies that will be drawn down over time. */
1069
729
  stakeSubsidyBalance: string;
1070
- /** The amount of stake subsidy to be drawn down per epoch. This amount decays and decreases over time. */
1071
730
  stakeSubsidyCurrentDistributionAmount: string;
1072
- /**
1073
- * The rate at which the distribution amount decays at the end of each period. Expressed in basis
1074
- * points.
1075
- */
1076
731
  stakeSubsidyDecreaseRate: number;
1077
- /**
1078
- * This counter may be different from the current epoch number if in some epochs we decide to skip the
1079
- * subsidy.
1080
- */
1081
732
  stakeSubsidyDistributionCounter: string;
1082
- /** Number of distributions to occur before the distribution amount decays. */
1083
733
  stakeSubsidyPeriodLength: string;
1084
- /** The starting epoch in which stake subsidies start being paid out */
1085
734
  stakeSubsidyStartEpoch: string;
1086
- /** ID of the object that maps from staking pool's ID to the sui address of a validator. */
1087
735
  stakingPoolMappingsId: string;
1088
- /** Number of staking pool mappings. */
1089
736
  stakingPoolMappingsSize: string;
1090
- /**
1091
- * The non-refundable portion of the storage fund coming from storage reinvestment, non-refundable
1092
- * storage rebates and any leftover staking rewards.
1093
- */
1094
737
  storageFundNonRefundableBalance: string;
1095
- /** The storage rebates of all the objects on-chain stored in the storage fund. */
1096
738
  storageFundTotalObjectStorageRebates: string;
1097
- /** The current version of the system state data structure type. */
1098
739
  systemStateVersion: string;
1099
- /** Total amount of stake from all active validators at the beginning of the epoch. */
1100
740
  totalStake: string;
1101
- /**
1102
- * ID of the object that stores preactive validators, mapping their addresses to their `Validator`
1103
- * structs.
1104
- */
1105
741
  validatorCandidatesId: string;
1106
- /** Number of preactive validators. */
1107
742
  validatorCandidatesSize: string;
1108
- /**
1109
- * A validator can have stake below `validator_low_stake_threshold` for this many epochs before being
1110
- * kicked out.
1111
- */
1112
743
  validatorLowStakeGracePeriod: string;
1113
- /**
1114
- * Validators with stake amount below `validator_low_stake_threshold` are considered to have low stake
1115
- * and will be escorted out of the validator set after being below this threshold for more than
1116
- * `validator_low_stake_grace_period` number of epochs.
1117
- */
1118
744
  validatorLowStakeThreshold: string;
1119
- /** A map storing the records of validator reporting each other. */
1120
745
  validatorReportRecords: [string, string[]][];
1121
- /**
1122
- * Validators with stake below `validator_very_low_stake_threshold` will be removed immediately at
1123
- * epoch change, no grace period.
1124
- */
1125
746
  validatorVeryLowStakeThreshold: string;
1126
747
  }
1127
- /** A single transaction in a programmable transaction block. */
1128
- export type SuiTransaction =
1129
- /** A call to either an entry or a public Move function */
1130
- {
748
+ export type SuiTransaction = {
1131
749
  MoveCall: MoveCallSuiTransaction;
1132
- } /**
1133
- * `(Vec<forall T:key+store. T>, address)` It sends n-objects to the specified address. These objects
1134
- * must have store (public transfer) and either the previous owner must be an address or the object
1135
- * must be newly created.
1136
- */ | {
750
+ } | {
1137
751
  TransferObjects: [SuiArgument[], SuiArgument];
1138
- } /**
1139
- * `(&mut Coin<T>, Vec<u64>)` -> `Vec<Coin<T>>` It splits off some amounts into a new coins with those
1140
- * amounts
1141
- */ | {
752
+ } | {
1142
753
  SplitCoins: [SuiArgument, SuiArgument[]];
1143
- } /** `(&mut Coin<T>, Vec<Coin<T>>)` It merges n-coins into the first coin */ | {
754
+ } | {
1144
755
  MergeCoins: [SuiArgument, SuiArgument[]];
1145
- } /**
1146
- * Publishes a Move package. It takes the package bytes and a list of the package's transitive
1147
- * dependencies to link against on-chain.
1148
- */ | {
756
+ } | {
1149
757
  Publish: string[];
1150
- } /** Upgrades a Move package */ | {
758
+ } | {
1151
759
  Upgrade: [string[], string, SuiArgument];
1152
- } /**
1153
- * `forall T: Vec<T> -> vector<T>` Given n-values of the same type, it constructs a vector. For non
1154
- * objects or an empty vector, the type tag must be specified.
1155
- */ | {
760
+ } | {
1156
761
  MakeMoveVec: [string | null, SuiArgument[]];
1157
762
  };
1158
763
  export type SuiTransactionBlockBuilderMode = "Commit" | "DevInspect";
1159
- /**
1160
- * This is the JSON-RPC type for the SUI validator. It flattens all inner structures to top-level
1161
- * fields so that they are decoupled from the internal definitions.
1162
- */
1163
764
  export interface SuiValidatorSummary {
1164
765
  commissionRate: string;
1165
766
  description: string;
1166
- /** ID of the exchange rate table object. */
1167
767
  exchangeRatesId: string;
1168
- /** Number of exchange rates in the table. */
1169
768
  exchangeRatesSize: string;
1170
769
  gasPrice: string;
1171
770
  imageUrl: string;
@@ -1185,27 +784,18 @@ export interface SuiValidatorSummary {
1185
784
  nextEpochWorkerPubkeyBytes?: string | null;
1186
785
  operationCapId: string;
1187
786
  p2pAddress: string;
1188
- /** Pending pool token withdrawn during the current epoch, emptied at epoch boundaries. */
1189
787
  pendingPoolTokenWithdraw: string;
1190
- /** Pending stake amount for this epoch. */
1191
788
  pendingStake: string;
1192
- /** Pending stake withdrawn during the current epoch, emptied at epoch boundaries. */
1193
789
  pendingTotalSuiWithdraw: string;
1194
- /** Total number of pool tokens issued by the pool. */
1195
790
  poolTokenBalance: string;
1196
791
  primaryAddress: string;
1197
792
  projectUrl: string;
1198
793
  proofOfPossessionBytes: string;
1199
794
  protocolPubkeyBytes: string;
1200
- /** The epoch stake rewards will be added here at the end of each epoch. */
1201
795
  rewardsPool: string;
1202
- /** The epoch at which this pool became active. */
1203
796
  stakingPoolActivationEpoch?: string | null;
1204
- /** The epoch at which this staking pool ceased to be active. `None` = {pre-active, active}, */
1205
797
  stakingPoolDeactivationEpoch?: string | null;
1206
- /** ID of the staking pool object. */
1207
798
  stakingPoolId: string;
1208
- /** The total number of SUI tokens in this pool. */
1209
799
  stakingPoolSuiBalance: string;
1210
800
  wowAddress: string;
1211
801
  votingPower: string;
@@ -1220,11 +810,8 @@ export interface SuiTransactionBlock {
1220
810
  txSignatures: string[];
1221
811
  }
1222
812
  export interface TransactionBlockBytes {
1223
- /** the gas objects to be used */
1224
813
  gas: SuiObjectRef[];
1225
- /** objects to be used in this transaction */
1226
814
  inputObjects: InputObjectKind[];
1227
- /** BCS serialized transaction data bytes without its type tag, as base-64 encoded string. */
1228
815
  txBytes: string;
1229
816
  }
1230
817
  export type TransactionBlockData = {
@@ -1233,98 +820,59 @@ export type TransactionBlockData = {
1233
820
  sender: string;
1234
821
  transaction: SuiTransactionBlockKind;
1235
822
  };
1236
- export type TransactionEffects =
1237
- /** The response from processing a transaction or a certified transaction */
1238
- {
1239
- /** The abort error populated if the transaction failed with an abort code. */
823
+ export type TransactionEffects = {
1240
824
  abortError?: SuiMoveAbort | null;
1241
- /** ObjectRef and owner of new objects created. */
1242
825
  created?: OwnedObjectRef[];
1243
- /** Object Refs of objects now deleted (the old refs). */
1244
826
  deleted?: SuiObjectRef[];
1245
- /** The set of transaction digests this transaction depends on. */
1246
827
  dependencies?: string[];
1247
- /**
1248
- * The digest of the events emitted during execution, can be None if the transaction does not emit any
1249
- * event.
1250
- */
1251
828
  eventsDigest?: string | null;
1252
- /** The epoch when this transaction was executed. */
1253
829
  executedEpoch: string;
1254
- /**
1255
- * The updated gas object reference. Have a dedicated field for convenient access. It's also included
1256
- * in mutated.
1257
- */
1258
830
  gasObject: OwnedObjectRef;
1259
831
  gasUsed: GasCostSummary;
1260
832
  messageVersion: "v1";
1261
- /**
1262
- * The version that every modified (mutated or deleted) object had before it was modified by this
1263
- * transaction.
1264
- */
1265
833
  modifiedAtVersions?: TransactionBlockEffectsModifiedAtVersions[];
1266
- /** ObjectRef and owner of mutated objects, including gas object. */
1267
834
  mutated?: OwnedObjectRef[];
1268
- /**
1269
- * The object references of the shared objects used in this transaction. Empty if no shared objects
1270
- * were used.
1271
- */
1272
835
  sharedObjects?: SuiObjectRef[];
1273
- /** The status of the execution */
1274
836
  status: ExecutionStatus;
1275
- /** The transaction digest */
1276
837
  transactionDigest: string;
1277
- /**
1278
- * ObjectRef and owner of objects that are unwrapped in this transaction. Unwrapped objects are objects
1279
- * that were wrapped into other objects in the past, and just got extracted out.
1280
- */
1281
838
  unwrapped?: OwnedObjectRef[];
1282
- /** Object refs of objects previously wrapped in other objects but now deleted. */
1283
839
  unwrappedThenDeleted?: SuiObjectRef[];
1284
- /** Object refs of objects now wrapped in other objects. */
1285
840
  wrapped?: SuiObjectRef[];
1286
841
  };
1287
842
  export interface TransactionBlockEffectsModifiedAtVersions {
1288
843
  objectId: string;
1289
844
  sequenceNumber: string;
1290
845
  }
1291
- export type SuiTransactionBlockKind =
1292
- /** A system transaction that will update epoch information on-chain. */
1293
- {
846
+ export type SuiTransactionBlockKind = {
1294
847
  computation_charge: string;
1295
848
  epoch: string;
1296
849
  epoch_start_timestamp_ms: string;
1297
850
  kind: "ChangeEpoch";
1298
851
  storage_charge: string;
1299
852
  storage_rebate: string;
1300
- } /** A system transaction used for initializing the initial state of the chain. */ | {
853
+ } | {
1301
854
  kind: "Genesis";
1302
855
  objects: string[];
1303
- } /** A system transaction marking the start of a series of transactions scheduled as part of a checkpoint */ | {
856
+ } | {
1304
857
  commit_timestamp_ms: string;
1305
858
  epoch: string;
1306
859
  kind: "ConsensusCommitPrologue";
1307
860
  round: string;
1308
- } /** A series of transactions where the results of one transaction can be used in future transactions */ | {
1309
- /** Input objects or primitive values */
861
+ } | {
1310
862
  inputs: SuiCallArg[];
1311
863
  kind: "ProgrammableTransaction";
1312
- /**
1313
- * The transactions to be executed sequentially. A failure in any transaction will result in the
1314
- * failure of the entire programmable transaction block.
1315
- */
1316
864
  transactions: SuiTransaction[];
1317
- } /** A transaction which updates global authenticator state */ | {
865
+ } | {
1318
866
  epoch: string;
1319
867
  kind: "AuthenticatorStateUpdate";
1320
868
  new_active_jwks: SuiActiveJwk[];
1321
869
  round: string;
1322
- } /** A transaction which updates global randomness state */ | {
870
+ } | {
1323
871
  epoch: string;
1324
872
  kind: "RandomnessStateUpdate";
1325
873
  random_bytes: number[];
1326
874
  randomness_round: string;
1327
- } /** The transaction which occurs only at the end of the epoch */ | {
875
+ } | {
1328
876
  kind: "EndOfEpochTransaction";
1329
877
  transactions: SuiEndOfEpochTransactionKind[];
1330
878
  } | {
@@ -1350,22 +898,13 @@ export type SuiTransactionBlockKind =
1350
898
  kind: "ConsensusCommitPrologueV4";
1351
899
  round: string;
1352
900
  sub_dag_index?: string | null;
1353
- } /** A series of commands where the results of one command can be used in future commands */ | {
1354
- /** Input objects or primitive values */
901
+ } | {
1355
902
  inputs: SuiCallArg[];
1356
903
  kind: "ProgrammableSystemTransaction";
1357
- /**
1358
- * The transactions to be executed sequentially. A failure in any transaction will result in the
1359
- * failure of the entire programmable transaction block.
1360
- */
1361
904
  transactions: SuiTransaction[];
1362
905
  };
1363
906
  export interface SuiTransactionBlockResponse {
1364
907
  balanceChanges?: BalanceChange[] | null;
1365
- /**
1366
- * The checkpoint number when this transaction was included and hence finalized. This is only returned
1367
- * in the read api, not in the transaction execution api.
1368
- */
1369
908
  checkpoint?: string | null;
1370
909
  confirmedLocalExecution?: boolean | null;
1371
910
  digest: string;
@@ -1374,86 +913,66 @@ export interface SuiTransactionBlockResponse {
1374
913
  events?: SuiEvent[] | null;
1375
914
  objectChanges?: SuiObjectChange[] | null;
1376
915
  rawEffects?: number[];
1377
- /**
1378
- * BCS encoded [SenderSignedData] that includes input object references returns empty array if
1379
- * `show_raw_transaction` is false
1380
- */
1381
916
  rawTransaction?: string;
1382
917
  timestampMs?: string | null;
1383
- /** Transaction input data */
1384
918
  transaction?: SuiTransactionBlock | null;
1385
919
  }
1386
920
  export interface SuiTransactionBlockResponseOptions {
1387
- /** Whether to show balance_changes. Default to be False */
1388
921
  showBalanceChanges?: boolean;
1389
- /** Whether to show transaction effects. Default to be False */
1390
922
  showEffects?: boolean;
1391
- /** Whether to show transaction events. Default to be False */
1392
923
  showEvents?: boolean;
1393
- /** Whether to show transaction input data. Default to be False */
1394
924
  showInput?: boolean;
1395
- /** Whether to show object_changes. Default to be False */
1396
925
  showObjectChanges?: boolean;
1397
- /** Whether to show raw transaction effects. Default to be False */
1398
926
  showRawEffects?: boolean;
1399
- /** Whether to show bcs-encoded transaction input data */
1400
927
  showRawInput?: boolean;
1401
928
  }
1402
929
  export interface SuiTransactionBlockResponseQuery {
1403
- /** If None, no filter will be applied */
1404
930
  filter?: TransactionFilter | null;
1405
- /** config which fields to include in the response, by default only digest is included */
1406
931
  options?: SuiTransactionBlockResponseOptions | null;
1407
932
  }
1408
- export type TransactionFilter =
1409
- /** CURRENTLY NOT SUPPORTED. Query by checkpoint. */
1410
- {
933
+ export type TransactionFilter = {
1411
934
  Checkpoint: string;
1412
- } /** Query by move function. */ | {
935
+ } | {
1413
936
  MoveFunction: {
1414
937
  function?: string | null;
1415
938
  module?: string | null;
1416
939
  package: string;
1417
940
  };
1418
- } /** Query by input object. */ | {
941
+ } | {
1419
942
  InputObject: string;
1420
- } /** Query by changed object, including created, mutated and unwrapped objects. */ | {
943
+ } | {
1421
944
  ChangedObject: string;
1422
- } /** Query for transactions that touch this object. */ | {
945
+ } | {
1423
946
  AffectedObject: string;
1424
- } /** Query by sender address. */ | {
947
+ } | {
1425
948
  FromAddress: string;
1426
- } /** Query by recipient address. */ | {
949
+ } | {
1427
950
  ToAddress: string;
1428
- } /** Query by sender and recipient address. */ | {
951
+ } | {
1429
952
  FromAndToAddress: {
1430
953
  from: string;
1431
954
  to: string;
1432
955
  };
1433
- } /** CURRENTLY NOT SUPPORTED. Query txs that have a given address as sender or recipient. */ | {
956
+ } | {
1434
957
  FromOrToAddress: {
1435
958
  addr: string;
1436
959
  };
1437
- } /** Query by transaction kind */ | {
960
+ } | {
1438
961
  TransactionKind: string;
1439
- } /** Query transactions of any given kind in the input. */ | {
962
+ } | {
1440
963
  TransactionKindIn: string[];
1441
964
  };
1442
965
  export interface TransferObjectParams {
1443
966
  objectId: string;
1444
967
  recipient: string;
1445
968
  }
1446
- /** Identifies a struct and the module it was defined in */
1447
969
  export interface TypeOrigin {
1448
970
  datatype_name: string;
1449
971
  module_name: string;
1450
972
  package: string;
1451
973
  }
1452
- /** Upgraded package info for the linkage table */
1453
974
  export interface UpgradeInfo {
1454
- /** ID of the upgraded packages */
1455
975
  upgraded_id: string;
1456
- /** Version of the upgraded package */
1457
976
  upgraded_version: string;
1458
977
  }
1459
978
  export interface ValidatorApy {
@@ -1464,13 +983,11 @@ export interface ValidatorsApy {
1464
983
  apys: ValidatorApy[];
1465
984
  epoch: string;
1466
985
  }
1467
- /** An zk login authenticator with all the necessary fields. */
1468
986
  export interface ZkLoginAuthenticator {
1469
987
  inputs: ZkLoginInputs;
1470
988
  maxEpoch: string;
1471
989
  userSignature: Signature;
1472
990
  }
1473
- /** All inputs required for the zk login proof verification and other public inputs. */
1474
991
  export interface ZkLoginInputs {
1475
992
  addressSeed: string;
1476
993
  headerBase64: string;
@@ -1478,15 +995,12 @@ export interface ZkLoginInputs {
1478
995
  proofPoints: ZkLoginProof;
1479
996
  }
1480
997
  export type ZkLoginIntentScope = "TransactionData" | "PersonalMessage";
1481
- /** The struct for zk login proof. */
1482
998
  export interface ZkLoginProof {
1483
999
  a: string[];
1484
1000
  b: string[][];
1485
1001
  c: string[];
1486
1002
  }
1487
1003
  export interface ZkLoginVerifyResult {
1488
- /** The errors field captures any verification error */
1489
1004
  errors: string[];
1490
- /** The boolean result of the verification. If true, errors should be empty. */
1491
1005
  success: boolean;
1492
1006
  }