diff --git a/Cargo.lock b/Cargo.lock
index 42034796d1f0b..70e1e71311ba5 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -185,7 +185,7 @@ dependencies = [
"serde_json",
"socket2 0.5.6",
"tap",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-util 0.7.10",
"tower 0.4.13",
@@ -214,7 +214,7 @@ dependencies = [
"prettyplease",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -776,7 +776,7 @@ dependencies = [
"nom",
"num-traits",
"rusticata-macros",
- "thiserror",
+ "thiserror 1.0.64",
"time",
]
@@ -889,7 +889,7 @@ dependencies = [
"serde_urlencoded",
"static_assertions_next",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"tracing",
"tracing-futures",
]
@@ -925,8 +925,8 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"strum 0.25.0",
- "syn 2.0.79",
- "thiserror",
+ "syn 2.0.87",
+ "thiserror 1.0.64",
]
[[package]]
@@ -971,7 +971,7 @@ checksum = "0e97ce7de6cf12de5d7226c73f5ba9811622f4db3a5b91b55c53e987e5f91cba"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -993,7 +993,7 @@ checksum = "c7c24de15d275a1ecfd47a380fb4d5ec9bfe0933f309ed5e705b775596a3574d"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -1009,7 +1009,7 @@ checksum = "bc00ceb34980c03614e35a3a4e218276a0a824e911d07651cd0d858a51e8c0f0"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -1673,7 +1673,7 @@ dependencies = [
"heck 0.4.1",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -1838,7 +1838,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "85b6598a2f5d564fb7855dc6b06fd1c38cff5a72bd8b863a4d021938497b440a"
dependencies = [
"serde",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -1877,7 +1877,7 @@ dependencies = [
"byteorder",
"ff 0.13.0",
"serde",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -1954,7 +1954,7 @@ dependencies = [
"regex",
"rustc-hash 1.1.0",
"shlex",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -1981,7 +1981,16 @@ version = "0.5.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "0700ddab506f33b20a03b13996eccd309a48e5ff77d0d95926aa0210fb4e95f1"
dependencies = [
- "bit-vec",
+ "bit-vec 0.6.3",
+]
+
+[[package]]
+name = "bit-set"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "08807e080ed7f9d5433fa9b275196cfc35414f66a0c79d864dc51a0d825231a3"
+dependencies = [
+ "bit-vec 0.8.0",
]
[[package]]
@@ -1990,6 +1999,12 @@ version = "0.6.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "349f9b6a179ed607305526ca489b34ad0a41aed5f7980fa90eb03160b69598fb"
+[[package]]
+name = "bit-vec"
+version = "0.8.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "5e764a1d40d510daf35e07be9eb06e75770908c27d411ee6c92109c9840eaaf7"
+
[[package]]
name = "bitcoin-private"
version = "0.1.0"
@@ -2325,7 +2340,7 @@ dependencies = [
"instant",
"lazy_static",
"once_cell",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
]
@@ -2390,7 +2405,7 @@ dependencies = [
"semver 1.0.23",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -2404,7 +2419,7 @@ dependencies = [
"semver 1.0.23",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -2569,7 +2584,7 @@ dependencies = [
"heck 0.5.0",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -2623,7 +2638,7 @@ dependencies = [
"k256 0.13.1",
"serde",
"sha2 0.10.8",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -2639,7 +2654,7 @@ dependencies = [
"pbkdf2 0.12.1",
"rand 0.8.5",
"sha2 0.10.8",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -2659,7 +2674,7 @@ dependencies = [
"serde_derive",
"sha2 0.10.8",
"sha3 0.10.6",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -2800,7 +2815,7 @@ dependencies = [
"tap",
"telemetry-subscribers",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-rustls 0.26.0",
"tokio-stream",
@@ -2939,7 +2954,7 @@ dependencies = [
"serde",
"serde_json",
"tar",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"url",
]
@@ -2950,15 +2965,6 @@ version = "0.4.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "6245d59a3e82a7fc217c5828a6692dbc6dfb63a0c8c90495621f7b9d79704a0e"
-[[package]]
-name = "convert_case"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ec182b0ca2f35d8fc196cf3404988fd8b8c739a4d270ff118a398feb0cbec1ca"
-dependencies = [
- "unicode-segmentation",
-]
-
[[package]]
name = "copy_dir"
version = "0.1.3"
@@ -3304,7 +3310,7 @@ checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -3376,7 +3382,7 @@ dependencies = [
"serde",
"serde_json",
"static_assertions",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -3393,8 +3399,8 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"strsim 0.10.0",
- "syn 2.0.79",
- "thiserror",
+ "syn 2.0.87",
+ "thiserror 1.0.64",
]
[[package]]
@@ -3417,7 +3423,7 @@ dependencies = [
"cynic-codegen",
"darling 0.20.3",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -3489,7 +3495,7 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"strsim 0.10.0",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -3522,7 +3528,7 @@ checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5"
dependencies = [
"darling_core 0.20.3",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -3693,7 +3699,7 @@ version = "0.99.17"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fb810d30a7c1953f91334de7244731fc3f3c10d7fe163338a35b9f640960321"
dependencies = [
- "convert_case 0.4.0",
+ "convert_case",
"proc-macro2 1.0.87",
"quote 1.0.37",
"rustc_version",
@@ -3717,7 +3723,7 @@ checksum = "cb7330aeadfbe296029522e6c40f315320aba36fc43a5b3632f3795348f3bd22"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
"unicode-xid 0.2.4",
]
@@ -3777,7 +3783,7 @@ dependencies = [
"dsl_auto_type",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -3797,7 +3803,7 @@ version = "0.2.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "209c735641a413bc68c4923a9d6ad4bcb3ca306b794edaa7eb0b3228a99ffb25"
dependencies = [
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -3963,7 +3969,7 @@ dependencies = [
"serde",
"serde_json",
"tar",
- "thiserror",
+ "thiserror 1.0.64",
"url",
]
@@ -3979,30 +3985,6 @@ dependencies = [
"serde_with 2.1.0",
]
-[[package]]
-name = "documented"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "feadfed35b96a5634e08fc503677ded669549ae2cf7f0b01d5964f09d95487fd"
-dependencies = [
- "documented-macros",
- "phf",
- "thiserror",
-]
-
-[[package]]
-name = "documented-macros"
-version = "0.6.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "973659d4a62084e32a7f9332509455436d33684b316bb3bc2bb6dcea51a68c63"
-dependencies = [
- "convert_case 0.6.0",
- "optfield",
- "proc-macro2 1.0.87",
- "quote 1.0.37",
- "syn 2.0.79",
-]
-
[[package]]
name = "dotenvy"
version = "0.15.7"
@@ -4032,7 +4014,7 @@ dependencies = [
"heck 0.5.0",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -4051,7 +4033,7 @@ dependencies = [
"nom",
"rust_decimal",
"serde",
- "thiserror",
+ "thiserror 1.0.64",
"time",
]
@@ -4119,7 +4101,7 @@ dependencies = [
"rand_core 0.6.4",
"serde",
"sha2 0.9.9",
- "thiserror",
+ "thiserror 1.0.64",
"zeroize",
]
@@ -4248,7 +4230,7 @@ dependencies = [
"heck 0.4.1",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -4310,7 +4292,7 @@ checksum = "3bf679796c0322556351f287a51b49e48f7c4986e727b5dd78c972d30e2e16cc"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -4397,7 +4379,7 @@ dependencies = [
"serde_json",
"sha2 0.10.8",
"sha3 0.10.6",
- "thiserror",
+ "thiserror 1.0.64",
"uuid 0.8.2",
]
@@ -4414,7 +4396,7 @@ dependencies = [
"serde",
"serde_json",
"sha3 0.10.6",
- "thiserror",
+ "thiserror 1.0.64",
"uint",
]
@@ -4493,7 +4475,7 @@ dependencies = [
"pin-project",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -4515,7 +4497,7 @@ dependencies = [
"reqwest 0.11.20",
"serde",
"serde_json",
- "syn 2.0.79",
+ "syn 2.0.87",
"toml 0.8.16",
"walkdir",
]
@@ -4533,7 +4515,7 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"serde_json",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -4559,9 +4541,9 @@ dependencies = [
"serde",
"serde_json",
"strum 0.26.3",
- "syn 2.0.79",
+ "syn 2.0.87",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"tiny-keccak",
"unicode-xid 0.2.4",
]
@@ -4578,7 +4560,7 @@ dependencies = [
"semver 1.0.23",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
"tracing",
]
@@ -4602,7 +4584,7 @@ dependencies = [
"reqwest 0.11.20",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tracing",
"tracing-futures",
@@ -4635,7 +4617,7 @@ dependencies = [
"reqwest 0.11.20",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-tungstenite 0.20.1",
"tracing",
@@ -4662,7 +4644,7 @@ dependencies = [
"ethers-core",
"rand 0.8.5",
"sha2 0.10.8",
- "thiserror",
+ "thiserror 1.0.64",
"tracing",
]
@@ -4690,7 +4672,7 @@ dependencies = [
"serde_json",
"solang-parser",
"svm-rs",
- "thiserror",
+ "thiserror 1.0.64",
"tiny-keccak",
"tokio",
"tracing",
@@ -4804,7 +4786,7 @@ dependencies = [
"sha3 0.10.6",
"signature 2.2.0",
"static_assertions",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"typenum",
"zeroize",
@@ -5089,7 +5071,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8835f84f38484cc86f110a805655697908257fb9a7af005234060891557198e9"
dependencies = [
"nonempty 0.7.0",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -5216,7 +5198,7 @@ checksum = "162ee34ebcb7c64a8abebc059ce0fee27c2262618d7b60ed8faf72fef13c3650"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -5283,7 +5265,7 @@ dependencies = [
"reqwest 0.11.20",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
"time",
"tokio",
"tokio-stream",
@@ -5311,7 +5293,7 @@ dependencies = [
"rustls-pemfile 2.1.2",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tracing",
"tracing-futures",
@@ -5611,7 +5593,7 @@ dependencies = [
"pest_derive",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -6184,7 +6166,7 @@ checksum = "1ec89e9337638ecdc08744df490b221a7399bf8d164eb52a665454e60e075ad6"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -6413,7 +6395,7 @@ dependencies = [
"dyn-clone",
"lazy_static",
"newline-converter",
- "thiserror",
+ "thiserror 1.0.64",
"unicode-segmentation",
"unicode-width",
]
@@ -6633,7 +6615,7 @@ dependencies = [
"pest_derive",
"regex",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -6673,7 +6655,7 @@ dependencies = [
"pin-project",
"rustls-native-certs 0.6.2",
"soketto",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-rustls 0.23.4",
"tokio-util 0.7.10",
@@ -6703,7 +6685,7 @@ dependencies = [
"serde",
"serde_json",
"soketto",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tracing",
]
@@ -6721,7 +6703,7 @@ dependencies = [
"rustc-hash 1.1.0",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tracing",
]
@@ -6768,7 +6750,7 @@ dependencies = [
"beef",
"serde",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
"tracing",
]
@@ -6907,7 +6889,7 @@ dependencies = [
"serde",
"serde_json",
"serde_yaml 0.9.21",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-util 0.7.10",
"tower 0.5.1",
@@ -6928,7 +6910,7 @@ dependencies = [
"serde",
"serde-value",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -6938,7 +6920,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "55cb077ad656299f160924eb2912aa147d7339ea7d69e1b5517326fdcec3c1ca"
dependencies = [
"ascii-canvas",
- "bit-set",
+ "bit-set 0.5.3",
"ena",
"itertools 0.11.0",
"lalrpop-util",
@@ -7195,7 +7177,7 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"regex-syntax 0.8.2",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -7381,7 +7363,7 @@ dependencies = [
"supports-unicode",
"terminal_size",
"textwrap",
- "thiserror",
+ "thiserror 1.0.64",
"unicode-width",
]
@@ -7393,7 +7375,7 @@ checksum = "dcf09caffaac8068c346b6df2a7fc27a177fd20b39421a39ce0a211bde679a6c"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -7502,7 +7484,7 @@ dependencies = [
"skeptic",
"smallvec",
"tagptr",
- "thiserror",
+ "thiserror 1.0.64",
"triomphe",
"uuid 1.2.2",
]
@@ -7788,13 +7770,13 @@ dependencies = [
"once_cell",
"primitive-types 0.10.1",
"proptest",
- "proptest-derive",
+ "proptest-derive 0.3.0",
"rand 0.8.5",
"ref-cast",
"serde",
"serde_bytes",
"serde_with 3.9.0",
- "thiserror",
+ "thiserror 1.0.64",
"uint",
]
@@ -7974,7 +7956,7 @@ version = "0.1.0"
dependencies = [
"enum-compat-util",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -8539,7 +8521,7 @@ dependencies = [
"libc",
"once_cell",
"parking_lot 0.12.1",
- "thiserror",
+ "thiserror 1.0.64",
"widestring",
"winapi",
]
@@ -8956,7 +8938,7 @@ dependencies = [
"proc-macro-crate",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -8968,7 +8950,7 @@ dependencies = [
"proc-macro-crate",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -9089,17 +9071,6 @@ dependencies = [
"syn 1.0.107",
]
-[[package]]
-name = "openapiv3"
-version = "2.0.0"
-source = "git+https://github.com/bmwill/openapiv3.git?rev=ca4b4845b7c159a39f5c68ad8f7f76cb6f4d6963#ca4b4845b7c159a39f5c68ad8f7f76cb6f4d6963"
-dependencies = [
- "indexmap 2.2.6",
- "schemars",
- "serde",
- "serde_json",
-]
-
[[package]]
name = "openssl-probe"
version = "0.1.5"
@@ -9118,7 +9089,7 @@ dependencies = [
"js-sys",
"once_cell",
"pin-project-lite",
- "thiserror",
+ "thiserror 1.0.64",
"urlencoding",
]
@@ -9133,7 +9104,7 @@ dependencies = [
"js-sys",
"once_cell",
"pin-project-lite",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -9149,7 +9120,7 @@ dependencies = [
"opentelemetry-proto",
"opentelemetry_sdk",
"prost 0.13.3",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tonic 0.12.3",
]
@@ -9184,22 +9155,11 @@ dependencies = [
"percent-encoding",
"rand 0.8.5",
"serde_json",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-stream",
]
-[[package]]
-name = "optfield"
-version = "0.3.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "fa59f025cde9c698fcb4fcb3533db4621795374065bee908215263488f2d2a1d"
-dependencies = [
- "proc-macro2 1.0.87",
- "quote 1.0.37",
- "syn 2.0.79",
-]
-
[[package]]
name = "option-ext"
version = "0.2.0"
@@ -9247,7 +9207,7 @@ dependencies = [
"proc-macro-error",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -9261,7 +9221,7 @@ dependencies = [
"proc-macro2 1.0.87",
"proc-macro2-diagnostics",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -9646,7 +9606,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "cd53dff83f26735fdc1ca837098ccf133605d794cdae66acfc2bfac3ec809d95"
dependencies = [
"memchr",
- "thiserror",
+ "thiserror 1.0.64",
"ucd-trie",
]
@@ -9782,7 +9742,7 @@ checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -9956,7 +9916,7 @@ dependencies = [
"smallvec",
"symbolic-demangle",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -10020,7 +9980,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8d3928fb5db768cb86f891ff014f0144589297e3c6a1aba6ed7cecfdace270c7"
dependencies = [
"proc-macro2 1.0.87",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -10078,7 +10038,7 @@ version = "1.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e17d47ce914bf4de440332250b0edd23ce48c005f59fab39d3335866b114f11a"
dependencies = [
- "thiserror",
+ "thiserror 1.0.64",
"toml 0.5.11",
]
@@ -10138,7 +10098,7 @@ checksum = "af066a9c399a26e020ada66a034357a868728e72cd426f3adcd35f80d88d88c8"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
"version_check",
"yansi 1.0.1",
]
@@ -10155,7 +10115,7 @@ dependencies = [
"memchr",
"parking_lot 0.12.1",
"protobuf",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -10194,12 +10154,12 @@ dependencies = [
[[package]]
name = "proptest"
-version = "1.5.0"
+version = "1.6.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "b4c2511913b88df1637da85cc8d96ec8e43a3f8bb8ccb71ee1ac240d6f3df58d"
+checksum = "14cae93065090804185d3b75f0bf93b8eeda30c7a9b4a33d3bdb3988d6229e50"
dependencies = [
- "bit-set",
- "bit-vec",
+ "bit-set 0.8.0",
+ "bit-vec 0.8.0",
"bitflags 2.4.1",
"lazy_static",
"num-traits",
@@ -10223,6 +10183,17 @@ dependencies = [
"syn 0.15.44",
]
+[[package]]
+name = "proptest-derive"
+version = "0.5.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "4ee1c9ac207483d5e7db4940700de86a9aae46ef90c48b57f99fe7edb8345e49"
+dependencies = [
+ "proc-macro2 1.0.87",
+ "quote 1.0.37",
+ "syn 2.0.87",
+]
+
[[package]]
name = "prost"
version = "0.12.3"
@@ -10260,7 +10231,7 @@ dependencies = [
"prost 0.13.3",
"prost-types 0.13.3",
"regex",
- "syn 2.0.79",
+ "syn 2.0.87",
"tempfile",
]
@@ -10274,7 +10245,7 @@ dependencies = [
"itertools 0.11.0",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -10287,7 +10258,7 @@ dependencies = [
"itertools 0.13.0",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -10342,7 +10313,7 @@ dependencies = [
"prost-reflect",
"prost-types 0.13.3",
"protox-parse",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -10354,7 +10325,7 @@ dependencies = [
"logos",
"miette",
"prost-types 0.13.3",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -10438,7 +10409,7 @@ dependencies = [
"quinn-udp",
"rustc-hash 1.1.0",
"rustls 0.23.12",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tracing",
]
@@ -10455,7 +10426,7 @@ dependencies = [
"rustc-hash 2.0.0",
"rustls 0.23.12",
"slab",
- "thiserror",
+ "thiserror 1.0.64",
"tinyvec",
"tracing",
]
@@ -10707,7 +10678,7 @@ checksum = "b033d837a7cf162d7993aded9304e30a83213c648b6e389db233191f891e5c2b"
dependencies = [
"getrandom 0.2.15",
"redox_syscall 0.2.16",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -10727,7 +10698,7 @@ checksum = "bcc303e793d3734489387d205e9b186fac9c6cfacedd98cbb2e8a5943595f3e6"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -10878,7 +10849,7 @@ dependencies = [
"http 1.1.0",
"reqwest 0.12.5",
"serde",
- "thiserror",
+ "thiserror 1.0.64",
"tower-service",
]
@@ -11005,9 +10976,9 @@ dependencies = [
[[package]]
name = "roaring"
-version = "0.10.6"
+version = "0.10.9"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "8f4b84ba6e838ceb47b41de5194a60244fac43d9fe03b71dbe8c5a201081d6d1"
+checksum = "41589aba99537475bf697f2118357cad1c31590c5a1b9f6d9fc4ad6d07503661"
dependencies = [
"bytemuck",
"byteorder",
@@ -11215,7 +11186,7 @@ dependencies = [
"sha1",
"sha2 0.10.8",
"subtle",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-util 0.7.10",
]
@@ -11239,7 +11210,7 @@ dependencies = [
"aes",
"async-trait",
"bcrypt-pbkdf",
- "bit-vec",
+ "bit-vec 0.6.3",
"block-padding 0.3.2",
"byteorder",
"cbc",
@@ -11260,7 +11231,7 @@ dependencies = [
"russh-cryptovec",
"serde",
"sha2 0.10.8",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-stream",
"yasna",
@@ -11601,7 +11572,7 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"serde_derive_internals",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -11805,7 +11776,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "3b5b14ebbcc4e4f2b3642fa99c388649da58d1dc3308c7d109f39f565d1710f0"
dependencies = [
"serde",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -11816,7 +11787,7 @@ checksum = "f05a5f801ac62a51a49d378fdb3884480041b99aced450b28990673e8ff99895"
dependencies = [
"once_cell",
"serde",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -11846,7 +11817,7 @@ checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -11857,7 +11828,7 @@ checksum = "18d26a20a969b9e3fdf2fc2d9f21eda6c40e2de84c9408bb5d3b05d499aae711"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -11890,7 +11861,7 @@ checksum = "c7715380eec75f029a4ef7de39a9200e0a63823176b759d055b613f5a87df6a6"
dependencies = [
"percent-encoding",
"serde",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -11980,7 +11951,7 @@ dependencies = [
"darling 0.20.3",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -12210,7 +12181,7 @@ checksum = "adc4e5204eb1910f40f9cfa375f6f05b68c3abac4b6fd879c8ff5e7ae8a0a085"
dependencies = [
"num-bigint 0.4.4",
"num-traits",
- "thiserror",
+ "thiserror 1.0.64",
"time",
]
@@ -12365,7 +12336,7 @@ dependencies = [
"serde",
"serde_json",
"snowflake-jwt",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"url",
"uuid 1.2.2",
@@ -12382,7 +12353,7 @@ dependencies = [
"rsa 0.9.1",
"serde",
"sha2 0.10.8",
- "thiserror",
+ "thiserror 1.0.64",
"time",
]
@@ -12432,7 +12403,7 @@ dependencies = [
"lalrpop",
"lalrpop-util",
"phf",
- "thiserror",
+ "thiserror 1.0.64",
"unicode-xid 0.2.4",
]
@@ -12570,7 +12541,7 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"structmeta-derive",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -12581,7 +12552,7 @@ checksum = "152a0b65a590ff6c3da95cabe2353ee04e6167c896b28e3b14478c2636c922fc"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -12634,7 +12605,7 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"rustversion",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -12647,7 +12618,7 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"rustversion",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -12754,14 +12725,14 @@ dependencies = [
"sui-swarm",
"sui-swarm-config",
"sui-test-transaction-builder",
- "sui-transaction-builder",
+ "sui-transaction-builder 0.0.0",
"sui-types",
"tabled",
"tap",
"telemetry-subscribers",
"tempfile",
"test-cluster",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"toml 0.7.4",
"tower 0.4.13",
@@ -12934,7 +12905,7 @@ dependencies = [
"tap",
"telemetry-subscribers",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-stream",
"tracing",
@@ -13021,7 +12992,7 @@ dependencies = [
"sui-swarm-config",
"sui-types",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
]
@@ -13354,7 +13325,7 @@ dependencies = [
"telemetry-subscribers",
"tempfile",
"test-fuzz",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-retry",
"tokio-stream",
@@ -13547,6 +13518,7 @@ dependencies = [
"sui-swarm-config",
"sui-test-transaction-builder",
"sui-tool",
+ "sui-transaction-builder 0.1.0",
"sui-types",
"telemetry-subscribers",
"tempfile",
@@ -13631,7 +13603,7 @@ dependencies = [
"clap",
"expect-test",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"toml 0.7.4",
"toml_edit 0.19.10",
]
@@ -13665,7 +13637,7 @@ dependencies = [
"telemetry-subscribers",
"tempfile",
"test-cluster",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tonic 0.12.3",
"tower 0.4.13",
@@ -13860,7 +13832,7 @@ dependencies = [
"telemetry-subscribers",
"tempfile",
"test-cluster",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-util 0.7.10",
"toml 0.7.4",
@@ -13880,7 +13852,7 @@ dependencies = [
"reqwest 0.12.5",
"serde_json",
"sui-graphql-rpc-headers",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -13953,13 +13925,13 @@ dependencies = [
"sui-swarm-config",
"sui-synthetic-ingestion",
"sui-test-transaction-builder",
- "sui-transaction-builder",
+ "sui-transaction-builder 0.0.0",
"sui-types",
"tap",
"telemetry-subscribers",
"tempfile",
"test-cluster",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-stream",
"tokio-util 0.7.10",
@@ -14026,7 +13998,7 @@ dependencies = [
"sui-types",
"telemetry-subscribers",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-stream",
"tokio-util 0.7.10",
@@ -14050,7 +14022,7 @@ dependencies = [
"sui-pg-db",
"sui-types",
"telemetry-subscribers",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tracing",
"url",
@@ -14180,11 +14152,11 @@ dependencies = [
"sui-open-rpc-macros",
"sui-protocol-config",
"sui-storage",
- "sui-transaction-builder",
+ "sui-transaction-builder 0.0.0",
"sui-types",
"tap",
"telemetry-subscribers",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-util 0.7.10",
"tower 0.4.13",
@@ -14609,7 +14581,7 @@ dependencies = [
"telemetry-subscribers",
"tempfile",
"test-cluster",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-util 0.7.10",
"toml 0.7.4",
@@ -14804,7 +14776,7 @@ dependencies = [
"sui-json-rpc-types",
"sui-sdk",
"sui-types",
- "thiserror",
+ "thiserror 1.0.64",
"tracing",
]
@@ -14827,7 +14799,7 @@ dependencies = [
"sui-move-build",
"sui-rpc-api",
"sui-types",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tower 0.4.13",
]
@@ -14857,7 +14829,7 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"sui-enum-compat-util",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -14971,7 +14943,7 @@ dependencies = [
"sui-types",
"tabled",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tokio-util 0.7.10",
"tracing",
@@ -15016,7 +14988,7 @@ dependencies = [
"telemetry-subscribers",
"tempfile",
"test-cluster",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tracing",
"typed-store",
@@ -15032,7 +15004,6 @@ dependencies = [
"bcs",
"bytes",
"diffy",
- "documented",
"fastcrypto",
"http 1.1.0",
"itertools 0.13.0",
@@ -15040,7 +15011,6 @@ dependencies = [
"move-binary-format",
"move-core-types",
"mysten-network",
- "openapiv3",
"paste",
"prometheus",
"proptest",
@@ -15050,17 +15020,16 @@ dependencies = [
"rand 0.8.5",
"reqwest 0.12.5",
"roaring",
- "schemars",
"serde",
"serde_json",
"serde_with 3.9.0",
- "serde_yaml 0.8.26",
"sui-protocol-config",
"sui-sdk-types",
+ "sui-transaction-builder 0.1.0",
"sui-types",
"tap",
"test-strategy",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tonic 0.12.3",
"tonic-build",
@@ -15127,10 +15096,10 @@ dependencies = [
"sui-json-rpc-api",
"sui-json-rpc-types",
"sui-keys",
- "sui-transaction-builder",
+ "sui-transaction-builder 0.0.0",
"sui-types",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tracing",
]
@@ -15138,7 +15107,7 @@ dependencies = [
[[package]]
name = "sui-sdk-types"
version = "0.0.1"
-source = "git+https://github.com/MystenLabs/sui-rust-sdk.git?rev=24c34933c421319e9aa1c48b3b7108c756e1422f#24c34933c421319e9aa1c48b3b7108c756e1422f"
+source = "git+https://github.com/MystenLabs/sui-rust-sdk.git?rev=cb174b66714ea643e4b78bbfadb3f9c17e635460#cb174b66714ea643e4b78bbfadb3f9c17e635460"
dependencies = [
"base64ct",
"bcs",
@@ -15148,7 +15117,6 @@ dependencies = [
"hex",
"proptest",
"roaring",
- "schemars",
"serde",
"serde_derive",
"serde_json",
@@ -15293,7 +15261,7 @@ dependencies = [
"tar",
"tempfile",
"test-cluster",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tracing",
"ureq",
@@ -15603,6 +15571,20 @@ dependencies = [
"sui-types",
]
+[[package]]
+name = "sui-transaction-builder"
+version = "0.1.0"
+source = "git+https://github.com/MystenLabs/sui-rust-sdk.git?rev=cb174b66714ea643e4b78bbfadb3f9c17e635460#cb174b66714ea643e4b78bbfadb3f9c17e635460"
+dependencies = [
+ "base64ct",
+ "bcs",
+ "serde",
+ "serde_json",
+ "serde_with 3.9.0",
+ "sui-sdk-types",
+ "thiserror 2.0.9",
+]
+
[[package]]
name = "sui-transaction-checks"
version = "0.1.0"
@@ -15713,7 +15695,7 @@ dependencies = [
"passkey-types",
"prometheus",
"proptest",
- "proptest-derive",
+ "proptest-derive 0.5.1",
"rand 0.8.5",
"roaring",
"schemars",
@@ -15732,7 +15714,7 @@ dependencies = [
"sui-protocol-config",
"sui-sdk-types",
"tap",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tonic 0.12.3",
"tracing",
@@ -15899,7 +15881,7 @@ dependencies = [
"strum 0.24.1",
"tabled",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"toml_edit 0.19.10",
"tracing",
@@ -15942,7 +15924,7 @@ dependencies = [
"serde",
"serde_json",
"sha2 0.10.8",
- "thiserror",
+ "thiserror 1.0.64",
"url",
"zip",
]
@@ -15994,9 +15976,9 @@ dependencies = [
[[package]]
name = "syn"
-version = "2.0.79"
+version = "2.0.87"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "89132cd0bf050864e1d38dc3bbc07a0eb8e7530af26344d3d2bbbef83499f590"
+checksum = "25aa4ce346d03a6dcd68dd8b4010bcb74e54e62c90c573f394c46eae99aba32d"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
@@ -16035,7 +16017,7 @@ checksum = "c8af7666ab7b6390ab78131fb5b0fce11d6b7a6951602017c35fa82800708971"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -16308,7 +16290,7 @@ dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
"structmeta",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -16328,7 +16310,16 @@ version = "1.0.64"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84"
dependencies = [
- "thiserror-impl",
+ "thiserror-impl 1.0.64",
+]
+
+[[package]]
+name = "thiserror"
+version = "2.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f072643fd0190df67a8bab670c20ef5d8737177d6ac6b2e9a236cb096206b2cc"
+dependencies = [
+ "thiserror-impl 2.0.9",
]
[[package]]
@@ -16339,7 +16330,18 @@ checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
+]
+
+[[package]]
+name = "thiserror-impl"
+version = "2.0.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7b50fa271071aae2e6ee85f842e2e28ba8cd2c5fb67f11fcb1fd70b276f9e7d4"
+dependencies = [
+ "proc-macro2 1.0.87",
+ "quote 1.0.37",
+ "syn 2.0.87",
]
[[package]]
@@ -16417,7 +16419,7 @@ dependencies = [
"rand 0.8.5",
"rustc-hash 1.1.0",
"sha2 0.10.8",
- "thiserror",
+ "thiserror 1.0.64",
"unicode-normalization",
"wasm-bindgen",
"zeroize",
@@ -16520,7 +16522,7 @@ checksum = "5f5ae998a069d4b5aba8ee9dad856af7d520c3699e6159b185c2acd48155d39a"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -16530,7 +16532,7 @@ source = "git+https://github.com/mystenmark/tokio-madsim-fork.git?rev=d46208cb11
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -16859,7 +16861,7 @@ dependencies = [
"prost-build",
"prost-types 0.13.3",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -17040,7 +17042,7 @@ dependencies = [
"governor",
"http 1.1.0",
"pin-project",
- "thiserror",
+ "thiserror 1.0.64",
"tower 0.5.1",
"tracing",
]
@@ -17076,7 +17078,7 @@ checksum = "34704c8d6ebcbc939824180af020566b01a7c01f80641264eba0999f6c2b6be7"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -17201,7 +17203,7 @@ dependencies = [
"move-core-types",
"once_cell",
"proptest",
- "proptest-derive",
+ "proptest-derive 0.5.1",
"rand 0.8.5",
"sui-core",
"sui-move-build",
@@ -17266,7 +17268,7 @@ dependencies = [
"rand 0.8.5",
"rustls 0.21.12",
"sha1",
- "thiserror",
+ "thiserror 1.0.64",
"url",
"utf-8",
]
@@ -17285,7 +17287,7 @@ dependencies = [
"log",
"rand 0.8.5",
"sha1",
- "thiserror",
+ "thiserror 1.0.64",
"url",
"utf-8",
]
@@ -17327,7 +17329,7 @@ dependencies = [
"syn 1.0.107",
"tap",
"tempfile",
- "thiserror",
+ "thiserror 1.0.64",
"tokio",
"tracing",
"typed-store-derive",
@@ -17351,7 +17353,7 @@ name = "typed-store-error"
version = "0.4.0"
dependencies = [
"serde",
- "thiserror",
+ "thiserror 1.0.64",
]
[[package]]
@@ -17367,7 +17369,7 @@ dependencies = [
"quote 1.0.37",
"regex",
"regex-syntax 0.7.2",
- "syn 2.0.79",
+ "syn 2.0.87",
"zstd-sys",
]
@@ -17396,7 +17398,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a615d6c2764852a2e88a4f16e9ce1ea49bb776b5872956309e170d63a042a34f"
dependencies = [
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -17764,7 +17766,7 @@ dependencies = [
"once_cell",
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
"wasm-bindgen-shared",
]
@@ -17798,7 +17800,7 @@ checksum = "afc340c74d9005395cf9dd098506f7f44e38f2b4a21c6aaacf9a105ea5e1e836"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
"wasm-bindgen-backend",
"wasm-bindgen-shared",
]
@@ -18244,7 +18246,7 @@ dependencies = [
"pharos",
"rustc_version",
"send_wrapper 0.6.0",
- "thiserror",
+ "thiserror 1.0.64",
"wasm-bindgen",
"wasm-bindgen-futures",
"web-sys",
@@ -18291,7 +18293,7 @@ dependencies = [
"ring 0.17.8",
"signature 2.2.0",
"spki 0.7.3",
- "thiserror",
+ "thiserror 1.0.64",
"zeroize",
]
@@ -18309,7 +18311,7 @@ dependencies = [
"nom",
"oid-registry",
"rusticata-macros",
- "thiserror",
+ "thiserror 1.0.64",
"time",
]
@@ -18363,7 +18365,7 @@ version = "0.5.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e17bb3549cc1321ae1296b9cdc2698e2b6cb1992adfa19a8c72e5b7a738f44cd"
dependencies = [
- "bit-vec",
+ "bit-vec 0.6.3",
"num-bigint 0.4.4",
"time",
]
@@ -18388,7 +18390,7 @@ checksum = "2380878cad4ac9aac1e2435f3eb4020e8374b5f13c296cb75b4620ff8e229154"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
"synstructure 0.13.1",
]
@@ -18436,7 +18438,7 @@ checksum = "fa4f8080344d4671fb4e831a13ad1e68092748387dfc4f55e356242fae12ce3e"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
@@ -18456,7 +18458,7 @@ checksum = "595eed982f7d355beb85837f651fa22e90b3c044842dc7f2c2842c086f295808"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
"synstructure 0.13.1",
]
@@ -18500,7 +18502,7 @@ checksum = "6eafa6dfb17584ea3e2bd6e76e0cc15ad7af12b09abdd1ca55961bed9b1063c6"
dependencies = [
"proc-macro2 1.0.87",
"quote 1.0.37",
- "syn 2.0.79",
+ "syn 2.0.87",
]
[[package]]
diff --git a/Cargo.toml b/Cargo.toml
index 8904e028a211c..b7ffaf614990d 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -418,8 +418,8 @@ prometheus-http-query = { version = "0.8", default-features = false, features =
"rustls-tls",
] }
prometheus-parse = { git = "https://github.com/asonnino/prometheus-parser.git", rev = "75334db" }
-proptest = "1.1.0"
-proptest-derive = "0.3.0"
+proptest = "1.6.0"
+proptest-derive = "0.5"
prost = "0.13"
prost-build = "0.13"
prost-types = "0.13.1"
@@ -599,7 +599,8 @@ anemo-tower = { git = "https://github.com/mystenlabs/anemo.git", rev = "e609f769
# core-types with json format for REST api
# sui-sdk-types = { version = "0.0.1", features = ["hash", "serde", "schemars"] }
-sui-sdk-types = { git = "https://github.com/MystenLabs/sui-rust-sdk.git", rev = "24c34933c421319e9aa1c48b3b7108c756e1422f", features = ["hash", "serde", "schemars"] }
+sui-sdk-types = { git = "https://github.com/MystenLabs/sui-rust-sdk.git", rev = "cb174b66714ea643e4b78bbfadb3f9c17e635460", features = ["hash", "serde"] }
+sui-sdk-transaction-builder = { git = "https://github.com/MystenLabs/sui-rust-sdk.git", rev = "cb174b66714ea643e4b78bbfadb3f9c17e635460", package = "sui-transaction-builder" }
### Workspace Members ###
anemo-benchmark = { path = "crates/anemo-benchmark" }
diff --git a/crates/sui-e2e-tests/Cargo.toml b/crates/sui-e2e-tests/Cargo.toml
index b0e257f024c16..c15b6509bb83f 100644
--- a/crates/sui-e2e-tests/Cargo.toml
+++ b/crates/sui-e2e-tests/Cargo.toml
@@ -66,6 +66,7 @@ sui-keys.workspace = true
sui-rpc-api.workspace = true
shared-crypto.workspace = true
sui-sdk-types.workspace = true
+sui-sdk-transaction-builder.workspace = true
passkey-types.workspace = true
passkey-client.workspace = true
diff --git a/crates/sui-e2e-tests/tests/rpc/committee.rs b/crates/sui-e2e-tests/tests/rpc/committee.rs
index f6cfe05d5a867..da5ebfe8dc3cb 100644
--- a/crates/sui-e2e-tests/tests/rpc/committee.rs
+++ b/crates/sui-e2e-tests/tests/rpc/committee.rs
@@ -38,5 +38,5 @@ async fn get_committee() {
assert_eq!(latest_committee, epoch_0_committee);
// ensure we can convert proto committee type to sdk_types committee
- sui_sdk_types::types::ValidatorCommittee::try_from(&latest_committee).unwrap();
+ sui_sdk_types::ValidatorCommittee::try_from(&latest_committee).unwrap();
}
diff --git a/crates/sui-e2e-tests/tests/rpc/execute.rs b/crates/sui-e2e-tests/tests/rpc/execute.rs
index 0999327df1d6d..8cf4375598e21 100644
--- a/crates/sui-e2e-tests/tests/rpc/execute.rs
+++ b/crates/sui-e2e-tests/tests/rpc/execute.rs
@@ -4,7 +4,7 @@
use sui_macros::sim_test;
use sui_rpc_api::types::ExecuteTransactionOptions;
use sui_rpc_api::Client;
-use sui_sdk_types::types::BalanceChange;
+use sui_sdk_types::BalanceChange;
use sui_test_transaction_builder::make_transfer_sui_transaction;
use sui_types::base_types::SuiAddress;
use sui_types::effects::TransactionEffectsAPI;
diff --git a/crates/sui-e2e-tests/tests/rpc/main.rs b/crates/sui-e2e-tests/tests/rpc/main.rs
index 7f8ab35b7a3f8..aa1280746b51f 100644
--- a/crates/sui-e2e-tests/tests/rpc/main.rs
+++ b/crates/sui-e2e-tests/tests/rpc/main.rs
@@ -11,7 +11,7 @@ mod transactions;
async fn transfer_coin(
context: &sui_sdk::wallet_context::WalletContext,
-) -> sui_sdk_types::types::TransactionDigest {
+) -> sui_sdk_types::TransactionDigest {
let gas_price = context.get_reference_gas_price().await.unwrap();
let accounts_and_objs = context.get_all_accounts_and_gas_objects().await.unwrap();
let sender = accounts_and_objs[0].0;
@@ -29,7 +29,7 @@ async fn transfer_coin(
async fn stake_with_validator(
cluster: &test_cluster::TestCluster,
-) -> sui_sdk_types::types::TransactionDigest {
+) -> sui_sdk_types::TransactionDigest {
let context = &cluster.wallet;
let gas_price = context.get_reference_gas_price().await.unwrap();
let accounts_and_objs = context.get_all_accounts_and_gas_objects().await.unwrap();
diff --git a/crates/sui-e2e-tests/tests/rpc/objects.rs b/crates/sui-e2e-tests/tests/rpc/objects.rs
index c9d62e692df8a..6cd48f4c0bfd8 100644
--- a/crates/sui-e2e-tests/tests/rpc/objects.rs
+++ b/crates/sui-e2e-tests/tests/rpc/objects.rs
@@ -8,7 +8,7 @@ use sui_rpc_api::proto::node::node_client::NodeClient;
use sui_rpc_api::proto::node::GetObjectOptions;
use sui_rpc_api::proto::node::GetObjectRequest;
use sui_rpc_api::proto::node::GetObjectResponse;
-use sui_sdk_types::types::ObjectId;
+use sui_sdk_types::ObjectId;
use test_cluster::TestClusterBuilder;
#[sim_test]
diff --git a/crates/sui-e2e-tests/tests/rpc/resolve.rs b/crates/sui-e2e-tests/tests/rpc/resolve.rs
index 6de508bcfd4c7..157be937d44eb 100644
--- a/crates/sui-e2e-tests/tests/rpc/resolve.rs
+++ b/crates/sui-e2e-tests/tests/rpc/resolve.rs
@@ -8,10 +8,10 @@ use sui_rpc_api::client::reqwest::StatusCode;
use sui_rpc_api::client::sdk::Client as RestClient;
use sui_rpc_api::rest::transactions::ResolveTransactionQueryParameters;
use sui_rpc_api::Client;
-use sui_sdk_types::types::unresolved;
-use sui_sdk_types::types::Argument;
-use sui_sdk_types::types::Command;
-use sui_sdk_types::types::TransactionExpiration;
+use sui_sdk_transaction_builder::unresolved;
+use sui_sdk_types::Argument;
+use sui_sdk_types::Command;
+use sui_sdk_types::TransactionExpiration;
use sui_types::base_types::SuiAddress;
use sui_types::effects::TransactionEffectsAPI;
use test_cluster::TestClusterBuilder;
@@ -40,12 +40,10 @@ async fn resolve_transaction_simple_transfer() {
..Default::default()
},
],
- commands: vec![Command::TransferObjects(
- sui_sdk_types::types::TransferObjects {
- objects: vec![Argument::Input(0)],
- address: Argument::Input(1),
- },
- )],
+ commands: vec![Command::TransferObjects(sui_sdk_types::TransferObjects {
+ objects: vec![Argument::Input(0)],
+ address: Argument::Input(1),
+ })],
},
sender: sender.into(),
gas_payment: None,
@@ -104,12 +102,10 @@ async fn resolve_transaction_transfer_with_sponsor() {
..Default::default()
},
],
- commands: vec![Command::TransferObjects(
- sui_sdk_types::types::TransferObjects {
- objects: vec![Argument::Input(0)],
- address: Argument::Input(1),
- },
- )],
+ commands: vec![Command::TransferObjects(sui_sdk_types::TransferObjects {
+ objects: vec![Argument::Input(0)],
+ address: Argument::Input(1),
+ })],
},
sender: sender.into(),
gas_payment: Some(unresolved::GasPayment {
@@ -179,7 +175,7 @@ async fn resolve_transaction_borrowed_shared_object() {
object_id: Some("0x6".parse().unwrap()),
..Default::default()
}],
- commands: vec![Command::MoveCall(sui_sdk_types::types::MoveCall {
+ commands: vec![Command::MoveCall(sui_sdk_types::MoveCall {
package: "0x2".parse().unwrap(),
module: "clock".parse().unwrap(),
function: "timestamp_ms".parse().unwrap(),
@@ -252,7 +248,7 @@ async fn resolve_transaction_mutable_shared_object() {
..Default::default()
},
],
- commands: vec![Command::MoveCall(sui_sdk_types::types::MoveCall {
+ commands: vec![Command::MoveCall(sui_sdk_types::MoveCall {
package: "0x3".parse().unwrap(),
module: "sui_system".parse().unwrap(),
function: "request_add_stake".parse().unwrap(),
@@ -305,7 +301,7 @@ async fn resolve_transaction_insufficient_gas() {
object_id: Some("0x6".parse().unwrap()),
..Default::default()
}],
- commands: vec![Command::MoveCall(sui_sdk_types::types::MoveCall {
+ commands: vec![Command::MoveCall(sui_sdk_types::MoveCall {
package: "0x2".parse().unwrap(),
module: "clock".parse().unwrap(),
function: "timestamp_ms".parse().unwrap(),
diff --git a/crates/sui-rpc-api/Cargo.toml b/crates/sui-rpc-api/Cargo.toml
index 1c03e8c3b753c..60e141c9ce034 100644
--- a/crates/sui-rpc-api/Cargo.toml
+++ b/crates/sui-rpc-api/Cargo.toml
@@ -15,7 +15,6 @@ reqwest.workspace = true
url.workspace = true
serde.workspace = true
serde_json.workspace = true
-serde_yaml.workspace = true
serde_with.workspace = true
tap.workspace = true
thiserror.workspace = true
@@ -23,10 +22,8 @@ tokio.workspace = true
async-trait.workspace = true
itertools.workspace = true
sui-sdk-types.workspace = true
+sui-sdk-transaction-builder.workspace = true
prometheus.workspace = true
-openapiv3 = { git = "https://github.com/bmwill/openapiv3.git", rev = "ca4b4845b7c159a39f5c68ad8f7f76cb6f4d6963" }
-schemars.workspace = true
-documented = "0.6.0"
http.workspace = true
tower.workspace = true
diff --git a/crates/sui-rpc-api/openapi/elements.html b/crates/sui-rpc-api/openapi/elements.html
deleted file mode 100644
index 976a2c280615d..0000000000000
--- a/crates/sui-rpc-api/openapi/elements.html
+++ /dev/null
@@ -1,21 +0,0 @@
-
-
-
-
-
- Sui Node Api
-
-
-
-
-
-
-
-
-
-
diff --git a/crates/sui-rpc-api/openapi/openapi.json b/crates/sui-rpc-api/openapi/openapi.json
deleted file mode 100644
index 69e0258d09681..0000000000000
--- a/crates/sui-rpc-api/openapi/openapi.json
+++ /dev/null
@@ -1,6450 +0,0 @@
-{
- "openapi": "3.1.0",
- "info": {
- "title": "Sui Node Api",
- "description": "REST Api for interacting with the Sui Blockchain",
- "contact": {
- "name": "Mysten Labs",
- "url": "https://github.com/MystenLabs/sui"
- },
- "license": {
- "name": "Apache 2.0",
- "url": "https://www.apache.org/licenses/LICENSE-2.0.html"
- },
- "version": "unknown"
- },
- "servers": [
- {
- "url": "/v2"
- }
- ],
- "paths": {
- "/": {
- "get": {
- "tags": [
- "General"
- ],
- "description": "[![stable](https://img.shields.io/badge/api-stable-53b576?style=for-the-badge)](#)\n\nGet basic information about the state of a Node",
- "operationId": "Get NodeInfo",
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/NodeInfo"
- }
- }
- }
- },
- "500": {
- "description": ""
- }
- }
- }
- },
- "/-/health": {
- "get": {
- "tags": [
- "General"
- ],
- "description": "[![stable](https://img.shields.io/badge/api-stable-53b576?style=for-the-badge)](#)\n\nPerform a service health check\n\nBy default the health check only verifies that the latest checkpoint can be fetched from the\nnode's store before returning a 200. Optionally the `threshold_seconds` parameter can be\nprovided to test for how up to date the node needs to be to be considered healthy.",
- "operationId": "Health Check",
- "parameters": [
- {
- "in": "query",
- "name": "threshold_seconds",
- "description": "The threshold, or delta, between the server's system time and the timestamp in the most recently executed checkpoint for which the server is considered to be healthy.\n\nIf not provided, the server will be considered healthy if it can simply fetch the latest checkpoint from its store.",
- "schema": {
- "description": "The threshold, or delta, between the server's system time and the timestamp in the most recently executed checkpoint for which the server is considered to be healthy.\n\nIf not provided, the server will be considered healthy if it can simply fetch the latest checkpoint from its store.",
- "type": "integer",
- "format": "uint32",
- "minimum": 0.0
- },
- "style": "form"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "text/plain; charset=utf-8": {}
- }
- },
- "500": {
- "description": ""
- }
- }
- }
- },
- "/checkpoints/{checkpoint}": {
- "get": {
- "tags": [
- "Checkpoint"
- ],
- "description": "[![stable](https://img.shields.io/badge/api-stable-53b576?style=for-the-badge)](#)\n\nFetch a Checkpoint\n\nFetch a checkpoint either by `CheckpointSequenceNumber` (checkpoint height) or by\n`CheckpointDigest` and optionally request its contents.\n\nIf the checkpoint has been pruned and is not available, a 410 will be returned.",
- "operationId": "Get Checkpoint",
- "parameters": [
- {
- "in": "path",
- "name": "checkpoint",
- "required": true,
- "schema": {
- "$ref": "#/components/schemas/CheckpointId"
- },
- "style": "simple"
- },
- {
- "in": "query",
- "name": "contents",
- "description": "Request `CheckpointContents` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `CheckpointContents` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "contents_bcs",
- "description": "Request `CheckpointContents` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `CheckpointContents` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "signature",
- "description": "Request `ValidatorAggregatedSignature` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `ValidatorAggregatedSignature` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "summary",
- "description": "Request `CheckpointSummary` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `CheckpointSummary` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "summary_bcs",
- "description": "Request `CheckpointSummary` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `CheckpointSummary` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CheckpointResponse"
- }
- }
- }
- },
- "404": {
- "description": ""
- },
- "410": {
- "description": ""
- },
- "500": {
- "description": ""
- }
- }
- }
- },
- "/accounts/{account}/objects": {
- "get": {
- "tags": [
- "Account"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "ListAccountObjects",
- "parameters": [
- {
- "in": "path",
- "name": "account",
- "required": true,
- "schema": {
- "$ref": "#/components/schemas/Address"
- },
- "style": "simple"
- },
- {
- "in": "query",
- "name": "limit",
- "schema": {
- "type": "integer",
- "format": "uint32",
- "minimum": 0.0
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "start",
- "schema": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "style": "form"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "headers": {
- "x-sui-cursor": {
- "style": "simple",
- "schema": {
- "type": "string"
- }
- }
- },
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/AccountOwnedObjectInfo"
- }
- }
- }
- }
- }
- }
- }
- },
- "/objects/{object_id}": {
- "get": {
- "tags": [
- "Objects"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "GetObject",
- "parameters": [
- {
- "in": "path",
- "name": "object_id",
- "required": true,
- "schema": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "style": "simple"
- },
- {
- "in": "query",
- "name": "object",
- "description": "Request that `Object` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request that `Object` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "object_bcs",
- "description": "Request that `Object` formated as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request that `Object` formated as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ObjectResponse"
- }
- }
- }
- },
- "404": {
- "description": ""
- }
- }
- }
- },
- "/objects/{object_id}/version/{version}": {
- "get": {
- "tags": [
- "Objects"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "GetObjectWithVersion",
- "parameters": [
- {
- "in": "path",
- "name": "object_id",
- "required": true,
- "schema": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "style": "simple"
- },
- {
- "in": "path",
- "name": "version",
- "required": true,
- "schema": {
- "type": "integer",
- "format": "uint64",
- "minimum": 0.0
- },
- "style": "simple"
- },
- {
- "in": "query",
- "name": "object",
- "description": "Request that `Object` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request that `Object` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "object_bcs",
- "description": "Request that `Object` formated as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request that `Object` formated as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ObjectResponse"
- }
- }
- }
- },
- "404": {
- "description": ""
- }
- }
- }
- },
- "/objects/{object_id}/dynamic-fields": {
- "get": {
- "tags": [
- "Objects"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "ListDynamicFields",
- "parameters": [
- {
- "in": "path",
- "name": "object_id",
- "required": true,
- "schema": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "style": "simple"
- },
- {
- "in": "query",
- "name": "limit",
- "schema": {
- "type": "integer",
- "format": "uint32",
- "minimum": 0.0
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "start",
- "schema": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "style": "form"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "headers": {
- "x-sui-cursor": {
- "style": "simple",
- "schema": {
- "type": "string"
- }
- }
- },
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/DynamicFieldInfo"
- }
- }
- }
- }
- }
- }
- }
- },
- "/checkpoints": {
- "get": {
- "tags": [
- "Checkpoint"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\nList Checkpoints\n\nRequest a page of checkpoints, and optionally their contents, ordered by\n`CheckpointSequenceNumber`.\n\nIf the requested page is below the Node's `lowest_available_checkpoint`, a 410 will be\nreturned.",
- "operationId": "List Checkpoints",
- "parameters": [
- {
- "in": "query",
- "name": "direction",
- "description": "The direction to paginate in.\n\nDefaults to `descending` if not provided.",
- "schema": {
- "description": "The direction to paginate in.\n\nDefaults to `descending` if not provided.",
- "allOf": [
- {
- "$ref": "#/components/schemas/Direction"
- }
- ]
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "limit",
- "description": "Page size limit for the response.\n\nDefaults to `50` if not provided with a maximum page size of `100`.",
- "schema": {
- "description": "Page size limit for the response.\n\nDefaults to `50` if not provided with a maximum page size of `100`.",
- "type": "integer",
- "format": "uint32",
- "minimum": 0.0
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "start",
- "description": "The checkpoint to start listing from.\n\nDefaults to the latest checkpoint if not provided.",
- "schema": {
- "description": "The checkpoint to start listing from.\n\nDefaults to the latest checkpoint if not provided.",
- "type": "integer",
- "format": "uint64",
- "minimum": 0.0
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "contents",
- "description": "Request `CheckpointContents` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `CheckpointContents` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "contents_bcs",
- "description": "Request `CheckpointContents` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `CheckpointContents` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "signature",
- "description": "Request `ValidatorAggregatedSignature` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `ValidatorAggregatedSignature` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "summary",
- "description": "Request `CheckpointSummary` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `CheckpointSummary` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "summary_bcs",
- "description": "Request `CheckpointSummary` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `CheckpointSummary` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "headers": {
- "x-sui-cursor": {
- "style": "simple",
- "schema": {
- "type": "string"
- }
- }
- },
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CheckpointResponse"
- }
- }
- }
- }
- },
- "410": {
- "description": ""
- },
- "500": {
- "description": ""
- }
- }
- }
- },
- "/transactions/{transaction}": {
- "get": {
- "tags": [
- "Transactions"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "GetTransaction",
- "parameters": [
- {
- "in": "path",
- "name": "transaction",
- "required": true,
- "schema": {
- "$ref": "#/components/schemas/TransactionDigest"
- },
- "style": "simple"
- },
- {
- "in": "query",
- "name": "effects",
- "description": "Request `TransactionEffects` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEffects` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "effects_bcs",
- "description": "Request `TransactionEffects` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEffects` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "events",
- "description": "Request `TransactionEvents` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEvents` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "events_bcs",
- "description": "Request `TransactionEvents` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEvents` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "signatures",
- "description": "Request `Vec` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `Vec` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "signatures_bytes",
- "description": "Request `Vec` encoded as bytes be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `Vec` encoded as bytes be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "transaction",
- "description": "Request `Transaction` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `Transaction` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "transaction_bcs",
- "description": "Request `Transaction` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `Transaction` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TransactionResponse"
- }
- }
- }
- },
- "404": {
- "description": ""
- }
- }
- }
- },
- "/transactions": {
- "get": {
- "tags": [
- "Transactions"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "ListTransactions",
- "parameters": [
- {
- "in": "query",
- "name": "direction",
- "schema": {
- "$ref": "#/components/schemas/Direction"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "limit",
- "schema": {
- "type": "integer",
- "format": "uint32",
- "minimum": 0.0
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "start",
- "schema": {
- "type": "string"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "effects",
- "description": "Request `TransactionEffects` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEffects` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "effects_bcs",
- "description": "Request `TransactionEffects` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEffects` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "events",
- "description": "Request `TransactionEvents` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEvents` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "events_bcs",
- "description": "Request `TransactionEvents` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEvents` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "signatures",
- "description": "Request `Vec` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `Vec` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "signatures_bytes",
- "description": "Request `Vec` encoded as bytes be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `Vec` encoded as bytes be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "transaction",
- "description": "Request `Transaction` be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `Transaction` be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "transaction_bcs",
- "description": "Request `Transaction` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `Transaction` encoded as BCS be included in the response\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "headers": {
- "x-sui-cursor": {
- "style": "simple",
- "schema": {
- "type": "string"
- }
- }
- },
- "content": {
- "application/json": {
- "schema": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/TransactionResponse"
- }
- }
- }
- }
- },
- "410": {
- "description": ""
- }
- }
- },
- "post": {
- "tags": [
- "Transactions"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "ExecuteTransaction",
- "parameters": [
- {
- "in": "query",
- "name": "balance_changes",
- "description": "Request `BalanceChanges` be included in the Response.\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `BalanceChanges` be included in the Response.\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "effects",
- "description": "Request `TransactionEffects` be included in the Response.\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEffects` be included in the Response.\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "effects_bcs",
- "description": "Request `TransactionEffects` encoded as BCS be included in the Response.\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEffects` encoded as BCS be included in the Response.\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "events",
- "description": "Request `TransactionEvents` be included in the Response.\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEvents` be included in the Response.\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "events_bcs",
- "description": "Request `TransactionEvents` encoded as BCS be included in the Response.\n\nDefaults to `false` if not provided.",
- "schema": {
- "description": "Request `TransactionEvents` encoded as BCS be included in the Response.\n\nDefaults to `false` if not provided.",
- "type": "boolean"
- },
- "style": "form"
- }
- ],
- "requestBody": {
- "content": {
- "application/bcs": {}
- }
- },
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ExecuteTransactionResponse"
- }
- }
- }
- }
- }
- }
- },
- "/system/committee/{epoch}": {
- "get": {
- "tags": [
- "System"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "GetCommittee",
- "parameters": [
- {
- "in": "path",
- "name": "epoch",
- "required": true,
- "schema": {
- "type": "integer",
- "format": "uint64",
- "minimum": 0.0
- },
- "style": "simple"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ValidatorCommittee"
- }
- }
- }
- },
- "404": {
- "description": ""
- }
- }
- }
- },
- "/system/committee": {
- "get": {
- "tags": [
- "System"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "GetLatestCommittee",
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ValidatorCommittee"
- }
- }
- }
- }
- }
- }
- },
- "/system": {
- "get": {
- "tags": [
- "System"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "GetSystemStateSummary",
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/SystemStateSummary"
- }
- }
- }
- }
- }
- }
- },
- "/system/protocol": {
- "get": {
- "tags": [
- "System"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "GetCurrentProtocolConfig",
- "responses": {
- "200": {
- "description": "",
- "headers": {
- "x-sui-min-supported-protocol-version": {
- "style": "simple",
- "schema": {
- "type": "string"
- }
- },
- "x-sui-max-supported-protocol-version": {
- "style": "simple",
- "schema": {
- "type": "string"
- }
- }
- },
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ProtocolConfig"
- }
- }
- }
- }
- }
- }
- },
- "/system/protocol/{version}": {
- "get": {
- "tags": [
- "System"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "GetProtocolConfig",
- "parameters": [
- {
- "in": "path",
- "name": "version",
- "required": true,
- "schema": {
- "type": "integer",
- "format": "uint64",
- "minimum": 0.0
- },
- "style": "simple"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "headers": {
- "x-sui-min-supported-protocol-version": {
- "style": "simple",
- "schema": {
- "type": "string"
- }
- },
- "x-sui-max-supported-protocol-version": {
- "style": "simple",
- "schema": {
- "type": "string"
- }
- }
- },
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ProtocolConfig"
- }
- }
- }
- },
- "404": {
- "description": ""
- }
- }
- }
- },
- "/system/gas": {
- "get": {
- "tags": [
- "System"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "GetGasInfo",
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/GasInfo"
- }
- }
- }
- }
- }
- }
- },
- "/transactions/simulate": {
- "post": {
- "tags": [
- "Transactions"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "SimulateTransaction",
- "parameters": [
- {
- "in": "query",
- "name": "balance_changes",
- "description": "Request `BalanceChanges` be included in the Response.",
- "schema": {
- "description": "Request `BalanceChanges` be included in the Response.",
- "default": "false",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "input_objects",
- "description": "Request input `Object`s be included in the Response.",
- "schema": {
- "description": "Request input `Object`s be included in the Response.",
- "default": "false",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "output_objects",
- "description": "Request output `Object`s be included in the Response.",
- "schema": {
- "description": "Request output `Object`s be included in the Response.",
- "default": "false",
- "type": "boolean"
- },
- "style": "form"
- }
- ],
- "requestBody": {
- "content": {
- "application/bcs": {}
- }
- },
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/TransactionSimulationResponse"
- }
- }
- }
- }
- }
- }
- },
- "/transactions/resolve": {
- "post": {
- "tags": [
- "Transactions"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "ResolveTransaction",
- "parameters": [
- {
- "in": "query",
- "name": "balance_changes",
- "description": "Request `BalanceChanges` be included in the Response.",
- "schema": {
- "description": "Request `BalanceChanges` be included in the Response.",
- "default": "false",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "input_objects",
- "description": "Request input `Object`s be included in the Response.",
- "schema": {
- "description": "Request input `Object`s be included in the Response.",
- "default": "false",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "output_objects",
- "description": "Request output `Object`s be included in the Response.",
- "schema": {
- "description": "Request output `Object`s be included in the Response.",
- "default": "false",
- "type": "boolean"
- },
- "style": "form"
- },
- {
- "in": "query",
- "name": "simulate",
- "description": "Request that the fully resolved transaction be simulated and have its results sent back in the response.",
- "schema": {
- "description": "Request that the fully resolved transaction be simulated and have its results sent back in the response.",
- "default": false,
- "type": "boolean"
- },
- "style": "form"
- }
- ],
- "requestBody": {
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/UnresolvedTransaction"
- }
- }
- }
- },
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/ResolveTransactionResponse"
- }
- }
- }
- }
- }
- }
- },
- "/coins/{coin_type}": {
- "get": {
- "tags": [
- "Coins"
- ],
- "description": "[![unstable](https://img.shields.io/badge/api-unstable-red?style=for-the-badge)](#) _Api subject to change; use at your own risk_\n\n",
- "operationId": "GetCoinInfo",
- "parameters": [
- {
- "in": "path",
- "name": "coin_type",
- "required": true,
- "schema": {
- "$ref": "#/components/schemas/StructTag"
- },
- "style": "simple"
- }
- ],
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {
- "schema": {
- "$ref": "#/components/schemas/CoinInfo"
- }
- }
- }
- },
- "404": {
- "description": ""
- }
- }
- }
- },
- "/openapi": {
- "get": {
- "tags": [
- "OpenAPI"
- ],
- "description": "[![stable](https://img.shields.io/badge/api-stable-53b576?style=for-the-badge)](#)\n\nProvides a web UI for exploring the OpenAPI v3.1.0 definition for this service",
- "operationId": "OpenAPI Explorer",
- "responses": {
- "200": {
- "description": "",
- "content": {
- "text/html; charset=utf-8": {}
- }
- }
- }
- }
- },
- "/openapi.json": {
- "get": {
- "tags": [
- "OpenAPI"
- ],
- "description": "[![stable](https://img.shields.io/badge/api-stable-53b576?style=for-the-badge)](#)\n\nReturn the OpenAPI v3.1.0 definition for this service as a JSON document",
- "operationId": "openapi.json",
- "responses": {
- "200": {
- "description": "",
- "content": {
- "application/json": {}
- }
- }
- }
- }
- },
- "/openapi.yaml": {
- "get": {
- "tags": [
- "OpenAPI"
- ],
- "description": "[![stable](https://img.shields.io/badge/api-stable-53b576?style=for-the-badge)](#)\n\nReturn the OpenAPI v3.1.0 definition for this service as a YAML document",
- "operationId": "openapi.yaml",
- "responses": {
- "200": {
- "description": "",
- "content": {
- "text/plain; charset=utf-8": {}
- }
- }
- }
- }
- }
- },
- "components": {
- "schemas": {
- "AccountOwnedObjectInfo": {
- "type": "object",
- "required": [
- "object_id",
- "owner",
- "type",
- "version"
- ],
- "properties": {
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "owner": {
- "$ref": "#/components/schemas/Address"
- },
- "type": {
- "$ref": "#/components/schemas/StructTag"
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "ActiveJwk": {
- "type": "object",
- "required": [
- "epoch",
- "jwk",
- "jwk_id"
- ],
- "properties": {
- "epoch": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "jwk": {
- "$ref": "#/components/schemas/Jwk"
- },
- "jwk_id": {
- "$ref": "#/components/schemas/JwkId"
- }
- }
- },
- "Address": {
- "title": "Address",
- "description": "A 32-byte Sui address, encoded as a hex string.",
- "examples": [
- "0x0000000000000000000000000000000000000000000000000000000000000002"
- ],
- "type": "string",
- "format": "hex",
- "maxLength": 66,
- "pattern": "0x[a-z0-9]{1,64}"
- },
- "Argument": {
- "anyOf": [
- {
- "title": "Gas",
- "type": "string",
- "enum": [
- "gas"
- ]
- },
- {
- "title": "Input",
- "type": "object",
- "required": [
- "input"
- ],
- "properties": {
- "input": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- }
- }
- },
- {
- "title": "Result",
- "type": "object",
- "required": [
- "result"
- ],
- "properties": {
- "result": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- }
- }
- },
- {
- "title": "NestedResult",
- "type": "object",
- "required": [
- "result"
- ],
- "properties": {
- "result": {
- "type": "array",
- "items": [
- {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- },
- {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- }
- ],
- "maxItems": 2,
- "minItems": 2
- }
- }
- }
- ]
- },
- "BalanceChange": {
- "type": "object",
- "required": [
- "address",
- "amount",
- "coin_type"
- ],
- "properties": {
- "address": {
- "description": "Owner of the balance change",
- "allOf": [
- {
- "$ref": "#/components/schemas/Address"
- }
- ]
- },
- "amount": {
- "description": "The amount indicate the balance value changes.\n\nA negative amount means spending coin value and positive means receiving coin value.",
- "type": "string",
- "format": "i128"
- },
- "coin_type": {
- "description": "Type of the Coin",
- "allOf": [
- {
- "$ref": "#/components/schemas/TypeTag"
- }
- ]
- }
- }
- },
- "Bls12381PublicKey": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "Bls12381Signature": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "Bn254FieldElement": {
- "description": "Radix-10 encoded 256-bit unsigned integer",
- "type": "string",
- "format": "u256"
- },
- "CancelledTransaction": {
- "type": "object",
- "required": [
- "digest",
- "version_assignments"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/TransactionDigest"
- },
- "version_assignments": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/VersionAssignment"
- }
- }
- }
- },
- "ChangedObject": {
- "type": "object",
- "required": [
- "id_operation",
- "input_state",
- "object_id",
- "output_state"
- ],
- "properties": {
- "id_operation": {
- "description": "Whether this object ID is created or deleted in this transaction. This information isn't required by the protocol but is useful for providing more detailed semantics on object changes.",
- "allOf": [
- {
- "$ref": "#/components/schemas/IdOperation"
- }
- ]
- },
- "input_state": {
- "description": "State of the object in the store prior to this transaction.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectIn"
- }
- ]
- },
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "output_state": {
- "description": "State of the object in the store after this transaction.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectOut"
- }
- ]
- }
- }
- },
- "CheckpointCommitment": {
- "oneOf": [
- {
- "type": "object",
- "required": [
- "digest",
- "type"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/Digest"
- },
- "type": {
- "type": "string",
- "enum": [
- "ecmh_live_object_set"
- ]
- }
- }
- }
- ]
- },
- "CheckpointContents": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CheckpointTransactionInfo"
- }
- },
- "CheckpointContentsDigest": {
- "$ref": "#/components/schemas/Digest"
- },
- "CheckpointDigest": {
- "$ref": "#/components/schemas/Digest"
- },
- "CheckpointId": {
- "anyOf": [
- {
- "title": "SequenceNumber",
- "description": "Sequence number or height of a Checkpoint",
- "examples": [
- 0
- ],
- "type": "string",
- "format": "u64"
- },
- {
- "title": "Digest",
- "description": "Base58 encoded 32-byte digest of a Checkpoint",
- "examples": [
- "4btiuiMPvEENsttpZC7CZ53DruC3MAgfznDbASZ7DR6S"
- ],
- "allOf": [
- {
- "$ref": "#/components/schemas/CheckpointDigest"
- }
- ]
- }
- ]
- },
- "CheckpointResponse": {
- "type": "object",
- "required": [
- "digest",
- "sequence_number"
- ],
- "properties": {
- "contents": {
- "$ref": "#/components/schemas/CheckpointContents"
- },
- "contents_bcs": {
- "type": "string"
- },
- "digest": {
- "$ref": "#/components/schemas/CheckpointDigest"
- },
- "sequence_number": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "signature": {
- "$ref": "#/components/schemas/ValidatorAggregatedSignature"
- },
- "summary": {
- "$ref": "#/components/schemas/CheckpointSummary"
- },
- "summary_bcs": {
- "type": "string"
- }
- }
- },
- "CheckpointSummary": {
- "type": "object",
- "required": [
- "content_digest",
- "epoch",
- "epoch_rolling_gas_cost_summary",
- "network_total_transactions",
- "sequence_number",
- "timestamp_ms"
- ],
- "properties": {
- "checkpoint_commitments": {
- "description": "Commitments to checkpoint-specific state (e.g. txns in checkpoint, objects read/written in checkpoint).",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CheckpointCommitment"
- }
- },
- "content_digest": {
- "$ref": "#/components/schemas/CheckpointContentsDigest"
- },
- "end_of_epoch_data": {
- "description": "Present only on the final checkpoint of the epoch.",
- "allOf": [
- {
- "$ref": "#/components/schemas/EndOfEpochData"
- }
- ]
- },
- "epoch": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "epoch_rolling_gas_cost_summary": {
- "description": "The running total gas costs of all transactions included in the current epoch so far until this checkpoint.",
- "allOf": [
- {
- "$ref": "#/components/schemas/GasCostSummary"
- }
- ]
- },
- "network_total_transactions": {
- "description": "Total number of transactions committed since genesis, including those in this checkpoint.",
- "type": "string",
- "format": "u64"
- },
- "previous_digest": {
- "$ref": "#/components/schemas/CheckpointDigest"
- },
- "sequence_number": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "timestamp_ms": {
- "description": "Timestamp of the checkpoint - number of milliseconds from the Unix epoch Checkpoint timestamps are monotonic, but not strongly monotonic - subsequent checkpoints can have same timestamp if they originate from the same underlining consensus commit",
- "type": "string",
- "format": "u64"
- },
- "version_specific_data": {
- "description": "CheckpointSummary is not an evolvable structure - it must be readable by any version of the code. Therefore, in order to allow extensions to be added to CheckpointSummary, we allow opaque data to be added to checkpoints which can be deserialized based on the current protocol version.",
- "type": "string",
- "format": "base64"
- }
- }
- },
- "CheckpointTransactionInfo": {
- "type": "object",
- "required": [
- "effects",
- "signatures",
- "transaction"
- ],
- "properties": {
- "effects": {
- "$ref": "#/components/schemas/TransactionEffectsDigest"
- },
- "signatures": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UserSignature"
- }
- },
- "transaction": {
- "$ref": "#/components/schemas/TransactionDigest"
- }
- }
- },
- "CircomG1": {
- "description": "A G1 point in BN254 serialized as a vector of three strings which is the canonical decimal representation of the projective coordinates in Fq.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Bn254FieldElement"
- },
- "maxItems": 3,
- "minItems": 3
- },
- "CircomG2": {
- "description": "A G2 point in BN254 serialized as a vector of three vectors each being a vector of two strings which are the canonical decimal representation of the coefficients of the projective coordinates in Fq2.",
- "type": "array",
- "items": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Bn254FieldElement"
- },
- "maxItems": 2,
- "minItems": 2
- },
- "maxItems": 3,
- "minItems": 3
- },
- "Claim": {
- "description": "A claim consists of value and index_mod_4.",
- "type": "object",
- "required": [
- "index_mod_4",
- "value"
- ],
- "properties": {
- "index_mod_4": {
- "type": "integer",
- "format": "uint8",
- "minimum": 0.0
- },
- "value": {
- "type": "string"
- }
- }
- },
- "CoinInfo": {
- "type": "object",
- "required": [
- "coin_type"
- ],
- "properties": {
- "coin_type": {
- "$ref": "#/components/schemas/StructTag"
- },
- "metadata": {
- "$ref": "#/components/schemas/CoinMetadata"
- },
- "treasury": {
- "$ref": "#/components/schemas/CoinTreasury"
- }
- }
- },
- "CoinMetadata": {
- "type": "object",
- "required": [
- "decimals",
- "description",
- "id",
- "name",
- "symbol"
- ],
- "properties": {
- "decimals": {
- "description": "Number of decimal places the coin uses.",
- "type": "integer",
- "format": "uint8",
- "minimum": 0.0
- },
- "description": {
- "description": "Description of the token",
- "type": "string"
- },
- "icon_url": {
- "description": "URL for the token logo",
- "type": "string"
- },
- "id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "name": {
- "description": "Name for the token",
- "type": "string"
- },
- "symbol": {
- "description": "Symbol for the token",
- "type": "string"
- }
- }
- },
- "CoinTreasury": {
- "type": "object",
- "required": [
- "total_supply"
- ],
- "properties": {
- "id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "total_supply": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "Command": {
- "description": "A single command in a programmable transaction.",
- "oneOf": [
- {
- "description": "A call to either an entry or a public Move function",
- "type": "object",
- "required": [
- "arguments",
- "command",
- "function",
- "module",
- "package",
- "type_arguments"
- ],
- "properties": {
- "arguments": {
- "description": "The arguments to the function.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Argument"
- }
- },
- "command": {
- "type": "string",
- "enum": [
- "move_call"
- ]
- },
- "function": {
- "description": "The function to be called.",
- "allOf": [
- {
- "$ref": "#/components/schemas/Identifier"
- }
- ]
- },
- "module": {
- "description": "The specific module in the package containing the function.",
- "allOf": [
- {
- "$ref": "#/components/schemas/Identifier"
- }
- ]
- },
- "package": {
- "description": "The package containing the module and function.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectId"
- }
- ]
- },
- "type_arguments": {
- "description": "The type arguments to the function.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/TypeTag"
- }
- }
- }
- },
- {
- "description": "`(Vec, address)` It sends n-objects to the specified address. These objects must have store (public transfer) and either the previous owner must be an address or the object must be newly created.",
- "type": "object",
- "required": [
- "address",
- "command",
- "objects"
- ],
- "properties": {
- "address": {
- "$ref": "#/components/schemas/Argument"
- },
- "command": {
- "type": "string",
- "enum": [
- "transfer_objects"
- ]
- },
- "objects": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Argument"
- }
- }
- }
- },
- {
- "description": "`(&mut Coin, Vec)` -> `Vec>` It splits off some amounts into a new coins with those amounts",
- "type": "object",
- "required": [
- "amounts",
- "coin",
- "command"
- ],
- "properties": {
- "amounts": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Argument"
- }
- },
- "coin": {
- "$ref": "#/components/schemas/Argument"
- },
- "command": {
- "type": "string",
- "enum": [
- "split_coins"
- ]
- }
- }
- },
- {
- "description": "`(&mut Coin, Vec>)` It merges n-coins into the first coin",
- "type": "object",
- "required": [
- "coin",
- "coins_to_merge",
- "command"
- ],
- "properties": {
- "coin": {
- "$ref": "#/components/schemas/Argument"
- },
- "coins_to_merge": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Argument"
- }
- },
- "command": {
- "type": "string",
- "enum": [
- "merge_coins"
- ]
- }
- }
- },
- {
- "description": "Publishes a Move package. It takes the package bytes and a list of the package's transitive dependencies to link against on-chain.",
- "type": "object",
- "required": [
- "command",
- "dependencies",
- "modules"
- ],
- "properties": {
- "command": {
- "type": "string",
- "enum": [
- "publish"
- ]
- },
- "dependencies": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectId"
- }
- },
- "modules": {
- "type": "array",
- "items": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- }
- }
- }
- },
- {
- "description": "`forall T: Vec -> vector` Given n-values of the same type, it constructs a vector. For non objects or an empty vector, the type tag must be specified.",
- "type": "object",
- "required": [
- "command",
- "elements"
- ],
- "properties": {
- "command": {
- "type": "string",
- "enum": [
- "make_move_vector"
- ]
- },
- "elements": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Argument"
- }
- },
- "type": {
- "$ref": "#/components/schemas/TypeTag"
- }
- }
- },
- {
- "description": "Upgrades a Move package Takes (in order): 1. A vector of serialized modules for the package. 2. A vector of object ids for the transitive dependencies of the new package. 3. The object ID of the package being upgraded. 4. An argument holding the `UpgradeTicket` that must have been produced from an earlier command in the same programmable transaction.",
- "type": "object",
- "required": [
- "command",
- "dependencies",
- "modules",
- "package",
- "ticket"
- ],
- "properties": {
- "command": {
- "type": "string",
- "enum": [
- "upgrade"
- ]
- },
- "dependencies": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectId"
- }
- },
- "modules": {
- "type": "array",
- "items": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- }
- },
- "package": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "ticket": {
- "$ref": "#/components/schemas/Argument"
- }
- }
- }
- ]
- },
- "CommandArgumentError": {
- "oneOf": [
- {
- "description": "The type of the value does not match the expected type",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "type_mismatch"
- ]
- }
- }
- },
- {
- "description": "The argument cannot be deserialized into a value of the specified type",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "invalid_bcs_bytes"
- ]
- }
- }
- },
- {
- "description": "The argument cannot be instantiated from raw bytes",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "invalid_usage_of_pure_argument"
- ]
- }
- }
- },
- {
- "description": "Invalid argument to private entry function. Private entry functions cannot take arguments from other Move functions.",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "invalid_argument_to_private_entry_function"
- ]
- }
- }
- },
- {
- "description": "Out of bounds access to input or results",
- "type": "object",
- "required": [
- "index",
- "kind"
- ],
- "properties": {
- "index": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- },
- "kind": {
- "type": "string",
- "enum": [
- "index_out_of_bounds"
- ]
- }
- }
- },
- {
- "description": "Out of bounds access to subresult",
- "type": "object",
- "required": [
- "kind",
- "result",
- "subresult"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "secondary_index_out_of_bounds"
- ]
- },
- "result": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- },
- "subresult": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- }
- }
- },
- {
- "description": "Invalid usage of result. Expected a single result but found either no return value or multiple.",
- "type": "object",
- "required": [
- "kind",
- "result"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "invalid_result_arity"
- ]
- },
- "result": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- }
- }
- },
- {
- "description": "Invalid usage of Gas coin. The Gas coin can only be used by-value with a TransferObjects command.",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "invalid_gas_coin_usage"
- ]
- }
- }
- },
- {
- "description": "Invalid usage of move value.",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "invalid_value_usage"
- ]
- }
- }
- },
- {
- "description": "Immutable objects cannot be passed by-value.",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "invalid_object_by_value"
- ]
- }
- }
- },
- {
- "description": "Immutable objects cannot be passed by mutable reference, &mut.",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "invalid_object_by_mut_ref"
- ]
- }
- }
- },
- {
- "description": "Shared object operations such a wrapping, freezing, or converting to owned are not allowed.",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "shared_object_operation_not_allowed"
- ]
- }
- }
- }
- ]
- },
- "ConsensusCommitDigest": {
- "$ref": "#/components/schemas/Digest"
- },
- "ConsensusDeterminedVersionAssignments": {
- "oneOf": [
- {
- "description": "Cancelled transaction version assignment.",
- "type": "object",
- "required": [
- "cancelled_transactions",
- "kind"
- ],
- "properties": {
- "cancelled_transactions": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CancelledTransaction"
- }
- },
- "kind": {
- "type": "string",
- "enum": [
- "cancelled_transactions"
- ]
- }
- }
- }
- ]
- },
- "Digest": {
- "description": "A representation of a 32 byte digest",
- "type": "string",
- "format": "base58"
- },
- "Direction": {
- "type": "string",
- "enum": [
- "ascending",
- "descending"
- ]
- },
- "DynamicFieldInfo": {
- "description": "DynamicFieldInfo",
- "type": "object",
- "required": [
- "dynamic_field_type",
- "field_id",
- "name_type",
- "name_value",
- "parent"
- ],
- "properties": {
- "dynamic_field_type": {
- "$ref": "#/components/schemas/DynamicFieldType"
- },
- "dynamic_object_id": {
- "description": "ObjectId of the child object when `dynamic_field_type == DynamicFieldType::Object`",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectId"
- }
- ]
- },
- "field_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "name_type": {
- "$ref": "#/components/schemas/TypeTag"
- },
- "name_value": {
- "type": "array",
- "items": {
- "type": "integer",
- "format": "uint8",
- "minimum": 0.0
- }
- },
- "parent": {
- "$ref": "#/components/schemas/ObjectId"
- }
- }
- },
- "DynamicFieldType": {
- "type": "string",
- "enum": [
- "field",
- "object"
- ]
- },
- "Ed25519PublicKey": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "Ed25519Signature": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "EffectsAuxiliaryDataDigest": {
- "$ref": "#/components/schemas/Digest"
- },
- "EffectsFinality": {
- "oneOf": [
- {
- "type": "object",
- "required": [
- "finality",
- "signature"
- ],
- "properties": {
- "finality": {
- "type": "string",
- "enum": [
- "certified"
- ]
- },
- "signature": {
- "description": "Validator aggregated signature",
- "allOf": [
- {
- "$ref": "#/components/schemas/ValidatorAggregatedSignature"
- }
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "checkpoint",
- "finality"
- ],
- "properties": {
- "checkpoint": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "finality": {
- "type": "string",
- "enum": [
- "checkpointed"
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "finality"
- ],
- "properties": {
- "finality": {
- "type": "string",
- "enum": [
- "quorum_executed"
- ]
- }
- }
- }
- ]
- },
- "EndOfEpochData": {
- "type": "object",
- "required": [
- "epoch_commitments",
- "next_epoch_committee",
- "next_epoch_protocol_version"
- ],
- "properties": {
- "epoch_commitments": {
- "description": "Commitments to epoch specific state (e.g. live object set)",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/CheckpointCommitment"
- }
- },
- "next_epoch_committee": {
- "description": "next_epoch_committee is `Some` if and only if the current checkpoint is the last checkpoint of an epoch. Therefore next_epoch_committee can be used to pick the last checkpoint of an epoch, which is often useful to get epoch level summary stats like total gas cost of an epoch, or the total number of transactions from genesis to the end of an epoch. The committee is stored as a vector of validator pub key and stake pairs. The vector should be sorted based on the Committee data structure.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ValidatorCommitteeMember"
- }
- },
- "next_epoch_protocol_version": {
- "description": "The protocol version that is in effect during the epoch that starts immediately after this checkpoint.",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "EndOfEpochTransactionKind": {
- "description": "EndOfEpochTransactionKind",
- "oneOf": [
- {
- "type": "object",
- "required": [
- "computation_charge",
- "epoch",
- "epoch_start_timestamp_ms",
- "kind",
- "non_refundable_storage_fee",
- "protocol_version",
- "storage_charge",
- "storage_rebate",
- "system_packages"
- ],
- "properties": {
- "computation_charge": {
- "description": "The total amount of gas charged for computation during the epoch.",
- "type": "string",
- "format": "u64"
- },
- "epoch": {
- "description": "The next (to become) epoch ID.",
- "type": "string",
- "format": "u64"
- },
- "epoch_start_timestamp_ms": {
- "description": "Unix timestamp when epoch started",
- "type": "string",
- "format": "u64"
- },
- "kind": {
- "type": "string",
- "enum": [
- "change_epoch"
- ]
- },
- "non_refundable_storage_fee": {
- "description": "The non-refundable storage fee.",
- "type": "string",
- "format": "u64"
- },
- "protocol_version": {
- "description": "The protocol version in effect in the new epoch.",
- "type": "string",
- "format": "u64"
- },
- "storage_charge": {
- "description": "The total amount of gas charged for storage during the epoch.",
- "type": "string",
- "format": "u64"
- },
- "storage_rebate": {
- "description": "The amount of storage rebate refunded to the txn senders.",
- "type": "string",
- "format": "u64"
- },
- "system_packages": {
- "description": "System packages (specifically framework and move stdlib) that are written before the new epoch starts. This tracks framework upgrades on chain. When executing the ChangeEpoch txn, the validator must write out the modules below. Modules are provided with the version they will be upgraded to, their modules in serialized form (which include their package ID), and a list of their transitive dependencies.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/SystemPackage"
- }
- }
- }
- },
- {
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "authenticator_state_create"
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "authenticator_object_initial_shared_version",
- "kind",
- "min_epoch"
- ],
- "properties": {
- "authenticator_object_initial_shared_version": {
- "description": "The initial version of the authenticator object that it was shared at.",
- "type": "string",
- "format": "u64"
- },
- "kind": {
- "type": "string",
- "enum": [
- "authenticator_state_expire"
- ]
- },
- "min_epoch": {
- "description": "expire JWKs that have a lower epoch than this",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "randomness_state_create"
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "deny_list_state_create"
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "chain_id",
- "kind"
- ],
- "properties": {
- "chain_id": {
- "$ref": "#/components/schemas/CheckpointDigest"
- },
- "kind": {
- "type": "string",
- "enum": [
- "bridge_state_create"
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "bridge_object_version",
- "kind"
- ],
- "properties": {
- "bridge_object_version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "kind": {
- "type": "string",
- "enum": [
- "bridge_committee_init"
- ]
- }
- }
- }
- ]
- },
- "Event": {
- "description": "Specific type of event",
- "type": "object",
- "required": [
- "contents",
- "module",
- "package_id",
- "sender",
- "type"
- ],
- "properties": {
- "contents": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "module": {
- "$ref": "#/components/schemas/Identifier"
- },
- "package_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "sender": {
- "$ref": "#/components/schemas/Address"
- },
- "type": {
- "$ref": "#/components/schemas/StructTag"
- }
- }
- },
- "ExecuteTransactionResponse": {
- "description": "Response type for the execute transaction endpoint",
- "type": "object",
- "required": [
- "finality"
- ],
- "properties": {
- "balance_changes": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/BalanceChange"
- }
- },
- "effects": {
- "$ref": "#/components/schemas/TransactionEffects"
- },
- "effects_bcs": {
- "type": "string"
- },
- "events": {
- "$ref": "#/components/schemas/TransactionEvents"
- },
- "events_bcs": {
- "type": "string"
- },
- "finality": {
- "$ref": "#/components/schemas/EffectsFinality"
- }
- }
- },
- "ExecutionError": {
- "oneOf": [
- {
- "description": "Insufficient Gas",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "insufficient_gas"
- ]
- }
- }
- },
- {
- "description": "Invalid Gas Object.",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "invalid_gas_object"
- ]
- }
- }
- },
- {
- "description": "Invariant Violation",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "invariant_violation"
- ]
- }
- }
- },
- {
- "description": "Attempted to used feature that is not supported yet",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "feature_not_yet_supported"
- ]
- }
- }
- },
- {
- "description": "Move object is larger than the maximum allowed size",
- "type": "object",
- "required": [
- "error",
- "max_object_size",
- "object_size"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "object_too_big"
- ]
- },
- "max_object_size": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "object_size": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "description": "Package is larger than the maximum allowed size",
- "type": "object",
- "required": [
- "error",
- "max_object_size",
- "object_size"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "package_too_big"
- ]
- },
- "max_object_size": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "object_size": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "description": "Circular Object Ownership",
- "type": "object",
- "required": [
- "error",
- "object"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "circular_object_ownership"
- ]
- },
- "object": {
- "$ref": "#/components/schemas/ObjectId"
- }
- }
- },
- {
- "description": "Insufficient coin balance for requested operation",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "insufficient_coin_balance"
- ]
- }
- }
- },
- {
- "description": "Coin balance overflowed an u64",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "coin_balance_overflow"
- ]
- }
- }
- },
- {
- "description": "Publish Error, Non-zero Address. The modules in the package must have their self-addresses set to zero.",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "publish_error_non_zero_address"
- ]
- }
- }
- },
- {
- "description": "Sui Move Bytecode Verification Error.",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "sui_move_verification_error"
- ]
- }
- }
- },
- {
- "description": "Error from a non-abort instruction. Possible causes: Arithmetic error, stack overflow, max value depth, etc.\"",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "move_primitive_runtime_error"
- ]
- },
- "location": {
- "$ref": "#/components/schemas/MoveLocation"
- }
- }
- },
- {
- "description": "Move runtime abort",
- "type": "object",
- "required": [
- "code",
- "error",
- "location"
- ],
- "properties": {
- "code": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "error": {
- "type": "string",
- "enum": [
- "move_abort"
- ]
- },
- "location": {
- "$ref": "#/components/schemas/MoveLocation"
- }
- }
- },
- {
- "description": "Bytecode verification error.",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "vm_verification_or_deserialization_error"
- ]
- }
- }
- },
- {
- "description": "MoveVm invariant violation",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "vm_invariant_violation"
- ]
- }
- }
- },
- {
- "description": "Function not found",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "function_not_found"
- ]
- }
- }
- },
- {
- "description": "Arity mismatch for Move function. The number of arguments does not match the number of parameters",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "arity_mismatch"
- ]
- }
- }
- },
- {
- "description": "Type arity mismatch for Move function. Mismatch between the number of actual versus expected type arguments.",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "type_arity_mismatch"
- ]
- }
- }
- },
- {
- "description": "Non Entry Function Invoked. Move Call must start with an entry function.",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "non_entry_function_invoked"
- ]
- }
- }
- },
- {
- "description": "Invalid command argument",
- "type": "object",
- "required": [
- "argument",
- "error",
- "kind"
- ],
- "properties": {
- "argument": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- },
- "error": {
- "type": "string",
- "enum": [
- "command_argument_error"
- ]
- },
- "kind": {
- "$ref": "#/components/schemas/CommandArgumentError"
- }
- }
- },
- {
- "description": "Type argument error",
- "type": "object",
- "required": [
- "error",
- "kind",
- "type_argument"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "type_argument_error"
- ]
- },
- "kind": {
- "$ref": "#/components/schemas/TypeArgumentError"
- },
- "type_argument": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- }
- }
- },
- {
- "description": "Unused result without the drop ability.",
- "type": "object",
- "required": [
- "error",
- "result",
- "subresult"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "unused_value_without_drop"
- ]
- },
- "result": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- },
- "subresult": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- }
- }
- },
- {
- "description": "Invalid public Move function signature. Unsupported return type for return value",
- "type": "object",
- "required": [
- "error",
- "index"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "invalid_public_function_return_type"
- ]
- },
- "index": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- }
- }
- },
- {
- "description": "Invalid Transfer Object, object does not have public transfer.",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "invalid_transfer_object"
- ]
- }
- }
- },
- {
- "description": "Effects from the transaction are too large",
- "type": "object",
- "required": [
- "current_size",
- "error",
- "max_size"
- ],
- "properties": {
- "current_size": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "error": {
- "type": "string",
- "enum": [
- "effects_too_large"
- ]
- },
- "max_size": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "description": "Publish or Upgrade is missing dependency",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "publish_upgrade_missing_dependency"
- ]
- }
- }
- },
- {
- "description": "Publish or Upgrade dependency downgrade.\n\nIndirect (transitive) dependency of published or upgraded package has been assigned an on-chain version that is less than the version required by one of the package's transitive dependencies.",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "publish_upgrade_dependency_downgrade"
- ]
- }
- }
- },
- {
- "title": "PackageUpgradeError",
- "description": "Invalid package upgrade",
- "type": "object",
- "required": [
- "error",
- "kind"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "package_upgrade_error"
- ]
- },
- "kind": {
- "$ref": "#/components/schemas/PackageUpgradeError"
- }
- }
- },
- {
- "description": "Indicates the transaction tried to write objects too large to storage",
- "type": "object",
- "required": [
- "error",
- "max_object_size",
- "object_size"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "written_objects_too_large"
- ]
- },
- "max_object_size": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "object_size": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "description": "Certificate is on the deny list",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "certificate_denied"
- ]
- }
- }
- },
- {
- "description": "Sui Move Bytecode verification timed out.",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "sui_move_verification_timedout"
- ]
- }
- }
- },
- {
- "description": "The requested shared object operation is not allowed",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "shared_object_operation_not_allowed"
- ]
- }
- }
- },
- {
- "description": "Requested shared object has been deleted",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "input_object_deleted"
- ]
- }
- }
- },
- {
- "description": "Certificate is cancelled due to congestion on shared objects",
- "type": "object",
- "required": [
- "congested_objects",
- "error"
- ],
- "properties": {
- "congested_objects": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectId"
- }
- },
- "error": {
- "type": "string",
- "enum": [
- "execution_cancelled_due_to_shared_object_congestion"
- ]
- }
- }
- },
- {
- "description": "Address is denied for this coin type",
- "type": "object",
- "required": [
- "address",
- "coin_type",
- "error"
- ],
- "properties": {
- "address": {
- "$ref": "#/components/schemas/Address"
- },
- "coin_type": {
- "type": "string"
- },
- "error": {
- "type": "string",
- "enum": [
- "address_denied_for_coin"
- ]
- }
- }
- },
- {
- "description": "Coin type is globally paused for use",
- "type": "object",
- "required": [
- "coin_type",
- "error"
- ],
- "properties": {
- "coin_type": {
- "type": "string"
- },
- "error": {
- "type": "string",
- "enum": [
- "coin_type_global_pause"
- ]
- }
- }
- },
- {
- "description": "Certificate is cancelled because randomness could not be generated this epoch",
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "error": {
- "type": "string",
- "enum": [
- "execution_cancelled_due_to_randomness_unavailable"
- ]
- }
- }
- }
- ]
- },
- "FailureStatus": {
- "type": "object",
- "required": [
- "error"
- ],
- "properties": {
- "command": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- },
- "error": {
- "$ref": "#/components/schemas/ExecutionError"
- }
- }
- },
- "GasCostSummary": {
- "description": "Summary of gas charges.\n\nStorage is charged independently of computation. There are 3 parts to the storage charges: `storage_cost`: it is the charge of storage at the time the transaction is executed. The cost of storage is the number of bytes of the objects being mutated multiplied by a variable storage cost per byte `storage_rebate`: this is the amount a user gets back when manipulating an object. The `storage_rebate` is the `storage_cost` for an object minus fees. `non_refundable_storage_fee`: not all the value of the object storage cost is given back to user and there is a small fraction that is kept by the system. This value tracks that charge.\n\nWhen looking at a gas cost summary the amount charged to the user is `computation_cost + storage_cost - storage_rebate` and that is the amount that is deducted from the gas coins. `non_refundable_storage_fee` is collected from the objects being mutated/deleted and it is tracked by the system in storage funds.\n\nObjects deleted, including the older versions of objects mutated, have the storage field on the objects added up to a pool of \"potential rebate\". This rebate then is reduced by the \"nonrefundable rate\" such that: `potential_rebate(storage cost of deleted/mutated objects) = storage_rebate + non_refundable_storage_fee`",
- "type": "object",
- "required": [
- "computation_cost",
- "non_refundable_storage_fee",
- "storage_cost",
- "storage_rebate"
- ],
- "properties": {
- "computation_cost": {
- "description": "Cost of computation/execution",
- "type": "string",
- "format": "u64"
- },
- "non_refundable_storage_fee": {
- "description": "The fee for the rebate. The portion of the storage rebate kept by the system.",
- "type": "string",
- "format": "u64"
- },
- "storage_cost": {
- "description": "Storage cost, it's the sum of all storage cost for all objects created or mutated.",
- "type": "string",
- "format": "u64"
- },
- "storage_rebate": {
- "description": "The amount of storage cost refunded to the user for all objects deleted or mutated in the transaction.",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "GasInfo": {
- "type": "object",
- "required": [
- "reference_gas_price"
- ],
- "properties": {
- "reference_gas_price": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "GasPayment": {
- "type": "object",
- "required": [
- "budget",
- "objects",
- "owner",
- "price"
- ],
- "properties": {
- "budget": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "objects": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectReference"
- }
- },
- "owner": {
- "$ref": "#/components/schemas/Address"
- },
- "price": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "GenesisObject": {
- "type": "object",
- "anyOf": [
- {
- "$ref": "#/components/schemas/MoveStruct"
- },
- {
- "$ref": "#/components/schemas/Package"
- }
- ],
- "required": [
- "object_id",
- "owner",
- "type",
- "version"
- ],
- "properties": {
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "owner": {
- "$ref": "#/components/schemas/Owner"
- },
- "type": {
- "type": "string"
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "IdOperation": {
- "type": "string",
- "enum": [
- "none",
- "created",
- "deleted"
- ]
- },
- "Identifier": {
- "title": "Identifier",
- "description": "A Move Identifier",
- "examples": [
- "sui"
- ],
- "type": "string",
- "pattern": "(?:[a-zA-Z][a-zA-Z0-9_]{0,127})|(?:_[a-zA-Z0-9_]{0,127})"
- },
- "Input": {
- "oneOf": [
- {
- "type": "object",
- "required": [
- "type",
- "value"
- ],
- "properties": {
- "type": {
- "type": "string",
- "enum": [
- "pure"
- ]
- },
- "value": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "digest",
- "object_id",
- "type",
- "version"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/ObjectDigest"
- },
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "type": {
- "type": "string",
- "enum": [
- "immutable_or_owned"
- ]
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "initial_shared_version",
- "mutable",
- "object_id",
- "type"
- ],
- "properties": {
- "initial_shared_version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "mutable": {
- "type": "boolean"
- },
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "type": {
- "type": "string",
- "enum": [
- "shared"
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "digest",
- "object_id",
- "type",
- "version"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/ObjectDigest"
- },
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "type": {
- "type": "string",
- "enum": [
- "receiving"
- ]
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- }
- ]
- },
- "Jwk": {
- "description": "Struct that contains info for a JWK. A list of them for different kids can be retrieved from the JWK endpoint (e.g. ). The JWK is used to verify the JWT token.",
- "type": "object",
- "required": [
- "alg",
- "e",
- "kty",
- "n"
- ],
- "properties": {
- "alg": {
- "description": "Algorithm parameter, ",
- "type": "string"
- },
- "e": {
- "description": "RSA public exponent, ",
- "type": "string"
- },
- "kty": {
- "description": "Key type parameter, ",
- "type": "string"
- },
- "n": {
- "description": "RSA modulus, ",
- "type": "string"
- }
- }
- },
- "JwkId": {
- "description": "Key to identify a JWK, consists of iss and kid.",
- "type": "object",
- "required": [
- "iss",
- "kid"
- ],
- "properties": {
- "iss": {
- "description": "iss string that identifies the OIDC provider.",
- "type": "string"
- },
- "kid": {
- "description": "kid string that identifies the JWK.",
- "type": "string"
- }
- }
- },
- "ModifiedAtVersion": {
- "type": "object",
- "required": [
- "object_id",
- "version"
- ],
- "properties": {
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "MoveLocation": {
- "type": "object",
- "required": [
- "function",
- "instruction",
- "module",
- "package"
- ],
- "properties": {
- "function": {
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- },
- "function_name": {
- "$ref": "#/components/schemas/Identifier"
- },
- "instruction": {
- "description": "Index into the code stream for a jump. The offset is relative to the beginning of the instruction stream.",
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- },
- "module": {
- "$ref": "#/components/schemas/Identifier"
- },
- "package": {
- "$ref": "#/components/schemas/ObjectId"
- }
- }
- },
- "MoveStruct": {
- "type": "object",
- "required": [
- "contents",
- "has_public_transfer"
- ],
- "properties": {
- "contents": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "has_public_transfer": {
- "type": "boolean"
- }
- }
- },
- "MultisigCommittee": {
- "type": "object",
- "required": [
- "members",
- "threshold"
- ],
- "properties": {
- "members": {
- "description": "A list of committee members and their corresponding weight.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/MultisigMember"
- }
- },
- "threshold": {
- "description": "If the total weight of the public keys corresponding to verified signatures is larger than threshold, the Multisig is verified.",
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- }
- }
- },
- "MultisigMember": {
- "type": "object",
- "required": [
- "public_key",
- "weight"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/MultisigMemberPublicKey"
- },
- "weight": {
- "type": "integer",
- "format": "uint8",
- "minimum": 0.0
- }
- }
- },
- "MultisigMemberPublicKey": {
- "oneOf": [
- {
- "type": "object",
- "required": [
- "public_key",
- "scheme"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/Ed25519PublicKey"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "ed25519"
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "public_key",
- "scheme"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/Secp256k1PublicKey"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "secp256k1"
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "public_key",
- "scheme"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/Secp256r1PublicKey"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "secp256r1"
- ]
- }
- }
- },
- {
- "description": "A wrapper struct to retrofit in [enum PublicKey] for zkLogin. Useful to construct [struct MultiSigPublicKey].",
- "type": "object",
- "required": [
- "address_seed",
- "iss",
- "scheme"
- ],
- "properties": {
- "address_seed": {
- "$ref": "#/components/schemas/Bn254FieldElement"
- },
- "iss": {
- "type": "string"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "zklogin"
- ]
- }
- }
- }
- ]
- },
- "MultisigMemberSignature": {
- "oneOf": [
- {
- "type": "object",
- "required": [
- "scheme",
- "signature"
- ],
- "properties": {
- "scheme": {
- "type": "string",
- "enum": [
- "ed25519"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/Ed25519Signature"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "scheme",
- "signature"
- ],
- "properties": {
- "scheme": {
- "type": "string",
- "enum": [
- "secp256k1"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/Secp256k1Signature"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "scheme",
- "signature"
- ],
- "properties": {
- "scheme": {
- "type": "string",
- "enum": [
- "secp256r1"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/Secp256r1Signature"
- }
- }
- },
- {
- "description": "An zk login authenticator with all the necessary fields.",
- "type": "object",
- "required": [
- "inputs",
- "max_epoch",
- "scheme",
- "signature"
- ],
- "properties": {
- "inputs": {
- "$ref": "#/components/schemas/ZkLoginInputs"
- },
- "max_epoch": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "zklogin"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/SimpleSignature"
- }
- }
- }
- ]
- },
- "NodeInfo": {
- "description": "Basic information about the state of a Node",
- "type": "object",
- "required": [
- "chain",
- "chain_id",
- "checkpoint_height",
- "epoch",
- "software_version",
- "timestamp_ms"
- ],
- "properties": {
- "chain": {
- "description": "Human readable name of the chain that this Node is on",
- "type": "string"
- },
- "chain_id": {
- "description": "The chain identifier of the chain that this Node is on",
- "allOf": [
- {
- "$ref": "#/components/schemas/CheckpointDigest"
- }
- ]
- },
- "checkpoint_height": {
- "description": "Checkpoint height of the most recently executed checkpoint",
- "type": "string",
- "format": "u64"
- },
- "epoch": {
- "description": "Current epoch of the Node based on its highest executed checkpoint",
- "type": "string",
- "format": "u64"
- },
- "lowest_available_checkpoint": {
- "description": "The lowest checkpoint for which checkpoints and transaction data is available",
- "type": "string",
- "format": "u64"
- },
- "lowest_available_checkpoint_objects": {
- "description": "The lowest checkpoint for which object data is available",
- "type": "string",
- "format": "u64"
- },
- "software_version": {
- "type": "string"
- },
- "timestamp_ms": {
- "description": "Unix timestamp of the most recently executed checkpoint",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "Object": {
- "type": "object",
- "anyOf": [
- {
- "$ref": "#/components/schemas/MoveStruct"
- },
- {
- "$ref": "#/components/schemas/Package"
- }
- ],
- "required": [
- "object_id",
- "owner",
- "previous_transaction",
- "storage_rebate",
- "type",
- "version"
- ],
- "properties": {
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "owner": {
- "$ref": "#/components/schemas/Owner"
- },
- "previous_transaction": {
- "$ref": "#/components/schemas/TransactionDigest"
- },
- "storage_rebate": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "type": {
- "type": "string"
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "ObjectDigest": {
- "$ref": "#/components/schemas/Digest"
- },
- "ObjectId": {
- "$ref": "#/components/schemas/Address"
- },
- "ObjectIn": {
- "description": "If an object exists (at root-level) in the store prior to this transaction, it should be Exist, otherwise it's NonExist, e.g. wrapped objects should be NonExist.",
- "oneOf": [
- {
- "type": "object",
- "required": [
- "state"
- ],
- "properties": {
- "state": {
- "type": "string",
- "enum": [
- "not_exist"
- ]
- }
- }
- },
- {
- "description": "The old version, digest and owner.",
- "type": "object",
- "required": [
- "digest",
- "owner",
- "state",
- "version"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/ObjectDigest"
- },
- "owner": {
- "$ref": "#/components/schemas/Owner"
- },
- "state": {
- "type": "string",
- "enum": [
- "exist"
- ]
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- }
- ]
- },
- "ObjectOut": {
- "oneOf": [
- {
- "description": "Same definition as in ObjectIn.",
- "type": "object",
- "required": [
- "state"
- ],
- "properties": {
- "state": {
- "type": "string",
- "enum": [
- "not_exist"
- ]
- }
- }
- },
- {
- "description": "Any written object, including all of mutated, created, unwrapped today.",
- "type": "object",
- "required": [
- "digest",
- "owner",
- "state"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/ObjectDigest"
- },
- "owner": {
- "$ref": "#/components/schemas/Owner"
- },
- "state": {
- "type": "string",
- "enum": [
- "object_write"
- ]
- }
- }
- },
- {
- "description": "Packages writes need to be tracked separately with version because we don't use lamport version for package publish and upgrades.",
- "type": "object",
- "required": [
- "digest",
- "state",
- "version"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/ObjectDigest"
- },
- "state": {
- "type": "string",
- "enum": [
- "package_write"
- ]
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- }
- ]
- },
- "ObjectReference": {
- "type": "object",
- "required": [
- "digest",
- "object_id",
- "version"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/ObjectDigest"
- },
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "ObjectReferenceWithOwner": {
- "type": "object",
- "required": [
- "owner",
- "reference"
- ],
- "properties": {
- "owner": {
- "$ref": "#/components/schemas/Owner"
- },
- "reference": {
- "$ref": "#/components/schemas/ObjectReference"
- }
- }
- },
- "ObjectResponse": {
- "type": "object",
- "required": [
- "digest",
- "object_id",
- "version"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/ObjectDigest"
- },
- "object": {
- "$ref": "#/components/schemas/Object"
- },
- "object_bcs": {
- "type": "string"
- },
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "Owner": {
- "oneOf": [
- {
- "title": "Address Owned",
- "description": "Object is exclusively owned by a single address, and is mutable.",
- "type": "object",
- "required": [
- "address"
- ],
- "properties": {
- "address": {
- "$ref": "#/components/schemas/Address"
- }
- },
- "additionalProperties": false
- },
- {
- "title": "Object Owned",
- "description": "Object is exclusively owned by a single object, and is mutable.",
- "type": "object",
- "required": [
- "object"
- ],
- "properties": {
- "object": {
- "$ref": "#/components/schemas/ObjectId"
- }
- },
- "additionalProperties": false
- },
- {
- "title": "Shared Object",
- "description": "Object is shared, can be used by any address, and is mutable.",
- "type": "object",
- "required": [
- "shared"
- ],
- "properties": {
- "shared": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- },
- "additionalProperties": false
- },
- {
- "title": "Immutable",
- "description": "Object is immutable, and hence ownership doesn't matter.",
- "type": "string",
- "enum": [
- "immutable"
- ]
- }
- ]
- },
- "Package": {
- "type": "object",
- "required": [
- "linkage_table",
- "modules",
- "type_origin_table"
- ],
- "properties": {
- "linkage_table": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/components/schemas/UpgradeInfo"
- }
- },
- "modules": {
- "type": "object",
- "additionalProperties": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- }
- },
- "type_origin_table": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/TypeOrigin"
- }
- }
- }
- },
- "PackageUpgradeError": {
- "oneOf": [
- {
- "description": "Unable to fetch package",
- "type": "object",
- "required": [
- "kind",
- "package_id"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "unable_to_fetch_package"
- ]
- },
- "package_id": {
- "$ref": "#/components/schemas/ObjectId"
- }
- }
- },
- {
- "description": "Object is not a package",
- "type": "object",
- "required": [
- "kind",
- "object_id"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "not_a_package"
- ]
- },
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- }
- }
- },
- {
- "description": "Package upgrade is incompatible with previous version",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "incompatible_upgrade"
- ]
- }
- }
- },
- {
- "description": "Digest in upgrade ticket and computed digest differ",
- "type": "object",
- "required": [
- "digest",
- "kind"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/Digest"
- },
- "kind": {
- "type": "string",
- "enum": [
- "digest_does_not_match"
- ]
- }
- }
- },
- {
- "description": "Upgrade policy is not valid",
- "type": "object",
- "required": [
- "kind",
- "policy"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "unknown_upgrade_policy"
- ]
- },
- "policy": {
- "type": "integer",
- "format": "uint8",
- "minimum": 0.0
- }
- }
- },
- {
- "description": "PackageId does not matach PackageId in upgrade ticket",
- "type": "object",
- "required": [
- "kind",
- "package_id",
- "ticket_id"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "package_id_does_not_match"
- ]
- },
- "package_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "ticket_id": {
- "$ref": "#/components/schemas/ObjectId"
- }
- }
- }
- ]
- },
- "ProtocolConfig": {
- "type": "object",
- "required": [
- "attributes",
- "feature_flags",
- "protocol_version"
- ],
- "properties": {
- "attributes": {
- "type": "object",
- "additionalProperties": {
- "type": "string"
- }
- },
- "feature_flags": {
- "type": "object",
- "additionalProperties": {
- "type": "boolean"
- }
- },
- "protocol_version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "ResolveTransactionResponse": {
- "description": "Response type for the execute transaction endpoint",
- "type": "object",
- "required": [
- "transaction"
- ],
- "properties": {
- "simulation": {
- "$ref": "#/components/schemas/TransactionSimulationResponse"
- },
- "transaction": {
- "$ref": "#/components/schemas/Transaction"
- }
- }
- },
- "Secp256k1PublicKey": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "Secp256k1Signature": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "Secp256r1PublicKey": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "Secp256r1Signature": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "SimpleSignature": {
- "oneOf": [
- {
- "type": "object",
- "required": [
- "public_key",
- "scheme",
- "signature"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/Ed25519PublicKey"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "ed25519"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/Ed25519Signature"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "public_key",
- "scheme",
- "signature"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/Secp256k1PublicKey"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "secp256k1"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/Secp256k1Signature"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "public_key",
- "scheme",
- "signature"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/Secp256r1PublicKey"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "secp256r1"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/Secp256r1Signature"
- }
- }
- }
- ]
- },
- "StructTag": {
- "title": "StructTag",
- "description": "A Move StructTag",
- "examples": [
- "0x2::coin::Coin<0x2::sui::SUI>"
- ],
- "type": "string"
- },
- "SystemPackage": {
- "type": "object",
- "required": [
- "dependencies",
- "modules",
- "version"
- ],
- "properties": {
- "dependencies": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectId"
- }
- },
- "modules": {
- "type": "array",
- "items": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- }
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "SystemStateSummary": {
- "type": "object",
- "required": [
- "active_validators",
- "at_risk_validators",
- "epoch",
- "epoch_duration_ms",
- "epoch_start_timestamp_ms",
- "inactive_pools_id",
- "inactive_pools_size",
- "max_validator_count",
- "min_validator_joining_stake",
- "pending_active_validators_id",
- "pending_active_validators_size",
- "pending_removals",
- "protocol_version",
- "reference_gas_price",
- "safe_mode",
- "safe_mode_computation_rewards",
- "safe_mode_non_refundable_storage_fee",
- "safe_mode_storage_rebates",
- "safe_mode_storage_rewards",
- "stake_subsidy_balance",
- "stake_subsidy_current_distribution_amount",
- "stake_subsidy_decrease_rate",
- "stake_subsidy_distribution_counter",
- "stake_subsidy_period_length",
- "stake_subsidy_start_epoch",
- "staking_pool_mappings_id",
- "staking_pool_mappings_size",
- "storage_fund_non_refundable_balance",
- "storage_fund_total_object_storage_rebates",
- "system_state_version",
- "total_stake",
- "validator_candidates_id",
- "validator_candidates_size",
- "validator_low_stake_grace_period",
- "validator_low_stake_threshold",
- "validator_report_records",
- "validator_very_low_stake_threshold"
- ],
- "properties": {
- "active_validators": {
- "description": "The list of active validators in the current epoch.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ValidatorSummary"
- }
- },
- "at_risk_validators": {
- "description": "Map storing the number of epochs for which each validator has been below the low stake threshold.",
- "type": "array",
- "items": {
- "type": "array",
- "items": [
- {
- "$ref": "#/components/schemas/Address"
- },
- {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- ],
- "maxItems": 2,
- "minItems": 2
- }
- },
- "epoch": {
- "description": "The current epoch ID, starting from 0.",
- "type": "string",
- "format": "u64"
- },
- "epoch_duration_ms": {
- "description": "The duration of an epoch, in milliseconds.",
- "type": "string",
- "format": "u64"
- },
- "epoch_start_timestamp_ms": {
- "description": "Unix timestamp of the current epoch start",
- "type": "string",
- "format": "u64"
- },
- "inactive_pools_id": {
- "description": "ID of the object that maps from a staking pool ID to the inactive validator that has that pool as its staking pool.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectId"
- }
- ]
- },
- "inactive_pools_size": {
- "description": "Number of inactive staking pools.",
- "type": "string",
- "format": "u64"
- },
- "max_validator_count": {
- "description": "Maximum number of active validators at any moment. We do not allow the number of validators in any epoch to go above this.",
- "type": "string",
- "format": "u64"
- },
- "min_validator_joining_stake": {
- "description": "Lower-bound on the amount of stake required to become a validator.",
- "type": "string",
- "format": "u64"
- },
- "pending_active_validators_id": {
- "description": "ID of the object that contains the list of new validators that will join at the end of the epoch.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectId"
- }
- ]
- },
- "pending_active_validators_size": {
- "description": "Number of new validators that will join at the end of the epoch.",
- "type": "string",
- "format": "u64"
- },
- "pending_removals": {
- "description": "Removal requests from the validators. Each element is an index pointing to `active_validators`.",
- "type": "array",
- "items": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- },
- "protocol_version": {
- "description": "The current protocol version, starting from 1.",
- "type": "string",
- "format": "u64"
- },
- "reference_gas_price": {
- "description": "The reference gas price for the current epoch.",
- "type": "string",
- "format": "u64"
- },
- "safe_mode": {
- "description": "Whether the system is running in a downgraded safe mode due to a non-recoverable bug. This is set whenever we failed to execute advance_epoch, and ended up executing advance_epoch_safe_mode. It can be reset once we are able to successfully execute advance_epoch.",
- "type": "boolean"
- },
- "safe_mode_computation_rewards": {
- "description": "Amount of computation rewards accumulated (and not yet distributed) during safe mode.",
- "type": "string",
- "format": "u64"
- },
- "safe_mode_non_refundable_storage_fee": {
- "description": "Amount of non-refundable storage fee accumulated during safe mode.",
- "type": "string",
- "format": "u64"
- },
- "safe_mode_storage_rebates": {
- "description": "Amount of storage rebates accumulated (and not yet burned) during safe mode.",
- "type": "string",
- "format": "u64"
- },
- "safe_mode_storage_rewards": {
- "description": "Amount of storage rewards accumulated (and not yet distributed) during safe mode.",
- "type": "string",
- "format": "u64"
- },
- "stake_subsidy_balance": {
- "description": "Balance of SUI set aside for stake subsidies that will be drawn down over time.",
- "type": "string",
- "format": "u64"
- },
- "stake_subsidy_current_distribution_amount": {
- "description": "The amount of stake subsidy to be drawn down per epoch. This amount decays and decreases over time.",
- "type": "string",
- "format": "u64"
- },
- "stake_subsidy_decrease_rate": {
- "description": "The rate at which the distribution amount decays at the end of each period. Expressed in basis points.",
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- },
- "stake_subsidy_distribution_counter": {
- "description": "This counter may be different from the current epoch number if in some epochs we decide to skip the subsidy.",
- "type": "string",
- "format": "u64"
- },
- "stake_subsidy_period_length": {
- "description": "Number of distributions to occur before the distribution amount decays.",
- "type": "string",
- "format": "u64"
- },
- "stake_subsidy_start_epoch": {
- "description": "The starting epoch in which stake subsidies start being paid out",
- "type": "string",
- "format": "u64"
- },
- "staking_pool_mappings_id": {
- "description": "ID of the object that maps from staking pool's ID to the sui address of a validator.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectId"
- }
- ]
- },
- "staking_pool_mappings_size": {
- "description": "Number of staking pool mappings.",
- "type": "string",
- "format": "u64"
- },
- "storage_fund_non_refundable_balance": {
- "description": "The non-refundable portion of the storage fund coming from storage reinvestment, non-refundable storage rebates and any leftover staking rewards.",
- "type": "string",
- "format": "u64"
- },
- "storage_fund_total_object_storage_rebates": {
- "description": "The storage rebates of all the objects on-chain stored in the storage fund.",
- "type": "string",
- "format": "u64"
- },
- "system_state_version": {
- "description": "The current version of the system state data structure type.",
- "type": "string",
- "format": "u64"
- },
- "total_stake": {
- "description": "Total amount of stake from all active validators at the beginning of the epoch.",
- "type": "string",
- "format": "u64"
- },
- "validator_candidates_id": {
- "description": "ID of the object that stores preactive validators, mapping their addresses to their `Validator` structs.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectId"
- }
- ]
- },
- "validator_candidates_size": {
- "description": "Number of preactive validators.",
- "type": "string",
- "format": "u64"
- },
- "validator_low_stake_grace_period": {
- "description": "A validator can have stake below `validator_low_stake_threshold` for this many epochs before being kicked out.",
- "type": "string",
- "format": "u64"
- },
- "validator_low_stake_threshold": {
- "description": "Validators with stake amount below `validator_low_stake_threshold` are considered to have low stake and will be escorted out of the validator set after being below this threshold for more than `validator_low_stake_grace_period` number of epochs.",
- "type": "string",
- "format": "u64"
- },
- "validator_report_records": {
- "description": "A map storing the records of validator reporting each other.",
- "type": "array",
- "items": {
- "type": "array",
- "items": [
- {
- "$ref": "#/components/schemas/Address"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Address"
- }
- }
- ],
- "maxItems": 2,
- "minItems": 2
- }
- },
- "validator_very_low_stake_threshold": {
- "description": "Validators with stake below `validator_very_low_stake_threshold` will be removed immediately at epoch change, no grace period.",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "Transaction": {
- "oneOf": [
- {
- "type": "object",
- "required": [
- "expiration",
- "gas_payment",
- "kind",
- "sender",
- "version"
- ],
- "properties": {
- "expiration": {
- "$ref": "#/components/schemas/TransactionExpiration"
- },
- "gas_payment": {
- "$ref": "#/components/schemas/GasPayment"
- },
- "kind": {
- "$ref": "#/components/schemas/TransactionKind"
- },
- "sender": {
- "$ref": "#/components/schemas/Address"
- },
- "version": {
- "type": "string",
- "enum": [
- "1"
- ]
- }
- }
- }
- ]
- },
- "TransactionDigest": {
- "$ref": "#/components/schemas/Digest"
- },
- "TransactionEffects": {
- "description": "The response from processing a transaction or a certified transaction",
- "oneOf": [
- {
- "description": "The response from processing a transaction or a certified transaction",
- "type": "object",
- "required": [
- "created",
- "deleted",
- "dependencies",
- "epoch",
- "gas_object",
- "gas_used",
- "modified_at_versions",
- "mutated",
- "shared_objects",
- "success",
- "transaction_digest",
- "unwrapped",
- "unwrapped_then_deleted",
- "version",
- "wrapped"
- ],
- "properties": {
- "created": {
- "description": "ObjectReference and owner of new objects created.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectReferenceWithOwner"
- }
- },
- "deleted": {
- "description": "Object Refs of objects now deleted (the new refs).",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectReference"
- }
- },
- "dependencies": {
- "description": "The set of transaction digests this transaction depends on.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/TransactionDigest"
- }
- },
- "epoch": {
- "description": "The epoch when this transaction was executed.",
- "type": "string",
- "format": "u64"
- },
- "events_digest": {
- "description": "The digest of the events emitted during execution, can be None if the transaction does not emit any event.",
- "allOf": [
- {
- "$ref": "#/components/schemas/TransactionEventsDigest"
- }
- ]
- },
- "gas_object": {
- "description": "The updated gas object reference. Have a dedicated field for convenient access. It's also included in mutated.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectReferenceWithOwner"
- }
- ]
- },
- "gas_used": {
- "$ref": "#/components/schemas/GasCostSummary"
- },
- "modified_at_versions": {
- "description": "The version that every modified (mutated or deleted) object had before it was modified by this transaction.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ModifiedAtVersion"
- }
- },
- "mutated": {
- "description": "ObjectReference and owner of mutated objects, including gas object.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectReferenceWithOwner"
- }
- },
- "shared_objects": {
- "description": "The object references of the shared objects used in this transaction. Empty if no shared objects were used.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectReference"
- }
- },
- "status": {
- "$ref": "#/components/schemas/FailureStatus"
- },
- "success": {
- "type": "boolean"
- },
- "transaction_digest": {
- "description": "The transaction digest",
- "allOf": [
- {
- "$ref": "#/components/schemas/TransactionDigest"
- }
- ]
- },
- "unwrapped": {
- "description": "ObjectReference and owner of objects that are unwrapped in this transaction. Unwrapped objects are objects that were wrapped into other objects in the past, and just got extracted out.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectReferenceWithOwner"
- }
- },
- "unwrapped_then_deleted": {
- "description": "Object refs of objects previously wrapped in other objects but now deleted.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectReference"
- }
- },
- "version": {
- "type": "string",
- "enum": [
- "1"
- ]
- },
- "wrapped": {
- "description": "Object refs of objects now wrapped in other objects.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ObjectReference"
- }
- }
- }
- },
- {
- "description": "The response from processing a transaction or a certified transaction",
- "type": "object",
- "required": [
- "changed_objects",
- "dependencies",
- "epoch",
- "gas_used",
- "lamport_version",
- "success",
- "transaction_digest",
- "unchanged_shared_objects",
- "version"
- ],
- "properties": {
- "auxiliary_data_digest": {
- "description": "Auxiliary data that are not protocol-critical, generated as part of the effects but are stored separately. Storing it separately allows us to avoid bloating the effects with data that are not critical. It also provides more flexibility on the format and type of the data.",
- "allOf": [
- {
- "$ref": "#/components/schemas/EffectsAuxiliaryDataDigest"
- }
- ]
- },
- "changed_objects": {
- "description": "Objects whose state are changed in the object store.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ChangedObject"
- }
- },
- "dependencies": {
- "description": "The set of transaction digests this transaction depends on.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/TransactionDigest"
- }
- },
- "epoch": {
- "description": "The epoch when this transaction was executed.",
- "type": "string",
- "format": "u64"
- },
- "events_digest": {
- "description": "The digest of the events emitted during execution, can be None if the transaction does not emit any event.",
- "allOf": [
- {
- "$ref": "#/components/schemas/TransactionEventsDigest"
- }
- ]
- },
- "gas_object_index": {
- "description": "The updated gas object reference, as an index into the `changed_objects` vector. Having a dedicated field for convenient access. System transaction that don't require gas will leave this as None.",
- "type": "integer",
- "format": "uint32",
- "minimum": 0.0
- },
- "gas_used": {
- "$ref": "#/components/schemas/GasCostSummary"
- },
- "lamport_version": {
- "description": "The version number of all the written Move objects by this transaction.",
- "type": "string",
- "format": "u64"
- },
- "status": {
- "$ref": "#/components/schemas/FailureStatus"
- },
- "success": {
- "type": "boolean"
- },
- "transaction_digest": {
- "description": "The transaction digest",
- "allOf": [
- {
- "$ref": "#/components/schemas/TransactionDigest"
- }
- ]
- },
- "unchanged_shared_objects": {
- "description": "Shared objects that are not mutated in this transaction. Unlike owned objects, read-only shared objects' version are not committed in the transaction, and in order for a node to catch up and execute it without consensus sequencing, the version needs to be committed in the effects.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UnchangedSharedObject"
- }
- },
- "version": {
- "type": "string",
- "enum": [
- "2"
- ]
- }
- }
- }
- ]
- },
- "TransactionEffectsDigest": {
- "$ref": "#/components/schemas/Digest"
- },
- "TransactionEvents": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Event"
- }
- },
- "TransactionEventsDigest": {
- "$ref": "#/components/schemas/Digest"
- },
- "TransactionExpiration": {
- "oneOf": [
- {
- "description": "Validators wont sign a transaction unless the expiration Epoch is greater than or equal to the current epoch",
- "type": "object",
- "required": [
- "epoch"
- ],
- "properties": {
- "epoch": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- },
- "additionalProperties": false
- },
- {
- "type": "null"
- }
- ]
- },
- "TransactionKind": {
- "oneOf": [
- {
- "description": "A series of commands where the results of one command can be used in future commands",
- "type": "object",
- "required": [
- "commands",
- "inputs",
- "kind"
- ],
- "properties": {
- "commands": {
- "description": "The commands to be executed sequentially. A failure in any command will result in the failure of the entire transaction.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Command"
- }
- },
- "inputs": {
- "description": "Input objects or primitive values",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Input"
- }
- },
- "kind": {
- "type": "string",
- "enum": [
- "programmable_transaction"
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "computation_charge",
- "epoch",
- "epoch_start_timestamp_ms",
- "kind",
- "non_refundable_storage_fee",
- "protocol_version",
- "storage_charge",
- "storage_rebate",
- "system_packages"
- ],
- "properties": {
- "computation_charge": {
- "description": "The total amount of gas charged for computation during the epoch.",
- "type": "string",
- "format": "u64"
- },
- "epoch": {
- "description": "The next (to become) epoch ID.",
- "type": "string",
- "format": "u64"
- },
- "epoch_start_timestamp_ms": {
- "description": "Unix timestamp when epoch started",
- "type": "string",
- "format": "u64"
- },
- "kind": {
- "type": "string",
- "enum": [
- "change_epoch"
- ]
- },
- "non_refundable_storage_fee": {
- "description": "The non-refundable storage fee.",
- "type": "string",
- "format": "u64"
- },
- "protocol_version": {
- "description": "The protocol version in effect in the new epoch.",
- "type": "string",
- "format": "u64"
- },
- "storage_charge": {
- "description": "The total amount of gas charged for storage during the epoch.",
- "type": "string",
- "format": "u64"
- },
- "storage_rebate": {
- "description": "The amount of storage rebate refunded to the txn senders.",
- "type": "string",
- "format": "u64"
- },
- "system_packages": {
- "description": "System packages (specifically framework and move stdlib) that are written before the new epoch starts. This tracks framework upgrades on chain. When executing the ChangeEpoch txn, the validator must write out the modules below. Modules are provided with the version they will be upgraded to, their modules in serialized form (which include their package ID), and a list of their transitive dependencies.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/SystemPackage"
- }
- }
- }
- },
- {
- "type": "object",
- "required": [
- "kind",
- "objects"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "genesis"
- ]
- },
- "objects": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/GenesisObject"
- }
- }
- }
- },
- {
- "description": "Only commit_timestamp_ms is passed to the move call currently. However we include epoch and round to make sure each ConsensusCommitPrologue has a unique tx digest.",
- "type": "object",
- "required": [
- "commit_timestamp_ms",
- "epoch",
- "kind",
- "round"
- ],
- "properties": {
- "commit_timestamp_ms": {
- "description": "Unix timestamp from consensus",
- "type": "string",
- "format": "u64"
- },
- "epoch": {
- "description": "Epoch of the commit prologue transaction",
- "type": "string",
- "format": "u64"
- },
- "kind": {
- "type": "string",
- "enum": [
- "consensus_commit_prologue"
- ]
- },
- "round": {
- "description": "Consensus round of the commit",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "authenticator_obj_initial_shared_version",
- "epoch",
- "kind",
- "new_active_jwks",
- "round"
- ],
- "properties": {
- "authenticator_obj_initial_shared_version": {
- "description": "The initial version of the authenticator object that it was shared at.",
- "type": "string",
- "format": "u64"
- },
- "epoch": {
- "description": "Epoch of the authenticator state update transaction",
- "type": "string",
- "format": "u64"
- },
- "kind": {
- "type": "string",
- "enum": [
- "authenticator_state_update"
- ]
- },
- "new_active_jwks": {
- "description": "newly active jwks",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ActiveJwk"
- }
- },
- "round": {
- "description": "Consensus round of the authenticator state update",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "commands",
- "kind"
- ],
- "properties": {
- "commands": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/EndOfEpochTransactionKind"
- }
- },
- "kind": {
- "type": "string",
- "enum": [
- "end_of_epoch"
- ]
- }
- }
- },
- {
- "type": "object",
- "required": [
- "epoch",
- "kind",
- "random_bytes",
- "randomness_obj_initial_shared_version",
- "randomness_round"
- ],
- "properties": {
- "epoch": {
- "description": "Epoch of the randomness state update transaction",
- "type": "string",
- "format": "u64"
- },
- "kind": {
- "type": "string",
- "enum": [
- "randomness_state_update"
- ]
- },
- "random_bytes": {
- "description": "Updated random bytes",
- "type": "string",
- "format": "base64"
- },
- "randomness_obj_initial_shared_version": {
- "description": "The initial version of the randomness object that it was shared at.",
- "type": "string",
- "format": "u64"
- },
- "randomness_round": {
- "description": "Randomness round of the update",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "commit_timestamp_ms",
- "consensus_commit_digest",
- "epoch",
- "kind",
- "round"
- ],
- "properties": {
- "commit_timestamp_ms": {
- "description": "Unix timestamp from consensus",
- "type": "string",
- "format": "u64"
- },
- "consensus_commit_digest": {
- "description": "Digest of consensus output",
- "allOf": [
- {
- "$ref": "#/components/schemas/ConsensusCommitDigest"
- }
- ]
- },
- "epoch": {
- "description": "Epoch of the commit prologue transaction",
- "type": "string",
- "format": "u64"
- },
- "kind": {
- "type": "string",
- "enum": [
- "consensus_commit_prologue_v2"
- ]
- },
- "round": {
- "description": "Consensus round of the commit",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "commit_timestamp_ms",
- "consensus_commit_digest",
- "consensus_determined_version_assignments",
- "epoch",
- "kind",
- "round"
- ],
- "properties": {
- "commit_timestamp_ms": {
- "description": "Unix timestamp from consensus",
- "type": "string",
- "format": "u64"
- },
- "consensus_commit_digest": {
- "description": "Digest of consensus output",
- "allOf": [
- {
- "$ref": "#/components/schemas/ConsensusCommitDigest"
- }
- ]
- },
- "consensus_determined_version_assignments": {
- "description": "Stores consensus handler determined shared object version assignments.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ConsensusDeterminedVersionAssignments"
- }
- ]
- },
- "epoch": {
- "description": "Epoch of the commit prologue transaction",
- "type": "string",
- "format": "u64"
- },
- "kind": {
- "type": "string",
- "enum": [
- "consensus_commit_prologue_v3"
- ]
- },
- "round": {
- "description": "Consensus round of the commit",
- "type": "string",
- "format": "u64"
- },
- "sub_dag_index": {
- "description": "The sub DAG index of the consensus commit. This field will be populated if there are multiple consensus commits per round.",
- "type": "string",
- "format": "u64"
- }
- }
- }
- ]
- },
- "TransactionResponse": {
- "type": "object",
- "required": [
- "digest"
- ],
- "properties": {
- "checkpoint": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "digest": {
- "$ref": "#/components/schemas/TransactionDigest"
- },
- "effects": {
- "$ref": "#/components/schemas/TransactionEffects"
- },
- "effects_bcs": {
- "type": "string"
- },
- "events": {
- "$ref": "#/components/schemas/TransactionEvents"
- },
- "events_bcs": {
- "type": "string"
- },
- "signatures": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UserSignature"
- }
- },
- "signatures_bytes": {
- "type": "array",
- "items": {
- "type": "string"
- }
- },
- "timestamp_ms": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "transaction": {
- "$ref": "#/components/schemas/Transaction"
- },
- "transaction_bcs": {
- "type": "string"
- }
- }
- },
- "TransactionSimulationResponse": {
- "description": "Response type for the transaction simulation endpoint",
- "type": "object",
- "required": [
- "effects"
- ],
- "properties": {
- "balance_changes": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/BalanceChange"
- }
- },
- "effects": {
- "$ref": "#/components/schemas/TransactionEffects"
- },
- "events": {
- "$ref": "#/components/schemas/TransactionEvents"
- },
- "input_objects": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Object"
- }
- },
- "output_objects": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Object"
- }
- }
- }
- },
- "TypeArgumentError": {
- "oneOf": [
- {
- "description": "A type was not found in the module specified",
- "type": "string",
- "enum": [
- "type_not_found"
- ]
- },
- {
- "description": "A type provided did not match the specified constraint",
- "type": "string",
- "enum": [
- "constraint_not_satisfied"
- ]
- }
- ]
- },
- "TypeOrigin": {
- "description": "Identifies a struct and the module it was defined in",
- "type": "object",
- "required": [
- "module_name",
- "package",
- "struct_name"
- ],
- "properties": {
- "module_name": {
- "$ref": "#/components/schemas/Identifier"
- },
- "package": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "struct_name": {
- "$ref": "#/components/schemas/Identifier"
- }
- }
- },
- "TypeTag": {
- "title": "TypeTag",
- "description": "A Move TypeTag",
- "examples": [
- "vector"
- ],
- "type": "string"
- },
- "UnchangedSharedKind": {
- "oneOf": [
- {
- "description": "Read-only shared objects from the input. We don't really need ObjectDigest for protocol correctness, but it will make it easier to verify untrusted read.",
- "type": "object",
- "required": [
- "digest",
- "kind",
- "version"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/ObjectDigest"
- },
- "kind": {
- "type": "string",
- "enum": [
- "read_only_root"
- ]
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "description": "Deleted shared objects that appear mutably/owned in the input.",
- "type": "object",
- "required": [
- "kind",
- "version"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "mutate_deleted"
- ]
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "description": "Deleted shared objects that appear as read-only in the input.",
- "type": "object",
- "required": [
- "kind",
- "version"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "read_deleted"
- ]
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "description": "Shared objects in cancelled transaction. The sequence number embed cancellation reason.",
- "type": "object",
- "required": [
- "kind",
- "version"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "cancelled"
- ]
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- {
- "description": "Read of a per-epoch config object that should remain the same during an epoch.",
- "type": "object",
- "required": [
- "kind"
- ],
- "properties": {
- "kind": {
- "type": "string",
- "enum": [
- "per_epoch_config"
- ]
- }
- }
- }
- ]
- },
- "UnchangedSharedObject": {
- "type": "object",
- "required": [
- "kind",
- "object_id"
- ],
- "properties": {
- "kind": {
- "$ref": "#/components/schemas/UnchangedSharedKind"
- },
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- }
- }
- },
- "UnresolvedGasPayment": {
- "type": "object",
- "required": [
- "owner"
- ],
- "properties": {
- "budget": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "objects": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UnresolvedObjectReference"
- }
- },
- "owner": {
- "$ref": "#/components/schemas/Address"
- },
- "price": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "UnresolvedInput": {
- "description": "A potentially unresolved transaction input. Note that one can construct a fully resolved input using the provided constructors, but this struct is also useful when the input data is not complete.\n\nIf used in the context of transaction builder, make sure to call `tx.resolve` function on the transaction builder to resolve all unresolved inputs.",
- "type": "object",
- "properties": {
- "digest": {
- "description": "The digest of this object. This field is only relevant for owned/immutable/receiving inputs.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectDigest"
- }
- ]
- },
- "kind": {
- "$ref": "#/components/schemas/UnresolvedInputKind"
- },
- "mutable": {
- "description": "Whether this object is mutable. This field is only relevant for shared objects.",
- "type": "boolean"
- },
- "object_id": {
- "description": "Unique identifier for this object.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectId"
- }
- ]
- },
- "value": {
- "$ref": "#/components/schemas/UnresolvedValue"
- },
- "version": {
- "description": "Either the `initial_shared_version` if object is a shared object, or the `version` if this is an owned object. The semantics of version can change depending on whether the object is shared or not. For shared objects, this is the initial version the object was shared at. For all other objects, this is the version of the object.",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "UnresolvedInputKind": {
- "type": "string",
- "enum": [
- "pure",
- "shared",
- "receiving",
- "immutable_or_owned",
- "literal"
- ]
- },
- "UnresolvedObjectReference": {
- "type": "object",
- "required": [
- "object_id"
- ],
- "properties": {
- "digest": {
- "$ref": "#/components/schemas/ObjectDigest"
- },
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "UnresolvedTransaction": {
- "type": "object",
- "required": [
- "commands",
- "expiration",
- "inputs",
- "sender"
- ],
- "properties": {
- "commands": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/Command"
- }
- },
- "expiration": {
- "$ref": "#/components/schemas/TransactionExpiration"
- },
- "gas_payment": {
- "$ref": "#/components/schemas/UnresolvedGasPayment"
- },
- "inputs": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UnresolvedInput"
- }
- },
- "sender": {
- "$ref": "#/components/schemas/Address"
- }
- }
- },
- "UnresolvedValue": {
- "anyOf": [
- {
- "type": "null"
- },
- {
- "type": "boolean"
- },
- {
- "type": "integer",
- "format": "uint64",
- "minimum": 0.0
- },
- {
- "type": "string"
- },
- {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/UnresolvedValue"
- }
- }
- ]
- },
- "UpgradeInfo": {
- "description": "Upgraded package info for the linkage table",
- "type": "object",
- "required": [
- "upgraded_id",
- "upgraded_version"
- ],
- "properties": {
- "upgraded_id": {
- "description": "Id of the upgraded packages",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectId"
- }
- ]
- },
- "upgraded_version": {
- "description": "Version of the upgraded package",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "UserSignature": {
- "oneOf": [
- {
- "type": "object",
- "required": [
- "public_key",
- "scheme",
- "signature"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/Ed25519PublicKey"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "ed25519"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/Ed25519Signature"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "public_key",
- "scheme",
- "signature"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/Secp256k1PublicKey"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "secp256k1"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/Secp256k1Signature"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "public_key",
- "scheme",
- "signature"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/Secp256r1PublicKey"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "secp256r1"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/Secp256r1Signature"
- }
- }
- },
- {
- "description": "The struct that contains signatures and public keys necessary for authenticating a Multisig.",
- "type": "object",
- "required": [
- "bitmap",
- "committee",
- "scheme",
- "signatures"
- ],
- "properties": {
- "bitmap": {
- "description": "A bitmap that indicates the position of which public key the signature should be authenticated with.",
- "type": "integer",
- "format": "uint16",
- "minimum": 0.0
- },
- "committee": {
- "description": "The public key encoded with each public key with its signature scheme used along with the corresponding weight.",
- "allOf": [
- {
- "$ref": "#/components/schemas/MultisigCommittee"
- }
- ]
- },
- "legacy_bitmap": {
- "description": "Legacy encoding for the bitmap.",
- "type": "string",
- "format": "base64"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "multisig"
- ]
- },
- "signatures": {
- "description": "The plain signature encoded with signature scheme.\n\nThe signatures must be in the same order as they are listed in the committee.",
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/MultisigMemberSignature"
- }
- }
- }
- },
- {
- "description": "An zk login authenticator with all the necessary fields.",
- "type": "object",
- "required": [
- "inputs",
- "max_epoch",
- "scheme",
- "signature"
- ],
- "properties": {
- "inputs": {
- "$ref": "#/components/schemas/ZkLoginInputs"
- },
- "max_epoch": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "zklogin"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/SimpleSignature"
- }
- }
- },
- {
- "type": "object",
- "required": [
- "authenticator_data",
- "client_data_json",
- "scheme",
- "signature"
- ],
- "properties": {
- "authenticator_data": {
- "type": "array",
- "items": {
- "type": "integer",
- "format": "uint8",
- "minimum": 0.0
- }
- },
- "client_data_json": {
- "type": "string"
- },
- "scheme": {
- "type": "string",
- "enum": [
- "passkey"
- ]
- },
- "signature": {
- "$ref": "#/components/schemas/SimpleSignature"
- }
- }
- }
- ]
- },
- "ValidatorAggregatedSignature": {
- "type": "object",
- "required": [
- "bitmap",
- "epoch",
- "signature"
- ],
- "properties": {
- "bitmap": {
- "description": "Base64 encoded data",
- "type": "string",
- "format": "base64"
- },
- "epoch": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "signature": {
- "$ref": "#/components/schemas/Bls12381Signature"
- }
- }
- },
- "ValidatorCommittee": {
- "type": "object",
- "required": [
- "epoch",
- "members"
- ],
- "properties": {
- "epoch": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "members": {
- "type": "array",
- "items": {
- "$ref": "#/components/schemas/ValidatorCommitteeMember"
- }
- }
- }
- },
- "ValidatorCommitteeMember": {
- "type": "object",
- "required": [
- "public_key",
- "stake"
- ],
- "properties": {
- "public_key": {
- "$ref": "#/components/schemas/Bls12381PublicKey"
- },
- "stake": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "ValidatorSummary": {
- "description": "This is the REST type for the sui validator. It flattens all inner structures to top-level fields so that they are decoupled from the internal definitions.",
- "type": "object",
- "required": [
- "address",
- "commission_rate",
- "description",
- "exchange_rates_id",
- "exchange_rates_size",
- "gas_price",
- "image_url",
- "name",
- "net_address",
- "network_public_key",
- "next_epoch_commission_rate",
- "next_epoch_gas_price",
- "next_epoch_stake",
- "operation_cap_id",
- "p2p_address",
- "pending_pool_token_withdraw",
- "pending_stake",
- "pending_total_sui_withdraw",
- "pool_token_balance",
- "primary_address",
- "project_url",
- "proof_of_possession_bytes",
- "protocol_public_key",
- "rewards_pool",
- "staking_pool_id",
- "staking_pool_sui_balance",
- "voting_power",
- "worker_address",
- "worker_public_key"
- ],
- "properties": {
- "address": {
- "$ref": "#/components/schemas/Address"
- },
- "commission_rate": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "description": {
- "type": "string"
- },
- "exchange_rates_id": {
- "description": "ID of the exchange rate table object.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectId"
- }
- ]
- },
- "exchange_rates_size": {
- "description": "Number of exchange rates in the table.",
- "type": "string",
- "format": "u64"
- },
- "gas_price": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "image_url": {
- "type": "string"
- },
- "name": {
- "type": "string"
- },
- "net_address": {
- "type": "string"
- },
- "network_public_key": {
- "$ref": "#/components/schemas/Ed25519PublicKey"
- },
- "next_epoch_commission_rate": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "next_epoch_gas_price": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "next_epoch_net_address": {
- "type": "string"
- },
- "next_epoch_network_public_key": {
- "$ref": "#/components/schemas/Ed25519PublicKey"
- },
- "next_epoch_p2p_address": {
- "type": "string"
- },
- "next_epoch_primary_address": {
- "type": "string"
- },
- "next_epoch_proof_of_possession": {
- "default": null,
- "type": "string"
- },
- "next_epoch_protocol_public_key": {
- "$ref": "#/components/schemas/Bls12381PublicKey"
- },
- "next_epoch_stake": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "next_epoch_worker_address": {
- "type": "string"
- },
- "next_epoch_worker_public_key": {
- "$ref": "#/components/schemas/Ed25519PublicKey"
- },
- "operation_cap_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "p2p_address": {
- "type": "string"
- },
- "pending_pool_token_withdraw": {
- "description": "Pending pool token withdrawn during the current epoch, emptied at epoch boundaries.",
- "type": "string",
- "format": "u64"
- },
- "pending_stake": {
- "description": "Pending stake amount for this epoch.",
- "type": "string",
- "format": "u64"
- },
- "pending_total_sui_withdraw": {
- "description": "Pending stake withdrawn during the current epoch, emptied at epoch boundaries.",
- "type": "string",
- "format": "u64"
- },
- "pool_token_balance": {
- "description": "Total number of pool tokens issued by the pool.",
- "type": "string",
- "format": "u64"
- },
- "primary_address": {
- "type": "string"
- },
- "project_url": {
- "type": "string"
- },
- "proof_of_possession_bytes": {
- "type": "string"
- },
- "protocol_public_key": {
- "$ref": "#/components/schemas/Bls12381PublicKey"
- },
- "rewards_pool": {
- "description": "The epoch stake rewards will be added here at the end of each epoch.",
- "type": "string",
- "format": "u64"
- },
- "staking_pool_activation_epoch": {
- "description": "The epoch at which this pool became active.",
- "default": null,
- "type": "string",
- "format": "u64"
- },
- "staking_pool_deactivation_epoch": {
- "description": "The epoch at which this staking pool ceased to be active. `None` = {pre-active, active},",
- "default": null,
- "type": "string",
- "format": "u64"
- },
- "staking_pool_id": {
- "description": "ID of the staking pool object.",
- "allOf": [
- {
- "$ref": "#/components/schemas/ObjectId"
- }
- ]
- },
- "staking_pool_sui_balance": {
- "description": "The total number of SUI tokens in this pool.",
- "type": "string",
- "format": "u64"
- },
- "voting_power": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- },
- "worker_address": {
- "type": "string"
- },
- "worker_public_key": {
- "$ref": "#/components/schemas/Ed25519PublicKey"
- }
- }
- },
- "VersionAssignment": {
- "type": "object",
- "required": [
- "object_id",
- "version"
- ],
- "properties": {
- "object_id": {
- "$ref": "#/components/schemas/ObjectId"
- },
- "version": {
- "description": "Radix-10 encoded 64-bit unsigned integer",
- "type": "string",
- "format": "u64"
- }
- }
- },
- "ZkLoginInputs": {
- "description": "All inputs required for the zk login proof verification and other public inputs.",
- "type": "object",
- "required": [
- "address_seed",
- "header_base64",
- "iss_base64_details",
- "proof_points"
- ],
- "properties": {
- "address_seed": {
- "$ref": "#/components/schemas/Bn254FieldElement"
- },
- "header_base64": {
- "type": "string"
- },
- "iss_base64_details": {
- "$ref": "#/components/schemas/Claim"
- },
- "proof_points": {
- "$ref": "#/components/schemas/ZkLoginProof"
- }
- }
- },
- "ZkLoginProof": {
- "description": "The struct for zk login proof.",
- "type": "object",
- "required": [
- "a",
- "b",
- "c"
- ],
- "properties": {
- "a": {
- "$ref": "#/components/schemas/CircomG1"
- },
- "b": {
- "$ref": "#/components/schemas/CircomG2"
- },
- "c": {
- "$ref": "#/components/schemas/CircomG1"
- }
- }
- }
- }
- },
- "tags": [
- {
- "name": "Account"
- },
- {
- "name": "Checkpoint"
- },
- {
- "name": "Coins"
- },
- {
- "name": "General"
- },
- {
- "name": "Objects"
- },
- {
- "name": "OpenAPI"
- },
- {
- "name": "System"
- },
- {
- "name": "Transactions"
- }
- ]
-}
diff --git a/crates/sui-rpc-api/openapi/swagger.html b/crates/sui-rpc-api/openapi/swagger.html
deleted file mode 100644
index 7172ca0e3f0bc..0000000000000
--- a/crates/sui-rpc-api/openapi/swagger.html
+++ /dev/null
@@ -1,22 +0,0 @@
-
-
-
-
-
-
- SwaggerUI
-
-
-
-
-
-
-
-
diff --git a/crates/sui-rpc-api/src/client/mod.rs b/crates/sui-rpc-api/src/client/mod.rs
index 966a7ca813635..0d847555c2259 100644
--- a/crates/sui-rpc-api/src/client/mod.rs
+++ b/crates/sui-rpc-api/src/client/mod.rs
@@ -163,7 +163,7 @@ impl Client {
version: Option,
) -> Result