@mysten/sui 0.0.0-experimental-20240529040124

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 (609) hide show
  1. package/CHANGELOG.md +905 -0
  2. package/LICENSE +201 -0
  3. package/README.md +520 -0
  4. package/bcs/package.json +6 -0
  5. package/client/package.json +6 -0
  6. package/cryptography/package.json +6 -0
  7. package/dist/cjs/bcs/bcs.d.ts +2283 -0
  8. package/dist/cjs/bcs/bcs.js +306 -0
  9. package/dist/cjs/bcs/bcs.js.map +7 -0
  10. package/dist/cjs/bcs/effects.d.ts +793 -0
  11. package/dist/cjs/bcs/effects.js +203 -0
  12. package/dist/cjs/bcs/effects.js.map +7 -0
  13. package/dist/cjs/bcs/index.d.ts +3081 -0
  14. package/dist/cjs/bcs/index.js +73 -0
  15. package/dist/cjs/bcs/index.js.map +7 -0
  16. package/dist/cjs/bcs/type-tag-serializer.d.ts +6 -0
  17. package/dist/cjs/bcs/type-tag-serializer.js +113 -0
  18. package/dist/cjs/bcs/type-tag-serializer.js.map +7 -0
  19. package/dist/cjs/bcs/types.d.ts +114 -0
  20. package/dist/cjs/bcs/types.js +27 -0
  21. package/dist/cjs/bcs/types.js.map +7 -0
  22. package/dist/cjs/client/client.d.ts +229 -0
  23. package/dist/cjs/client/client.js +582 -0
  24. package/dist/cjs/client/client.js.map +7 -0
  25. package/dist/cjs/client/errors.d.ts +12 -0
  26. package/dist/cjs/client/errors.js +60 -0
  27. package/dist/cjs/client/errors.js.map +7 -0
  28. package/dist/cjs/client/http-transport.d.ts +40 -0
  29. package/dist/cjs/client/http-transport.js +125 -0
  30. package/dist/cjs/client/http-transport.js.map +7 -0
  31. package/dist/cjs/client/index.d.ts +5 -0
  32. package/dist/cjs/client/index.js +36 -0
  33. package/dist/cjs/client/index.js.map +7 -0
  34. package/dist/cjs/client/network.d.ts +1 -0
  35. package/dist/cjs/client/network.js +38 -0
  36. package/dist/cjs/client/network.js.map +7 -0
  37. package/dist/cjs/client/rpc-websocket-client.d.ts +49 -0
  38. package/dist/cjs/client/rpc-websocket-client.js +206 -0
  39. package/dist/cjs/client/rpc-websocket-client.js.map +7 -0
  40. package/dist/cjs/client/types/chain.d.ts +99 -0
  41. package/dist/cjs/client/types/chain.js +17 -0
  42. package/dist/cjs/client/types/chain.js.map +7 -0
  43. package/dist/cjs/client/types/changes.d.ts +19 -0
  44. package/dist/cjs/client/types/changes.js +17 -0
  45. package/dist/cjs/client/types/changes.js.map +7 -0
  46. package/dist/cjs/client/types/coins.d.ts +6 -0
  47. package/dist/cjs/client/types/coins.js +17 -0
  48. package/dist/cjs/client/types/coins.js.map +7 -0
  49. package/dist/cjs/client/types/common.d.ts +2 -0
  50. package/dist/cjs/client/types/common.js +17 -0
  51. package/dist/cjs/client/types/common.js.map +7 -0
  52. package/dist/cjs/client/types/generated.d.ts +1376 -0
  53. package/dist/cjs/client/types/generated.js +17 -0
  54. package/dist/cjs/client/types/generated.js.map +7 -0
  55. package/dist/cjs/client/types/index.d.ts +6 -0
  56. package/dist/cjs/client/types/index.js +24 -0
  57. package/dist/cjs/client/types/index.js.map +7 -0
  58. package/dist/cjs/client/types/params.d.ts +585 -0
  59. package/dist/cjs/client/types/params.js +17 -0
  60. package/dist/cjs/client/types/params.js.map +7 -0
  61. package/dist/cjs/cryptography/index.d.ts +7 -0
  62. package/dist/cjs/cryptography/index.js +47 -0
  63. package/dist/cjs/cryptography/index.js.map +7 -0
  64. package/dist/cjs/cryptography/intent.d.ts +6 -0
  65. package/dist/cjs/cryptography/intent.js +35 -0
  66. package/dist/cjs/cryptography/intent.js.map +7 -0
  67. package/dist/cjs/cryptography/keypair.d.ts +63 -0
  68. package/dist/cjs/cryptography/keypair.js +105 -0
  69. package/dist/cjs/cryptography/keypair.js.map +7 -0
  70. package/dist/cjs/cryptography/mnemonics.d.ts +27 -0
  71. package/dist/cjs/cryptography/mnemonics.js +47 -0
  72. package/dist/cjs/cryptography/mnemonics.js.map +7 -0
  73. package/dist/cjs/cryptography/publickey.d.ts +56 -0
  74. package/dist/cjs/cryptography/publickey.js +112 -0
  75. package/dist/cjs/cryptography/publickey.js.map +7 -0
  76. package/dist/cjs/cryptography/signature-scheme.d.ts +21 -0
  77. package/dist/cjs/cryptography/signature-scheme.js +45 -0
  78. package/dist/cjs/cryptography/signature-scheme.js.map +7 -0
  79. package/dist/cjs/cryptography/signature.d.ts +60 -0
  80. package/dist/cjs/cryptography/signature.js +75 -0
  81. package/dist/cjs/cryptography/signature.js.map +7 -0
  82. package/dist/cjs/faucet/faucet.d.ts +42 -0
  83. package/dist/cjs/faucet/faucet.js +103 -0
  84. package/dist/cjs/faucet/faucet.js.map +7 -0
  85. package/dist/cjs/faucet/index.d.ts +1 -0
  86. package/dist/cjs/faucet/index.js +29 -0
  87. package/dist/cjs/faucet/index.js.map +7 -0
  88. package/dist/cjs/graphql/client.d.ts +42 -0
  89. package/dist/cjs/graphql/client.js +93 -0
  90. package/dist/cjs/graphql/client.js.map +7 -0
  91. package/dist/cjs/graphql/generated/2024-01/tada-env.d.js +17 -0
  92. package/dist/cjs/graphql/generated/2024-01/tada-env.d.js.map +7 -0
  93. package/dist/cjs/graphql/generated/2024.1/tada-env.d.js +17 -0
  94. package/dist/cjs/graphql/generated/2024.1/tada-env.d.js.map +7 -0
  95. package/dist/cjs/graphql/generated/2024.1/tsconfig.tada.js +12 -0
  96. package/dist/cjs/graphql/generated/2024.1/tsconfig.tada.js.map +7 -0
  97. package/dist/cjs/graphql/generated/2024.4/tada-env.d.js +17 -0
  98. package/dist/cjs/graphql/generated/2024.4/tada-env.d.js.map +7 -0
  99. package/dist/cjs/graphql/generated/2024.4/tsconfig.tada.js +12 -0
  100. package/dist/cjs/graphql/generated/2024.4/tsconfig.tada.js.map +7 -0
  101. package/dist/cjs/graphql/index.d.ts +1 -0
  102. package/dist/cjs/graphql/index.js +26 -0
  103. package/dist/cjs/graphql/index.js.map +7 -0
  104. package/dist/cjs/graphql/schemas/2024.1/index.d.ts +8971 -0
  105. package/dist/cjs/graphql/schemas/2024.1/index.js +31 -0
  106. package/dist/cjs/graphql/schemas/2024.1/index.js.map +7 -0
  107. package/dist/cjs/graphql/schemas/2024.4/index.d.ts +8995 -0
  108. package/dist/cjs/graphql/schemas/2024.4/index.js +31 -0
  109. package/dist/cjs/graphql/schemas/2024.4/index.js.map +7 -0
  110. package/dist/cjs/graphql/types.d.ts +70 -0
  111. package/dist/cjs/graphql/types.js +17 -0
  112. package/dist/cjs/graphql/types.js.map +7 -0
  113. package/dist/cjs/keypairs/ed25519/ed25519-hd-key.d.ts +13 -0
  114. package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js +101 -0
  115. package/dist/cjs/keypairs/ed25519/ed25519-hd-key.js.map +7 -0
  116. package/dist/cjs/keypairs/ed25519/index.d.ts +2 -0
  117. package/dist/cjs/keypairs/ed25519/index.js +28 -0
  118. package/dist/cjs/keypairs/ed25519/index.js.map +7 -0
  119. package/dist/cjs/keypairs/ed25519/keypair.d.ts +74 -0
  120. package/dist/cjs/keypairs/ed25519/keypair.js +151 -0
  121. package/dist/cjs/keypairs/ed25519/keypair.js.map +7 -0
  122. package/dist/cjs/keypairs/ed25519/publickey.d.ts +30 -0
  123. package/dist/cjs/keypairs/ed25519/publickey.js +99 -0
  124. package/dist/cjs/keypairs/ed25519/publickey.js.map +7 -0
  125. package/dist/cjs/keypairs/secp256k1/index.d.ts +2 -0
  126. package/dist/cjs/keypairs/secp256k1/index.js +28 -0
  127. package/dist/cjs/keypairs/secp256k1/index.js.map +7 -0
  128. package/dist/cjs/keypairs/secp256k1/keypair.d.ts +73 -0
  129. package/dist/cjs/keypairs/secp256k1/keypair.js +143 -0
  130. package/dist/cjs/keypairs/secp256k1/keypair.js.map +7 -0
  131. package/dist/cjs/keypairs/secp256k1/publickey.d.ts +30 -0
  132. package/dist/cjs/keypairs/secp256k1/publickey.js +94 -0
  133. package/dist/cjs/keypairs/secp256k1/publickey.js.map +7 -0
  134. package/dist/cjs/keypairs/secp256r1/index.d.ts +2 -0
  135. package/dist/cjs/keypairs/secp256r1/index.js +28 -0
  136. package/dist/cjs/keypairs/secp256r1/index.js.map +7 -0
  137. package/dist/cjs/keypairs/secp256r1/keypair.d.ts +73 -0
  138. package/dist/cjs/keypairs/secp256r1/keypair.js +137 -0
  139. package/dist/cjs/keypairs/secp256r1/keypair.js.map +7 -0
  140. package/dist/cjs/keypairs/secp256r1/publickey.d.ts +30 -0
  141. package/dist/cjs/keypairs/secp256r1/publickey.js +94 -0
  142. package/dist/cjs/keypairs/secp256r1/publickey.js.map +7 -0
  143. package/dist/cjs/multisig/index.d.ts +2 -0
  144. package/dist/cjs/multisig/index.js +28 -0
  145. package/dist/cjs/multisig/index.js.map +7 -0
  146. package/dist/cjs/multisig/publickey.d.ts +110 -0
  147. package/dist/cjs/multisig/publickey.js +260 -0
  148. package/dist/cjs/multisig/publickey.js.map +7 -0
  149. package/dist/cjs/multisig/signer.d.ts +19 -0
  150. package/dist/cjs/multisig/signer.js +115 -0
  151. package/dist/cjs/multisig/signer.js.map +7 -0
  152. package/dist/cjs/package.json +5 -0
  153. package/dist/cjs/transactions/Commands.d.ts +110 -0
  154. package/dist/cjs/transactions/Commands.js +140 -0
  155. package/dist/cjs/transactions/Commands.js.map +7 -0
  156. package/dist/cjs/transactions/Inputs.d.ts +22 -0
  157. package/dist/cjs/transactions/Inputs.js +80 -0
  158. package/dist/cjs/transactions/Inputs.js.map +7 -0
  159. package/dist/cjs/transactions/ObjectCache.d.ts +85 -0
  160. package/dist/cjs/transactions/ObjectCache.js +246 -0
  161. package/dist/cjs/transactions/ObjectCache.js.map +7 -0
  162. package/dist/cjs/transactions/Transaction.d.ts +672 -0
  163. package/dist/cjs/transactions/Transaction.js +459 -0
  164. package/dist/cjs/transactions/Transaction.js.map +7 -0
  165. package/dist/cjs/transactions/TransactionData.d.ts +64 -0
  166. package/dist/cjs/transactions/TransactionData.js +249 -0
  167. package/dist/cjs/transactions/TransactionData.js.map +7 -0
  168. package/dist/cjs/transactions/__tests__/Transaction.test.d.ts +1 -0
  169. package/dist/cjs/transactions/__tests__/bcs.test.d.ts +1 -0
  170. package/dist/cjs/transactions/data/internal.d.ts +2689 -0
  171. package/dist/cjs/transactions/data/internal.js +210 -0
  172. package/dist/cjs/transactions/data/internal.js.map +7 -0
  173. package/dist/cjs/transactions/data/v1.d.ts +1839 -0
  174. package/dist/cjs/transactions/data/v1.js +440 -0
  175. package/dist/cjs/transactions/data/v1.js.map +7 -0
  176. package/dist/cjs/transactions/data/v2.d.ts +450 -0
  177. package/dist/cjs/transactions/data/v2.js +123 -0
  178. package/dist/cjs/transactions/data/v2.js.map +7 -0
  179. package/dist/cjs/transactions/executor/caching.d.ts +29 -0
  180. package/dist/cjs/transactions/executor/caching.js +109 -0
  181. package/dist/cjs/transactions/executor/caching.js.map +7 -0
  182. package/dist/cjs/transactions/executor/parallel.d.ts +22 -0
  183. package/dist/cjs/transactions/executor/parallel.js +316 -0
  184. package/dist/cjs/transactions/executor/parallel.js.map +7 -0
  185. package/dist/cjs/transactions/executor/queue.d.ts +11 -0
  186. package/dist/cjs/transactions/executor/queue.js +92 -0
  187. package/dist/cjs/transactions/executor/queue.js.map +7 -0
  188. package/dist/cjs/transactions/executor/serial.d.ts +27 -0
  189. package/dist/cjs/transactions/executor/serial.js +140 -0
  190. package/dist/cjs/transactions/executor/serial.js.map +7 -0
  191. package/dist/cjs/transactions/hash.d.ts +7 -0
  192. package/dist/cjs/transactions/hash.js +32 -0
  193. package/dist/cjs/transactions/hash.js.map +7 -0
  194. package/dist/cjs/transactions/index.d.ts +13 -0
  195. package/dist/cjs/transactions/index.js +47 -0
  196. package/dist/cjs/transactions/index.js.map +7 -0
  197. package/dist/cjs/transactions/intents/CoinWithBalance.d.ts +6 -0
  198. package/dist/cjs/transactions/intents/CoinWithBalance.js +168 -0
  199. package/dist/cjs/transactions/intents/CoinWithBalance.js.map +7 -0
  200. package/dist/cjs/transactions/json-rpc-resolver.d.ts +12 -0
  201. package/dist/cjs/transactions/json-rpc-resolver.js +353 -0
  202. package/dist/cjs/transactions/json-rpc-resolver.js.map +7 -0
  203. package/dist/cjs/transactions/pure.d.ts +185 -0
  204. package/dist/cjs/transactions/pure.js +41 -0
  205. package/dist/cjs/transactions/pure.js.map +7 -0
  206. package/dist/cjs/transactions/serializer.d.ts +7 -0
  207. package/dist/cjs/transactions/serializer.js +176 -0
  208. package/dist/cjs/transactions/serializer.js.map +7 -0
  209. package/dist/cjs/transactions/utils.d.ts +8 -0
  210. package/dist/cjs/transactions/utils.js +66 -0
  211. package/dist/cjs/transactions/utils.js.map +7 -0
  212. package/dist/cjs/utils/constants.d.ts +9 -0
  213. package/dist/cjs/utils/constants.js +42 -0
  214. package/dist/cjs/utils/constants.js.map +7 -0
  215. package/dist/cjs/utils/format.d.ts +2 -0
  216. package/dist/cjs/utils/format.js +36 -0
  217. package/dist/cjs/utils/format.js.map +7 -0
  218. package/dist/cjs/utils/index.d.ts +5 -0
  219. package/dist/cjs/utils/index.js +53 -0
  220. package/dist/cjs/utils/index.js.map +7 -0
  221. package/dist/cjs/utils/sui-types.d.ts +27 -0
  222. package/dist/cjs/utils/sui-types.js +90 -0
  223. package/dist/cjs/utils/sui-types.js.map +7 -0
  224. package/dist/cjs/utils/suins.d.ts +2 -0
  225. package/dist/cjs/utils/suins.js +57 -0
  226. package/dist/cjs/utils/suins.js.map +7 -0
  227. package/dist/cjs/verify/index.d.ts +1 -0
  228. package/dist/cjs/verify/index.js +29 -0
  229. package/dist/cjs/verify/index.js.map +7 -0
  230. package/dist/cjs/verify/verify.d.ts +11 -0
  231. package/dist/cjs/verify/verify.js +101 -0
  232. package/dist/cjs/verify/verify.js.map +7 -0
  233. package/dist/cjs/version.d.ts +2 -0
  234. package/dist/cjs/version.js +27 -0
  235. package/dist/cjs/version.js.map +7 -0
  236. package/dist/cjs/zklogin/address.d.ts +1 -0
  237. package/dist/cjs/zklogin/address.js +44 -0
  238. package/dist/cjs/zklogin/address.js.map +7 -0
  239. package/dist/cjs/zklogin/bcs.d.ts +46 -0
  240. package/dist/cjs/zklogin/bcs.js +42 -0
  241. package/dist/cjs/zklogin/bcs.js.map +7 -0
  242. package/dist/cjs/zklogin/index.d.ts +5 -0
  243. package/dist/cjs/zklogin/index.js +33 -0
  244. package/dist/cjs/zklogin/index.js.map +7 -0
  245. package/dist/cjs/zklogin/jwt-utils.d.ts +5 -0
  246. package/dist/cjs/zklogin/jwt-utils.js +102 -0
  247. package/dist/cjs/zklogin/jwt-utils.js.map +7 -0
  248. package/dist/cjs/zklogin/publickey.d.ts +69 -0
  249. package/dist/cjs/zklogin/publickey.js +197 -0
  250. package/dist/cjs/zklogin/publickey.js.map +7 -0
  251. package/dist/cjs/zklogin/signature.d.ts +23 -0
  252. package/dist/cjs/zklogin/signature.js +48 -0
  253. package/dist/cjs/zklogin/signature.js.map +7 -0
  254. package/dist/cjs/zklogin/utils.d.ts +2 -0
  255. package/dist/cjs/zklogin/utils.js +46 -0
  256. package/dist/cjs/zklogin/utils.js.map +7 -0
  257. package/dist/esm/bcs/bcs.d.ts +2283 -0
  258. package/dist/esm/bcs/bcs.js +286 -0
  259. package/dist/esm/bcs/bcs.js.map +7 -0
  260. package/dist/esm/bcs/effects.d.ts +793 -0
  261. package/dist/esm/bcs/effects.js +183 -0
  262. package/dist/esm/bcs/effects.js.map +7 -0
  263. package/dist/esm/bcs/index.d.ts +3081 -0
  264. package/dist/esm/bcs/index.js +83 -0
  265. package/dist/esm/bcs/index.js.map +7 -0
  266. package/dist/esm/bcs/type-tag-serializer.d.ts +6 -0
  267. package/dist/esm/bcs/type-tag-serializer.js +93 -0
  268. package/dist/esm/bcs/type-tag-serializer.js.map +7 -0
  269. package/dist/esm/bcs/types.d.ts +114 -0
  270. package/dist/esm/bcs/types.js +7 -0
  271. package/dist/esm/bcs/types.js.map +7 -0
  272. package/dist/esm/client/client.d.ts +229 -0
  273. package/dist/esm/client/client.js +568 -0
  274. package/dist/esm/client/client.js.map +7 -0
  275. package/dist/esm/client/errors.d.ts +12 -0
  276. package/dist/esm/client/errors.js +40 -0
  277. package/dist/esm/client/errors.js.map +7 -0
  278. package/dist/esm/client/http-transport.d.ts +40 -0
  279. package/dist/esm/client/http-transport.js +105 -0
  280. package/dist/esm/client/http-transport.js.map +7 -0
  281. package/dist/esm/client/index.d.ts +5 -0
  282. package/dist/esm/client/index.js +20 -0
  283. package/dist/esm/client/index.js.map +7 -0
  284. package/dist/esm/client/network.d.ts +1 -0
  285. package/dist/esm/client/network.js +18 -0
  286. package/dist/esm/client/network.js.map +7 -0
  287. package/dist/esm/client/rpc-websocket-client.d.ts +49 -0
  288. package/dist/esm/client/rpc-websocket-client.js +186 -0
  289. package/dist/esm/client/rpc-websocket-client.js.map +7 -0
  290. package/dist/esm/client/types/chain.d.ts +99 -0
  291. package/dist/esm/client/types/chain.js +1 -0
  292. package/dist/esm/client/types/chain.js.map +7 -0
  293. package/dist/esm/client/types/changes.d.ts +19 -0
  294. package/dist/esm/client/types/changes.js +1 -0
  295. package/dist/esm/client/types/changes.js.map +7 -0
  296. package/dist/esm/client/types/coins.d.ts +6 -0
  297. package/dist/esm/client/types/coins.js +1 -0
  298. package/dist/esm/client/types/coins.js.map +7 -0
  299. package/dist/esm/client/types/common.d.ts +2 -0
  300. package/dist/esm/client/types/common.js +1 -0
  301. package/dist/esm/client/types/common.js.map +7 -0
  302. package/dist/esm/client/types/generated.d.ts +1376 -0
  303. package/dist/esm/client/types/generated.js +1 -0
  304. package/dist/esm/client/types/generated.js.map +7 -0
  305. package/dist/esm/client/types/index.d.ts +6 -0
  306. package/dist/esm/client/types/index.js +7 -0
  307. package/dist/esm/client/types/index.js.map +7 -0
  308. package/dist/esm/client/types/params.d.ts +585 -0
  309. package/dist/esm/client/types/params.js +1 -0
  310. package/dist/esm/client/types/params.js.map +7 -0
  311. package/dist/esm/cryptography/index.d.ts +7 -0
  312. package/dist/esm/cryptography/index.js +47 -0
  313. package/dist/esm/cryptography/index.js.map +7 -0
  314. package/dist/esm/cryptography/intent.d.ts +6 -0
  315. package/dist/esm/cryptography/intent.js +15 -0
  316. package/dist/esm/cryptography/intent.js.map +7 -0
  317. package/dist/esm/cryptography/keypair.d.ts +63 -0
  318. package/dist/esm/cryptography/keypair.js +85 -0
  319. package/dist/esm/cryptography/keypair.js.map +7 -0
  320. package/dist/esm/cryptography/mnemonics.d.ts +27 -0
  321. package/dist/esm/cryptography/mnemonics.js +27 -0
  322. package/dist/esm/cryptography/mnemonics.js.map +7 -0
  323. package/dist/esm/cryptography/publickey.d.ts +56 -0
  324. package/dist/esm/cryptography/publickey.js +92 -0
  325. package/dist/esm/cryptography/publickey.js.map +7 -0
  326. package/dist/esm/cryptography/signature-scheme.d.ts +21 -0
  327. package/dist/esm/cryptography/signature-scheme.js +25 -0
  328. package/dist/esm/cryptography/signature-scheme.js.map +7 -0
  329. package/dist/esm/cryptography/signature.d.ts +60 -0
  330. package/dist/esm/cryptography/signature.js +59 -0
  331. package/dist/esm/cryptography/signature.js.map +7 -0
  332. package/dist/esm/faucet/faucet.d.ts +42 -0
  333. package/dist/esm/faucet/faucet.js +83 -0
  334. package/dist/esm/faucet/faucet.js.map +7 -0
  335. package/dist/esm/faucet/index.d.ts +1 -0
  336. package/dist/esm/faucet/index.js +15 -0
  337. package/dist/esm/faucet/index.js.map +7 -0
  338. package/dist/esm/graphql/client.d.ts +42 -0
  339. package/dist/esm/graphql/client.js +73 -0
  340. package/dist/esm/graphql/client.js.map +7 -0
  341. package/dist/esm/graphql/generated/2024-01/tada-env.d.js +1 -0
  342. package/dist/esm/graphql/generated/2024-01/tada-env.d.js.map +7 -0
  343. package/dist/esm/graphql/generated/2024.1/tada-env.d.js +1 -0
  344. package/dist/esm/graphql/generated/2024.1/tada-env.d.js.map +7 -0
  345. package/dist/esm/graphql/generated/2024.1/tsconfig.tada.js +17 -0
  346. package/dist/esm/graphql/generated/2024.1/tsconfig.tada.js.map +7 -0
  347. package/dist/esm/graphql/generated/2024.4/tada-env.d.js +1 -0
  348. package/dist/esm/graphql/generated/2024.4/tada-env.d.js.map +7 -0
  349. package/dist/esm/graphql/generated/2024.4/tsconfig.tada.js +17 -0
  350. package/dist/esm/graphql/generated/2024.4/tsconfig.tada.js.map +7 -0
  351. package/dist/esm/graphql/index.d.ts +1 -0
  352. package/dist/esm/graphql/index.js +9 -0
  353. package/dist/esm/graphql/index.js.map +7 -0
  354. package/dist/esm/graphql/schemas/2024.1/index.d.ts +8971 -0
  355. package/dist/esm/graphql/schemas/2024.1/index.js +10 -0
  356. package/dist/esm/graphql/schemas/2024.1/index.js.map +7 -0
  357. package/dist/esm/graphql/schemas/2024.4/index.d.ts +8995 -0
  358. package/dist/esm/graphql/schemas/2024.4/index.js +10 -0
  359. package/dist/esm/graphql/schemas/2024.4/index.js.map +7 -0
  360. package/dist/esm/graphql/types.d.ts +70 -0
  361. package/dist/esm/graphql/types.js +1 -0
  362. package/dist/esm/graphql/types.js.map +7 -0
  363. package/dist/esm/keypairs/ed25519/ed25519-hd-key.d.ts +13 -0
  364. package/dist/esm/keypairs/ed25519/ed25519-hd-key.js +71 -0
  365. package/dist/esm/keypairs/ed25519/ed25519-hd-key.js.map +7 -0
  366. package/dist/esm/keypairs/ed25519/index.d.ts +2 -0
  367. package/dist/esm/keypairs/ed25519/index.js +11 -0
  368. package/dist/esm/keypairs/ed25519/index.js.map +7 -0
  369. package/dist/esm/keypairs/ed25519/keypair.d.ts +74 -0
  370. package/dist/esm/keypairs/ed25519/keypair.js +121 -0
  371. package/dist/esm/keypairs/ed25519/keypair.js.map +7 -0
  372. package/dist/esm/keypairs/ed25519/publickey.d.ts +30 -0
  373. package/dist/esm/keypairs/ed25519/publickey.js +69 -0
  374. package/dist/esm/keypairs/ed25519/publickey.js.map +7 -0
  375. package/dist/esm/keypairs/secp256k1/index.d.ts +2 -0
  376. package/dist/esm/keypairs/secp256k1/index.js +11 -0
  377. package/dist/esm/keypairs/secp256k1/index.js.map +7 -0
  378. package/dist/esm/keypairs/secp256k1/keypair.d.ts +73 -0
  379. package/dist/esm/keypairs/secp256k1/keypair.js +123 -0
  380. package/dist/esm/keypairs/secp256k1/keypair.js.map +7 -0
  381. package/dist/esm/keypairs/secp256k1/publickey.d.ts +30 -0
  382. package/dist/esm/keypairs/secp256k1/publickey.js +74 -0
  383. package/dist/esm/keypairs/secp256k1/publickey.js.map +7 -0
  384. package/dist/esm/keypairs/secp256r1/index.d.ts +2 -0
  385. package/dist/esm/keypairs/secp256r1/index.js +11 -0
  386. package/dist/esm/keypairs/secp256r1/index.js.map +7 -0
  387. package/dist/esm/keypairs/secp256r1/keypair.d.ts +73 -0
  388. package/dist/esm/keypairs/secp256r1/keypair.js +117 -0
  389. package/dist/esm/keypairs/secp256r1/keypair.js.map +7 -0
  390. package/dist/esm/keypairs/secp256r1/publickey.d.ts +30 -0
  391. package/dist/esm/keypairs/secp256r1/publickey.js +74 -0
  392. package/dist/esm/keypairs/secp256r1/publickey.js.map +7 -0
  393. package/dist/esm/multisig/index.d.ts +2 -0
  394. package/dist/esm/multisig/index.js +8 -0
  395. package/dist/esm/multisig/index.js.map +7 -0
  396. package/dist/esm/multisig/publickey.d.ts +110 -0
  397. package/dist/esm/multisig/publickey.js +243 -0
  398. package/dist/esm/multisig/publickey.js.map +7 -0
  399. package/dist/esm/multisig/signer.d.ts +19 -0
  400. package/dist/esm/multisig/signer.js +95 -0
  401. package/dist/esm/multisig/signer.js.map +7 -0
  402. package/dist/esm/package.json +5 -0
  403. package/dist/esm/transactions/Commands.d.ts +110 -0
  404. package/dist/esm/transactions/Commands.js +120 -0
  405. package/dist/esm/transactions/Commands.js.map +7 -0
  406. package/dist/esm/transactions/Inputs.d.ts +22 -0
  407. package/dist/esm/transactions/Inputs.js +60 -0
  408. package/dist/esm/transactions/Inputs.js.map +7 -0
  409. package/dist/esm/transactions/ObjectCache.d.ts +85 -0
  410. package/dist/esm/transactions/ObjectCache.js +226 -0
  411. package/dist/esm/transactions/ObjectCache.js.map +7 -0
  412. package/dist/esm/transactions/Transaction.d.ts +672 -0
  413. package/dist/esm/transactions/Transaction.js +439 -0
  414. package/dist/esm/transactions/Transaction.js.map +7 -0
  415. package/dist/esm/transactions/TransactionData.d.ts +64 -0
  416. package/dist/esm/transactions/TransactionData.js +229 -0
  417. package/dist/esm/transactions/TransactionData.js.map +7 -0
  418. package/dist/esm/transactions/__tests__/Transaction.test.d.ts +1 -0
  419. package/dist/esm/transactions/__tests__/bcs.test.d.ts +1 -0
  420. package/dist/esm/transactions/data/internal.d.ts +2689 -0
  421. package/dist/esm/transactions/data/internal.js +208 -0
  422. package/dist/esm/transactions/data/internal.js.map +7 -0
  423. package/dist/esm/transactions/data/v1.d.ts +1839 -0
  424. package/dist/esm/transactions/data/v1.js +437 -0
  425. package/dist/esm/transactions/data/v1.js.map +7 -0
  426. package/dist/esm/transactions/data/v2.d.ts +450 -0
  427. package/dist/esm/transactions/data/v2.js +118 -0
  428. package/dist/esm/transactions/data/v2.js.map +7 -0
  429. package/dist/esm/transactions/executor/caching.d.ts +29 -0
  430. package/dist/esm/transactions/executor/caching.js +89 -0
  431. package/dist/esm/transactions/executor/caching.js.map +7 -0
  432. package/dist/esm/transactions/executor/parallel.d.ts +22 -0
  433. package/dist/esm/transactions/executor/parallel.js +296 -0
  434. package/dist/esm/transactions/executor/parallel.js.map +7 -0
  435. package/dist/esm/transactions/executor/queue.d.ts +11 -0
  436. package/dist/esm/transactions/executor/queue.js +72 -0
  437. package/dist/esm/transactions/executor/queue.js.map +7 -0
  438. package/dist/esm/transactions/executor/serial.d.ts +27 -0
  439. package/dist/esm/transactions/executor/serial.js +120 -0
  440. package/dist/esm/transactions/executor/serial.js.map +7 -0
  441. package/dist/esm/transactions/hash.d.ts +7 -0
  442. package/dist/esm/transactions/hash.js +12 -0
  443. package/dist/esm/transactions/hash.js.map +7 -0
  444. package/dist/esm/transactions/index.d.ts +13 -0
  445. package/dist/esm/transactions/index.js +33 -0
  446. package/dist/esm/transactions/index.js.map +7 -0
  447. package/dist/esm/transactions/intents/CoinWithBalance.d.ts +6 -0
  448. package/dist/esm/transactions/intents/CoinWithBalance.js +148 -0
  449. package/dist/esm/transactions/intents/CoinWithBalance.js.map +7 -0
  450. package/dist/esm/transactions/json-rpc-resolver.d.ts +12 -0
  451. package/dist/esm/transactions/json-rpc-resolver.js +333 -0
  452. package/dist/esm/transactions/json-rpc-resolver.js.map +7 -0
  453. package/dist/esm/transactions/pure.d.ts +185 -0
  454. package/dist/esm/transactions/pure.js +21 -0
  455. package/dist/esm/transactions/pure.js.map +7 -0
  456. package/dist/esm/transactions/serializer.d.ts +7 -0
  457. package/dist/esm/transactions/serializer.js +156 -0
  458. package/dist/esm/transactions/serializer.js.map +7 -0
  459. package/dist/esm/transactions/utils.d.ts +8 -0
  460. package/dist/esm/transactions/utils.js +46 -0
  461. package/dist/esm/transactions/utils.js.map +7 -0
  462. package/dist/esm/utils/constants.d.ts +9 -0
  463. package/dist/esm/utils/constants.js +22 -0
  464. package/dist/esm/utils/constants.js.map +7 -0
  465. package/dist/esm/utils/format.d.ts +2 -0
  466. package/dist/esm/utils/format.js +16 -0
  467. package/dist/esm/utils/format.js.map +7 -0
  468. package/dist/esm/utils/index.d.ts +5 -0
  469. package/dist/esm/utils/index.js +52 -0
  470. package/dist/esm/utils/index.js.map +7 -0
  471. package/dist/esm/utils/sui-types.d.ts +27 -0
  472. package/dist/esm/utils/sui-types.js +70 -0
  473. package/dist/esm/utils/sui-types.js.map +7 -0
  474. package/dist/esm/utils/suins.d.ts +2 -0
  475. package/dist/esm/utils/suins.js +37 -0
  476. package/dist/esm/utils/suins.js.map +7 -0
  477. package/dist/esm/verify/index.d.ts +1 -0
  478. package/dist/esm/verify/index.js +15 -0
  479. package/dist/esm/verify/index.js.map +7 -0
  480. package/dist/esm/verify/verify.d.ts +11 -0
  481. package/dist/esm/verify/verify.js +81 -0
  482. package/dist/esm/verify/verify.js.map +7 -0
  483. package/dist/esm/version.d.ts +2 -0
  484. package/dist/esm/version.js +7 -0
  485. package/dist/esm/version.js.map +7 -0
  486. package/dist/esm/zklogin/address.d.ts +1 -0
  487. package/dist/esm/zklogin/address.js +24 -0
  488. package/dist/esm/zklogin/address.js.map +7 -0
  489. package/dist/esm/zklogin/bcs.d.ts +46 -0
  490. package/dist/esm/zklogin/bcs.js +22 -0
  491. package/dist/esm/zklogin/bcs.js.map +7 -0
  492. package/dist/esm/zklogin/index.d.ts +5 -0
  493. package/dist/esm/zklogin/index.js +13 -0
  494. package/dist/esm/zklogin/index.js.map +7 -0
  495. package/dist/esm/zklogin/jwt-utils.d.ts +5 -0
  496. package/dist/esm/zklogin/jwt-utils.js +82 -0
  497. package/dist/esm/zklogin/jwt-utils.js.map +7 -0
  498. package/dist/esm/zklogin/publickey.d.ts +69 -0
  499. package/dist/esm/zklogin/publickey.js +177 -0
  500. package/dist/esm/zklogin/publickey.js.map +7 -0
  501. package/dist/esm/zklogin/signature.d.ts +23 -0
  502. package/dist/esm/zklogin/signature.js +28 -0
  503. package/dist/esm/zklogin/signature.js.map +7 -0
  504. package/dist/esm/zklogin/utils.d.ts +2 -0
  505. package/dist/esm/zklogin/utils.js +26 -0
  506. package/dist/esm/zklogin/utils.js.map +7 -0
  507. package/dist/tsconfig.esm.tsbuildinfo +1 -0
  508. package/dist/tsconfig.tsbuildinfo +1 -0
  509. package/faucet/package.json +6 -0
  510. package/graphql/package.json +6 -0
  511. package/graphql/schemas/2024.1/package.json +6 -0
  512. package/graphql/schemas/2024.4/package.json +6 -0
  513. package/keypairs/ed25519/package.json +6 -0
  514. package/keypairs/secp256k1/package.json +6 -0
  515. package/keypairs/secp256r1/package.json +6 -0
  516. package/multisig/package.json +6 -0
  517. package/package.json +160 -0
  518. package/src/bcs/bcs.ts +300 -0
  519. package/src/bcs/effects.ts +200 -0
  520. package/src/bcs/index.ts +87 -0
  521. package/src/bcs/type-tag-serializer.ts +106 -0
  522. package/src/bcs/types.ts +113 -0
  523. package/src/client/client.ts +814 -0
  524. package/src/client/errors.ts +45 -0
  525. package/src/client/http-transport.ts +130 -0
  526. package/src/client/index.ts +21 -0
  527. package/src/client/network.ts +17 -0
  528. package/src/client/rpc-websocket-client.ts +234 -0
  529. package/src/client/types/chain.ts +122 -0
  530. package/src/client/types/changes.ts +11 -0
  531. package/src/client/types/coins.ts +9 -0
  532. package/src/client/types/common.ts +5 -0
  533. package/src/client/types/generated.ts +1508 -0
  534. package/src/client/types/index.ts +9 -0
  535. package/src/client/types/params.ts +584 -0
  536. package/src/cryptography/index.ts +36 -0
  537. package/src/cryptography/intent.ts +22 -0
  538. package/src/cryptography/keypair.ts +130 -0
  539. package/src/cryptography/mnemonics.ts +49 -0
  540. package/src/cryptography/publickey.ts +133 -0
  541. package/src/cryptography/signature-scheme.ts +28 -0
  542. package/src/cryptography/signature.ts +86 -0
  543. package/src/faucet/faucet.ts +130 -0
  544. package/src/faucet/index.ts +10 -0
  545. package/src/graphql/client.ts +110 -0
  546. package/src/graphql/generated/2024-01/tada-env.d.ts +202 -0
  547. package/src/graphql/generated/2024.1/schema.graphql +4168 -0
  548. package/src/graphql/generated/2024.1/tada-env.d.ts +201 -0
  549. package/src/graphql/generated/2024.1/tsconfig.tada.json +11 -0
  550. package/src/graphql/generated/2024.4/schema.graphql +4183 -0
  551. package/src/graphql/generated/2024.4/tada-env.d.ts +202 -0
  552. package/src/graphql/generated/2024.4/tsconfig.tada.json +11 -0
  553. package/src/graphql/index.ts +12 -0
  554. package/src/graphql/schemas/2024.1/index.ts +17 -0
  555. package/src/graphql/schemas/2024.4/index.ts +17 -0
  556. package/src/graphql/types.ts +86 -0
  557. package/src/keypairs/ed25519/ed25519-hd-key.ts +93 -0
  558. package/src/keypairs/ed25519/index.ts +9 -0
  559. package/src/keypairs/ed25519/keypair.ts +151 -0
  560. package/src/keypairs/ed25519/publickey.ts +86 -0
  561. package/src/keypairs/secp256k1/index.ts +9 -0
  562. package/src/keypairs/secp256k1/keypair.ts +151 -0
  563. package/src/keypairs/secp256k1/publickey.ts +91 -0
  564. package/src/keypairs/secp256r1/index.ts +9 -0
  565. package/src/keypairs/secp256r1/keypair.ts +147 -0
  566. package/src/keypairs/secp256r1/publickey.ts +91 -0
  567. package/src/multisig/index.ts +5 -0
  568. package/src/multisig/publickey.ts +356 -0
  569. package/src/multisig/signer.ts +92 -0
  570. package/src/transactions/Commands.ts +178 -0
  571. package/src/transactions/Inputs.ts +68 -0
  572. package/src/transactions/ObjectCache.ts +296 -0
  573. package/src/transactions/Transaction.ts +553 -0
  574. package/src/transactions/TransactionData.ts +296 -0
  575. package/src/transactions/__tests__/Transaction.test.ts +184 -0
  576. package/src/transactions/__tests__/bcs.test.ts +205 -0
  577. package/src/transactions/data/internal.ts +321 -0
  578. package/src/transactions/data/v1.ts +501 -0
  579. package/src/transactions/data/v2.ts +146 -0
  580. package/src/transactions/executor/caching.ts +94 -0
  581. package/src/transactions/executor/parallel.ts +335 -0
  582. package/src/transactions/executor/queue.ts +65 -0
  583. package/src/transactions/executor/serial.ts +131 -0
  584. package/src/transactions/hash.ts +20 -0
  585. package/src/transactions/index.ts +41 -0
  586. package/src/transactions/intents/CoinWithBalance.ts +204 -0
  587. package/src/transactions/json-rpc-resolver.ts +482 -0
  588. package/src/transactions/pure.ts +32 -0
  589. package/src/transactions/serializer.ts +205 -0
  590. package/src/transactions/utils.ts +66 -0
  591. package/src/utils/constants.ts +15 -0
  592. package/src/utils/format.ts +19 -0
  593. package/src/utils/index.ts +29 -0
  594. package/src/utils/sui-types.ts +110 -0
  595. package/src/utils/suins.ts +43 -0
  596. package/src/verify/index.ts +11 -0
  597. package/src/verify/verify.ts +111 -0
  598. package/src/version.ts +7 -0
  599. package/src/zklogin/address.ts +27 -0
  600. package/src/zklogin/bcs.ts +26 -0
  601. package/src/zklogin/index.ts +8 -0
  602. package/src/zklogin/jwt-utils.ts +113 -0
  603. package/src/zklogin/publickey.ts +190 -0
  604. package/src/zklogin/signature.ts +37 -0
  605. package/src/zklogin/utils.ts +33 -0
  606. package/transactions/package.json +6 -0
  607. package/utils/package.json +6 -0
  608. package/verify/package.json +6 -0
  609. package/zklogin/package.json +6 -0
