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