@@ -0,0 +1,4168 @@
1
+ type ActiveJwk {
2
+ """
3
+ The string (Issuing Authority) that identifies the OIDC provider.
4
+ """
5
+ iss: String!
6
+ """
7
+ The string (Key ID) that identifies the JWK among a set of JWKs, (RFC 7517, Section 4.5).
8
+ """
9
+ kid: String!
10
+ """
11
+ The JWK key type parameter, (RFC 7517, Section 4.1).
12
+ """
13
+ kty: String!
14
+ """
15
+ The JWK RSA public exponent, (RFC 7517, Section 9.3).
16
+ """
17
+ e: String!
18
+ """
19
+ The JWK RSA modulus, (RFC 7517, Section 9.3).
20
+ """
21
+ n: String!
22
+ """
23
+ The JWK algorithm parameter, (RFC 7517, Section 4.4).
24
+ """
25
+ alg: String!
26
+ """
27
+ The most recent epoch in which the JWK was validated.
28
+ """
29
+ epoch: Epoch
30
+ }
31
+
32
+ type ActiveJwkConnection {
33
+ """
34
+ Information to aid in pagination.
35
+ """
36
+ pageInfo: PageInfo!
37
+ """
38
+ A list of edges.
39
+ """
40
+ edges: [ActiveJwkEdge!]!
41
+ """
42
+ A list of nodes.
43
+ """
44
+ nodes: [ActiveJwk!]!
45
+ }
46
+
47
+ """
48
+ An edge in a connection.
49
+ """
50
+ type ActiveJwkEdge {
51
+ """
52
+ The item at the end of the edge
53
+ """
54
+ node: ActiveJwk!
55
+ """
56
+ A cursor for use in pagination
57
+ """
58
+ cursor: String!
59
+ }
60
+
61
+ """
62
+ The 32-byte address that is an account address (corresponding to a public key).
63
+ """
64
+ type Address implements IOwner {
65
+ address: SuiAddress!
66
+ """
67
+ Objects owned by this address, optionally `filter`-ed.
68
+ """
69
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection!
70
+ """
71
+ Total balance of all coins with marker type owned by this address. If type is not supplied,
72
+ it defaults to `0x2::sui::SUI`.
73
+ """
74
+ balance(type: String): Balance
75
+ """
76
+ The balances of all coin types owned by this address.
77
+ """
78
+ balances(first: Int, after: String, last: Int, before: String): BalanceConnection!
79
+ """
80
+ The coin objects for this address.
81
+
82
+ `type` is a filter on the coin's type parameter, defaulting to `0x2::sui::SUI`.
83
+ """
84
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
85
+ """
86
+ The `0x3::staking_pool::StakedSui` objects owned by this address.
87
+ """
88
+ stakedSuis(first: Int, after: String, last: Int, before: String): StakedSuiConnection!
89
+ """
90
+ The domain explicitly configured as the default domain pointing to this address.
91
+ """
92
+ defaultSuinsName: String
93
+ """
94
+ The SuinsRegistration NFTs owned by this address. These grant the owner the capability to
95
+ manage the associated domain.
96
+ """
97
+ suinsRegistrations(first: Int, after: String, last: Int, before: String): SuinsRegistrationConnection!
98
+ """
99
+ Similar behavior to the `transactionBlocks` in Query but supporting the additional
100
+ `AddressTransactionBlockRelationship` filter, which defaults to `SIGN`.
101
+ """
102
+ transactionBlocks(first: Int, after: String, last: Int, before: String, relation: AddressTransactionBlockRelationship, filter: TransactionBlockFilter): TransactionBlockConnection!
103
+ }
104
+
105
+ type AddressConnection {
106
+ """
107
+ Information to aid in pagination.
108
+ """
109
+ pageInfo: PageInfo!
110
+ """
111
+ A list of edges.
112
+ """
113
+ edges: [AddressEdge!]!
114
+ """
115
+ A list of nodes.
116
+ """
117
+ nodes: [Address!]!
118
+ }
119
+
120
+ """
121
+ An edge in a connection.
122
+ """
123
+ type AddressEdge {
124
+ """
125
+ The item at the end of the edge
126
+ """
127
+ node: Address!
128
+ """
129
+ A cursor for use in pagination
130
+ """
131
+ cursor: String!
132
+ }
133
+
134
+ """
135
+ An address-owned object is owned by a specific 32-byte address that is
136
+ either an account address (derived from a particular signature scheme) or
137
+ an object ID. An address-owned object is accessible only to its owner and no others.
138
+ """
139
+ type AddressOwner {
140
+ owner: Owner
141
+ }
142
+
143
+ """
144
+ The possible relationship types for a transaction block: sign, sent, received, or paid.
145
+ """
146
+ enum AddressTransactionBlockRelationship {
147
+ """
148
+ Transactions this address has signed either as a sender or as a sponsor.
149
+ """
150
+ SIGN
151
+ """
152
+ Transactions that sent objects to this address.
153
+ """
154
+ RECV
155
+ }
156
+
157
+ """
158
+ System transaction for creating the on-chain state used by zkLogin.
159
+ """
160
+ type AuthenticatorStateCreateTransaction {
161
+ """
162
+ A workaround to define an empty variant of a GraphQL union.
163
+ """
164
+ _: Boolean
165
+ }
166
+
167
+ type AuthenticatorStateExpireTransaction {
168
+ """
169
+ Expire JWKs that have a lower epoch than this.
170
+ """
171
+ minEpoch: Epoch
172
+ """
173
+ The initial version that the AuthenticatorStateUpdate was shared at.
174
+ """
175
+ authenticatorObjInitialSharedVersion: Int!
176
+ }
177
+
178
+ """
179
+ System transaction for updating the on-chain state used by zkLogin.
180
+ """
181
+ type AuthenticatorStateUpdateTransaction {
182
+ """
183
+ Epoch of the authenticator state update transaction.
184
+ """
185
+ epoch: Epoch
186
+ """
187
+ Consensus round of the authenticator state update.
188
+ """
189
+ round: Int!
190
+ """
191
+ Newly active JWKs (JSON Web Keys).
192
+ """
193
+ newActiveJwks(first: Int, after: String, last: Int, before: String): ActiveJwkConnection!
194
+ """
195
+ The initial version of the authenticator object that it was shared at.
196
+ """
197
+ authenticatorObjInitialSharedVersion: Int!
198
+ }
199
+
200
+ """
201
+ Range of checkpoints that the RPC is guaranteed to produce a consistent response for.
202
+ """
203
+ type AvailableRange {
204
+ first: Checkpoint
205
+ last: Checkpoint
206
+ }
207
+
208
+ """
209
+ The total balance for a particular coin type.
210
+ """
211
+ type Balance {
212
+ """
213
+ Coin type for the balance, such as 0x2::sui::SUI
214
+ """
215
+ coinType: MoveType!
216
+ """
217
+ How many coins of this type constitute the balance
218
+ """
219
+ coinObjectCount: Int
220
+ """
221
+ Total balance across all coin objects of the coin type
222
+ """
223
+ totalBalance: BigInt
224
+ }
225
+
226
+ """
227
+ Effects to the balance (sum of coin values per coin type) owned by an address or object.
228
+ """
229
+ type BalanceChange {
230
+ """
231
+ The address or object whose balance has changed.
232
+ """
233
+ owner: Owner
234
+ """
235
+ The inner type of the coin whose balance has changed (e.g. `0x2::sui::SUI`).
236
+ """
237
+ coinType: MoveType
238
+ """
239
+ The signed balance change.
240
+ """
241
+ amount: BigInt
242
+ }
243
+
244
+ type BalanceChangeConnection {
245
+ """
246
+ Information to aid in pagination.
247
+ """
248
+ pageInfo: PageInfo!
249
+ """
250
+ A list of edges.
251
+ """
252
+ edges: [BalanceChangeEdge!]!
253
+ """
254
+ A list of nodes.
255
+ """
256
+ nodes: [BalanceChange!]!
257
+ }
258
+
259
+ """
260
+ An edge in a connection.
261
+ """
262
+ type BalanceChangeEdge {
263
+ """
264
+ The item at the end of the edge
265
+ """
266
+ node: BalanceChange!
267
+ """
268
+ A cursor for use in pagination
269
+ """
270
+ cursor: String!
271
+ }
272
+
273
+ type BalanceConnection {
274
+ """
275
+ Information to aid in pagination.
276
+ """
277
+ pageInfo: PageInfo!
278
+ """
279
+ A list of edges.
280
+ """
281
+ edges: [BalanceEdge!]!
282
+ """
283
+ A list of nodes.
284
+ """
285
+ nodes: [Balance!]!
286
+ }
287
+
288
+ """
289
+ An edge in a connection.
290
+ """
291
+ type BalanceEdge {
292
+ """
293
+ The item at the end of the edge
294
+ """
295
+ node: Balance!
296
+ """
297
+ A cursor for use in pagination
298
+ """
299
+ cursor: String!
300
+ }
301
+
302
+ """
303
+ String containing Base64-encoded binary data.
304
+ """
305
+ scalar Base64
306
+
307
+ """
308
+ String representation of an arbitrary width, possibly signed integer.
309
+ """
310
+ scalar BigInt
311
+
312
+
313
+ """
314
+ A system transaction that updates epoch information on-chain (increments the current epoch).
315
+ Executed by the system once per epoch, without using gas. Epoch change transactions cannot be
316
+ submitted by users, because validators will refuse to sign them.
317
+
318
+ This transaction kind is deprecated in favour of `EndOfEpochTransaction`.
319
+ """
320
+ type ChangeEpochTransaction {
321
+ """
322
+ The next (to become) epoch.
323
+ """
324
+ epoch: Epoch
325
+ """
326
+ The protocol version in effect in the new epoch.
327
+ """
328
+ protocolVersion: Int!
329
+ """
330
+ The total amount of gas charged for storage during the previous epoch (in MIST).
331
+ """
332
+ storageCharge: BigInt!
333
+ """
334
+ The total amount of gas charged for computation during the previous epoch (in MIST).
335
+ """
336
+ computationCharge: BigInt!
337
+ """
338
+ The SUI returned to transaction senders for cleaning up objects (in MIST).
339
+ """
340
+ storageRebate: BigInt!
341
+ """
342
+ The total gas retained from storage fees, that will not be returned by storage rebates when
343
+ the relevant objects are cleaned up (in MIST).
344
+ """
345
+ nonRefundableStorageFee: BigInt!
346
+ """
347
+ Time at which the next epoch will start.
348
+ """
349
+ startTimestamp: DateTime!
350
+ """
351
+ System packages (specifically framework and move stdlib) that are written before the new
352
+ epoch starts, to upgrade them on-chain. Validators write these packages out when running the
353
+ transaction.
354
+ """
355
+ systemPackages(first: Int, after: String, last: Int, before: String): MovePackageConnection!
356
+ }
357
+
358
+ """
359
+ Checkpoints contain finalized transactions and are used for node synchronization
360
+ and global transaction ordering.
361
+ """
362
+ type Checkpoint {
363
+ """
364
+ A 32-byte hash that uniquely identifies the checkpoint contents, encoded in Base58. This
365
+ hash can be used to verify checkpoint contents by checking signatures against the committee,
366
+ Hashing contents to match digest, and checking that the previous checkpoint digest matches.
367
+ """
368
+ digest: String!
369
+ """
370
+ This checkpoint's position in the total order of finalized checkpoints, agreed upon by
371
+ consensus.
372
+ """
373
+ sequenceNumber: Int!
374
+ """
375
+ The timestamp at which the checkpoint is agreed to have happened according to consensus.
376
+ Transactions that access time in this checkpoint will observe this timestamp.
377
+ """
378
+ timestamp: DateTime!
379
+ """
380
+ This is an aggregation of signatures from a quorum of validators for the checkpoint
381
+ proposal.
382
+ """
383
+ validatorSignatures: Base64!
384
+ """
385
+ The digest of the checkpoint at the previous sequence number.
386
+ """
387
+ previousCheckpointDigest: String
388
+ """
389
+ The total number of transaction blocks in the network by the end of this checkpoint.
390
+ """
391
+ networkTotalTransactions: Int
392
+ """
393
+ The computation cost, storage cost, storage rebate, and non-refundable storage fee
394
+ accumulated during this epoch, up to and including this checkpoint. These values increase
395
+ monotonically across checkpoints in the same epoch, and reset on epoch boundaries.
396
+ """
397
+ rollingGasSummary: GasCostSummary
398
+ """
399
+ The epoch this checkpoint is part of.
400
+ """
401
+ epoch: Epoch
402
+ """
403
+ Transactions in this checkpoint.
404
+ """
405
+ transactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
406
+ }
407
+
408
+ type CheckpointConnection {
409
+ """
410
+ Information to aid in pagination.
411
+ """
412
+ pageInfo: PageInfo!
413
+ """
414
+ A list of edges.
415
+ """
416
+ edges: [CheckpointEdge!]!
417
+ """
418
+ A list of nodes.
419
+ """
420
+ nodes: [Checkpoint!]!
421
+ }
422
+
423
+ """
424
+ An edge in a connection.
425
+ """
426
+ type CheckpointEdge {
427
+ """
428
+ The item at the end of the edge
429
+ """
430
+ node: Checkpoint!
431
+ """
432
+ A cursor for use in pagination
433
+ """
434
+ cursor: String!
435
+ }
436
+
437
+ """
438
+ Filter either by the digest, or the sequence number, or neither, to get the latest checkpoint.
439
+ """
440
+ input CheckpointId {
441
+ digest: String
442
+ sequenceNumber: Int
443
+ }
444
+
445
+ """
446
+ Some 0x2::coin::Coin Move object.
447
+ """
448
+ type Coin implements IMoveObject & IObject & IOwner {
449
+ address: SuiAddress!
450
+ """
451
+ Objects owned by this object, optionally `filter`-ed.
452
+ """
453
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection!
454
+ """
455
+ Total balance of all coins with marker type owned by this object. If type is not supplied,
456
+ it defaults to `0x2::sui::SUI`.
457
+ """
458
+ balance(type: String): Balance
459
+ """
460
+ The balances of all coin types owned by this object.
461
+ """
462
+ balances(first: Int, after: String, last: Int, before: String): BalanceConnection!
463
+ """
464
+ The coin objects for this object.
465
+
466
+ `type` is a filter on the coin's type parameter, defaulting to `0x2::sui::SUI`.
467
+ """
468
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
469
+ """
470
+ The `0x3::staking_pool::StakedSui` objects owned by this object.
471
+ """
472
+ stakedSuis(first: Int, after: String, last: Int, before: String): StakedSuiConnection!
473
+ """
474
+ The domain explicitly configured as the default domain pointing to this object.
475
+ """
476
+ defaultSuinsName: String
477
+ """
478
+ The SuinsRegistration NFTs owned by this object. These grant the owner the capability to
479
+ manage the associated domain.
480
+ """
481
+ suinsRegistrations(first: Int, after: String, last: Int, before: String): SuinsRegistrationConnection!
482
+ version: Int!
483
+ """
484
+ The current status of the object as read from the off-chain store. The possible states are:
485
+ NOT_INDEXED, the object is loaded from serialized data, such as the contents of a genesis or
486
+ system package upgrade transaction. LIVE, the version returned is the most recent for the
487
+ object, and it is not deleted or wrapped at that version. HISTORICAL, the object was
488
+ referenced at a specific version or checkpoint, so is fetched from historical tables and may
489
+ not be the latest version of the object. WRAPPED_OR_DELETED, the object is deleted or
490
+ wrapped and only partial information can be loaded."
491
+ """
492
+ status: ObjectKind!
493
+ """
494
+ 32-byte hash that identifies the object's contents, encoded as a Base58 string.
495
+ """
496
+ digest: String
497
+ """
498
+ The owner type of this object: Immutable, Shared, Parent, Address
499
+ """
500
+ owner: ObjectOwner
501
+ """
502
+ The transaction block that created this version of the object.
503
+ """
504
+ previousTransactionBlock: TransactionBlock
505
+ """
506
+ The amount of SUI we would rebate if this object gets deleted or mutated. This number is
507
+ recalculated based on the present storage gas price.
508
+ """
509
+ storageRebate: BigInt
510
+ """
511
+ The transaction blocks that sent objects to this object.
512
+ """
513
+ receivedTransactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
514
+ """
515
+ The Base64-encoded BCS serialization of the object's content.
516
+ """
517
+ bcs: Base64
518
+ """
519
+ Displays the contents of the Move object in a JSON string and through GraphQL types. Also
520
+ provides the flat representation of the type signature, and the BCS of the corresponding
521
+ data.
522
+ """
523
+ contents: MoveValue
524
+ """
525
+ Determines whether a transaction can transfer this object, using the TransferObjects
526
+ transaction command or `sui::transfer::public_transfer`, both of which require the object to
527
+ have the `key` and `store` abilities.
528
+ """
529
+ hasPublicTransfer: Boolean!
530
+ """
531
+ The set of named templates defined on-chain for the type of this object, to be handled
532
+ off-chain. The server substitutes data from the object into these templates to generate a
533
+ display string per template.
534
+ """
535
+ display: [DisplayEntry!]
536
+ """
537
+ Access a dynamic field on an object using its name. Names are arbitrary Move values whose
538
+ type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS
539
+ contents, Base64 encoded.
540
+
541
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
542
+ type.
543
+ """
544
+ dynamicField(name: DynamicFieldName!): DynamicField
545
+ """
546
+ Access a dynamic object field on an object using its name. Names are arbitrary Move values
547
+ whose type have `copy`, `drop`, and `store`, and are specified using their type, and their
548
+ BCS contents, Base64 encoded. The value of a dynamic object field can also be accessed
549
+ off-chain directly via its address (e.g. using `Query.object`).
550
+
551
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
552
+ type.
553
+ """
554
+ dynamicObjectField(name: DynamicFieldName!): DynamicField
555
+ """
556
+ The dynamic fields and dynamic object fields on an object.
557
+
558
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
559
+ type.
560
+ """
561
+ dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection!
562
+ """
563
+ Balance of this coin object.
564
+ """
565
+ coinBalance: BigInt
566
+ }
567
+
568
+ type CoinConnection {
569
+ """
570
+ Information to aid in pagination.
571
+ """
572
+ pageInfo: PageInfo!
573
+ """
574
+ A list of edges.
575
+ """
576
+ edges: [CoinEdge!]!
577
+ """
578
+ A list of nodes.
579
+ """
580
+ nodes: [Coin!]!
581
+ }
582
+
583
+ type CoinDenyListStateCreateTransaction {
584
+ """
585
+ A workaround to define an empty variant of a GraphQL union.
586
+ """
587
+ _: Boolean
588
+ }
589
+
590
+ """
591
+ An edge in a connection.
592
+ """
593
+ type CoinEdge {
594
+ """
595
+ The item at the end of the edge
596
+ """
597
+ node: Coin!
598
+ """
599
+ A cursor for use in pagination
600
+ """
601
+ cursor: String!
602
+ }
603
+
604
+ """
605
+ The metadata for a coin type.
606
+ """
607
+ type CoinMetadata implements IMoveObject & IObject & IOwner {
608
+ address: SuiAddress!
609
+ """
610
+ Objects owned by this object, optionally `filter`-ed.
611
+ """
612
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection!
613
+ """
614
+ Total balance of all coins with marker type owned by this object. If type is not supplied,
615
+ it defaults to `0x2::sui::SUI`.
616
+ """
617
+ balance(type: String): Balance
618
+ """
619
+ The balances of all coin types owned by this object.
620
+ """
621
+ balances(first: Int, after: String, last: Int, before: String): BalanceConnection!
622
+ """
623
+ The coin objects for this object.
624
+
625
+ `type` is a filter on the coin's type parameter, defaulting to `0x2::sui::SUI`.
626
+ """
627
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
628
+ """
629
+ The `0x3::staking_pool::StakedSui` objects owned by this object.
630
+ """
631
+ stakedSuis(first: Int, after: String, last: Int, before: String): StakedSuiConnection!
632
+ """
633
+ The domain explicitly configured as the default domain pointing to this object.
634
+ """
635
+ defaultSuinsName: String
636
+ """
637
+ The SuinsRegistration NFTs owned by this object. These grant the owner the capability to
638
+ manage the associated domain.
639
+ """
640
+ suinsRegistrations(first: Int, after: String, last: Int, before: String): SuinsRegistrationConnection!
641
+ version: Int!
642
+ """
643
+ The current status of the object as read from the off-chain store. The possible states are:
644
+ NOT_INDEXED, the object is loaded from serialized data, such as the contents of a genesis or
645
+ system package upgrade transaction. LIVE, the version returned is the most recent for the
646
+ object, and it is not deleted or wrapped at that version. HISTORICAL, the object was
647
+ referenced at a specific version or checkpoint, so is fetched from historical tables and may
648
+ not be the latest version of the object. WRAPPED_OR_DELETED, the object is deleted or
649
+ wrapped and only partial information can be loaded."
650
+ """
651
+ status: ObjectKind!
652
+ """
653
+ 32-byte hash that identifies the object's contents, encoded as a Base58 string.
654
+ """
655
+ digest: String
656
+ """
657
+ The owner type of this object: Immutable, Shared, Parent, Address
658
+ """
659
+ owner: ObjectOwner
660
+ """
661
+ The transaction block that created this version of the object.
662
+ """
663
+ previousTransactionBlock: TransactionBlock
664
+ """
665
+ The amount of SUI we would rebate if this object gets deleted or mutated. This number is
666
+ recalculated based on the present storage gas price.
667
+ """
668
+ storageRebate: BigInt
669
+ """
670
+ The transaction blocks that sent objects to this object.
671
+ """
672
+ receivedTransactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
673
+ """
674
+ The Base64-encoded BCS serialization of the object's content.
675
+ """
676
+ bcs: Base64
677
+ """
678
+ Displays the contents of the Move object in a JSON string and through GraphQL types. Also
679
+ provides the flat representation of the type signature, and the BCS of the corresponding
680
+ data.
681
+ """
682
+ contents: MoveValue
683
+ """
684
+ Determines whether a transaction can transfer this object, using the TransferObjects
685
+ transaction command or `sui::transfer::public_transfer`, both of which require the object to
686
+ have the `key` and `store` abilities.
687
+ """
688
+ hasPublicTransfer: Boolean!
689
+ """
690
+ The set of named templates defined on-chain for the type of this object, to be handled
691
+ off-chain. The server substitutes data from the object into these templates to generate a
692
+ display string per template.
693
+ """
694
+ display: [DisplayEntry!]
695
+ """
696
+ Access a dynamic field on an object using its name. Names are arbitrary Move values whose
697
+ type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS
698
+ contents, Base64 encoded.
699
+
700
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
701
+ type.
702
+ """
703
+ dynamicField(name: DynamicFieldName!): DynamicField
704
+ """
705
+ Access a dynamic object field on an object using its name. Names are arbitrary Move values
706
+ whose type have `copy`, `drop`, and `store`, and are specified using their type, and their
707
+ BCS contents, Base64 encoded. The value of a dynamic object field can also be accessed
708
+ off-chain directly via its address (e.g. using `Query.object`).
709
+
710
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
711
+ type.
712
+ """
713
+ dynamicObjectField(name: DynamicFieldName!): DynamicField
714
+ """
715
+ The dynamic fields and dynamic object fields on an object.
716
+
717
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
718
+ type.
719
+ """
720
+ dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection!
721
+ """
722
+ The number of decimal places used to represent the token.
723
+ """
724
+ decimals: Int
725
+ """
726
+ Full, official name of the token.
727
+ """
728
+ name: String
729
+ """
730
+ The token's identifying abbreviation.
731
+ """
732
+ symbol: String
733
+ """
734
+ Optional description of the token, provided by the creator of the token.
735
+ """
736
+ description: String
737
+ iconUrl: String
738
+ """
739
+ The overall quantity of tokens that will be issued.
740
+ """
741
+ supply: BigInt
742
+ }
743
+
744
+ """
745
+ System transaction that runs at the beginning of a checkpoint, and is responsible for setting
746
+ the current value of the clock, based on the timestamp from consensus.
747
+ """
748
+ type ConsensusCommitPrologueTransaction {
749
+ """
750
+ Epoch of the commit prologue transaction.
751
+ """
752
+ epoch: Epoch
753
+ """
754
+ Consensus round of the commit.
755
+ """
756
+ round: Int!
757
+ """
758
+ Unix timestamp from consensus.
759
+ """
760
+ commitTimestamp: DateTime!
761
+ """
762
+ Digest of consensus output, encoded as a Base58 string (only available from V2 of the
763
+ transaction).
764
+ """
765
+ consensusCommitDigest: String
766
+ }
767
+
768
+ """
769
+ ISO-8601 Date and Time: RFC3339 in UTC with format: YYYY-MM-DDTHH:MM:SS.mmmZ. Note that the milliseconds part is optional, and it may be omitted if its value is 0.
770
+ """
771
+ scalar DateTime
772
+
773
+ type DependencyConnection {
774
+ """
775
+ Information to aid in pagination.
776
+ """
777
+ pageInfo: PageInfo!
778
+ """
779
+ A list of edges.
780
+ """
781
+ edges: [DependencyEdge!]!
782
+ """
783
+ A list of nodes.
784
+ """
785
+ nodes: [TransactionBlock!]!
786
+ }
787
+
788
+ """
789
+ An edge in a connection.
790
+ """
791
+ type DependencyEdge {
792
+ """
793
+ The item at the end of the edge
794
+ """
795
+ node: TransactionBlock
796
+ """
797
+ A cursor for use in pagination
798
+ """
799
+ cursor: String!
800
+ }
801
+
802
+ """
803
+ The set of named templates defined on-chain for the type of this object,
804
+ to be handled off-chain. The server substitutes data from the object
805
+ into these templates to generate a display string per template.
806
+ """
807
+ type DisplayEntry {
808
+ """
809
+ The identifier for a particular template string of the Display object.
810
+ """
811
+ key: String!
812
+ """
813
+ The template string for the key with placeholder values substituted.
814
+ """
815
+ value: String
816
+ """
817
+ An error string describing why the template could not be rendered.
818
+ """
819
+ error: String
820
+ }
821
+
822
+ type DryRunEffect {
823
+ """
824
+ Changes made to arguments that were mutably borrowed by each command in this transaction.
825
+ """
826
+ mutatedReferences: [DryRunMutation!]
827
+ """
828
+ Return results of each command in this transaction.
829
+ """
830
+ returnValues: [DryRunReturn!]
831
+ }
832
+
833
+ type DryRunMutation {
834
+ input: TransactionArgument!
835
+ type: MoveType!
836
+ bcs: Base64!
837
+ }
838
+
839
+ type DryRunResult {
840
+ """
841
+ The error that occurred during dry run execution, if any.
842
+ """
843
+ error: String
844
+ """
845
+ The intermediate results for each command of the dry run execution, including
846
+ contents of mutated references and return values.
847
+ """
848
+ results: [DryRunEffect!]
849
+ """
850
+ The transaction block representing the dry run execution.
851
+ """
852
+ transaction: TransactionBlock
853
+ }
854
+
855
+ type DryRunReturn {
856
+ type: MoveType!
857
+ bcs: Base64!
858
+ }
859
+
860
+ """
861
+ Dynamic fields are heterogeneous fields that can be added or removed at runtime,
862
+ and can have arbitrary user-assigned names. There are two sub-types of dynamic
863
+ fields:
864
+
865
+ 1) Dynamic Fields can store any value that has the `store` ability, however an object
866
+ stored in this kind of field will be considered wrapped and will not be accessible
867
+ directly via its ID by external tools (explorers, wallets, etc) accessing storage.
868
+ 2) Dynamic Object Fields values must be Sui objects (have the `key` and `store`
869
+ abilities, and id: UID as the first field), but will still be directly accessible off-chain
870
+ via their object ID after being attached.
871
+ """
872
+ type DynamicField {
873
+ """
874
+ The string type, data, and serialized value of the DynamicField's 'name' field.
875
+ This field is used to uniquely identify a child of the parent object.
876
+ """
877
+ name: MoveValue
878
+ """
879
+ The actual data stored in the dynamic field.
880
+ The returned dynamic field is an object if its return type is MoveObject,
881
+ in which case it is also accessible off-chain via its address.
882
+ """
883
+ value: DynamicFieldValue
884
+ }
885
+
886
+ type DynamicFieldConnection {
887
+ """
888
+ Information to aid in pagination.
889
+ """
890
+ pageInfo: PageInfo!
891
+ """
892
+ A list of edges.
893
+ """
894
+ edges: [DynamicFieldEdge!]!
895
+ """
896
+ A list of nodes.
897
+ """
898
+ nodes: [DynamicField!]!
899
+ }
900
+
901
+ """
902
+ An edge in a connection.
903
+ """
904
+ type DynamicFieldEdge {
905
+ """
906
+ The item at the end of the edge
907
+ """
908
+ node: DynamicField!
909
+ """
910
+ A cursor for use in pagination
911
+ """
912
+ cursor: String!
913
+ }
914
+
915
+ input DynamicFieldName {
916
+ """
917
+ The string type of the DynamicField's 'name' field.
918
+ A string representation of a Move primitive like 'u64', or a struct type like '0x2::kiosk::Listing'
919
+ """
920
+ type: String!
921
+ """
922
+ The Base64 encoded bcs serialization of the DynamicField's 'name' field.
923
+ """
924
+ bcs: Base64!
925
+ }
926
+
927
+ union DynamicFieldValue = MoveObject | MoveValue
928
+
929
+ """
930
+ System transaction that supersedes `ChangeEpochTransaction` as the new way to run transactions
931
+ at the end of an epoch. Behaves similarly to `ChangeEpochTransaction` but can accommodate other
932
+ optional transactions to run at the end of the epoch.
933
+ """
934
+ type EndOfEpochTransaction {
935
+ """
936
+ The list of system transactions that are allowed to run at the end of the epoch.
937
+ """
938
+ transactions(first: Int, before: String, last: Int, after: String): EndOfEpochTransactionKindConnection!
939
+ }
940
+
941
+ union EndOfEpochTransactionKind = ChangeEpochTransaction | AuthenticatorStateCreateTransaction | AuthenticatorStateExpireTransaction | RandomnessStateCreateTransaction | CoinDenyListStateCreateTransaction
942
+
943
+ type EndOfEpochTransactionKindConnection {
944
+ """
945
+ Information to aid in pagination.
946
+ """
947
+ pageInfo: PageInfo!
948
+ """
949
+ A list of edges.
950
+ """
951
+ edges: [EndOfEpochTransactionKindEdge!]!
952
+ """
953
+ A list of nodes.
954
+ """
955
+ nodes: [EndOfEpochTransactionKind!]!
956
+ }
957
+
958
+ """
959
+ An edge in a connection.
960
+ """
961
+ type EndOfEpochTransactionKindEdge {
962
+ """
963
+ The item at the end of the edge
964
+ """
965
+ node: EndOfEpochTransactionKind!
966
+ """
967
+ A cursor for use in pagination
968
+ """
969
+ cursor: String!
970
+ }
971
+
972
+ """
973
+ Operation of the Sui network is temporally partitioned into non-overlapping epochs,
974
+ and the network aims to keep epochs roughly the same duration as each other.
975
+ During a particular epoch the following data is fixed:
976
+
977
+ - the protocol version
978
+ - the reference gas price
979
+ - the set of participating validators
980
+ """
981
+ type Epoch {
982
+ """
983
+ The epoch's id as a sequence number that starts at 0 and is incremented by one at every epoch change.
984
+ """
985
+ epochId: Int!
986
+ """
987
+ The minimum gas price that a quorum of validators are guaranteed to sign a transaction for.
988
+ """
989
+ referenceGasPrice: BigInt
990
+ """
991
+ Validator related properties, including the active validators.
992
+ """
993
+ validatorSet: ValidatorSet
994
+ """
995
+ The epoch's starting timestamp.
996
+ """
997
+ startTimestamp: DateTime!
998
+ """
999
+ The epoch's ending timestamp.
1000
+ """
1001
+ endTimestamp: DateTime
1002
+ """
1003
+ The total number of checkpoints in this epoch.
1004
+ """
1005
+ totalCheckpoints: BigInt
1006
+ """
1007
+ The total number of transaction blocks in this epoch.
1008
+ """
1009
+ totalTransactions: Int
1010
+ """
1011
+ The total amount of gas fees (in MIST) that were paid in this epoch.
1012
+ """
1013
+ totalGasFees: BigInt
1014
+ """
1015
+ The total MIST rewarded as stake.
1016
+ """
1017
+ totalStakeRewards: BigInt
1018
+ """
1019
+ The amount added to total gas fees to make up the total stake rewards.
1020
+ """
1021
+ totalStakeSubsidies: BigInt
1022
+ """
1023
+ The storage fund available in this epoch.
1024
+ This fund is used to redistribute storage fees from past transactions
1025
+ to future validators.
1026
+ """
1027
+ fundSize: BigInt
1028
+ """
1029
+ The difference between the fund inflow and outflow, representing
1030
+ the net amount of storage fees accumulated in this epoch.
1031
+ """
1032
+ netInflow: BigInt
1033
+ """
1034
+ The storage fees paid for transactions executed during the epoch.
1035
+ """
1036
+ fundInflow: BigInt
1037
+ """
1038
+ The storage fee rebates paid to users who deleted the data associated with past
1039
+ transactions.
1040
+ """
1041
+ fundOutflow: BigInt
1042
+ """
1043
+ The epoch's corresponding protocol configuration, including the feature flags and the
1044
+ configuration options.
1045
+ """
1046
+ protocolConfigs: ProtocolConfigs!
1047
+ """
1048
+ SUI set aside to account for objects stored on-chain, at the start of the epoch.
1049
+ This is also used for storage rebates.
1050
+ """
1051
+ storageFund: StorageFund
1052
+ """
1053
+ Information about whether this epoch was started in safe mode, which happens if the full epoch
1054
+ change logic fails for some reason.
1055
+ """
1056
+ safeMode: SafeMode
1057
+ """
1058
+ The value of the `version` field of `0x5`, the `0x3::sui::SuiSystemState` object. This
1059
+ version changes whenever the fields contained in the system state object (held in a dynamic
1060
+ field attached to `0x5`) change.
1061
+ """
1062
+ systemStateVersion: Int
1063
+ """
1064
+ Details of the system that are decided during genesis.
1065
+ """
1066
+ systemParameters: SystemParameters
1067
+ """
1068
+ Parameters related to the subsidy that supplements staking rewards
1069
+ """
1070
+ systemStakeSubsidy: StakeSubsidy
1071
+ """
1072
+ A commitment by the committee at the end of epoch on the contents of the live object set at
1073
+ that time. This can be used to verify state snapshots.
1074
+ """
1075
+ liveObjectSetDigest: String
1076
+ """
1077
+ The epoch's corresponding checkpoints.
1078
+ """
1079
+ checkpoints(first: Int, after: String, last: Int, before: String): CheckpointConnection!
1080
+ """
1081
+ The epoch's corresponding transaction blocks.
1082
+ """
1083
+ transactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
1084
+ }
1085
+
1086
+ type Event {
1087
+ """
1088
+ The Move module containing some function that when called by
1089
+ a programmable transaction block (PTB) emitted this event.
1090
+ For example, if a PTB invokes A::m1::foo, which internally
1091
+ calls A::m2::emit_event to emit an event,
1092
+ the sending module would be A::m1.
1093
+ """
1094
+ sendingModule: MoveModule
1095
+ """
1096
+ Address of the sender of the event
1097
+ """
1098
+ sender: Address
1099
+ """
1100
+ UTC timestamp in milliseconds since epoch (1/1/1970)
1101
+ """
1102
+ timestamp: DateTime
1103
+ """
1104
+ The value's Move type.
1105
+ """
1106
+ type: MoveType!
1107
+ """
1108
+ The BCS representation of this value, Base64 encoded.
1109
+ """
1110
+ bcs: Base64!
1111
+ """
1112
+ Structured contents of a Move value.
1113
+ """
1114
+ data: MoveData!
1115
+ """
1116
+ Representation of a Move value in JSON, where:
1117
+
1118
+ - Addresses, IDs, and UIDs are represented in canonical form, as JSON strings.
1119
+ - Bools are represented by JSON boolean literals.
1120
+ - u8, u16, and u32 are represented as JSON numbers.
1121
+ - u64, u128, and u256 are represented as JSON strings.
1122
+ - Vectors are represented by JSON arrays.
1123
+ - Structs are represented by JSON objects.
1124
+ - Empty optional values are represented by `null`.
1125
+
1126
+ This form is offered as a less verbose convenience in cases where the layout of the type is
1127
+ known by the client.
1128
+ """
1129
+ json: JSON!
1130
+ }
1131
+
1132
+ type EventConnection {
1133
+ """
1134
+ Information to aid in pagination.
1135
+ """
1136
+ pageInfo: PageInfo!
1137
+ """
1138
+ A list of edges.
1139
+ """
1140
+ edges: [EventEdge!]!
1141
+ """
1142
+ A list of nodes.
1143
+ """
1144
+ nodes: [Event!]!
1145
+ }
1146
+
1147
+ """
1148
+ An edge in a connection.
1149
+ """
1150
+ type EventEdge {
1151
+ """
1152
+ The item at the end of the edge
1153
+ """
1154
+ node: Event!
1155
+ """
1156
+ A cursor for use in pagination
1157
+ """
1158
+ cursor: String!
1159
+ }
1160
+
1161
+ input EventFilter {
1162
+ sender: SuiAddress
1163
+ transactionDigest: String
1164
+ """
1165
+ Events emitted by a particular module. An event is emitted by a
1166
+ particular module if some function in the module is called by a
1167
+ PTB and emits an event.
1168
+
1169
+ Modules can be filtered by their package, or package::module.
1170
+ """
1171
+ emittingModule: String
1172
+ """
1173
+ This field is used to specify the type of event emitted.
1174
+
1175
+ Events can be filtered by their type's package, package::module,
1176
+ or their fully qualified type name.
1177
+
1178
+ Generic types can be queried by either the generic type name, e.g.
1179
+ `0x2::coin::Coin`, or by the full type name, such as
1180
+ `0x2::coin::Coin<0x2::sui::SUI>`.
1181
+ """
1182
+ eventType: String
1183
+ }
1184
+
1185
+ """
1186
+ The result of an execution, including errors that occurred during said execution.
1187
+ """
1188
+ type ExecutionResult {
1189
+ """
1190
+ The errors field captures any errors that occurred during execution
1191
+ """
1192
+ errors: [String!]
1193
+ """
1194
+ The effects of the executed transaction. Since the transaction was just executed
1195
+ and not indexed yet, fields including `balance_changes`, `timestamp` and `checkpoint`
1196
+ are not available.
1197
+ """
1198
+ effects: TransactionBlockEffects!
1199
+ }
1200
+
1201
+ """
1202
+ The execution status of this transaction block: success or failure.
1203
+ """
1204
+ enum ExecutionStatus {
1205
+ """
1206
+ The transaction block was successfully executed
1207
+ """
1208
+ SUCCESS
1209
+ """
1210
+ The transaction block could not be executed
1211
+ """
1212
+ FAILURE
1213
+ }
1214
+
1215
+ """
1216
+ Groups of features served by the RPC service. The GraphQL Service can be configured to enable
1217
+ or disable these features.
1218
+ """
1219
+ enum Feature {
1220
+ """
1221
+ Statistics about how the network was running (TPS, top packages, APY, etc)
1222
+ """
1223
+ ANALYTICS
1224
+ """
1225
+ Coin metadata, per-address coin and balance information.
1226
+ """
1227
+ COINS
1228
+ """
1229
+ Querying an object's dynamic fields.
1230
+ """
1231
+ DYNAMIC_FIELDS
1232
+ """
1233
+ SuiNS name and reverse name look-up.
1234
+ """
1235
+ NAME_SERVICE
1236
+ """
1237
+ Transaction and Event subscriptions.
1238
+ """
1239
+ SUBSCRIPTIONS
1240
+ """
1241
+ Aspects that affect the running of the system that are managed by the
1242
+ validators either directly, or through system transactions.
1243
+ """
1244
+ SYSTEM_STATE
1245
+ }
1246
+
1247
+
1248
+ """
1249
+ Access to the gas inputs, after they have been smashed into one coin. The gas coin can only be
1250
+ used by reference, except for with `TransferObjectsTransaction` that can accept it by value.
1251
+ """
1252
+ type GasCoin {
1253
+ """
1254
+ A workaround to define an empty variant of a GraphQL union.
1255
+ """
1256
+ _: Boolean
1257
+ }
1258
+
1259
+ """
1260
+ Breakdown of gas costs in effects.
1261
+ """
1262
+ type GasCostSummary {
1263
+ """
1264
+ Gas paid for executing this transaction (in MIST).
1265
+ """
1266
+ computationCost: BigInt
1267
+ """
1268
+ Gas paid for the data stored on-chain by this transaction (in MIST).
1269
+ """
1270
+ storageCost: BigInt
1271
+ """
1272
+ Part of storage cost that can be reclaimed by cleaning up data created by this transaction
1273
+ (when objects are deleted or an object is modified, which is treated as a deletion followed
1274
+ by a creation) (in MIST).
1275
+ """
1276
+ storageRebate: BigInt
1277
+ """
1278
+ Part of storage cost that is not reclaimed when data created by this transaction is cleaned
1279
+ up (in MIST).
1280
+ """
1281
+ nonRefundableStorageFee: BigInt
1282
+ }
1283
+
1284
+ """
1285
+ Effects related to gas (costs incurred and the identity of the smashed gas object returned).
1286
+ """
1287
+ type GasEffects {
1288
+ gasObject: Object
1289
+ gasSummary: GasCostSummary
1290
+ }
1291
+
1292
+ """
1293
+ Configuration for this transaction's gas price and the coins used to pay for gas.
1294
+ """
1295
+ type GasInput {
1296
+ """
1297
+ Address of the owner of the gas object(s) used
1298
+ """
1299
+ gasSponsor: Address
1300
+ """
1301
+ Objects used to pay for a transaction's execution and storage
1302
+ """
1303
+ gasPayment(first: Int, after: String, last: Int, before: String): ObjectConnection!
1304
+ """
1305
+ An unsigned integer specifying the number of native tokens per gas unit this transaction
1306
+ will pay (in MIST).
1307
+ """
1308
+ gasPrice: BigInt
1309
+ """
1310
+ The maximum number of gas units that can be expended by executing this transaction
1311
+ """
1312
+ gasBudget: BigInt
1313
+ }
1314
+
1315
+ """
1316
+ System transaction that initializes the network and writes the initial set of objects on-chain.
1317
+ """
1318
+ type GenesisTransaction {
1319
+ """
1320
+ Objects to be created during genesis.
1321
+ """
1322
+ objects(first: Int, after: String, last: Int, before: String): ObjectConnection!
1323
+ }
1324
+
1325
+
1326
+ """
1327
+ This interface is implemented by types that represent a Move object on-chain (A Move value whose
1328
+ type has `key`).
1329
+ """
1330
+ interface IMoveObject {
1331
+ """
1332
+ Displays the contents of the Move object in a JSON string and through GraphQL types. Also provides the flat representation of the type signature, and the BCS of the corresponding data.
1333
+ """
1334
+ contents: MoveValue
1335
+ """
1336
+ Determines whether a transaction can transfer this object, using the TransferObjects transaction command or `sui::transfer::public_transfer`, both of which require the object to have the `key` and `store` abilities.
1337
+ """
1338
+ hasPublicTransfer: Boolean!
1339
+ """
1340
+ The set of named templates defined on-chain for the type of this object, to be handled off-chain. The server substitutes data from the object into these templates to generate a display string per template.
1341
+ """
1342
+ display: [DisplayEntry!]
1343
+ """
1344
+ Access a dynamic field on an object using its name. Names are arbitrary Move values whose type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS contents, Base64 encoded.
1345
+
1346
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Ownertype.
1347
+ """
1348
+ dynamicField(name: DynamicFieldName!): DynamicField
1349
+ """
1350
+ Access a dynamic object field on an object using its name. Names are arbitrary Move values whose type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS contents, Base64 encoded. The value of a dynamic object field can also be accessed off-chain directly via its address (e.g. using `Query.object`).
1351
+
1352
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner type.
1353
+ """
1354
+ dynamicObjectField(name: DynamicFieldName!): DynamicField
1355
+ """
1356
+ The dynamic fields and dynamic object fields on an object.
1357
+
1358
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner type.
1359
+ """
1360
+ dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection!
1361
+ }
1362
+
1363
+ """
1364
+ Interface implemented by on-chain values that are addressable by an ID (also referred to as its
1365
+ address). This includes Move objects and packages.
1366
+ """
1367
+ interface IObject {
1368
+ version: Int!
1369
+ """
1370
+ The current status of the object as read from the off-chain store. The possible states are: NOT_INDEXED, the object is loaded from serialized data, such as the contents of a genesis or system package upgrade transaction. LIVE, the version returned is the most recent for the object, and it is not deleted or wrapped at that version. HISTORICAL, the object was referenced at a specific version or checkpoint, so is fetched from historical tables and may not be the latest version of the object. WRAPPED_OR_DELETED, the object is deleted or wrapped and only partial information can be loaded.
1371
+ """
1372
+ status: ObjectKind!
1373
+ """
1374
+ 32-byte hash that identifies the object's current contents, encoded as a Base58 string.
1375
+ """
1376
+ digest: String
1377
+ """
1378
+ The owner type of this object: Immutable, Shared, Parent, Address
1379
+ Immutable and Shared Objects do not have owners.
1380
+ """
1381
+ owner: ObjectOwner
1382
+ """
1383
+ The transaction block that created this version of the object.
1384
+ """
1385
+ previousTransactionBlock: TransactionBlock
1386
+ """
1387
+
1388
+ """
1389
+ storageRebate: BigInt
1390
+ """
1391
+ The transaction blocks that sent objects to this object.
1392
+ """
1393
+ receivedTransactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
1394
+ """
1395
+ The Base64-encoded BCS serialization of the object's content.
1396
+ """
1397
+ bcs: Base64
1398
+ }
1399
+
1400
+ """
1401
+ Interface implemented by GraphQL types representing entities that can own objects. Object owners
1402
+ are identified by an address which can represent either the public key of an account or another
1403
+ object. The same address can only refer to an account or an object, never both, but it is not
1404
+ possible to know which up-front.
1405
+ """
1406
+ interface IOwner {
1407
+ address: SuiAddress!
1408
+ """
1409
+ Objects owned by this object or address, optionally `filter`-ed.
1410
+ """
1411
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection!
1412
+ """
1413
+ Total balance of all coins with marker type owned by this object or address. If type is not supplied, it defaults to `0x2::sui::SUI`.
1414
+ """
1415
+ balance(type: String): Balance
1416
+ """
1417
+ The balances of all coin types owned by this object or address.
1418
+ """
1419
+ balances(first: Int, after: String, last: Int, before: String): BalanceConnection!
1420
+ """
1421
+ The coin objects for this object or address.
1422
+
1423
+ `type` is a filter on the coin's type parameter, defaulting to `0x2::sui::SUI`.
1424
+ """
1425
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
1426
+ """
1427
+ The `0x3::staking_pool::StakedSui` objects owned by this object or address.
1428
+ """
1429
+ stakedSuis(first: Int, after: String, last: Int, before: String): StakedSuiConnection!
1430
+ """
1431
+ The domain explicitly configured as the default domain pointing to this object or address.
1432
+ """
1433
+ defaultSuinsName: String
1434
+ """
1435
+ The SuinsRegistration NFTs owned by this object or address. These grant the owner the capability to manage the associated domain.
1436
+ """
1437
+ suinsRegistrations(first: Int, after: String, last: Int, before: String): SuinsRegistrationConnection!
1438
+ }
1439
+
1440
+ """
1441
+ An immutable object is an object that can't be mutated, transferred, or deleted.
1442
+ Immutable objects have no owner, so anyone can use them.
1443
+ """
1444
+ type Immutable {
1445
+ _: Boolean
1446
+ }
1447
+
1448
+ """
1449
+ One of the input objects or primitive values to the programmable transaction block.
1450
+ """
1451
+ type Input {
1452
+ """
1453
+ Index of the programmable transaction block input (0-indexed).
1454
+ """
1455
+ ix: Int!
1456
+ }
1457
+
1458
+
1459
+ """
1460
+ Arbitrary JSON data.
1461
+ """
1462
+ scalar JSON
1463
+
1464
+ """
1465
+ Information used by a package to link to a specific version of its dependency.
1466
+ """
1467
+ type Linkage {
1468
+ """
1469
+ The ID on-chain of the first version of the dependency.
1470
+ """
1471
+ originalId: SuiAddress!
1472
+ """
1473
+ The ID on-chain of the version of the dependency that this package depends on.
1474
+ """
1475
+ upgradedId: SuiAddress!
1476
+ """
1477
+ The version of the dependency that this package depends on.
1478
+ """
1479
+ version: Int!
1480
+ }
1481
+
1482
+ """
1483
+ Create a vector (possibly empty).
1484
+ """
1485
+ type MakeMoveVecTransaction {
1486
+ """
1487
+ If the elements are not objects, or the vector is empty, a type must be supplied.
1488
+ """
1489
+ type: MoveType
1490
+ """
1491
+ The values to pack into the vector, all of the same type.
1492
+ """
1493
+ elements: [TransactionArgument!]!
1494
+ }
1495
+
1496
+ """
1497
+ Merges `coins` into the first `coin` (produces no results).
1498
+ """
1499
+ type MergeCoinsTransaction {
1500
+ """
1501
+ The coin to merge into.
1502
+ """
1503
+ coin: TransactionArgument!
1504
+ """
1505
+ The coins to be merged.
1506
+ """
1507
+ coins: [TransactionArgument!]!
1508
+ }
1509
+
1510
+ """
1511
+ Abilities are keywords in Sui Move that define how types behave at the compiler level.
1512
+ """
1513
+ enum MoveAbility {
1514
+ """
1515
+ Enables values to be copied.
1516
+ """
1517
+ COPY
1518
+ """
1519
+ Enables values to be popped/dropped.
1520
+ """
1521
+ DROP
1522
+ """
1523
+ Enables values to be held directly in global storage.
1524
+ """
1525
+ KEY
1526
+ """
1527
+ Enables values to be held inside a struct in global storage.
1528
+ """
1529
+ STORE
1530
+ }
1531
+
1532
+ """
1533
+ A call to either an entry or a public Move function.
1534
+ """
1535
+ type MoveCallTransaction {
1536
+ """
1537
+ The storage ID of the package the function being called is defined in.
1538
+ """
1539
+ package: SuiAddress!
1540
+ """
1541
+ The name of the module the function being called is defined in.
1542
+ """
1543
+ module: String!
1544
+ """
1545
+ The name of the function being called.
1546
+ """
1547
+ functionName: String!
1548
+ """
1549
+ The function being called, resolved.
1550
+ """
1551
+ function: MoveFunction
1552
+ """
1553
+ The actual type parameters passed in for this move call.
1554
+ """
1555
+ typeArguments: [MoveType!]!
1556
+ """
1557
+ The actual function parameters passed in for this move call.
1558
+ """
1559
+ arguments: [TransactionArgument!]!
1560
+ }
1561
+
1562
+ """
1563
+ The contents of a Move Value, corresponding to the following recursive type:
1564
+
1565
+ type MoveData =
1566
+ { Address: SuiAddress }
1567
+ | { UID: SuiAddress }
1568
+ | { ID: SuiAddress }
1569
+ | { Bool: bool }
1570
+ | { Number: BigInt }
1571
+ | { String: string }
1572
+ | { Vector: [MoveData] }
1573
+ | { Option: MoveData? }
1574
+ | { Struct: [{ name: string, value: MoveData }] }
1575
+ """
1576
+ scalar MoveData
1577
+
1578
+ """
1579
+ Information for a particular field on a Move struct.
1580
+ """
1581
+ type MoveField {
1582
+ name: String!
1583
+ type: OpenMoveType
1584
+ }
1585
+
1586
+ """
1587
+ Signature of a function, defined in a Move module.
1588
+ """
1589
+ type MoveFunction {
1590
+ """
1591
+ The module this function was defined in.
1592
+ """
1593
+ module: MoveModule!
1594
+ """
1595
+ The function's (unqualified) name.
1596
+ """
1597
+ name: String!
1598
+ """
1599
+ The function's visibility: `public`, `public(friend)`, or `private`.
1600
+ """
1601
+ visibility: MoveVisibility
1602
+ """
1603
+ Whether the function has the `entry` modifier or not.
1604
+ """
1605
+ isEntry: Boolean
1606
+ """
1607
+ Constraints on the function's formal type parameters. Move bytecode does not name type
1608
+ parameters, so when they are referenced (e.g. in parameter and return types) they are
1609
+ identified by their index in this list.
1610
+ """
1611
+ typeParameters: [MoveFunctionTypeParameter!]
1612
+ """
1613
+ The function's parameter types. These types can reference type parameters introduce by this
1614
+ function (see `typeParameters`).
1615
+ """
1616
+ parameters: [OpenMoveType!]
1617
+ """
1618
+ The function's return types. There can be multiple because functions in Move can return
1619
+ multiple values. These types can reference type parameters introduced by this function (see
1620
+ `typeParameters`).
1621
+ """
1622
+ return: [OpenMoveType!]
1623
+ }
1624
+
1625
+ type MoveFunctionConnection {
1626
+ """
1627
+ Information to aid in pagination.
1628
+ """
1629
+ pageInfo: PageInfo!
1630
+ """
1631
+ A list of edges.
1632
+ """
1633
+ edges: [MoveFunctionEdge!]!
1634
+ """
1635
+ A list of nodes.
1636
+ """
1637
+ nodes: [MoveFunction!]!
1638
+ }
1639
+
1640
+ """
1641
+ An edge in a connection.
1642
+ """
1643
+ type MoveFunctionEdge {
1644
+ """
1645
+ The item at the end of the edge
1646
+ """
1647
+ node: MoveFunction!
1648
+ """
1649
+ A cursor for use in pagination
1650
+ """
1651
+ cursor: String!
1652
+ }
1653
+
1654
+ type MoveFunctionTypeParameter {
1655
+ constraints: [MoveAbility!]!
1656
+ }
1657
+
1658
+ """
1659
+ Represents a module in Move, a library that defines struct types
1660
+ and functions that operate on these types.
1661
+ """
1662
+ type MoveModule {
1663
+ """
1664
+ The package that this Move module was defined in
1665
+ """
1666
+ package: MovePackage!
1667
+ """
1668
+ The module's (unqualified) name.
1669
+ """
1670
+ name: String!
1671
+ """
1672
+ Format version of this module's bytecode.
1673
+ """
1674
+ fileFormatVersion: Int!
1675
+ """
1676
+ Modules that this module considers friends (these modules can access `public(friend)`
1677
+ functions from this module).
1678
+ """
1679
+ friends(first: Int, after: String, last: Int, before: String): MoveModuleConnection!
1680
+ """
1681
+ Look-up the definition of a struct defined in this module, by its name.
1682
+ """
1683
+ struct(name: String!): MoveStruct
1684
+ """
1685
+ Iterate through the structs defined in this module.
1686
+ """
1687
+ structs(first: Int, after: String, last: Int, before: String): MoveStructConnection
1688
+ """
1689
+ Look-up the signature of a function defined in this module, by its name.
1690
+ """
1691
+ function(name: String!): MoveFunction
1692
+ """
1693
+ Iterate through the signatures of functions defined in this module.
1694
+ """
1695
+ functions(first: Int, after: String, last: Int, before: String): MoveFunctionConnection
1696
+ """
1697
+ The Base64 encoded bcs serialization of the module.
1698
+ """
1699
+ bytes: Base64
1700
+ """
1701
+ Textual representation of the module's bytecode.
1702
+ """
1703
+ disassembly: String
1704
+ }
1705
+
1706
+ type MoveModuleConnection {
1707
+ """
1708
+ Information to aid in pagination.
1709
+ """
1710
+ pageInfo: PageInfo!
1711
+ """
1712
+ A list of edges.
1713
+ """
1714
+ edges: [MoveModuleEdge!]!
1715
+ """
1716
+ A list of nodes.
1717
+ """
1718
+ nodes: [MoveModule!]!
1719
+ }
1720
+
1721
+ """
1722
+ An edge in a connection.
1723
+ """
1724
+ type MoveModuleEdge {
1725
+ """
1726
+ The item at the end of the edge
1727
+ """
1728
+ node: MoveModule!
1729
+ """
1730
+ A cursor for use in pagination
1731
+ """
1732
+ cursor: String!
1733
+ }
1734
+
1735
+ """
1736
+ The representation of an object as a Move Object, which exposes additional information
1737
+ (content, module that governs it, version, is transferrable, etc.) about this object.
1738
+ """
1739
+ type MoveObject implements IMoveObject & IObject & IOwner {
1740
+ address: SuiAddress!
1741
+ """
1742
+ Objects owned by this object, optionally `filter`-ed.
1743
+ """
1744
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection!
1745
+ """
1746
+ Total balance of all coins with marker type owned by this object. If type is not supplied,
1747
+ it defaults to `0x2::sui::SUI`.
1748
+ """
1749
+ balance(type: String): Balance
1750
+ """
1751
+ The balances of all coin types owned by this object.
1752
+ """
1753
+ balances(first: Int, after: String, last: Int, before: String): BalanceConnection!
1754
+ """
1755
+ The coin objects for this object.
1756
+
1757
+ `type` is a filter on the coin's type parameter, defaulting to `0x2::sui::SUI`.
1758
+ """
1759
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
1760
+ """
1761
+ The `0x3::staking_pool::StakedSui` objects owned by this object.
1762
+ """
1763
+ stakedSuis(first: Int, after: String, last: Int, before: String): StakedSuiConnection!
1764
+ """
1765
+ The domain explicitly configured as the default domain pointing to this object.
1766
+ """
1767
+ defaultSuinsName: String
1768
+ """
1769
+ The SuinsRegistration NFTs owned by this object. These grant the owner the capability to
1770
+ manage the associated domain.
1771
+ """
1772
+ suinsRegistrations(first: Int, after: String, last: Int, before: String): SuinsRegistrationConnection!
1773
+ version: Int!
1774
+ """
1775
+ The current status of the object as read from the off-chain store. The possible states are:
1776
+ NOT_INDEXED, the object is loaded from serialized data, such as the contents of a genesis or
1777
+ system package upgrade transaction. LIVE, the version returned is the most recent for the
1778
+ object, and it is not deleted or wrapped at that version. HISTORICAL, the object was
1779
+ referenced at a specific version or checkpoint, so is fetched from historical tables and may
1780
+ not be the latest version of the object. WRAPPED_OR_DELETED, the object is deleted or
1781
+ wrapped and only partial information can be loaded."
1782
+ """
1783
+ status: ObjectKind!
1784
+ """
1785
+ 32-byte hash that identifies the object's contents, encoded as a Base58 string.
1786
+ """
1787
+ digest: String
1788
+ """
1789
+ The owner type of this object: Immutable, Shared, Parent, Address
1790
+ """
1791
+ owner: ObjectOwner
1792
+ """
1793
+ The transaction block that created this version of the object.
1794
+ """
1795
+ previousTransactionBlock: TransactionBlock
1796
+ """
1797
+ The amount of SUI we would rebate if this object gets deleted or mutated. This number is
1798
+ recalculated based on the present storage gas price.
1799
+ """
1800
+ storageRebate: BigInt
1801
+ """
1802
+ The transaction blocks that sent objects to this object.
1803
+ """
1804
+ receivedTransactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
1805
+ """
1806
+ The Base64-encoded BCS serialization of the object's content.
1807
+ """
1808
+ bcs: Base64
1809
+ """
1810
+ Displays the contents of the Move object in a JSON string and through GraphQL types. Also
1811
+ provides the flat representation of the type signature, and the BCS of the corresponding
1812
+ data.
1813
+ """
1814
+ contents: MoveValue
1815
+ """
1816
+ Determines whether a transaction can transfer this object, using the TransferObjects
1817
+ transaction command or `sui::transfer::public_transfer`, both of which require the object to
1818
+ have the `key` and `store` abilities.
1819
+ """
1820
+ hasPublicTransfer: Boolean!
1821
+ """
1822
+ The set of named templates defined on-chain for the type of this object, to be handled
1823
+ off-chain. The server substitutes data from the object into these templates to generate a
1824
+ display string per template.
1825
+ """
1826
+ display: [DisplayEntry!]
1827
+ """
1828
+ Access a dynamic field on an object using its name. Names are arbitrary Move values whose
1829
+ type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS
1830
+ contents, Base64 encoded.
1831
+
1832
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
1833
+ type.
1834
+ """
1835
+ dynamicField(name: DynamicFieldName!): DynamicField
1836
+ """
1837
+ Access a dynamic object field on an object using its name. Names are arbitrary Move values
1838
+ whose type have `copy`, `drop`, and `store`, and are specified using their type, and their
1839
+ BCS contents, Base64 encoded. The value of a dynamic object field can also be accessed
1840
+ off-chain directly via its address (e.g. using `Query.object`).
1841
+
1842
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
1843
+ type.
1844
+ """
1845
+ dynamicObjectField(name: DynamicFieldName!): DynamicField
1846
+ """
1847
+ The dynamic fields and dynamic object fields on an object.
1848
+
1849
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
1850
+ type.
1851
+ """
1852
+ dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection!
1853
+ """
1854
+ Attempts to convert the Move object into a `0x2::coin::Coin`.
1855
+ """
1856
+ asCoin: Coin
1857
+ """
1858
+ Attempts to convert the Move object into a `0x3::staking_pool::StakedSui`.
1859
+ """
1860
+ asStakedSui: StakedSui
1861
+ """
1862
+ Attempts to convert the Move object into a `0x2::coin::CoinMetadata`.
1863
+ """
1864
+ asCoinMetadata: CoinMetadata
1865
+ """
1866
+ Attempts to convert the Move object into a `SuinsRegistration` object.
1867
+ """
1868
+ asSuinsRegistration: SuinsRegistration
1869
+ }
1870
+
1871
+ type MoveObjectConnection {
1872
+ """
1873
+ Information to aid in pagination.
1874
+ """
1875
+ pageInfo: PageInfo!
1876
+ """
1877
+ A list of edges.
1878
+ """
1879
+ edges: [MoveObjectEdge!]!
1880
+ """
1881
+ A list of nodes.
1882
+ """
1883
+ nodes: [MoveObject!]!
1884
+ }
1885
+
1886
+ """
1887
+ An edge in a connection.
1888
+ """
1889
+ type MoveObjectEdge {
1890
+ """
1891
+ The item at the end of the edge
1892
+ """
1893
+ node: MoveObject!
1894
+ """
1895
+ A cursor for use in pagination
1896
+ """
1897
+ cursor: String!
1898
+ }
1899
+
1900
+ """
1901
+ A MovePackage is a kind of Move object that represents code that has been published on chain.
1902
+ It exposes information about its modules, type definitions, functions, and dependencies.
1903
+ """
1904
+ type MovePackage implements IObject & IOwner {
1905
+ address: SuiAddress!
1906
+ """
1907
+ Objects owned by this package, optionally `filter`-ed.
1908
+
1909
+ Note that objects owned by a package are inaccessible, because packages are immutable and
1910
+ cannot be owned by an address.
1911
+ """
1912
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection!
1913
+ """
1914
+ Total balance of all coins with marker type owned by this package. If type is not supplied,
1915
+ it defaults to `0x2::sui::SUI`.
1916
+
1917
+ Note that coins owned by a package are inaccessible, because packages are immutable and
1918
+ cannot be owned by an address.
1919
+ """
1920
+ balance(type: String): Balance
1921
+ """
1922
+ The balances of all coin types owned by this package.
1923
+
1924
+ Note that coins owned by a package are inaccessible, because packages are immutable and
1925
+ cannot be owned by an address.
1926
+ """
1927
+ balances(first: Int, after: String, last: Int, before: String): BalanceConnection!
1928
+ """
1929
+ The coin objects owned by this package.
1930
+
1931
+ `type` is a filter on the coin's type parameter, defaulting to `0x2::sui::SUI`.
1932
+
1933
+ Note that coins owned by a package are inaccessible, because packages are immutable and
1934
+ cannot be owned by an address.
1935
+ """
1936
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
1937
+ """
1938
+ The `0x3::staking_pool::StakedSui` objects owned by this package.
1939
+
1940
+ Note that objects owned by a package are inaccessible, because packages are immutable and
1941
+ cannot be owned by an address.
1942
+ """
1943
+ stakedSuis(first: Int, after: String, last: Int, before: String): StakedSuiConnection!
1944
+ """
1945
+ The domain explicitly configured as the default domain pointing to this object.
1946
+ """
1947
+ defaultSuinsName: String
1948
+ """
1949
+ The SuinsRegistration NFTs owned by this package. These grant the owner the capability to
1950
+ manage the associated domain.
1951
+
1952
+ Note that objects owned by a package are inaccessible, because packages are immutable and
1953
+ cannot be owned by an address.
1954
+ """
1955
+ suinsRegistrations(first: Int, after: String, last: Int, before: String): SuinsRegistrationConnection!
1956
+ version: Int!
1957
+ """
1958
+ The current status of the object as read from the off-chain store. The possible states are:
1959
+ NOT_INDEXED, the object is loaded from serialized data, such as the contents of a genesis or
1960
+ system package upgrade transaction. LIVE, the version returned is the most recent for the
1961
+ object, and it is not deleted or wrapped at that version. HISTORICAL, the object was
1962
+ referenced at a specific version or checkpoint, so is fetched from historical tables and may
1963
+ not be the latest version of the object. WRAPPED_OR_DELETED, the object is deleted or
1964
+ wrapped and only partial information can be loaded."
1965
+ """
1966
+ status: ObjectKind!
1967
+ """
1968
+ 32-byte hash that identifies the package's contents, encoded as a Base58 string.
1969
+ """
1970
+ digest: String
1971
+ """
1972
+ The owner type of this object: Immutable, Shared, Parent, Address
1973
+ Packages are always Immutable.
1974
+ """
1975
+ owner: ObjectOwner
1976
+ """
1977
+ The transaction block that published or upgraded this package.
1978
+ """
1979
+ previousTransactionBlock: TransactionBlock
1980
+ """
1981
+ The amount of SUI we would rebate if this object gets deleted or mutated. This number is
1982
+ recalculated based on the present storage gas price.
1983
+
1984
+ Note that packages cannot be deleted or mutated, so this number is provided purely for
1985
+ reference.
1986
+ """
1987
+ storageRebate: BigInt
1988
+ """
1989
+ The transaction blocks that sent objects to this package.
1990
+
1991
+ Note that objects that have been sent to a package become inaccessible.
1992
+ """
1993
+ receivedTransactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
1994
+ """
1995
+ The Base64-encoded BCS serialization of the package's content.
1996
+ """
1997
+ bcs: Base64
1998
+ """
1999
+ A representation of the module called `name` in this package, including the
2000
+ structs and functions it defines.
2001
+ """
2002
+ module(name: String!): MoveModule
2003
+ """
2004
+ Paginate through the MoveModules defined in this package.
2005
+ """
2006
+ modules(first: Int, after: String, last: Int, before: String): MoveModuleConnection
2007
+ """
2008
+ The transitive dependencies of this package.
2009
+ """
2010
+ linkage: [Linkage!]
2011
+ """
2012
+ The (previous) versions of this package that introduced its types.
2013
+ """
2014
+ typeOrigins: [TypeOrigin!]
2015
+ """
2016
+ BCS representation of the package's modules. Modules appear as a sequence of pairs (module
2017
+ name, followed by module bytes), in alphabetic order by module name.
2018
+ """
2019
+ moduleBcs: Base64
2020
+ }
2021
+
2022
+ type MovePackageConnection {
2023
+ """
2024
+ Information to aid in pagination.
2025
+ """
2026
+ pageInfo: PageInfo!
2027
+ """
2028
+ A list of edges.
2029
+ """
2030
+ edges: [MovePackageEdge!]!
2031
+ """
2032
+ A list of nodes.
2033
+ """
2034
+ nodes: [MovePackage!]!
2035
+ }
2036
+
2037
+ """
2038
+ An edge in a connection.
2039
+ """
2040
+ type MovePackageEdge {
2041
+ """
2042
+ The item at the end of the edge
2043
+ """
2044
+ node: MovePackage!
2045
+ """
2046
+ A cursor for use in pagination
2047
+ """
2048
+ cursor: String!
2049
+ }
2050
+
2051
+ """
2052
+ Description of a type, defined in a Move module.
2053
+ """
2054
+ type MoveStruct {
2055
+ """
2056
+ The module this struct was originally defined in.
2057
+ """
2058
+ module: MoveModule!
2059
+ """
2060
+ The struct's (unqualified) type name.
2061
+ """
2062
+ name: String!
2063
+ """
2064
+ Abilities this struct has.
2065
+ """
2066
+ abilities: [MoveAbility!]
2067
+ """
2068
+ Constraints on the struct's formal type parameters. Move bytecode does not name type
2069
+ parameters, so when they are referenced (e.g. in field types) they are identified by their
2070
+ index in this list.
2071
+ """
2072
+ typeParameters: [MoveStructTypeParameter!]
2073
+ """
2074
+ The names and types of the struct's fields. Field types reference type parameters, by their
2075
+ index in the defining struct's `typeParameters` list.
2076
+ """
2077
+ fields: [MoveField!]
2078
+ }
2079
+
2080
+ type MoveStructConnection {
2081
+ """
2082
+ Information to aid in pagination.
2083
+ """
2084
+ pageInfo: PageInfo!
2085
+ """
2086
+ A list of edges.
2087
+ """
2088
+ edges: [MoveStructEdge!]!
2089
+ """
2090
+ A list of nodes.
2091
+ """
2092
+ nodes: [MoveStruct!]!
2093
+ }
2094
+
2095
+ """
2096
+ An edge in a connection.
2097
+ """
2098
+ type MoveStructEdge {
2099
+ """
2100
+ The item at the end of the edge
2101
+ """
2102
+ node: MoveStruct!
2103
+ """
2104
+ A cursor for use in pagination
2105
+ """
2106
+ cursor: String!
2107
+ }
2108
+
2109
+ type MoveStructTypeParameter {
2110
+ constraints: [MoveAbility!]!
2111
+ isPhantom: Boolean!
2112
+ }
2113
+
2114
+ """
2115
+ Represents concrete types (no type parameters, no references).
2116
+ """
2117
+ type MoveType {
2118
+ """
2119
+ Flat representation of the type signature, as a displayable string.
2120
+ """
2121
+ repr: String!
2122
+ """
2123
+ Structured representation of the type signature.
2124
+ """
2125
+ signature: MoveTypeSignature!
2126
+ """
2127
+ Structured representation of the "shape" of values that match this type.
2128
+ """
2129
+ layout: MoveTypeLayout!
2130
+ """
2131
+ The abilities this concrete type has.
2132
+ """
2133
+ abilities: [MoveAbility!]!
2134
+ }
2135
+
2136
+ """
2137
+ The shape of a concrete Move Type (a type with all its type parameters instantiated with concrete types), corresponding to the following recursive type:
2138
+
2139
+ type MoveTypeLayout =
2140
+ "address"
2141
+ | "bool"
2142
+ | "u8" | "u16" | ... | "u256"
2143
+ | { vector: MoveTypeLayout }
2144
+ | {
2145
+ struct: {
2146
+ type: string,
2147
+ fields: [{ name: string, layout: MoveTypeLayout }],
2148
+ }
2149
+ }
2150
+ """
2151
+ scalar MoveTypeLayout
2152
+
2153
+ """
2154
+ The signature of a concrete Move Type (a type with all its type parameters instantiated with concrete types, that contains no references), corresponding to the following recursive type:
2155
+
2156
+ type MoveTypeSignature =
2157
+ "address"
2158
+ | "bool"
2159
+ | "u8" | "u16" | ... | "u256"
2160
+ | { vector: MoveTypeSignature }
2161
+ | {
2162
+ datatype: {
2163
+ package: string,
2164
+ module: string,
2165
+ type: string,
2166
+ typeParameters: [MoveTypeSignature],
2167
+ }
2168
+ }
2169
+ """
2170
+ scalar MoveTypeSignature
2171
+
2172
+ type MoveValue {
2173
+ """
2174
+ The value's Move type.
2175
+ """
2176
+ type: MoveType!
2177
+ """
2178
+ The BCS representation of this value, Base64 encoded.
2179
+ """
2180
+ bcs: Base64!
2181
+ """
2182
+ Structured contents of a Move value.
2183
+ """
2184
+ data: MoveData!
2185
+ """
2186
+ Representation of a Move value in JSON, where:
2187
+
2188
+ - Addresses, IDs, and UIDs are represented in canonical form, as JSON strings.
2189
+ - Bools are represented by JSON boolean literals.
2190
+ - u8, u16, and u32 are represented as JSON numbers.
2191
+ - u64, u128, and u256 are represented as JSON strings.
2192
+ - Vectors are represented by JSON arrays.
2193
+ - Structs are represented by JSON objects.
2194
+ - Empty optional values are represented by `null`.
2195
+
2196
+ This form is offered as a less verbose convenience in cases where the layout of the type is
2197
+ known by the client.
2198
+ """
2199
+ json: JSON!
2200
+ }
2201
+
2202
+ """
2203
+ The visibility modifier describes which modules can access this module member.
2204
+ By default, a module member can be called only within the same module.
2205
+ """
2206
+ enum MoveVisibility {
2207
+ """
2208
+ A public member can be accessed by any module.
2209
+ """
2210
+ PUBLIC
2211
+ """
2212
+ A private member can be accessed in the module it is defined in.
2213
+ """
2214
+ PRIVATE
2215
+ """
2216
+ A friend member can be accessed in the module it is defined in and any other module in
2217
+ its package that is explicitly specified in its friend list.
2218
+ """
2219
+ FRIEND
2220
+ }
2221
+
2222
+ """
2223
+ Mutations are used to write to the Sui network.
2224
+ """
2225
+ type Mutation {
2226
+ """
2227
+ Execute a transaction, committing its effects on chain.
2228
+
2229
+ `txBytes` is a `TransactionData` struct that has been BCS-encoded
2230
+ and then Base64-encoded.
2231
+ `signatures` are a list of `flag || signature || pubkey` bytes,
2232
+ Base64-encoded.
2233
+
2234
+ Waits until the transaction has been finalized on chain to return
2235
+ its transaction digest. If the transaction could not be
2236
+ finalized, returns the errors that prevented it, instead.
2237
+ """
2238
+ executeTransactionBlock(txBytes: String!, signatures: [String!]!): ExecutionResult!
2239
+ }
2240
+
2241
+ """
2242
+ An object in Sui is a package (set of Move bytecode modules) or object (typed data structure
2243
+ with fields) with additional metadata detailing its id, version, transaction digest, owner
2244
+ field indicating how this object can be accessed.
2245
+ """
2246
+ type Object implements IObject & IOwner {
2247
+ address: SuiAddress!
2248
+ """
2249
+ Objects owned by this object, optionally `filter`-ed.
2250
+ """
2251
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection!
2252
+ """
2253
+ Total balance of all coins with marker type owned by this object. If type is not supplied,
2254
+ it defaults to `0x2::sui::SUI`.
2255
+ """
2256
+ balance(type: String): Balance
2257
+ """
2258
+ The balances of all coin types owned by this object.
2259
+ """
2260
+ balances(first: Int, after: String, last: Int, before: String): BalanceConnection!
2261
+ """
2262
+ The coin objects for this object.
2263
+
2264
+ `type` is a filter on the coin's type parameter, defaulting to `0x2::sui::SUI`.
2265
+ """
2266
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
2267
+ """
2268
+ The `0x3::staking_pool::StakedSui` objects owned by this object.
2269
+ """
2270
+ stakedSuis(first: Int, after: String, last: Int, before: String): StakedSuiConnection!
2271
+ """
2272
+ The domain explicitly configured as the default domain pointing to this object.
2273
+ """
2274
+ defaultSuinsName: String
2275
+ """
2276
+ The SuinsRegistration NFTs owned by this object. These grant the owner the capability to
2277
+ manage the associated domain.
2278
+ """
2279
+ suinsRegistrations(first: Int, after: String, last: Int, before: String): SuinsRegistrationConnection!
2280
+ version: Int!
2281
+ """
2282
+ The current status of the object as read from the off-chain store. The possible states are:
2283
+ NOT_INDEXED, the object is loaded from serialized data, such as the contents of a genesis or
2284
+ system package upgrade transaction. LIVE, the version returned is the most recent for the
2285
+ object, and it is not deleted or wrapped at that version. HISTORICAL, the object was
2286
+ referenced at a specific version or checkpoint, so is fetched from historical tables and may
2287
+ not be the latest version of the object. WRAPPED_OR_DELETED, the object is deleted or
2288
+ wrapped and only partial information can be loaded."
2289
+ """
2290
+ status: ObjectKind!
2291
+ """
2292
+ 32-byte hash that identifies the object's current contents, encoded as a Base58 string.
2293
+ """
2294
+ digest: String
2295
+ """
2296
+ The owner type of this object: Immutable, Shared, Parent, Address
2297
+ Immutable and Shared Objects do not have owners.
2298
+ """
2299
+ owner: ObjectOwner
2300
+ """
2301
+ The transaction block that created this version of the object.
2302
+ """
2303
+ previousTransactionBlock: TransactionBlock
2304
+ """
2305
+ The amount of SUI we would rebate if this object gets deleted or mutated. This number is
2306
+ recalculated based on the present storage gas price.
2307
+ """
2308
+ storageRebate: BigInt
2309
+ """
2310
+ The transaction blocks that sent objects to this object.
2311
+ """
2312
+ receivedTransactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
2313
+ """
2314
+ The Base64-encoded BCS serialization of the object's content.
2315
+ """
2316
+ bcs: Base64
2317
+ """
2318
+ The set of named templates defined on-chain for the type of this object, to be handled
2319
+ off-chain. The server substitutes data from the object into these templates to generate a
2320
+ display string per template.
2321
+ """
2322
+ display: [DisplayEntry!]
2323
+ """
2324
+ Access a dynamic field on an object using its name. Names are arbitrary Move values whose
2325
+ type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS
2326
+ contents, Base64 encoded.
2327
+
2328
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
2329
+ type.
2330
+ """
2331
+ dynamicField(name: DynamicFieldName!): DynamicField
2332
+ """
2333
+ Access a dynamic object field on an object using its name. Names are arbitrary Move values
2334
+ whose type have `copy`, `drop`, and `store`, and are specified using their type, and their
2335
+ BCS contents, Base64 encoded. The value of a dynamic object field can also be accessed
2336
+ off-chain directly via its address (e.g. using `Query.object`).
2337
+
2338
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
2339
+ type.
2340
+ """
2341
+ dynamicObjectField(name: DynamicFieldName!): DynamicField
2342
+ """
2343
+ The dynamic fields and dynamic object fields on an object.
2344
+
2345
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
2346
+ type.
2347
+ """
2348
+ dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection!
2349
+ """
2350
+ Attempts to convert the object into a MoveObject
2351
+ """
2352
+ asMoveObject: MoveObject
2353
+ """
2354
+ Attempts to convert the object into a MovePackage
2355
+ """
2356
+ asMovePackage: MovePackage
2357
+ }
2358
+
2359
+ """
2360
+ Effect on an individual Object (keyed by its ID).
2361
+ """
2362
+ type ObjectChange {
2363
+ """
2364
+ The address of the object that has changed.
2365
+ """
2366
+ address: SuiAddress!
2367
+ """
2368
+ The contents of the object immediately before the transaction.
2369
+ """
2370
+ inputState: Object
2371
+ """
2372
+ The contents of the object immediately after the transaction.
2373
+ """
2374
+ outputState: Object
2375
+ """
2376
+ Whether the ID was created in this transaction.
2377
+ """
2378
+ idCreated: Boolean
2379
+ """
2380
+ Whether the ID was deleted in this transaction.
2381
+ """
2382
+ idDeleted: Boolean
2383
+ }
2384
+
2385
+ type ObjectChangeConnection {
2386
+ """
2387
+ Information to aid in pagination.
2388
+ """
2389
+ pageInfo: PageInfo!
2390
+ """
2391
+ A list of edges.
2392
+ """
2393
+ edges: [ObjectChangeEdge!]!
2394
+ """
2395
+ A list of nodes.
2396
+ """
2397
+ nodes: [ObjectChange!]!
2398
+ }
2399
+
2400
+ """
2401
+ An edge in a connection.
2402
+ """
2403
+ type ObjectChangeEdge {
2404
+ """
2405
+ The item at the end of the edge
2406
+ """
2407
+ node: ObjectChange!
2408
+ """
2409
+ A cursor for use in pagination
2410
+ """
2411
+ cursor: String!
2412
+ }
2413
+
2414
+ type ObjectConnection {
2415
+ """
2416
+ Information to aid in pagination.
2417
+ """
2418
+ pageInfo: PageInfo!
2419
+ """
2420
+ A list of edges.
2421
+ """
2422
+ edges: [ObjectEdge!]!
2423
+ """
2424
+ A list of nodes.
2425
+ """
2426
+ nodes: [Object!]!
2427
+ }
2428
+
2429
+ """
2430
+ An edge in a connection.
2431
+ """
2432
+ type ObjectEdge {
2433
+ """
2434
+ The item at the end of the edge
2435
+ """
2436
+ node: Object!
2437
+ """
2438
+ A cursor for use in pagination
2439
+ """
2440
+ cursor: String!
2441
+ }
2442
+
2443
+ """
2444
+ Constrains the set of objects returned. All filters are optional, and the resulting set of
2445
+ objects are ones whose
2446
+
2447
+ - Type matches the `type` filter,
2448
+ - AND, whose owner matches the `owner` filter,
2449
+ - AND, whose ID is in `objectIds` OR whose ID and version is in `objectKeys`.
2450
+ """
2451
+ input ObjectFilter {
2452
+ """
2453
+ This field is used to specify the type of objects that should be included in the query
2454
+ results.
2455
+
2456
+ Objects can be filtered by their type's package, package::module, or their fully qualified
2457
+ type name.
2458
+
2459
+ Generic types can be queried by either the generic type name, e.g. `0x2::coin::Coin`, or by
2460
+ the full type name, such as `0x2::coin::Coin<0x2::sui::SUI>`.
2461
+ """
2462
+ type: String
2463
+ """
2464
+ Filter for live objects by their current owners.
2465
+ """
2466
+ owner: SuiAddress
2467
+ """
2468
+ Filter for live objects by their IDs.
2469
+ """
2470
+ objectIds: [SuiAddress!]
2471
+ """
2472
+ Filter for live or potentially historical objects by their ID and version.
2473
+ """
2474
+ objectKeys: [ObjectKey!]
2475
+ }
2476
+
2477
+ input ObjectKey {
2478
+ objectId: SuiAddress!
2479
+ version: Int!
2480
+ }
2481
+
2482
+ enum ObjectKind {
2483
+ """
2484
+ The object is loaded from serialized data, such as the contents of a transaction.
2485
+ """
2486
+ NOT_INDEXED
2487
+ """
2488
+ The object is currently live and is not deleted or wrapped.
2489
+ """
2490
+ LIVE
2491
+ """
2492
+ The object is referenced at some version, and thus is fetched from the snapshot or
2493
+ historical objects table.
2494
+ """
2495
+ HISTORICAL
2496
+ """
2497
+ The object is deleted or wrapped and only partial information can be loaded from the
2498
+ indexer.
2499
+ """
2500
+ WRAPPED_OR_DELETED
2501
+ }
2502
+
2503
+ """
2504
+ The object's owner type: Immutable, Shared, Parent, or Address.
2505
+ """
2506
+ union ObjectOwner = Immutable | Shared | Parent | AddressOwner
2507
+
2508
+ input ObjectRef {
2509
+ """
2510
+ ID of the object.
2511
+ """
2512
+ address: SuiAddress!
2513
+ """
2514
+ Version or sequence number of the object.
2515
+ """
2516
+ version: Int!
2517
+ """
2518
+ Digest of the object.
2519
+ """
2520
+ digest: String!
2521
+ }
2522
+
2523
+ """
2524
+ Represents types that could contain references or free type parameters. Such types can appear
2525
+ as function parameters, in fields of structs, or as actual type parameter.
2526
+ """
2527
+ type OpenMoveType {
2528
+ """
2529
+ Structured representation of the type signature.
2530
+ """
2531
+ signature: OpenMoveTypeSignature!
2532
+ """
2533
+ Flat representation of the type signature, as a displayable string.
2534
+ """
2535
+ repr: String!
2536
+ }
2537
+
2538
+ """
2539
+ The shape of an abstract Move Type (a type that can contain free type parameters, and can optionally be taken by reference), corresponding to the following recursive type:
2540
+
2541
+ type OpenMoveTypeSignature = {
2542
+ ref: ("&" | "&mut")?,
2543
+ body: OpenMoveTypeSignatureBody,
2544
+ }
2545
+
2546
+ type OpenMoveTypeSignatureBody =
2547
+ "address"
2548
+ | "bool"
2549
+ | "u8" | "u16" | ... | "u256"
2550
+ | { vector: OpenMoveTypeSignatureBody }
2551
+ | {
2552
+ datatype {
2553
+ package: string,
2554
+ module: string,
2555
+ type: string,
2556
+ typeParameters: [OpenMoveTypeSignatureBody]
2557
+ }
2558
+ }
2559
+ | { typeParameter: number }
2560
+ """
2561
+ scalar OpenMoveTypeSignature
2562
+
2563
+ """
2564
+ A Move object, either immutable, or owned mutable.
2565
+ """
2566
+ type OwnedOrImmutable {
2567
+ """
2568
+ ID of the object being read.
2569
+ """
2570
+ address: SuiAddress!
2571
+ """
2572
+ Version of the object being read.
2573
+ """
2574
+ version: Int!
2575
+ """
2576
+ 32-byte hash that identifies the object's contents at this version, encoded as a Base58
2577
+ string.
2578
+ """
2579
+ digest: String!
2580
+ """
2581
+ The object at this version. May not be available due to pruning.
2582
+ """
2583
+ object: Object
2584
+ }
2585
+
2586
+ """
2587
+ An Owner is an entity that can own an object. Each Owner is identified by a SuiAddress which
2588
+ represents either an Address (corresponding to a public key of an account) or an Object, but
2589
+ never both (it is not known up-front whether a given Owner is an Address or an Object).
2590
+ """
2591
+ type Owner implements IOwner {
2592
+ address: SuiAddress!
2593
+ """
2594
+ Objects owned by this object or address, optionally `filter`-ed.
2595
+ """
2596
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection!
2597
+ """
2598
+ Total balance of all coins with marker type owned by this object or address. If type is not
2599
+ supplied, it defaults to `0x2::sui::SUI`.
2600
+ """
2601
+ balance(type: String): Balance
2602
+ """
2603
+ The balances of all coin types owned by this object or address.
2604
+ """
2605
+ balances(first: Int, after: String, last: Int, before: String): BalanceConnection!
2606
+ """
2607
+ The coin objects for this object or address.
2608
+
2609
+ `type` is a filter on the coin's type parameter, defaulting to `0x2::sui::SUI`.
2610
+ """
2611
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
2612
+ """
2613
+ The `0x3::staking_pool::StakedSui` objects owned by this object or address.
2614
+ """
2615
+ stakedSuis(first: Int, after: String, last: Int, before: String): StakedSuiConnection!
2616
+ """
2617
+ The domain explicitly configured as the default domain pointing to this object or address.
2618
+ """
2619
+ defaultSuinsName: String
2620
+ """
2621
+ The SuinsRegistration NFTs owned by this object or address. These grant the owner the
2622
+ capability to manage the associated domain.
2623
+ """
2624
+ suinsRegistrations(first: Int, after: String, last: Int, before: String): SuinsRegistrationConnection!
2625
+ asAddress: Address
2626
+ asObject: Object
2627
+ """
2628
+ Access a dynamic field on an object using its name. Names are arbitrary Move values whose
2629
+ type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS
2630
+ contents, Base64 encoded.
2631
+
2632
+ This field exists as a convenience when accessing a dynamic field on a wrapped object.
2633
+ """
2634
+ dynamicField(name: DynamicFieldName!): DynamicField
2635
+ """
2636
+ Access a dynamic object field on an object using its name. Names are arbitrary Move values
2637
+ whose type have `copy`, `drop`, and `store`, and are specified using their type, and their
2638
+ BCS contents, Base64 encoded. The value of a dynamic object field can also be accessed
2639
+ off-chain directly via its address (e.g. using `Query.object`).
2640
+
2641
+ This field exists as a convenience when accessing a dynamic field on a wrapped object.
2642
+ """
2643
+ dynamicObjectField(name: DynamicFieldName!): DynamicField
2644
+ """
2645
+ The dynamic fields and dynamic object fields on an object.
2646
+
2647
+ This field exists as a convenience when accessing a dynamic field on a wrapped object.
2648
+ """
2649
+ dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection!
2650
+ }
2651
+
2652
+ """
2653
+ Information about pagination in a connection
2654
+ """
2655
+ type PageInfo {
2656
+ """
2657
+ When paginating backwards, are there more items?
2658
+ """
2659
+ hasPreviousPage: Boolean!
2660
+ """
2661
+ When paginating forwards, are there more items?
2662
+ """
2663
+ hasNextPage: Boolean!
2664
+ """
2665
+ When paginating backwards, the cursor to continue.
2666
+ """
2667
+ startCursor: String
2668
+ """
2669
+ When paginating forwards, the cursor to continue.
2670
+ """
2671
+ endCursor: String
2672
+ }
2673
+
2674
+ """
2675
+ If the object's owner is a Parent, this object is part of a dynamic field (it is the value of
2676
+ the dynamic field, or the intermediate Field object itself). Also note that if the owner
2677
+ is a parent, then it's guaranteed to be an object.
2678
+ """
2679
+ type Parent {
2680
+ parent: Object
2681
+ }
2682
+
2683
+ """
2684
+ A single transaction, or command, in the programmable transaction block.
2685
+ """
2686
+ union ProgrammableTransaction = MoveCallTransaction | TransferObjectsTransaction | SplitCoinsTransaction | MergeCoinsTransaction | PublishTransaction | UpgradeTransaction | MakeMoveVecTransaction
2687
+
2688
+ """
2689
+ A user transaction that allows the interleaving of native commands (like transfer, split coins,
2690
+ merge coins, etc) and move calls, executed atomically.
2691
+ """
2692
+ type ProgrammableTransactionBlock {
2693
+ """
2694
+ Input objects or primitive values.
2695
+ """
2696
+ inputs(first: Int, after: String, last: Int, before: String): TransactionInputConnection!
2697
+ """
2698
+ The transaction commands, executed sequentially.
2699
+ """
2700
+ transactions(first: Int, after: String, last: Int, before: String): ProgrammableTransactionConnection!
2701
+ }
2702
+
2703
+ type ProgrammableTransactionConnection {
2704
+ """
2705
+ Information to aid in pagination.
2706
+ """
2707
+ pageInfo: PageInfo!
2708
+ """
2709
+ A list of edges.
2710
+ """
2711
+ edges: [ProgrammableTransactionEdge!]!
2712
+ """
2713
+ A list of nodes.
2714
+ """
2715
+ nodes: [ProgrammableTransaction!]!
2716
+ }
2717
+
2718
+ """
2719
+ An edge in a connection.
2720
+ """
2721
+ type ProgrammableTransactionEdge {
2722
+ """
2723
+ The item at the end of the edge
2724
+ """
2725
+ node: ProgrammableTransaction!
2726
+ """
2727
+ A cursor for use in pagination
2728
+ """
2729
+ cursor: String!
2730
+ }
2731
+
2732
+ """
2733
+ A single protocol configuration value.
2734
+ """
2735
+ type ProtocolConfigAttr {
2736
+ key: String!
2737
+ value: String
2738
+ }
2739
+
2740
+ """
2741
+ Whether or not a single feature is enabled in the protocol config.
2742
+ """
2743
+ type ProtocolConfigFeatureFlag {
2744
+ key: String!
2745
+ value: Boolean!
2746
+ }
2747
+
2748
+ """
2749
+ Constants that control how the chain operates.
2750
+
2751
+ These can only change during protocol upgrades which happen on epoch boundaries.
2752
+ """
2753
+ type ProtocolConfigs {
2754
+ """
2755
+ The protocol is not required to change on every epoch boundary, so the protocol version
2756
+ tracks which change to the protocol these configs are from.
2757
+ """
2758
+ protocolVersion: Int!
2759
+ """
2760
+ List all available feature flags and their values. Feature flags are a form of boolean
2761
+ configuration that are usually used to gate features while they are in development. Once a
2762
+ flag has been enabled, it is rare for it to be disabled.
2763
+ """
2764
+ featureFlags: [ProtocolConfigFeatureFlag!]!
2765
+ """
2766
+ List all available configurations and their values. These configurations can take any value
2767
+ (but they will all be represented in string form), and do not include feature flags.
2768
+ """
2769
+ configs: [ProtocolConfigAttr!]!
2770
+ """
2771
+ Query for the value of the configuration with name `key`.
2772
+ """
2773
+ config(key: String!): ProtocolConfigAttr
2774
+ """
2775
+ Query for the state of the feature flag with name `key`.
2776
+ """
2777
+ featureFlag(key: String!): ProtocolConfigFeatureFlag
2778
+ }
2779
+
2780
+ """
2781
+ Publishes a Move Package.
2782
+ """
2783
+ type PublishTransaction {
2784
+ """
2785
+ Bytecode for the modules to be published, BCS serialized and Base64 encoded.
2786
+ """
2787
+ modules: [Base64!]!
2788
+ """
2789
+ IDs of the transitive dependencies of the package to be published.
2790
+ """
2791
+ dependencies: [SuiAddress!]!
2792
+ }
2793
+
2794
+ """
2795
+ BCS encoded primitive value (not an object or Move struct).
2796
+ """
2797
+ type Pure {
2798
+ """
2799
+ BCS serialized and Base64 encoded primitive value.
2800
+ """
2801
+ bytes: Base64!
2802
+ }
2803
+
2804
+ type Query {
2805
+ """
2806
+ First four bytes of the network's genesis checkpoint digest (uniquely identifies the
2807
+ network).
2808
+ """
2809
+ chainIdentifier: String!
2810
+ """
2811
+ Range of checkpoints that the RPC has data available for (for data
2812
+ that can be tied to a particular checkpoint).
2813
+ """
2814
+ availableRange: AvailableRange!
2815
+ """
2816
+ Configuration for this RPC service
2817
+ """
2818
+ serviceConfig: ServiceConfig!
2819
+ """
2820
+ Simulate running a transaction to inspect its effects without
2821
+ committing to them on-chain.
2822
+
2823
+ `txBytes` either a `TransactionData` struct or a `TransactionKind`
2824
+ struct, BCS-encoded and then Base64-encoded. The expected
2825
+ type is controlled by the presence or absence of `txMeta`: If
2826
+ present, `txBytes` is assumed to be a `TransactionKind`, if
2827
+ absent, then `TransactionData`.
2828
+
2829
+ `txMeta` the data that is missing from a `TransactionKind` to make
2830
+ a `TransactionData` (sender address and gas information). All
2831
+ its fields are nullable.
2832
+
2833
+ `skipChecks` optional flag to disable the usual verification
2834
+ checks that prevent access to objects that are owned by
2835
+ addresses other than the sender, and calling non-public,
2836
+ non-entry functions, and some other checks. Defaults to false.
2837
+ """
2838
+ dryRunTransactionBlock(txBytes: String!, txMeta: TransactionMetadata, skipChecks: Boolean): DryRunResult!
2839
+ owner(address: SuiAddress!): Owner
2840
+ """
2841
+ The object corresponding to the given address at the (optionally) given version.
2842
+ When no version is given, the latest version is returned.
2843
+ """
2844
+ object(address: SuiAddress!, version: Int): Object
2845
+ """
2846
+ Look-up an Account by its SuiAddress.
2847
+ """
2848
+ address(address: SuiAddress!): Address
2849
+ """
2850
+ Fetch a structured representation of a concrete type, including its layout information.
2851
+ Fails if the type is malformed.
2852
+ """
2853
+ type(type: String!): MoveType!
2854
+ """
2855
+ Fetch epoch information by ID (defaults to the latest epoch).
2856
+ """
2857
+ epoch(id: Int): Epoch
2858
+ """
2859
+ Fetch checkpoint information by sequence number or digest (defaults to the latest available
2860
+ checkpoint).
2861
+ """
2862
+ checkpoint(id: CheckpointId): Checkpoint
2863
+ """
2864
+ Fetch a transaction block by its transaction digest.
2865
+ """
2866
+ transactionBlock(digest: String!): TransactionBlock
2867
+ """
2868
+ The coin objects that exist in the network.
2869
+
2870
+ The type field is a string of the inner type of the coin by which to filter (e.g.
2871
+ `0x2::sui::SUI`). If no type is provided, it will default to `0x2::sui::SUI`.
2872
+ """
2873
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
2874
+ """
2875
+ The checkpoints that exist in the network.
2876
+ """
2877
+ checkpoints(first: Int, after: String, last: Int, before: String): CheckpointConnection!
2878
+ """
2879
+ The transaction blocks that exist in the network.
2880
+ """
2881
+ transactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
2882
+ """
2883
+ The events that exist in the network.
2884
+ """
2885
+ events(first: Int, after: String, last: Int, before: String, filter: EventFilter): EventConnection!
2886
+ """
2887
+ The objects that exist in the network.
2888
+ """
2889
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): ObjectConnection!
2890
+ """
2891
+ Fetch the protocol config by protocol version (defaults to the latest protocol
2892
+ version known to the GraphQL service).
2893
+ """
2894
+ protocolConfig(protocolVersion: Int): ProtocolConfigs!
2895
+ """
2896
+ Resolves a SuiNS `domain` name to an address, if it has been bound.
2897
+ """
2898
+ resolveSuinsAddress(domain: String!): Address
2899
+ """
2900
+ The coin metadata associated with the given coin type.
2901
+ """
2902
+ coinMetadata(coinType: String!): CoinMetadata
2903
+ """
2904
+ Verify a zkLogin signature based on the provided transaction or personal message
2905
+ based on current epoch, chain id, and latest JWKs fetched on-chain. If the
2906
+ signature is valid, the function returns a `ZkLoginVerifyResult` with success as
2907
+ true and an empty list of errors. If the signature is invalid, the function returns
2908
+ a `ZkLoginVerifyResult` with success as false with a list of errors.
2909
+
2910
+ - `bytes` is either the personal message in raw bytes or transaction data bytes in
2911
+ BCS-encoded and then Base64-encoded.
2912
+ - `signature` is a serialized zkLogin signature that is Base64-encoded.
2913
+ - `intentScope` is an enum that specifies the intent scope to be used to parse bytes.
2914
+ - `author` is the address of the signer of the transaction or personal msg.
2915
+ """
2916
+ verifyZkloginSignature(bytes: Base64!, signature: Base64!, intentScope: ZkLoginIntentScope!, author: SuiAddress!): ZkLoginVerifyResult!
2917
+ }
2918
+
2919
+ type RandomnessStateCreateTransaction {
2920
+ """
2921
+ A workaround to define an empty variant of a GraphQL union.
2922
+ """
2923
+ _: Boolean
2924
+ }
2925
+
2926
+ """
2927
+ System transaction to update the source of on-chain randomness.
2928
+ """
2929
+ type RandomnessStateUpdateTransaction {
2930
+ """
2931
+ Epoch of the randomness state update transaction.
2932
+ """
2933
+ epoch: Epoch
2934
+ """
2935
+ Randomness round of the update.
2936
+ """
2937
+ randomnessRound: Int!
2938
+ """
2939
+ Updated random bytes, encoded as Base64.
2940
+ """
2941
+ randomBytes: Base64!
2942
+ """
2943
+ The initial version the randomness object was shared at.
2944
+ """
2945
+ randomnessObjInitialSharedVersion: Int!
2946
+ }
2947
+
2948
+ """
2949
+ A Move object that can be received in this transaction.
2950
+ """
2951
+ type Receiving {
2952
+ """
2953
+ ID of the object being read.
2954
+ """
2955
+ address: SuiAddress!
2956
+ """
2957
+ Version of the object being read.
2958
+ """
2959
+ version: Int!
2960
+ """
2961
+ 32-byte hash that identifies the object's contents at this version, encoded as a Base58
2962
+ string.
2963
+ """
2964
+ digest: String!
2965
+ """
2966
+ The object at this version. May not be available due to pruning.
2967
+ """
2968
+ object: Object
2969
+ }
2970
+
2971
+ """
2972
+ The result of another transaction command.
2973
+ """
2974
+ type Result {
2975
+ """
2976
+ The index of the previous command (0-indexed) that returned this result.
2977
+ """
2978
+ cmd: Int!
2979
+ """
2980
+ If the previous command returns multiple values, this is the index of the individual result
2981
+ among the multiple results from that command (also 0-indexed).
2982
+ """
2983
+ ix: Int
2984
+ }
2985
+
2986
+ """
2987
+ Information about whether epoch changes are using safe mode.
2988
+ """
2989
+ type SafeMode {
2990
+ """
2991
+ Whether safe mode was used for the last epoch change. The system will retry a full epoch
2992
+ change on every epoch boundary and automatically reset this flag if so.
2993
+ """
2994
+ enabled: Boolean
2995
+ """
2996
+ Accumulated fees for computation and cost that have not been added to the various reward
2997
+ pools, because the full epoch change did not happen.
2998
+ """
2999
+ gasSummary: GasCostSummary
3000
+ }
3001
+
3002
+ """
3003
+ The enabled features and service limits configured by the server.
3004
+ """
3005
+ type ServiceConfig {
3006
+ """
3007
+ Check whether `feature` is enabled on this GraphQL service.
3008
+ """
3009
+ isEnabled(feature: Feature!): Boolean!
3010
+ """
3011
+ List of all features that are enabled on this GraphQL service.
3012
+ """
3013
+ enabledFeatures: [Feature!]!
3014
+ """
3015
+ The maximum depth a GraphQL query can be to be accepted by this service.
3016
+ """
3017
+ maxQueryDepth: Int!
3018
+ """
3019
+ The maximum number of nodes (field names) the service will accept in a single query.
3020
+ """
3021
+ maxQueryNodes: Int!
3022
+ """
3023
+ The maximum number of output nodes in a GraphQL response.
3024
+
3025
+ Non-connection nodes have a count of 1, while connection nodes are counted as
3026
+ the specified 'first' or 'last' number of items, or the default_page_size
3027
+ as set by the server if those arguments are not set.
3028
+
3029
+ Counts accumulate multiplicatively down the query tree. For example, if a query starts
3030
+ with a connection of first: 10 and has a field to a connection with last: 20, the count
3031
+ at the second level would be 200 nodes. This is then summed to the count of 10 nodes
3032
+ at the first level, for a total of 210 nodes.
3033
+ """
3034
+ maxOutputNodes: Int!
3035
+ """
3036
+ Maximum estimated cost of a database query used to serve a GraphQL request. This is
3037
+ measured in the same units that the database uses in EXPLAIN queries.
3038
+ """
3039
+ maxDbQueryCost: BigInt!
3040
+ """
3041
+ Default number of elements allowed on a single page of a connection.
3042
+ """
3043
+ defaultPageSize: Int!
3044
+ """
3045
+ Maximum number of elements allowed on a single page of a connection.
3046
+ """
3047
+ maxPageSize: Int!
3048
+ """
3049
+ Maximum time in milliseconds that will be spent to serve one request.
3050
+ """
3051
+ requestTimeoutMs: Int!
3052
+ """
3053
+ Maximum length of a query payload string.
3054
+ """
3055
+ maxQueryPayloadSize: Int!
3056
+ """
3057
+ Maximum nesting allowed in type arguments in Move Types resolved by this service.
3058
+ """
3059
+ maxTypeArgumentDepth: Int!
3060
+ """
3061
+ Maximum number of type arguments passed into a generic instantiation of a Move Type resolved
3062
+ by this service.
3063
+ """
3064
+ maxTypeArgumentWidth: Int!
3065
+ """
3066
+ Maximum number of structs that need to be processed when calculating the layout of a single
3067
+ Move Type.
3068
+ """
3069
+ maxTypeNodes: Int!
3070
+ """
3071
+ Maximum nesting allowed in struct fields when calculating the layout of a single Move Type.
3072
+ """
3073
+ maxMoveValueDepth: Int!
3074
+ }
3075
+
3076
+ """
3077
+ A shared object is an object that is shared using the 0x2::transfer::share_object function.
3078
+ Unlike owned objects, once an object is shared, it stays mutable and is accessible by anyone.
3079
+ """
3080
+ type Shared {
3081
+ initialSharedVersion: Int!
3082
+ }
3083
+
3084
+ """
3085
+ A Move object that's shared.
3086
+ """
3087
+ type SharedInput {
3088
+ address: SuiAddress!
3089
+ """
3090
+ The version that this this object was shared at.
3091
+ """
3092
+ initialSharedVersion: Int!
3093
+ """
3094
+ Controls whether the transaction block can reference the shared object as a mutable
3095
+ reference or by value. This has implications for scheduling: Transactions that just read
3096
+ shared objects at a certain version (mutable = false) can be executed concurrently, while
3097
+ transactions that write shared objects (mutable = true) must be executed serially with
3098
+ respect to each other.
3099
+ """
3100
+ mutable: Boolean!
3101
+ }
3102
+
3103
+ """
3104
+ The transaction accepted a shared object as input, but it was deleted before the transaction
3105
+ executed.
3106
+ """
3107
+ type SharedObjectDelete {
3108
+ """
3109
+ ID of the shared object.
3110
+ """
3111
+ address: SuiAddress!
3112
+ """
3113
+ The version of the shared object that was assigned to this transaction during by consensus,
3114
+ during sequencing.
3115
+ """
3116
+ version: Int!
3117
+ """
3118
+ Whether this transaction intended to use this shared object mutably or not. See
3119
+ `SharedInput.mutable` for further details.
3120
+ """
3121
+ mutable: Boolean!
3122
+ }
3123
+
3124
+ """
3125
+ The transaction accepted a shared object as input, but only to read it.
3126
+ """
3127
+ type SharedObjectRead {
3128
+ """
3129
+ ID of the object being read.
3130
+ """
3131
+ address: SuiAddress!
3132
+ """
3133
+ Version of the object being read.
3134
+ """
3135
+ version: Int!
3136
+ """
3137
+ 32-byte hash that identifies the object's contents at this version, encoded as a Base58
3138
+ string.
3139
+ """
3140
+ digest: String!
3141
+ """
3142
+ The object at this version. May not be available due to pruning.
3143
+ """
3144
+ object: Object
3145
+ }
3146
+
3147
+ """
3148
+ Splits off coins with denominations in `amounts` from `coin`, returning multiple results (as
3149
+ many as there are amounts.)
3150
+ """
3151
+ type SplitCoinsTransaction {
3152
+ """
3153
+ The coin to split.
3154
+ """
3155
+ coin: TransactionArgument!
3156
+ """
3157
+ The denominations to split off from the coin.
3158
+ """
3159
+ amounts: [TransactionArgument!]!
3160
+ }
3161
+
3162
+ """
3163
+ The stake's possible status: active, pending, or unstaked.
3164
+ """
3165
+ enum StakeStatus {
3166
+ """
3167
+ The stake object is active in a staking pool and it is generating rewards.
3168
+ """
3169
+ ACTIVE
3170
+ """
3171
+ The stake awaits to join a staking pool in the next epoch.
3172
+ """
3173
+ PENDING
3174
+ """
3175
+ The stake is no longer active in any staking pool.
3176
+ """
3177
+ UNSTAKED
3178
+ }
3179
+
3180
+ """
3181
+ Parameters that control the distribution of the stake subsidy.
3182
+ """
3183
+ type StakeSubsidy {
3184
+ """
3185
+ SUI set aside for stake subsidies -- reduces over time as stake subsidies are paid out over
3186
+ time.
3187
+ """
3188
+ balance: BigInt
3189
+ """
3190
+ Number of times stake subsidies have been distributed subsidies are distributed with other
3191
+ staking rewards, at the end of the epoch.
3192
+ """
3193
+ distributionCounter: Int
3194
+ """
3195
+ Amount of stake subsidy deducted from the balance per distribution -- decays over time.
3196
+ """
3197
+ currentDistributionAmount: BigInt
3198
+ """
3199
+ Maximum number of stake subsidy distributions that occur with the same distribution amount
3200
+ (before the amount is reduced).
3201
+ """
3202
+ periodLength: Int
3203
+ """
3204
+ Percentage of the current distribution amount to deduct at the end of the current subsidy
3205
+ period, expressed in basis points.
3206
+ """
3207
+ decreaseRate: Int
3208
+ }
3209
+
3210
+ """
3211
+ Represents a `0x3::staking_pool::StakedSui` Move object on-chain.
3212
+ """
3213
+ type StakedSui implements IMoveObject & IObject & IOwner {
3214
+ address: SuiAddress!
3215
+ """
3216
+ Objects owned by this object, optionally `filter`-ed.
3217
+ """
3218
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection!
3219
+ """
3220
+ Total balance of all coins with marker type owned by this object. If type is not supplied,
3221
+ it defaults to `0x2::sui::SUI`.
3222
+ """
3223
+ balance(type: String): Balance
3224
+ """
3225
+ The balances of all coin types owned by this object.
3226
+ """
3227
+ balances(first: Int, after: String, last: Int, before: String): BalanceConnection!
3228
+ """
3229
+ The coin objects for this object.
3230
+
3231
+ `type` is a filter on the coin's type parameter, defaulting to `0x2::sui::SUI`.
3232
+ """
3233
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
3234
+ """
3235
+ The `0x3::staking_pool::StakedSui` objects owned by this object.
3236
+ """
3237
+ stakedSuis(first: Int, after: String, last: Int, before: String): StakedSuiConnection!
3238
+ """
3239
+ The domain explicitly configured as the default domain pointing to this object.
3240
+ """
3241
+ defaultSuinsName: String
3242
+ """
3243
+ The SuinsRegistration NFTs owned by this object. These grant the owner the capability to
3244
+ manage the associated domain.
3245
+ """
3246
+ suinsRegistrations(first: Int, after: String, last: Int, before: String): SuinsRegistrationConnection!
3247
+ version: Int!
3248
+ """
3249
+ The current status of the object as read from the off-chain store. The possible states are:
3250
+ NOT_INDEXED, the object is loaded from serialized data, such as the contents of a genesis or
3251
+ system package upgrade transaction. LIVE, the version returned is the most recent for the
3252
+ object, and it is not deleted or wrapped at that version. HISTORICAL, the object was
3253
+ referenced at a specific version or checkpoint, so is fetched from historical tables and may
3254
+ not be the latest version of the object. WRAPPED_OR_DELETED, the object is deleted or
3255
+ wrapped and only partial information can be loaded."
3256
+ """
3257
+ status: ObjectKind!
3258
+ """
3259
+ 32-byte hash that identifies the object's contents, encoded as a Base58 string.
3260
+ """
3261
+ digest: String
3262
+ """
3263
+ The owner type of this object: Immutable, Shared, Parent, Address
3264
+ """
3265
+ owner: ObjectOwner
3266
+ """
3267
+ The transaction block that created this version of the object.
3268
+ """
3269
+ previousTransactionBlock: TransactionBlock
3270
+ """
3271
+ The amount of SUI we would rebate if this object gets deleted or mutated. This number is
3272
+ recalculated based on the present storage gas price.
3273
+ """
3274
+ storageRebate: BigInt
3275
+ """
3276
+ The transaction blocks that sent objects to this object.
3277
+ """
3278
+ receivedTransactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
3279
+ """
3280
+ The Base64-encoded BCS serialization of the object's content.
3281
+ """
3282
+ bcs: Base64
3283
+ """
3284
+ Displays the contents of the Move object in a JSON string and through GraphQL types. Also
3285
+ provides the flat representation of the type signature, and the BCS of the corresponding
3286
+ data.
3287
+ """
3288
+ contents: MoveValue
3289
+ """
3290
+ Determines whether a transaction can transfer this object, using the TransferObjects
3291
+ transaction command or `sui::transfer::public_transfer`, both of which require the object to
3292
+ have the `key` and `store` abilities.
3293
+ """
3294
+ hasPublicTransfer: Boolean!
3295
+ """
3296
+ The set of named templates defined on-chain for the type of this object, to be handled
3297
+ off-chain. The server substitutes data from the object into these templates to generate a
3298
+ display string per template.
3299
+ """
3300
+ display: [DisplayEntry!]
3301
+ """
3302
+ Access a dynamic field on an object using its name. Names are arbitrary Move values whose
3303
+ type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS
3304
+ contents, Base64 encoded.
3305
+
3306
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
3307
+ type.
3308
+ """
3309
+ dynamicField(name: DynamicFieldName!): DynamicField
3310
+ """
3311
+ Access a dynamic object field on an object using its name. Names are arbitrary Move values
3312
+ whose type have `copy`, `drop`, and `store`, and are specified using their type, and their
3313
+ BCS contents, Base64 encoded. The value of a dynamic object field can also be accessed
3314
+ off-chain directly via its address (e.g. using `Query.object`).
3315
+
3316
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
3317
+ type.
3318
+ """
3319
+ dynamicObjectField(name: DynamicFieldName!): DynamicField
3320
+ """
3321
+ The dynamic fields and dynamic object fields on an object.
3322
+
3323
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
3324
+ type.
3325
+ """
3326
+ dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection!
3327
+ """
3328
+ A stake can be pending, active, or unstaked
3329
+ """
3330
+ stakeStatus: StakeStatus!
3331
+ """
3332
+ The epoch at which this stake became active.
3333
+ """
3334
+ activatedEpoch: Epoch
3335
+ """
3336
+ The epoch at which this object was requested to join a stake pool.
3337
+ """
3338
+ requestedEpoch: Epoch
3339
+ """
3340
+ The object id of the validator staking pool this stake belongs to.
3341
+ """
3342
+ poolId: SuiAddress
3343
+ """
3344
+ The SUI that was initially staked.
3345
+ """
3346
+ principal: BigInt
3347
+ """
3348
+ The estimated reward for this stake object, calculated as:
3349
+
3350
+ principal * (initial_stake_rate / current_stake_rate - 1.0)
3351
+
3352
+ Or 0, if this value is negative, where:
3353
+
3354
+ - `initial_stake_rate` is the stake rate at the epoch this stake was activated at.
3355
+ - `current_stake_rate` is the stake rate in the current epoch.
3356
+
3357
+ This value is only available if the stake is active.
3358
+ """
3359
+ estimatedReward: BigInt
3360
+ }
3361
+
3362
+ type StakedSuiConnection {
3363
+ """
3364
+ Information to aid in pagination.
3365
+ """
3366
+ pageInfo: PageInfo!
3367
+ """
3368
+ A list of edges.
3369
+ """
3370
+ edges: [StakedSuiEdge!]!
3371
+ """
3372
+ A list of nodes.
3373
+ """
3374
+ nodes: [StakedSui!]!
3375
+ }
3376
+
3377
+ """
3378
+ An edge in a connection.
3379
+ """
3380
+ type StakedSuiEdge {
3381
+ """
3382
+ The item at the end of the edge
3383
+ """
3384
+ node: StakedSui!
3385
+ """
3386
+ A cursor for use in pagination
3387
+ """
3388
+ cursor: String!
3389
+ }
3390
+
3391
+ """
3392
+ SUI set aside to account for objects stored on-chain.
3393
+ """
3394
+ type StorageFund {
3395
+ """
3396
+ Sum of storage rebates of live objects on chain.
3397
+ """
3398
+ totalObjectStorageRebates: BigInt
3399
+ """
3400
+ The portion of the storage fund that will never be refunded through storage rebates.
3401
+
3402
+ The system maintains an invariant that the sum of all storage fees into the storage fund is
3403
+ equal to the sum of of all storage rebates out, the total storage rebates remaining, and the
3404
+ non-refundable balance.
3405
+ """
3406
+ nonRefundableBalance: BigInt
3407
+ }
3408
+
3409
+
3410
+ """
3411
+ String containing 32B hex-encoded address, with a leading "0x". Leading zeroes can be omitted on input but will always appear in outputs (SuiAddress in output is guaranteed to be 66 characters long).
3412
+ """
3413
+ scalar SuiAddress
3414
+
3415
+ type SuinsRegistration implements IMoveObject & IObject & IOwner {
3416
+ address: SuiAddress!
3417
+ """
3418
+ Objects owned by this object, optionally `filter`-ed.
3419
+ """
3420
+ objects(first: Int, after: String, last: Int, before: String, filter: ObjectFilter): MoveObjectConnection!
3421
+ """
3422
+ Total balance of all coins with marker type owned by this object. If type is not supplied,
3423
+ it defaults to `0x2::sui::SUI`.
3424
+ """
3425
+ balance(type: String): Balance
3426
+ """
3427
+ The balances of all coin types owned by this object.
3428
+ """
3429
+ balances(first: Int, after: String, last: Int, before: String): BalanceConnection!
3430
+ """
3431
+ The coin objects for this object.
3432
+
3433
+ `type` is a filter on the coin's type parameter, defaulting to `0x2::sui::SUI`.
3434
+ """
3435
+ coins(first: Int, after: String, last: Int, before: String, type: String): CoinConnection!
3436
+ """
3437
+ The `0x3::staking_pool::StakedSui` objects owned by this object.
3438
+ """
3439
+ stakedSuis(first: Int, after: String, last: Int, before: String): StakedSuiConnection!
3440
+ """
3441
+ The domain explicitly configured as the default domain pointing to this object.
3442
+ """
3443
+ defaultSuinsName: String
3444
+ """
3445
+ The SuinsRegistration NFTs owned by this object. These grant the owner the capability to
3446
+ manage the associated domain.
3447
+ """
3448
+ suinsRegistrations(first: Int, after: String, last: Int, before: String): SuinsRegistrationConnection!
3449
+ version: Int!
3450
+ """
3451
+ The current status of the object as read from the off-chain store. The possible states are:
3452
+ NOT_INDEXED, the object is loaded from serialized data, such as the contents of a genesis or
3453
+ system package upgrade transaction. LIVE, the version returned is the most recent for the
3454
+ object, and it is not deleted or wrapped at that version. HISTORICAL, the object was
3455
+ referenced at a specific version or checkpoint, so is fetched from historical tables and may
3456
+ not be the latest version of the object. WRAPPED_OR_DELETED, the object is deleted or
3457
+ wrapped and only partial information can be loaded."
3458
+ """
3459
+ status: ObjectKind!
3460
+ """
3461
+ 32-byte hash that identifies the object's contents, encoded as a Base58 string.
3462
+ """
3463
+ digest: String
3464
+ """
3465
+ The owner type of this object: Immutable, Shared, Parent, Address
3466
+ """
3467
+ owner: ObjectOwner
3468
+ """
3469
+ The transaction block that created this version of the object.
3470
+ """
3471
+ previousTransactionBlock: TransactionBlock
3472
+ """
3473
+ The amount of SUI we would rebate if this object gets deleted or mutated. This number is
3474
+ recalculated based on the present storage gas price.
3475
+ """
3476
+ storageRebate: BigInt
3477
+ """
3478
+ The transaction blocks that sent objects to this object.
3479
+ """
3480
+ receivedTransactionBlocks(first: Int, after: String, last: Int, before: String, filter: TransactionBlockFilter): TransactionBlockConnection!
3481
+ """
3482
+ The Base64-encoded BCS serialization of the object's content.
3483
+ """
3484
+ bcs: Base64
3485
+ """
3486
+ Displays the contents of the Move object in a JSON string and through GraphQL types. Also
3487
+ provides the flat representation of the type signature, and the BCS of the corresponding
3488
+ data.
3489
+ """
3490
+ contents: MoveValue
3491
+ """
3492
+ Determines whether a transaction can transfer this object, using the TransferObjects
3493
+ transaction command or `sui::transfer::public_transfer`, both of which require the object to
3494
+ have the `key` and `store` abilities.
3495
+ """
3496
+ hasPublicTransfer: Boolean!
3497
+ """
3498
+ The set of named templates defined on-chain for the type of this object, to be handled
3499
+ off-chain. The server substitutes data from the object into these templates to generate a
3500
+ display string per template.
3501
+ """
3502
+ display: [DisplayEntry!]
3503
+ """
3504
+ Access a dynamic field on an object using its name. Names are arbitrary Move values whose
3505
+ type have `copy`, `drop`, and `store`, and are specified using their type, and their BCS
3506
+ contents, Base64 encoded.
3507
+
3508
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
3509
+ type.
3510
+ """
3511
+ dynamicField(name: DynamicFieldName!): DynamicField
3512
+ """
3513
+ Access a dynamic object field on an object using its name. Names are arbitrary Move values
3514
+ whose type have `copy`, `drop`, and `store`, and are specified using their type, and their
3515
+ BCS contents, Base64 encoded. The value of a dynamic object field can also be accessed
3516
+ off-chain directly via its address (e.g. using `Query.object`).
3517
+
3518
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
3519
+ type.
3520
+ """
3521
+ dynamicObjectField(name: DynamicFieldName!): DynamicField
3522
+ """
3523
+ The dynamic fields and dynamic object fields on an object.
3524
+
3525
+ Dynamic fields on wrapped objects can be accessed by using the same API under the Owner
3526
+ type.
3527
+ """
3528
+ dynamicFields(first: Int, after: String, last: Int, before: String): DynamicFieldConnection!
3529
+ """
3530
+ Domain name of the SuinsRegistration object
3531
+ """
3532
+ domain: String!
3533
+ }
3534
+
3535
+ type SuinsRegistrationConnection {
3536
+ """
3537
+ Information to aid in pagination.
3538
+ """
3539
+ pageInfo: PageInfo!
3540
+ """
3541
+ A list of edges.
3542
+ """
3543
+ edges: [SuinsRegistrationEdge!]!
3544
+ """
3545
+ A list of nodes.
3546
+ """
3547
+ nodes: [SuinsRegistration!]!
3548
+ }
3549
+
3550
+ """
3551
+ An edge in a connection.
3552
+ """
3553
+ type SuinsRegistrationEdge {
3554
+ """
3555
+ The item at the end of the edge
3556
+ """
3557
+ node: SuinsRegistration!
3558
+ """
3559
+ A cursor for use in pagination
3560
+ """
3561
+ cursor: String!
3562
+ }
3563
+
3564
+ """
3565
+ Details of the system that are decided during genesis.
3566
+ """
3567
+ type SystemParameters {
3568
+ """
3569
+ Target duration of an epoch, in milliseconds.
3570
+ """
3571
+ durationMs: BigInt
3572
+ """
3573
+ The epoch at which stake subsidies start being paid out.
3574
+ """
3575
+ stakeSubsidyStartEpoch: Int
3576
+ """
3577
+ The minimum number of active validators that the system supports.
3578
+ """
3579
+ minValidatorCount: Int
3580
+ """
3581
+ The maximum number of active validators that the system supports.
3582
+ """
3583
+ maxValidatorCount: Int
3584
+ """
3585
+ Minimum stake needed to become a new validator.
3586
+ """
3587
+ minValidatorJoiningStake: BigInt
3588
+ """
3589
+ Validators with stake below this threshold will enter the grace period (see
3590
+ `validatorLowStakeGracePeriod`), after which they are removed from the active validator set.
3591
+ """
3592
+ validatorLowStakeThreshold: BigInt
3593
+ """
3594
+ Validators with stake below this threshold will be removed from the the active validator set
3595
+ at the next epoch boundary, without a grace period.
3596
+ """
3597
+ validatorVeryLowStakeThreshold: BigInt
3598
+ """
3599
+ The number of epochs that a validator has to recover from having less than
3600
+ `validatorLowStakeThreshold` stake.
3601
+ """
3602
+ validatorLowStakeGracePeriod: BigInt
3603
+ }
3604
+
3605
+ """
3606
+ An argument to a programmable transaction command.
3607
+ """
3608
+ union TransactionArgument = GasCoin | Input | Result
3609
+
3610
+ type TransactionBlock {
3611
+ """
3612
+ A 32-byte hash that uniquely identifies the transaction block contents, encoded in Base58.
3613
+ This serves as a unique id for the block on chain.
3614
+ """
3615
+ digest: String
3616
+ """
3617
+ The address corresponding to the public key that signed this transaction. System
3618
+ transactions do not have senders.
3619
+ """
3620
+ sender: Address
3621
+ """
3622
+ The gas input field provides information on what objects were used as gas as well as the
3623
+ owner of the gas object(s) and information on the gas price and budget.
3624
+
3625
+ If the owner of the gas object(s) is not the same as the sender, the transaction block is a
3626
+ sponsored transaction block.
3627
+ """
3628
+ gasInput: GasInput
3629
+ """
3630
+ The type of this transaction as well as the commands and/or parameters comprising the
3631
+ transaction of this kind.
3632
+ """
3633
+ kind: TransactionBlockKind
3634
+ """
3635
+ A list of all signatures, Base64-encoded, from senders, and potentially the gas owner if
3636
+ this is a sponsored transaction.
3637
+ """
3638
+ signatures: [Base64!]
3639
+ """
3640
+ The effects field captures the results to the chain of executing this transaction.
3641
+ """
3642
+ effects: TransactionBlockEffects
3643
+ """
3644
+ This field is set by senders of a transaction block. It is an epoch reference that sets a
3645
+ deadline after which validators will no longer consider the transaction valid. By default,
3646
+ there is no deadline for when a transaction must execute.
3647
+ """
3648
+ expiration: Epoch
3649
+ """
3650
+ Serialized form of this transaction's `SenderSignedData`, BCS serialized and Base64 encoded.
3651
+ """
3652
+ bcs: Base64
3653
+ }
3654
+
3655
+ type TransactionBlockConnection {
3656
+ """
3657
+ Information to aid in pagination.
3658
+ """
3659
+ pageInfo: PageInfo!
3660
+ """
3661
+ A list of edges.
3662
+ """
3663
+ edges: [TransactionBlockEdge!]!
3664
+ """
3665
+ A list of nodes.
3666
+ """
3667
+ nodes: [TransactionBlock!]!
3668
+ }
3669
+
3670
+ """
3671
+ An edge in a connection.
3672
+ """
3673
+ type TransactionBlockEdge {
3674
+ """
3675
+ The item at the end of the edge
3676
+ """
3677
+ node: TransactionBlock!
3678
+ """
3679
+ A cursor for use in pagination
3680
+ """
3681
+ cursor: String!
3682
+ }
3683
+
3684
+ """
3685
+ The effects representing the result of executing a transaction block.
3686
+ """
3687
+ type TransactionBlockEffects {
3688
+ """
3689
+ The transaction that ran to produce these effects.
3690
+ """
3691
+ transactionBlock: TransactionBlock
3692
+ """
3693
+ Whether the transaction executed successfully or not.
3694
+ """
3695
+ status: ExecutionStatus
3696
+ """
3697
+ The latest version of all objects (apart from packages) that have been created or modified
3698
+ by this transaction, immediately following this transaction.
3699
+ """
3700
+ lamportVersion: Int!
3701
+ """
3702
+ The reason for a transaction failure, if it did fail.
3703
+ """
3704
+ errors: String
3705
+ """
3706
+ Transactions whose outputs this transaction depends upon.
3707
+ """
3708
+ dependencies(first: Int, after: String, last: Int, before: String): DependencyConnection!
3709
+ """
3710
+ Effects to the gas object.
3711
+ """
3712
+ gasEffects: GasEffects
3713
+ """
3714
+ Shared objects that are referenced by but not changed by this transaction.
3715
+ """
3716
+ unchangedSharedObjects(first: Int, after: String, last: Int, before: String): UnchangedSharedObjectConnection!
3717
+ """
3718
+ The effect this transaction had on objects on-chain.
3719
+ """
3720
+ objectChanges(first: Int, after: String, last: Int, before: String): ObjectChangeConnection!
3721
+ """
3722
+ The effect this transaction had on the balances (sum of coin values per coin type) of
3723
+ addresses and objects.
3724
+ """
3725
+ balanceChanges(first: Int, after: String, last: Int, before: String): BalanceChangeConnection!
3726
+ """
3727
+ Events emitted by this transaction block.
3728
+ """
3729
+ events(first: Int, after: String, last: Int, before: String): EventConnection!
3730
+ """
3731
+ Timestamp corresponding to the checkpoint this transaction was finalized in.
3732
+ """
3733
+ timestamp: DateTime
3734
+ """
3735
+ The epoch this transaction was finalized in.
3736
+ """
3737
+ epoch: Epoch
3738
+ """
3739
+ The checkpoint this transaction was finalized in.
3740
+ """
3741
+ checkpoint: Checkpoint
3742
+ """
3743
+ Base64 encoded bcs serialization of the on-chain transaction effects.
3744
+ """
3745
+ bcs: Base64!
3746
+ }
3747
+
3748
+ input TransactionBlockFilter {
3749
+ function: String
3750
+ """
3751
+ An input filter selecting for either system or programmable transactions.
3752
+ """
3753
+ kind: TransactionBlockKindInput
3754
+ afterCheckpoint: Int
3755
+ atCheckpoint: Int
3756
+ beforeCheckpoint: Int
3757
+ signAddress: SuiAddress
3758
+ recvAddress: SuiAddress
3759
+ inputObject: SuiAddress
3760
+ changedObject: SuiAddress
3761
+ transactionIds: [String!]
3762
+ }
3763
+
3764
+ """
3765
+ The kind of transaction block, either a programmable transaction or a system transaction.
3766
+ """
3767
+ union TransactionBlockKind = ConsensusCommitPrologueTransaction | GenesisTransaction | ChangeEpochTransaction | ProgrammableTransactionBlock | AuthenticatorStateUpdateTransaction | RandomnessStateUpdateTransaction | EndOfEpochTransaction
3768
+
3769
+ """
3770
+ An input filter selecting for either system or programmable transactions.
3771
+ """
3772
+ enum TransactionBlockKindInput {
3773
+ """
3774
+ A system transaction can be one of several types of transactions.
3775
+ See [unions/transaction-block-kind] for more details.
3776
+ """
3777
+ SYSTEM_TX
3778
+ """
3779
+ A user submitted transaction block.
3780
+ """
3781
+ PROGRAMMABLE_TX
3782
+ }
3783
+
3784
+ union TransactionInput = OwnedOrImmutable | SharedInput | Receiving | Pure
3785
+
3786
+ type TransactionInputConnection {
3787
+ """
3788
+ Information to aid in pagination.
3789
+ """
3790
+ pageInfo: PageInfo!
3791
+ """
3792
+ A list of edges.
3793
+ """
3794
+ edges: [TransactionInputEdge!]!
3795
+ """
3796
+ A list of nodes.
3797
+ """
3798
+ nodes: [TransactionInput!]!
3799
+ }
3800
+
3801
+ """
3802
+ An edge in a connection.
3803
+ """
3804
+ type TransactionInputEdge {
3805
+ """
3806
+ The item at the end of the edge
3807
+ """
3808
+ node: TransactionInput!
3809
+ """
3810
+ A cursor for use in pagination
3811
+ """
3812
+ cursor: String!
3813
+ }
3814
+
3815
+ """
3816
+ The optional extra data a user can provide to a transaction dry run.
3817
+ `sender` defaults to `0x0`. If gasObjects` is not present, or is an empty list,
3818
+ it is substituted with a mock Coin object, `gasPrice` defaults to the reference
3819
+ gas price, `gasBudget` defaults to the max gas budget and `gasSponsor` defaults
3820
+ to the sender.
3821
+ """
3822
+ input TransactionMetadata {
3823
+ sender: SuiAddress
3824
+ gasPrice: Int
3825
+ gasObjects: [ObjectRef!]
3826
+ gasBudget: Int
3827
+ gasSponsor: SuiAddress
3828
+ }
3829
+
3830
+ """
3831
+ Transfers `inputs` to `address`. All inputs must have the `store` ability (allows public
3832
+ transfer) and must not be previously immutable or shared.
3833
+ """
3834
+ type TransferObjectsTransaction {
3835
+ """
3836
+ The objects to transfer.
3837
+ """
3838
+ inputs: [TransactionArgument!]!
3839
+ """
3840
+ The address to transfer to.
3841
+ """
3842
+ address: TransactionArgument!
3843
+ }
3844
+
3845
+ """
3846
+ Information about which previous versions of a package introduced its types.
3847
+ """
3848
+ type TypeOrigin {
3849
+ """
3850
+ Module defining the type.
3851
+ """
3852
+ module: String!
3853
+ """
3854
+ Name of the struct.
3855
+ """
3856
+ struct: String!
3857
+ """
3858
+ The storage ID of the package that first defined this type.
3859
+ """
3860
+ definingId: SuiAddress!
3861
+ }
3862
+
3863
+ """
3864
+ Details pertaining to shared objects that are referenced by but not changed by a transaction.
3865
+ This information is considered part of the effects, because although the transaction specifies
3866
+ the shared object as input, consensus must schedule it and pick the version that is actually
3867
+ used.
3868
+ """
3869
+ union UnchangedSharedObject = SharedObjectRead | SharedObjectDelete
3870
+
3871
+ type UnchangedSharedObjectConnection {
3872
+ """
3873
+ Information to aid in pagination.
3874
+ """
3875
+ pageInfo: PageInfo!
3876
+ """
3877
+ A list of edges.
3878
+ """
3879
+ edges: [UnchangedSharedObjectEdge!]!
3880
+ """
3881
+ A list of nodes.
3882
+ """
3883
+ nodes: [UnchangedSharedObject!]!
3884
+ }
3885
+
3886
+ """
3887
+ An edge in a connection.
3888
+ """
3889
+ type UnchangedSharedObjectEdge {
3890
+ """
3891
+ The item at the end of the edge
3892
+ """
3893
+ node: UnchangedSharedObject!
3894
+ """
3895
+ A cursor for use in pagination
3896
+ """
3897
+ cursor: String!
3898
+ }
3899
+
3900
+ """
3901
+ Upgrades a Move Package.
3902
+ """
3903
+ type UpgradeTransaction {
3904
+ """
3905
+ Bytecode for the modules to be published, BCS serialized and Base64 encoded.
3906
+ """
3907
+ modules: [Base64!]!
3908
+ """
3909
+ IDs of the transitive dependencies of the package to be published.
3910
+ """
3911
+ dependencies: [SuiAddress!]!
3912
+ """
3913
+ ID of the package being upgraded.
3914
+ """
3915
+ currentPackage: SuiAddress!
3916
+ """
3917
+ The `UpgradeTicket` authorizing the upgrade.
3918
+ """
3919
+ upgradeTicket: TransactionArgument!
3920
+ }
3921
+
3922
+ type Validator {
3923
+ """
3924
+ The validator's address.
3925
+ """
3926
+ address: Address!
3927
+ """
3928
+ Validator's set of credentials such as public keys, network addresses and others.
3929
+ """
3930
+ credentials: ValidatorCredentials
3931
+ """
3932
+ Validator's set of credentials for the next epoch.
3933
+ """
3934
+ nextEpochCredentials: ValidatorCredentials
3935
+ """
3936
+ Validator's name.
3937
+ """
3938
+ name: String
3939
+ """
3940
+ Validator's description.
3941
+ """
3942
+ description: String
3943
+ """
3944
+ Validator's url containing their custom image.
3945
+ """
3946
+ imageUrl: String
3947
+ """
3948
+ Validator's homepage URL.
3949
+ """
3950
+ projectUrl: String
3951
+ """
3952
+ The validator's current valid `Cap` object. Validators can delegate
3953
+ the operation ability to another address. The address holding this `Cap` object
3954
+ can then update the reference gas price and tallying rule on behalf of the validator.
3955
+ """
3956
+ operationCap: MoveObject
3957
+ """
3958
+ The validator's current staking pool object, used to track the amount of stake
3959
+ and to compound staking rewards.
3960
+ """
3961
+ stakingPool: MoveObject
3962
+ """
3963
+ The validator's current exchange object. The exchange rate is used to determine
3964
+ the amount of SUI tokens that each past SUI staker can withdraw in the future.
3965
+ """
3966
+ exchangeRates: MoveObject
3967
+ """
3968
+ Number of exchange rates in the table.
3969
+ """
3970
+ exchangeRatesSize: Int
3971
+ """
3972
+ The epoch at which this pool became active.
3973
+ """
3974
+ stakingPoolActivationEpoch: Int
3975
+ """
3976
+ The total number of SUI tokens in this pool.
3977
+ """
3978
+ stakingPoolSuiBalance: BigInt
3979
+ """
3980
+ The epoch stake rewards will be added here at the end of each epoch.
3981
+ """
3982
+ rewardsPool: BigInt
3983
+ """
3984
+ Total number of pool tokens issued by the pool.
3985
+ """
3986
+ poolTokenBalance: BigInt
3987
+ """
3988
+ Pending stake amount for this epoch.
3989
+ """
3990
+ pendingStake: BigInt
3991
+ """
3992
+ Pending stake withdrawn during the current epoch, emptied at epoch boundaries.
3993
+ """
3994
+ pendingTotalSuiWithdraw: BigInt
3995
+ """
3996
+ Pending pool token withdrawn during the current epoch, emptied at epoch boundaries.
3997
+ """
3998
+ pendingPoolTokenWithdraw: BigInt
3999
+ """
4000
+ The voting power of this validator in basis points (e.g., 100 = 1% voting power).
4001
+ """
4002
+ votingPower: Int
4003
+ """
4004
+ The reference gas price for this epoch.
4005
+ """
4006
+ gasPrice: BigInt
4007
+ """
4008
+ The fee charged by the validator for staking services.
4009
+ """
4010
+ commissionRate: Int
4011
+ """
4012
+ The total number of SUI tokens in this pool plus
4013
+ the pending stake amount for this epoch.
4014
+ """
4015
+ nextEpochStake: BigInt
4016
+ """
4017
+ The validator's gas price quote for the next epoch.
4018
+ """
4019
+ nextEpochGasPrice: BigInt
4020
+ """
4021
+ The proposed next epoch fee for the validator's staking services.
4022
+ """
4023
+ nextEpochCommissionRate: Int
4024
+ """
4025
+ The number of epochs for which this validator has been below the
4026
+ low stake threshold.
4027
+ """
4028
+ atRisk: Int
4029
+ """
4030
+ The addresses of other validators this validator has reported.
4031
+ """
4032
+ reportRecords(first: Int, before: String, last: Int, after: String): AddressConnection!
4033
+ """
4034
+ The APY of this validator in basis points.
4035
+ To get the APY in percentage, divide by 100.
4036
+ """
4037
+ apy: Int
4038
+ }
4039
+
4040
+ type ValidatorConnection {
4041
+ """
4042
+ Information to aid in pagination.
4043
+ """
4044
+ pageInfo: PageInfo!
4045
+ """
4046
+ A list of edges.
4047
+ """
4048
+ edges: [ValidatorEdge!]!
4049
+ """
4050
+ A list of nodes.
4051
+ """
4052
+ nodes: [Validator!]!
4053
+ }
4054
+
4055
+ """
4056
+ The credentials related fields associated with a validator.
4057
+ """
4058
+ type ValidatorCredentials {
4059
+ protocolPubKey: Base64
4060
+ networkPubKey: Base64
4061
+ workerPubKey: Base64
4062
+ proofOfPossession: Base64
4063
+ netAddress: String
4064
+ p2PAddress: String
4065
+ primaryAddress: String
4066
+ workerAddress: String
4067
+ }
4068
+
4069
+ """
4070
+ An edge in a connection.
4071
+ """
4072
+ type ValidatorEdge {
4073
+ """
4074
+ The item at the end of the edge
4075
+ """
4076
+ node: Validator!
4077
+ """
4078
+ A cursor for use in pagination
4079
+ """
4080
+ cursor: String!
4081
+ }
4082
+
4083
+ """
4084
+ Representation of `0x3::validator_set::ValidatorSet`.
4085
+ """
4086
+ type ValidatorSet {
4087
+ """
4088
+ Total amount of stake for all active validators at the beginning of the epoch.
4089
+ """
4090
+ totalStake: BigInt
4091
+ """
4092
+ Validators that are pending removal from the active validator set, expressed as indices in
4093
+ to `activeValidators`.
4094
+ """
4095
+ pendingRemovals: [Int!]
4096
+ """
4097
+ Object ID of the wrapped object `TableVec` storing the pending active validators.
4098
+ """
4099
+ pendingActiveValidatorsId: SuiAddress
4100
+ """
4101
+ Size of the pending active validators table.
4102
+ """
4103
+ pendingActiveValidatorsSize: Int
4104
+ """
4105
+ Object ID of the `Table` storing the mapping from staking pool ids to the addresses
4106
+ of the corresponding validators. This is needed because a validator's address
4107
+ can potentially change but the object ID of its pool will not.
4108
+ """
4109
+ stakingPoolMappingsId: SuiAddress
4110
+ """
4111
+ Size of the stake pool mappings `Table`.
4112
+ """
4113
+ stakingPoolMappingsSize: Int
4114
+ """
4115
+ Object ID of the `Table` storing the inactive staking pools.
4116
+ """
4117
+ inactivePoolsId: SuiAddress
4118
+ """
4119
+ Size of the inactive pools `Table`.
4120
+ """
4121
+ inactivePoolsSize: Int
4122
+ """
4123
+ Object ID of the `Table` storing the validator candidates.
4124
+ """
4125
+ validatorCandidatesId: SuiAddress
4126
+ """
4127
+ Size of the validator candidates `Table`.
4128
+ """
4129
+ validatorCandidatesSize: Int
4130
+ """
4131
+ The current set of active validators.
4132
+ """
4133
+ activeValidators(first: Int, before: String, last: Int, after: String): ValidatorConnection!
4134
+ }
4135
+
4136
+ """
4137
+ An enum that specifies the intent scope to be used to parse the bytes for signature
4138
+ verification.
4139
+ """
4140
+ enum ZkLoginIntentScope {
4141
+ """
4142
+ Indicates that the bytes are to be parsed as transaction data bytes.
4143
+ """
4144
+ TRANSACTION_DATA
4145
+ """
4146
+ Indicates that the bytes are to be parsed as a personal message.
4147
+ """
4148
+ PERSONAL_MESSAGE
4149
+ }
4150
+
4151
+ """
4152
+ The result of the zkLogin signature verification.
4153
+ """
4154
+ type ZkLoginVerifyResult {
4155
+ """
4156
+ The boolean result of the verification. If true, errors should be empty.
4157
+ """
4158
+ success: Boolean!
4159
+ """
4160
+ The errors field captures any verification error
4161
+ """
4162
+ errors: [String!]!
4163
+ }
4164
+
4165
+ schema {
4166
+ query: Query
4167
+ mutation: Mutation
4168
+ }