From ead966a5a9393dbb714ab063c9f672c302fea825 Mon Sep 17 00:00:00 2001 From: Killian Delarue Date: Wed, 17 Dec 2025 17:25:14 +0100 Subject: [PATCH 1/3] Docs, v24: Release notes for [octez-v24.0~rc2] --- docs/releases/version-24.rst | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/docs/releases/version-24.rst b/docs/releases/version-24.rst index 91fcba7c64cc..0bbdfa2fbe78 100644 --- a/docs/releases/version-24.rst +++ b/docs/releases/version-24.rst @@ -1,4 +1,4 @@ -Version 24.0~rc1 +Version 24.0~rc2 ================ Changes @@ -15,6 +15,10 @@ Version 24 introduces the following changes or new features: An overview of breaking changes and deprecations introduced in Octez v24 can be found :ref:`here `. +The second release candidate for v24.0 fixes a memory leak in v24.0~rc1. This has caused Octez nodes and DAL nodes deployed on different networks to consume increasing RAM, and crashing after a few hours of operation as a result. +v24.0~rc2 addresses this bug, ensuring a stable memory management by Octez executables. +If you have deployed Octez v24.0~rc1, please upgrade to v24.0~rc2 as soon as possible to prevent downtime. + .. _protocol_support_v24: Protocol Support @@ -40,7 +44,7 @@ New Octez releases page A new Octez Releases website is now available at https://octez.tezos.com/releases/. It replaces the `Gitlab Releases page `__, which is now deprecated. This new Releases page centralizes release information for the different Octez :ref:`components ` developed on the tezos/tezos Gitlab repository: Octez, Grafazos, Teztale. -Moreover, it provides predictable links to assets (for instance, https://octez.tezos.com/releases/octez-v24.0-rc1/binaries/x86_64/octez-v24.0-rc1.tar.gz), a `machine-readable releases summary `__ file, and an `RSS feed `__. +Moreover, it provides predictable links to assets (for instance, https://octez.tezos.com/releases/octez-v24.0-rc2/binaries/x86_64/octez-v24.0-rc2.tar.gz), a `machine-readable releases summary `__ file, and an `RSS feed `__. Minimal hardware specifications ------------------------------- @@ -80,14 +84,14 @@ From sources .. code-block:: shell git fetch - git checkout octez-v24.0-rc1 + git checkout octez-v24.0-rc2 make clean opam switch remove . # To be used if the next step fails make build-deps eval $(opam env) make -If you are using Docker instead, use the ``octez-v24.0-rc1`` Docker images of Octez. +If you are using Docker instead, use the ``octez-v24.0-rc2`` Docker images of Octez. Changelog --------- -- GitLab From 697d28287ca3f322743970090219b42f1de7af65 Mon Sep 17 00:00:00 2001 From: Killian Delarue Date: Wed, 17 Dec 2025 17:31:08 +0100 Subject: [PATCH 2/3] Docs, v24: Changelogs for [Octez-v24.0~rc2] --- CHANGES.rst | 5 ----- docs/CHANGES.rst | 17 +++++++++++++++++ docs/releases/version-24.rst | 1 + 3 files changed, 18 insertions(+), 5 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index e9b56ba8f81b..d7ebb6c7c37f 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -69,11 +69,6 @@ Docker Images Smart Rollup node ----------------- -- Fix issue where setting for ``l1_monitor_finalized`` would be ignored from the - configuration file. (MR :gl:`!20239`) -- Fix issue where finalized blocks would not be notified when using - ``--l1-monitor-finalized``. (MR :gl:`!20256`) - Smart Rollup WASM Debugger -------------------------- diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index 2ebf71a45b43..3ff92b9bd2b0 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -3,6 +3,23 @@ Changelog ''''''''' +Version 24.0~rc2 +================ + +Nodes +----- + +- Fixed a memory leak in lib_bees. (MR :gl:`!20261` and :gl:`!20258`) + +Smart Rollup node +----------------- + +- Fixed an issue where setting for ``l1_monitor_finalized`` would be ignored from the + configuration file. (MR :gl:`!20239`) + +- Fixed an issue where finalized blocks would not be notified when using + ``--l1-monitor-finalized``. (MR :gl:`!20256`) + Version 24.0~rc1 ================ diff --git a/docs/releases/version-24.rst b/docs/releases/version-24.rst index 0bbdfa2fbe78..7ab56a88cfbd 100644 --- a/docs/releases/version-24.rst +++ b/docs/releases/version-24.rst @@ -96,4 +96,5 @@ If you are using Docker instead, use the ``octez-v24.0-rc2`` Docker images of Oc Changelog --------- +- `Version 24.0~rc2 <../CHANGES.html#version-24-0-rc2>`_ - `Version 24.0~rc1 <../CHANGES.html#version-24-0-rc1>`_ -- GitLab From aa173e23e9e2f6e06767fcc873012b75300eba01 Mon Sep 17 00:00:00 2001 From: Killian Delarue Date: Wed, 17 Dec 2025 17:34:27 +0100 Subject: [PATCH 3/3] Docs, v24: OpenApi specifications for [Octez-v24.0~rc2] --- docs/api/dal-node-openapi-rc.json | 2 +- docs/api/openapi.rst | 16 ++++++++-------- docs/api/rpc-openapi-rc.json | 2 +- docs/api/seoul-mempool-openapi-rc.json | 2 +- docs/api/seoul-openapi-rc.json | 6 +----- docs/api/seoul-smart-rollup-node-openapi-rc.json | 2 +- docs/api/static/dal-node-openapi-rc.html | 4 ++-- docs/api/static/rpc-openapi-rc.html | 4 ++-- docs/api/static/seoul-mempool-openapi-rc.html | 4 ++-- docs/api/static/seoul-openapi-rc.html | 8 ++++---- .../seoul-smart-rollup-node-openapi-rc.html | 4 ++-- docs/api/static/tallinn-mempool-openapi-rc.html | 4 ++-- docs/api/static/tallinn-openapi-rc.html | 4 ++-- docs/api/tallinn-mempool-openapi-rc.json | 2 +- docs/api/tallinn-openapi-rc.json | 2 +- 15 files changed, 31 insertions(+), 35 deletions(-) diff --git a/docs/api/dal-node-openapi-rc.json b/docs/api/dal-node-openapi-rc.json index 6b37e262f1c8..b75f5f168724 100644 --- a/docs/api/dal-node-openapi-rc.json +++ b/docs/api/dal-node-openapi-rc.json @@ -3,7 +3,7 @@ "info": { "title": "Octez DAL Node RPC", "description": "The RPC API for the Octez DAL node.", - "version": "Octez 24.0~rc1 (60afd4da)" + "version": "Octez 24.0~rc2 (60afd4da)" }, "paths": { "/health": { diff --git a/docs/api/openapi.rst b/docs/api/openapi.rst index 8181a522162e..1199ea1507d5 100644 --- a/docs/api/openapi.rst +++ b/docs/api/openapi.rst @@ -45,7 +45,7 @@ The node provides some RPCs which are independent of the protocol. Their OpenAPI specification can be found at: - `rpc-openapi <../_static/rpc-openapi.html>`__ (version 23.3) -- `rpc-openapi-rc <../_static/rpc-openapi-rc.html>`__ (version 24.0~rc1) +- `rpc-openapi-rc <../_static/rpc-openapi-rc.html>`__ (version 24.0~rc2) - `rpc-openapi-dev <../_static/rpc-openapi-dev.html>`__ (version master) .. TODO tezos/tezos#2170: add/remove section(s) @@ -56,12 +56,12 @@ Tallinn RPCs The OpenAPI specifications for RPCs which are specific to the Tallinn (``PtTALLiN``) protocol proposal can be found at: -- `tallinn-openapi-rc <../_static/tallinn-openapi-rc.html>`__ (version 24.0~rc1) +- `tallinn-openapi-rc <../_static/tallinn-openapi-rc.html>`__ (version 24.0~rc2) The OpenAPI specifications for RPCs which are related to the mempool and specific to the Tallinn protocol proposal can be found at: -- `tallinn-mempool-openapi-rc <../_static/tallinn-mempool-openapi-rc.html>`__ (version 24.0~rc1) +- `tallinn-mempool-openapi-rc <../_static/tallinn-mempool-openapi-rc.html>`__ (version 24.0~rc2) Seoul RPCs ---------- @@ -70,13 +70,13 @@ The OpenAPI specifications for RPCs which are specific to the Seoul (``PtSeouLo` protocol can be found at: - `seoul-openapi <../_static/seoul-openapi.html>`__ (version 23.3) -- `seoul-openapi-rc <../_static/seoul-openapi-rc.html>`__ (version 24.0~rc1) +- `seoul-openapi-rc <../_static/seoul-openapi-rc.html>`__ (version 24.0~rc2) The OpenAPI specifications for RPCs which are related to the mempool and specific to the Seoul protocol proposal can be found at: - `seoul-mempool-openapi <../_static/seoul-mempool-openapi.html>`__ (version 23.3) -- `seoul-mempool-openapi-rc <../_static/seoul-mempool-openapi-rc.html>`__ (version 24.0~rc1) +- `seoul-mempool-openapi-rc <../_static/seoul-mempool-openapi-rc.html>`__ (version 24.0~rc2) Alpha RPCs ---------- @@ -107,7 +107,7 @@ Tallinn RPCs The OpenAPI specifications for the RPCs of the smart rollup node for the Tallinn (``PtTALLiN``) protocol proposal can be found at: -- `tallinn-smart-rollup-node-openapi-rc <../_static/tallinn-smart-rollup-node-openapi-rc.html>`__ (version 24.0~rc1) +- `tallinn-smart-rollup-node-openapi-rc <../_static/tallinn-smart-rollup-node-openapi-rc.html>`__ (version 24.0~rc2) Seoul RPCs ---------- @@ -116,7 +116,7 @@ The OpenAPI specifications for the RPCs of the smart rollup node for the Seoul (``PtSeouLo``) protocol can be found at: - `seoul-smart-rollup-node-openapi <../_static/seoul-smart-rollup-node-openapi.html>`__ (version 23.3) -- `seoul-smart-rollup-node-openapi-rc <../_static/seoul-smart-rollup-node-openapi-rc.html>`__ (version 24.0~rc1) +- `seoul-smart-rollup-node-openapi-rc <../_static/seoul-smart-rollup-node-openapi-rc.html>`__ (version 24.0~rc2) Alpha RPCs ---------- @@ -135,7 +135,7 @@ The DAL node also provides RPCs. Their OpenAPI specification can be found at: - `dal-node-openapi <../_static/dal-node-openapi.html>`__ (version 23.3) -- `dal-node-openapi-rc <../_static/dal-node-openapi-rc.html>`__ (version 24.0~rc1) +- `dal-node-openapi-rc <../_static/dal-node-openapi-rc.html>`__ (version 24.0~rc2) - `dal-node-openapi <../_static/dal-node-openapi-dev.html>`__ (version master) .. _openapi_generate: diff --git a/docs/api/rpc-openapi-rc.json b/docs/api/rpc-openapi-rc.json index 39daa9fe3534..e0e92d93f23a 100644 --- a/docs/api/rpc-openapi-rc.json +++ b/docs/api/rpc-openapi-rc.json @@ -3,7 +3,7 @@ "info": { "title": "Octez RPC", "description": "The RPC API served by the Octez node.", - "version": "Octez 24.0~rc1 (60afd4da)" + "version": "Octez 24.0~rc2 (60afd4da)" }, "paths": { "/bls/aggregate_proofs": { diff --git a/docs/api/seoul-mempool-openapi-rc.json b/docs/api/seoul-mempool-openapi-rc.json index b2f510110383..2b4b057556dd 100644 --- a/docs/api/seoul-mempool-openapi-rc.json +++ b/docs/api/seoul-mempool-openapi-rc.json @@ -3,7 +3,7 @@ "info": { "title": "Octez Mempool RPC", "description": "The RPC API for the mempool served by the Octez node.", - "version": "Octez 24.0~rc1 (60afd4da)" + "version": "Octez 24.0~rc2 (60afd4da)" }, "paths": { "/ban_operation": { diff --git a/docs/api/seoul-openapi-rc.json b/docs/api/seoul-openapi-rc.json index 1e570abc6f7d..ddcabb31a1d9 100644 --- a/docs/api/seoul-openapi-rc.json +++ b/docs/api/seoul-openapi-rc.json @@ -3,11 +3,7 @@ "info": { "title": "Octez Protocol seoul RPC", "description": "The RPC API for protocol seoul served by the Octez node.", -<<<<<<< HEAD - "version": "Octez 24.0~rc1 (60afd4da)" -======= - "version": "Octez 24.0~rc1 (60afd4da)" ->>>>>>> bcbfba3cc16 (Docs, Api: generate octez-v24.0~rc1 OpenApi specifications) + "version": "Octez 24.0~rc2 (60afd4da)" }, "paths": { "/": { diff --git a/docs/api/seoul-smart-rollup-node-openapi-rc.json b/docs/api/seoul-smart-rollup-node-openapi-rc.json index cb417fdf1ca9..4d88cb792e0c 100644 --- a/docs/api/seoul-smart-rollup-node-openapi-rc.json +++ b/docs/api/seoul-smart-rollup-node-openapi-rc.json @@ -1 +1 @@ -{"openapi":"3.0.0","info":{"title":"Smart Rollup Node RPCs","description":"Smart Rollup Node RPC API for protocol PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh","version":"Octez 24.0~rc1 (60afd4da)"},"paths":{"/admin/batcher/queue":{"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/cancel_gc":{"get":{"description":"Cancel any ongoing GC","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues":{"get":{"description":"Get operation queues of injectors","parameters":[{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue":{"type":"array","items":{"oneOf":[{"title":"add_messages","type":"object","properties":{"kind":{"type":"string","enum":["add_messages"]},"message":{"type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","message"]},{"title":"cement","type":"object","properties":{"kind":{"type":"string","enum":["cement"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"publish","type":"object","properties":{"kind":{"type":"string","enum":["publish"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"refute","type":"object","properties":{"kind":{"type":"string","enum":["refute"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"opponent":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"refutation":{"oneOf":[{"title":"Start","type":"object","properties":{"refutation_kind":{"type":"string","enum":["start"]},"player_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"opponent_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["refutation_kind","player_commitment_hash","opponent_commitment_hash"]},{"title":"Move","type":"object","properties":{"refutation_kind":{"type":"string","enum":["move"]},"choice":{"$ref":"#/components/schemas/positive_bignum"},"step":{"oneOf":[{"title":"Dissection","type":"array","items":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"tick":{"$ref":"#/components/schemas/positive_bignum"}},"required":["tick"]}},{"title":"Proof","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}},"required":["refutation_kind","choice","step"]}]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","opponent","refutation"]},{"title":"timeout","type":"object","properties":{"kind":{"type":"string","enum":["timeout"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"stakers":{"type":"object","properties":{"alice":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"bob":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["alice","bob"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","stakers"]},{"title":"recover","type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"staker":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","staker"]},{"title":"execute_outbox_message","type":"object","properties":{"kind":{"type":"string","enum":["execute_outbox_message"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"cemented_commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","cemented_commitment","proof"]},{"title":"publish_dal_commitment","type":"object","properties":{"kind":{"type":"string","enum":["publish_dal_commitment"]},"slot_index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"},"commitment_proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","slot_index","commitment","commitment_proof"]}]}}},"required":["tags","queue"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}},"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues/total":{"get":{"description":"Get total operations queued in injectors","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"injectors":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["tags","queue_size"]}},"total":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["injectors","total"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/config":{"get":{"description":"Returns the rollup node configuration","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"smart-rollup-address":{"description":"Smart rollup address","oneOf":[{"$ref":"#/components/schemas/smart_rollup_address"}]},"etherlink":{"description":"Whether the rollup is an Etherlink rollup. Defaults to identification based on known Etherlink addresses.","type":"boolean"},"boot-sector":{"description":"Boot sector","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart-rollup-node-operator":{"description":"Operators that sign operations of the smart rollup, by purpose","type":"object","properties":{"operating":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"batching":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"cementing":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"recovering":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"executing_outbox":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}}},"rpc-addr":{"description":"RPC address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"rpc-port":{"description":"RPC port","type":"integer","minimum":0,"maximum":65535},"acl":{"description":"Access control list","type":"array","items":{"oneOf":[{"title":"Whitelist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","whitelist"]},{"title":"Blacklist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"blacklist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","blacklist"]}]}},"metrics-addr":{"description":"Metrics address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"performance-metrics":{"type":"boolean"},"reconnection_delay":{"description":"The reconnection (to the tezos node) delay in seconds","type":"number"},"fee-parameters":{"description":"The fee parameters for each purpose used when injecting operations in L1","type":"object","properties":{"publish":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"add_messages":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"cement":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"timeout":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"refute":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"recover":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"execute_outbox_message":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"publish_dal_commitment":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}}}},"mode":{"description":"The mode for this rollup node","oneOf":[{"$ref":"#/components/schemas/sc_rollup_node_mode"}]},"loser-mode":{"description":"If enabled, the rollup node will issue wrong commitments (for test only!)","oneOf":[{"title":"failure","type":"array","items":{"type":"object","properties":{"level":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message_tick":{"$ref":"#/components/schemas/int64"}},"required":["level","message_index","message_tick"]}},{"title":"Invalid_dal_parameters","type":"object","properties":{"number_of_slots":{"$ref":"#/components/schemas/int64"},"attestion_lag":{"$ref":"#/components/schemas/int64"},"slot_size":{"$ref":"#/components/schemas/int64"},"page_size":{"$ref":"#/components/schemas/int64"}},"required":["number_of_slots","attestion_lag","slot_size","page_size"]}]},"apply-unsafe-patches":{"description":"Apply the unsafe PVM patches for this rollup (either user provided or hardcoded).","type":"boolean"},"unsafe-pvm-patches":{"description":"Unsafe patches to apply to the PVM. For tests only, don't set this value in production.","type":"array","items":{"oneOf":[{"title":"increase_max_nb_tick","type":"object","properties":{"increase_max_nb_tick":{"$ref":"#/components/schemas/int64"}},"required":["increase_max_nb_tick"]},{"title":"patch_durable_storage","type":"object","properties":{"patch_durable_storage":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}},"required":["patch_durable_storage"]}]}},"execute-outbox-messages-filter":{"description":"A filter to select which outbox messages the rollup will execute automatically (must be in maintenance or operator mode).","type":"array","items":{"type":"object","properties":{"transaction":{"type":"object","properties":{"destination":{"oneOf":[{"title":"any_destination","description":"Accept any destination.","type":"string","enum":["any"]},{"title":"destination_among","description":"Accept destination that matches the given list (in base58-check).","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]},"entrypoint":{"oneOf":[{"title":"any_entrypoint","description":"Accept any entrypoint.","type":"string","enum":["any"]},{"title":"entrypoint_among","description":"Accept entrypoint of the given list.","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]}},"required":["destination","entrypoint"]}},"required":["transaction"]}},"DAL node endpoint":{"$ref":"#/components/schemas/unistring"},"pre-images-endpoint":{"$ref":"#/components/schemas/unistring"},"batcher":{"type":"object","properties":{"min_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"min_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"injector":{"type":"object","properties":{"retention_period":{"type":"integer","minimum":0,"maximum":65535},"attempts":{"type":"integer","minimum":0,"maximum":65535},"injection_ttl":{"type":"integer","minimum":0,"maximum":65535}}},"l1_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l2_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"prefetch_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l1_monitor_finalized":{"type":"boolean"},"l1_rpc_timeout":{"type":"number"},"loop_retry_delay":{"type":"number"},"index_buffer_size":{"description":"Deprecated","type":"integer","minimum":-1073741824,"maximum":1073741823},"irmin_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"log-kernel-debug":{"type":"boolean"},"log-kernel-debug-file":{"$ref":"#/components/schemas/unistring"},"unsafe-disable-wasm-kernel-checks":{"type":"boolean"},"no-degraded":{"type":"boolean"},"gc-parameters":{"type":"object","properties":{"frequency":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"context_splitting_period":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"history-mode":{"type":"string","enum":["full","archive"]},"cors":{"type":"object","properties":{"allowed_headers":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}},"allowed_origins":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["allowed_headers","allowed_origins"]},"bail-on-disagree":{"type":"boolean"},"opentelemetry":{"description":"Enable or disable opentelemetry profiling","nullable":true,"oneOf":[{"title":"detailed_opentelemetry_config","type":"object","properties":{"enable":{"description":"Enable opentelemetry profiling","type":"boolean"},"instance_id":{"description":"Instance id to identify the node in Opentelemetry traces. Takes precedence over /telemetry_id.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"environment":{"description":"Deployment environment, used for Datadog tagging, will be extracted from env variable DD_ENV if null. See https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/unistring"}]}]},"debug":{"description":"Enable debug mode","type":"boolean"},"url_traces":{"description":"URL to send traces","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"url_logs":{"description":"URL to send logs","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"headers":{"description":"API headers sent to the endpoint","type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"}]}}},"batch_traces":{"description":"Batch traces","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-1073741824,"maximum":1073741823}]},"batch_logs":{"description":"Batch logs","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-1073741824,"maximum":1073741823}]},"batch_timeout_ms":{"description":"Milliseconds after which we emit a batch, even incomplete","type":"integer","minimum":-1073741824,"maximum":1073741823},"gc_telemetry":{"description":"Enable traces for GC events (costly)","type":"object","properties":{"enable":{"type":"boolean"},"filter":{"description":"Filter for which GC events to emit traces","type":"array","items":{"type":"string","enum":["finalise_update_last","interrupt_remote","minor_leave_barrier","finalise_update_first","major_gc_stw","minor_remembered_set_promote","explicit_gc_full_major","minor_finalizers_oldify","major","minor_finalized","major_slice","minor_finalizers_admin","minor_global_roots","minor_local_roots","stw_handler","major_mark_roots","major_finish_marking","compaction_evacuate","explicit_gc_stat","major_finish_cycle","major_gc_cycle_domains","compaction_release","compaction","explicit_gc_compact","explicit_gc_major","explicit_gc_major_slice","major_gc_phase_change","major_ephe_sweep","stw_api_barrier","major_finish_sweeping","minor_local_roots_promote","major_mark","major_mark_opportunistic","explicit_gc_set","minor","compaction_forward","minor_remembered_set","major_sweep","stw_leader","minor_clear","domain_resize_heap_reservation","explicit_gc_minor","major_ephe_mark"]}},"min_duration_ms":{"description":"Minimal span duration for a GC event to be emitted","nullable":true,"oneOf":[{"title":"Some","type":"number"}]}}}}},{"title":"opentelemetry_boolean","type":"boolean"}]}},"required":["smart-rollup-address","smart-rollup-node-operator","rpc-addr","rpc-port","acl","performance-metrics","reconnection_delay","fee-parameters","mode","loser-mode","apply-unsafe-patches","unsafe-pvm-patches","execute-outbox-messages-filter","batcher","injector","l1_blocks_cache_size","l2_blocks_cache_size","l1_monitor_finalized","l1_rpc_timeout","loop_retry_delay","log-kernel-debug","unsafe-disable-wasm-kernel-checks","no-degraded","gc-parameters","cors","bail-on-disagree","opentelemetry"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/describe":{"get":{"description":"RPCs documentation and input/output schema","parameters":[{"name":"recurse","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/service_tree"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}":{"get":{"description":"Layer-2 block of the layer-2 chain with respect to a Layer 1 block identifier","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"inbox":{"description":"Inbox for this block.","type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]},"messages":{"description":"Messages added to the inbox in this block.","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"commitment":{"description":"Commitment, if any is computed for this block.","type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"outbox":{"description":"Outbox messages produced by PVM execution of inbox","type":"array","items":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["message_index","whitelist_update"]},{"title":"transactions","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["message_index","transactions"]}]}},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","inbox","messages","initial_tick","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/committed_status":{"get":{"description":"Commitment status of the rollup state which will include content of this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"uncommitted","description":"L2 Block content is not yet committed on L1","type":"object","properties":{"uncommitted":{"type":"object","properties":{"commitment_level":{"description":"Level at which the following commitment will be produced.","type":"integer","minimum":-2147483648,"maximum":2147483647},"estimated_commitment_time":{"description":"Estimated time at which the commitment will be published.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_level","estimated_commitment_time","estimated_cementation_time"]}},"required":["uncommitted"]},{"title":"committed","description":"L2 Block content is already committed on L1 but not yet cemented","type":"object","properties":{"committed":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_hash","commitment_level","first_published_level","published_level","estimated_cementation_time"]}},"required":["committed"]},{"title":"cemented","description":"L2 Block content is already cemented","type":"object","properties":{"cemented":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"blocks_since_cemented":{"description":"Number of blocks since commitment was cemented.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment_hash","commitment_level","first_published_level","published_level","blocks_since_cemented"]}},"required":["cemented"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/length":{"get":{"description":"Retrieve number of bytes in raw representation of value by key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/int64"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/subkeys":{"get":{"description":"Retrieve subkeys of the specified key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/value":{"get":{"description":"Retrieve value by key from PVM durable storage. PVM state is taken with respect to the specified block level. Value returned in hex format.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/values":{"get":{"description":"Retrieve values directly under a given key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/hash":{"get":{"description":"Tezos block hash of block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A block identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/helpers/proofs/outbox/{level}/messages":{"get":{"description":"Generate serialized output proof for some outbox message at level and index","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"level","in":"path","required":true,"schema":{"type":"string"}},{"name":"index","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["commitment","proof"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/inbox":{"get":{"description":"Rollup inbox for block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/level":{"get":{"description":"Level of Tezos block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"integer","minimum":-2147483648,"maximum":2147483647}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/num_messages":{"get":{"description":"Number of messages for specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/outbox":{"get":{"description":"Outbox at block for a given outbox level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/outbox/{level}/messages":{"get":{"description":"Outbox at block for a given outbox level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"level","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/simulate":{"post":{"description":"Simulate messages evaluation by the PVM","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"description":"Serialized messages for simulation.","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"reveal_pages":{"description":"Pages (at most 4kB) to be used for revelation ticks","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"insight_requests":{"description":"Paths in the PVM to inspect after the simulation","type":"array","items":{"oneOf":[{"title":"pvm_state","description":"Path in the PVM state","type":"object","properties":{"kind":{"type":"string","enum":["pvm_state"]},"key":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["kind","key"]},{"title":"durable_storage","description":"Path in the PVM durable storage","type":"object","properties":{"kind":{"type":"string","enum":["durable_storage"]},"key":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["kind","key"]}]}},"log_kernel_debug_file":{"description":"File in which to emit kernel logs. This file will be created in /simulation_kernel_logs/, where is the data directory of the rollup node.","oneOf":[{"$ref":"#/components/schemas/unistring"}]}},"required":["messages"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"state_hash":{"description":"Hash of the state after execution of the PVM on the input messages","oneOf":[{"$ref":"#/components/schemas/smart_rollup_state_hash"}]},"status":{"description":"Status of the PVM after evaluation","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"output":{"description":"Output produced by evaluation of the messages","type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}},"inbox_level":{"description":"Level of the inbox that would contain these messages","type":"integer","minimum":-2147483648,"maximum":2147483647},"num_ticks":{"description":"Ticks taken by the PVM for evaluating the messages","oneOf":[{"$ref":"#/components/schemas/bignum"}]},"insights":{"description":"PVM state values requested after the simulation","type":"array","items":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}},"required":["state_hash","status","output","inbox_level","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state":{"get":{"description":"Retrieve value from key is PVM state of specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_current_level":{"get":{"description":"Retrieve the current level of a PVM","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_hash":{"get":{"description":"State hash for this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"The hash of the VM state of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/status":{"get":{"description":"PVM status at block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/ticks":{"get":{"description":"Number of ticks for specified level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/total_ticks":{"get":{"description":"Total number of ticks at specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/last_stored_commitment":{"get":{"description":"Last commitment computed by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/monitor_blocks":{"get":{"description":"Monitor and streaming the L2 blocks","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","initial_tick","num_ticks"],"additionalProperties":{}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/monitor_finalized_blocks":{"get":{"description":"Monitor and streaming the L2 finalized blocks","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","initial_tick","num_ticks"],"additionalProperties":{}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/smart_rollup_address":{"get":{"description":"Smart rollup address","responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A smart rollup address (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_head":{"get":{"description":"Tezos head known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/block_hash"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_level":{"get":{"description":"Tezos level known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/health":{"get":{"description":"Returns health status information for the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"healthy":{"type":"boolean"},"degraded":{"type":"boolean"},"l1":{"type":"object","properties":{"connection":{"type":"string","enum":["connected","reconnecting","disconnected"]},"blocks_late":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"last_seen_head":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"timestamp":{"$ref":"#/components/schemas/timestamp.protocol"}},"required":["hash","level","timestamp"]}},"required":["connection","blocks_late"]},"active_workers":{"type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"},{"oneOf":[{"title":"running","type":"string","enum":["running"]},{"title":"crashed","type":"object","properties":{"crashed":{"$ref":"#/components/schemas/exception"}},"required":["crashed"]}]}]}}}},"required":["healthy","degraded","l1","active_workers"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/injection":{"post":{"description":"Inject messages in the batcher's queue","parameters":[{"name":"order","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_duplicate","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/sc_l2_message"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"description":"Ids of injected L2 messages","type":"array","items":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue":{"get":{"description":"List messages present in the batcher's queue","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"order":{"$ref":"#/components/schemas/positive_bignum"},"id":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"},"message":{"type":"object","properties":{"content":{"$ref":"#/components/schemas/sc_l2_message"},"counter":{"$ref":"#/components/schemas/positive_bignum"}},"required":["content","counter"]},"traceparent":{"$ref":"#/components/schemas/unistring"}},"required":["id","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue/{l2_message_id}":{"get":{"description":"Retrieve an L2 message and its status","parameters":[{"name":"l2_message_id","in":"path","description":"A L2 message id.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/commitments/{commitment_hash}":{"get":{"description":"Commitment computed and published by the node","parameters":[{"name":"commitment_hash","in":"path","description":"A commitment hash.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/batcher/injection":{"post":{"description":"Inject the given messages in the DAL queue, even in case of duplicates","requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injected/operations/statuses":{"get":{"description":"Retrieve the statuses of all known operations injected via DAL.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/injector_operation_hash"},"status":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}},"required":["id","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injection/{injector_operation_hash}/forget":{"post":{"description":"Forget information about the injection whose id is given","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/slot/indices":{"post":{"description":"Provide the (new) list of slot indices to use to the rollup node's DAL injector","requestBody":{"content":{"application/json":{"schema":{"description":"Slot indices to set","type":"object","properties":{"indices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["indices"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/gc_info":{"get":{"description":"Information about garbage collection","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"first_available_level":{"description":"First level where data is guaranteed to be available in the rollup node.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_gc_level":{"description":"The level at which the last GC was triggered.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_context_split_level":{"description":"The level at which the context was split for the last time. Commits before this level are in other chunks.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_successful_gc_target":{"description":"The level which was the target of the last successful GC.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["first_available_level"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/injector/operation/{injector_operation_hash}/status":{"get":{"description":"Retrieve the status of the injected operation using its injector ID.","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/last_published_commitment":{"get":{"description":"Last commitment published by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending":{"get":{"description":"Pending outbox messages with their status (executable, pending, or lost)","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}},"status":{"type":"string","enum":["pending","executable","lost"]}},"required":["outbox_level","messages","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/executable":{"get":{"description":"Pending outbox messages which can be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/unexecutable":{"get":{"description":"Pending outbox messages which cannot yet be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/synchronized":{"get":{"description":"Wait for the node to have synchronized its L2 chain with the L1 chain, streaming its progress.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"synchronized","type":"string","enum":["synchronized"]},{"title":"synchronizing","type":"object","properties":{"synchronizing":{"type":"object","properties":{"processed_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"l1_head_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"percentage_done":{"type":"number"}},"required":["processed_level","l1_head_level","percentage_done"]}},"required":["synchronizing"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/openapi":{"get":{"description":"OpenAPI specification of RPCs for rollup node","parameters":[{"name":"protocol","in":"query","description":"Protocol_hash (Base58Check-encoded)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/ping":{"get":{"description":"Returns an empty response if the rollup node can answer requests","responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/memory":{"get":{"description":"Gets memory usage stats","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"Linux_proc_statm","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"size":{"$ref":"#/components/schemas/int64"},"resident":{"$ref":"#/components/schemas/int64"},"shared":{"$ref":"#/components/schemas/int64"},"text":{"$ref":"#/components/schemas/int64"},"lib":{"$ref":"#/components/schemas/int64"},"data":{"$ref":"#/components/schemas/int64"},"dt":{"$ref":"#/components/schemas/int64"}},"required":["page_size","size","resident","shared","text","lib","data","dt"]},{"title":"Darwin_ps","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"mem":{"type":"number"},"resident":{"$ref":"#/components/schemas/int64"}},"required":["page_size","mem","resident"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/ocaml_gc":{"get":{"description":"Gets stats from the OCaml Garbage Collector","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"minor_words":{"type":"number"},"promoted_words":{"type":"number"},"major_words":{"type":"number"},"minor_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"forced_major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_chunks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"largest_free":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"fragments":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"compactions":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"top_heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"stack_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["minor_words","promoted_words","major_words","minor_collections","major_collections","forced_major_collections","heap_words","heap_chunks","live_words","live_blocks","free_words","free_blocks","largest_free","fragments","compactions","top_heap_words","stack_size"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/version":{"get":{"description":"Returns the version information of the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"$ref":"#/components/schemas/unistring"},"store_version":{"$ref":"#/components/schemas/unistring"},"context_version":{"$ref":"#/components/schemas/unistring"}},"required":["version","store_version","context_version"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}}},"components":{"schemas":{"023-PtSeouLo.contract_id.originated":{"title":"A contract handle -- originated account","description":"A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"023-PtSeouLo.michelson.v1.primitives":{"type":"string","enum":["SHA256","PUSH","GET_AND_UPDATE","RENAME","False","CAST","ISNAT","address","PACK","EMIT","mutez","bls12_381_g1","Pair","IF_CONS","bool","bytes","storage","OR","view","UNPACK","ADD","DIP","map","MEM","BYTES","SENDER","ADDRESS","CDR","SAPLING_EMPTY_STATE","or","LOOP","contract","unit","SHA512","CREATE_ACCOUNT","BLAKE2B","READ_TICKET","LE","chain_id","timestamp","operation","set","CHAIN_ID","chest","SELF_ADDRESS","SOURCE","IMPLICIT_ACCOUNT","key","AMOUNT","CHECK_SIGNATURE","sapling_transaction_deprecated","LSR","EQ","Elt","OPEN_CHEST","NIL","CREATE_CONTRACT","LSL","TRANSFER_TOKENS","JOIN_TICKETS","SWAP","Some","parameter","pair","bls12_381_g2","VIEW","None","SLICE","int","ABS","lambda","DUG","list","CAR","GET","HASH_KEY","CONCAT","LEVEL","SAPLING_VERIFY_UPDATE","TOTAL_VOTING_POWER","Lambda_rec","SIZE","nat","STEPS_TO_QUOTA","IF_NONE","UNPAIR","CONS","Unit","CONTRACT","MUL","UPDATE","EXEC","PAIR","SPLIT_TICKET","RIGHT","key_hash","AND","NEG","option","BALANCE","SET_DELEGATE","NEVER","MIN_BLOCK_TIME","INT","chest_key","ITER","True","Right","Ticket","GT","DIG","tx_rollup_l2_address","SUB","EDIV","MAP","IF_LEFT","big_map","VOTING_POWER","LAMBDA_REC","Left","ticket","TICKET_DEPRECATED","bls12_381_fr","never","DUP","LEFT","constant","signature","SHA3","LAMBDA","NOT","KECCAK","NOW","NAT","GE","string","sapling_transaction","NEQ","IF","FAILWITH","NONE","SUB_MUTEZ","XOR","LOOP_LEFT","PAIRING_CHECK","DROP","EMPTY_BIG_MAP","UNIT","sapling_state","TICKET","EMPTY_MAP","APPLY","LT","SOME","IS_IMPLICIT_ACCOUNT","COMPARE","EMPTY_SET","SELF","code"]},"DAL_commitment":{"title":"Commitment representation for the DAL (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Smart_rollup_context_hash":{"title":"A base58-check encoded hash of a Smart rollup node context (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"error":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"},"exception":{"description":"Exception","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"injector_operation_hash":{"title":"An identifier (hash) for an operation in the injector (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"int64":{"title":"64 bit integers","description":"Decimal representation of 64 bit integers","type":"string"},"layout":{"oneOf":[{"title":"Zero_width","type":"object","properties":{"kind":{"type":"string","enum":["Zero_width"]}},"required":["kind"]},{"title":"Int","type":"object","properties":{"size":{"type":"string","enum":["Int32","Int16","Uint16","Int64","Int8","Uint8"]},"endianness":{"type":"string","enum":["Little","Big"]},"kind":{"type":"string","enum":["Int"]}},"required":["size","kind"]},{"title":"Bool","type":"object","properties":{"kind":{"type":"string","enum":["Bool"]}},"required":["kind"]},{"title":"RangedInt","type":"object","properties":{"min":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"endianness":{"type":"string","enum":["Little","Big"]},"max":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"kind":{"type":"string","enum":["RangedInt"]}},"required":["min","max","kind"]},{"title":"RangedFloat","type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"kind":{"type":"string","enum":["RangedFloat"]}},"required":["min","max","kind"]},{"title":"Float","type":"object","properties":{"kind":{"type":"string","enum":["Float"]}},"required":["kind"]},{"title":"Bytes","type":"object","properties":{"kind":{"type":"string","enum":["Bytes"]}},"required":["kind"]},{"title":"String","type":"object","properties":{"kind":{"type":"string","enum":["String"]}},"required":["kind"]},{"title":"Enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"reference":{"$ref":"#/components/schemas/unistring"},"kind":{"type":"string","enum":["Enum"]}},"required":["size","reference","kind"]},{"title":"Seq","type":"object","properties":{"layout":{"$ref":"#/components/schemas/layout"},"kind":{"type":"string","enum":["Seq"]},"length_limit":{"oneOf":[{"title":"No_limit","type":"object","properties":{"kind":{"type":"string","enum":["no-limit"]}},"required":["kind"]},{"title":"At_most","type":"object","properties":{"kind":{"type":"string","enum":["at-most"]},"at_most":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["kind","at_most"]},{"title":"Exactly","type":"object","properties":{"kind":{"type":"string","enum":["exactly"]},"exactly":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["kind","exactly"]}]}},"required":["layout","kind"]},{"title":"Ref","type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"kind":{"type":"string","enum":["Ref"]}},"required":["name","kind"]},{"title":"Padding","type":"object","properties":{"kind":{"type":"string","enum":["Padding"]}},"required":["kind"]}]},"micheline.023-PtSeouLo.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/023-PtSeouLo.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"micheline.outbox_transaction_parameters.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/unistring"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"micheline.outbox_transaction_parameters_type.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/unistring"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"mutez":{"title":"A millionth of a tez","description":"One million mutez make a tez (1 tez = 1e6 mutez)","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"nanotez":{"title":"A thousandth of a mutez","description":"One thousand nanotez make a mutez (1 tez = 1e9 nanotez)","type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/bignum"}]}},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"sc_l2_message":{"description":"A hex encoded smart rollup message","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"sc_rollup_l2_message_id":{"title":"A smart rollup layer 2 message identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"sc_rollup_node_l1_operation":{"oneOf":[{"title":"add_messages","type":"object","properties":{"kind":{"type":"string","enum":["add_messages"]},"message":{"type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}}},"required":["kind","message"]},{"title":"cement","type":"object","properties":{"kind":{"type":"string","enum":["cement"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["kind","rollup","commitment"]},{"title":"publish","type":"object","properties":{"kind":{"type":"string","enum":["publish"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]}},"required":["kind","rollup","commitment"]},{"title":"refute","type":"object","properties":{"kind":{"type":"string","enum":["refute"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"opponent":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"refutation":{"oneOf":[{"title":"Start","type":"object","properties":{"refutation_kind":{"type":"string","enum":["start"]},"player_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"opponent_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["refutation_kind","player_commitment_hash","opponent_commitment_hash"]},{"title":"Move","type":"object","properties":{"refutation_kind":{"type":"string","enum":["move"]},"choice":{"$ref":"#/components/schemas/positive_bignum"},"step":{"oneOf":[{"title":"Dissection","type":"array","items":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"tick":{"$ref":"#/components/schemas/positive_bignum"}},"required":["tick"]}},{"title":"Proof","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}},"required":["refutation_kind","choice","step"]}]}},"required":["kind","rollup","opponent","refutation"]},{"title":"timeout","type":"object","properties":{"kind":{"type":"string","enum":["timeout"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"stakers":{"type":"object","properties":{"alice":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"bob":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["alice","bob"]}},"required":["kind","rollup","stakers"]},{"title":"recover","type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"staker":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["kind","rollup","staker"]},{"title":"execute_outbox_message","type":"object","properties":{"kind":{"type":"string","enum":["execute_outbox_message"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"cemented_commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["kind","rollup","cemented_commitment","proof"]},{"title":"publish_dal_commitment","type":"object","properties":{"kind":{"type":"string","enum":["publish_dal_commitment"]},"slot_index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"},"commitment_proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["kind","slot_index","commitment","commitment_proof"]}]},"sc_rollup_node_mode":{"oneOf":[{"title":"custom","type":"object","properties":{"custom":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}}},"required":["custom"]},{"title":"observer","type":"string","enum":["observer"]},{"title":"accuser","type":"string","enum":["accuser"]},{"title":"bailout","type":"string","enum":["bailout"]},{"title":"batcher","type":"string","enum":["batcher"]},{"title":"maintenance","type":"string","enum":["maintenance"]},{"title":"operator","type":"string","enum":["operator"]}]},"schema.field":{"oneOf":[{"title":"Named_field","type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"layout":{"$ref":"#/components/schemas/layout"},"data_kind":{"$ref":"#/components/schemas/schema.kind"},"kind":{"type":"string","enum":["named"]}},"required":["name","layout","data_kind","kind"]},{"title":"Anonymous_field","type":"object","properties":{"layout":{"$ref":"#/components/schemas/layout"},"kind":{"type":"string","enum":["anon"]},"data_kind":{"$ref":"#/components/schemas/schema.kind"}},"required":["layout","kind","data_kind"]},{"title":"Dynamic_field","type":"object","properties":{"kind":{"type":"string","enum":["dyn"]},"name":{"$ref":"#/components/schemas/unistring"},"num_fields":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"size":{"type":"string","enum":["N","Uint30","Uint16","Uint8"]}},"required":["kind","num_fields","size"]},{"title":"Optional_field","type":"object","properties":{"kind":{"type":"string","enum":["option_indicator"]},"name":{"$ref":"#/components/schemas/unistring"}},"required":["kind","name"]}]},"schema.kind":{"oneOf":[{"title":"Fixed","type":"object","properties":{"size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"kind":{"type":"string","enum":["Fixed"]}},"required":["size","kind"]},{"title":"Dynamic","type":"object","properties":{"kind":{"type":"string","enum":["Dynamic"]}},"required":["kind"]},{"title":"Variable","type":"object","properties":{"kind":{"type":"string","enum":["Variable"]}},"required":["kind"]}]},"service_tree":{"oneOf":[{"title":"Static","type":"object","properties":{"static":{"type":"object","properties":{"get_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"post_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"delete_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"put_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"patch_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"subdirs":{"oneOf":[{"title":"Suffixes","type":"object","properties":{"suffixes":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"tree":{"$ref":"#/components/schemas/service_tree"}},"required":["name","tree"]}}},"required":["suffixes"]},{"title":"Arg","type":"object","properties":{"dynamic_dispatch":{"type":"object","properties":{"arg":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},"tree":{"$ref":"#/components/schemas/service_tree"}},"required":["arg","tree"]}},"required":["dynamic_dispatch"]}]}}}},"required":["static"]},{"title":"Dynamic","type":"object","properties":{"dynamic":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/unistring"}]}]}},"required":["dynamic"]},{"title":"Empty","type":"string","enum":["empty"]}]},"smart_rollup_address":{"title":"A smart rollup address (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_commitment_hash":{"title":"The hash of a commitment of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_inbox_hash":{"title":"The hash of an inbox of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_merkelized_payload_hashes_hash":{"title":"The hash of the Merkelized payload hashes of a smart rollup inbox (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_state_hash":{"title":"The hash of the VM state of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.rfc":{"title":"RFC 3339 formatted timestamp","description":"A date in RFC 3339 notation.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.system":{"description":"A timestamp as seen by the underlying, local computer: subsecond-level precision, epoch or rfc3339 based.","oneOf":[{"title":"RFC encoding","oneOf":[{"$ref":"#/components/schemas/timestamp.rfc"}]},{"title":"Second since epoch","oneOf":[{"$ref":"#/components/schemas/int64"}]}]},"union case":{"type":"object","properties":{"tag":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}},"name":{"$ref":"#/components/schemas/unistring"}},"required":["tag","fields"]},"unistring":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"]}]}}}} +{"openapi":"3.0.0","info":{"title":"Smart Rollup Node RPCs","description":"Smart Rollup Node RPC API for protocol PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh","version":"Octez 24.0~rc2 (60afd4da)"},"paths":{"/admin/batcher/queue":{"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/cancel_gc":{"get":{"description":"Cancel any ongoing GC","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues":{"get":{"description":"Get operation queues of injectors","parameters":[{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue":{"type":"array","items":{"oneOf":[{"title":"add_messages","type":"object","properties":{"kind":{"type":"string","enum":["add_messages"]},"message":{"type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","message"]},{"title":"cement","type":"object","properties":{"kind":{"type":"string","enum":["cement"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"publish","type":"object","properties":{"kind":{"type":"string","enum":["publish"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"refute","type":"object","properties":{"kind":{"type":"string","enum":["refute"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"opponent":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"refutation":{"oneOf":[{"title":"Start","type":"object","properties":{"refutation_kind":{"type":"string","enum":["start"]},"player_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"opponent_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["refutation_kind","player_commitment_hash","opponent_commitment_hash"]},{"title":"Move","type":"object","properties":{"refutation_kind":{"type":"string","enum":["move"]},"choice":{"$ref":"#/components/schemas/positive_bignum"},"step":{"oneOf":[{"title":"Dissection","type":"array","items":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"tick":{"$ref":"#/components/schemas/positive_bignum"}},"required":["tick"]}},{"title":"Proof","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}},"required":["refutation_kind","choice","step"]}]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","opponent","refutation"]},{"title":"timeout","type":"object","properties":{"kind":{"type":"string","enum":["timeout"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"stakers":{"type":"object","properties":{"alice":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"bob":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["alice","bob"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","stakers"]},{"title":"recover","type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"staker":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","staker"]},{"title":"execute_outbox_message","type":"object","properties":{"kind":{"type":"string","enum":["execute_outbox_message"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"cemented_commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","cemented_commitment","proof"]},{"title":"publish_dal_commitment","type":"object","properties":{"kind":{"type":"string","enum":["publish_dal_commitment"]},"slot_index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"},"commitment_proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","slot_index","commitment","commitment_proof"]}]}}},"required":["tags","queue"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}},"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues/total":{"get":{"description":"Get total operations queued in injectors","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"injectors":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["tags","queue_size"]}},"total":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["injectors","total"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/config":{"get":{"description":"Returns the rollup node configuration","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"smart-rollup-address":{"description":"Smart rollup address","oneOf":[{"$ref":"#/components/schemas/smart_rollup_address"}]},"etherlink":{"description":"Whether the rollup is an Etherlink rollup. Defaults to identification based on known Etherlink addresses.","type":"boolean"},"boot-sector":{"description":"Boot sector","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart-rollup-node-operator":{"description":"Operators that sign operations of the smart rollup, by purpose","type":"object","properties":{"operating":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"batching":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"cementing":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"recovering":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"executing_outbox":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}}},"rpc-addr":{"description":"RPC address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"rpc-port":{"description":"RPC port","type":"integer","minimum":0,"maximum":65535},"acl":{"description":"Access control list","type":"array","items":{"oneOf":[{"title":"Whitelist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","whitelist"]},{"title":"Blacklist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"blacklist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","blacklist"]}]}},"metrics-addr":{"description":"Metrics address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"performance-metrics":{"type":"boolean"},"reconnection_delay":{"description":"The reconnection (to the tezos node) delay in seconds","type":"number"},"fee-parameters":{"description":"The fee parameters for each purpose used when injecting operations in L1","type":"object","properties":{"publish":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"add_messages":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"cement":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"timeout":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"refute":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"recover":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"execute_outbox_message":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"publish_dal_commitment":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}}}},"mode":{"description":"The mode for this rollup node","oneOf":[{"$ref":"#/components/schemas/sc_rollup_node_mode"}]},"loser-mode":{"description":"If enabled, the rollup node will issue wrong commitments (for test only!)","oneOf":[{"title":"failure","type":"array","items":{"type":"object","properties":{"level":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message_tick":{"$ref":"#/components/schemas/int64"}},"required":["level","message_index","message_tick"]}},{"title":"Invalid_dal_parameters","type":"object","properties":{"number_of_slots":{"$ref":"#/components/schemas/int64"},"attestion_lag":{"$ref":"#/components/schemas/int64"},"slot_size":{"$ref":"#/components/schemas/int64"},"page_size":{"$ref":"#/components/schemas/int64"}},"required":["number_of_slots","attestion_lag","slot_size","page_size"]}]},"apply-unsafe-patches":{"description":"Apply the unsafe PVM patches for this rollup (either user provided or hardcoded).","type":"boolean"},"unsafe-pvm-patches":{"description":"Unsafe patches to apply to the PVM. For tests only, don't set this value in production.","type":"array","items":{"oneOf":[{"title":"increase_max_nb_tick","type":"object","properties":{"increase_max_nb_tick":{"$ref":"#/components/schemas/int64"}},"required":["increase_max_nb_tick"]},{"title":"patch_durable_storage","type":"object","properties":{"patch_durable_storage":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}},"required":["patch_durable_storage"]}]}},"execute-outbox-messages-filter":{"description":"A filter to select which outbox messages the rollup will execute automatically (must be in maintenance or operator mode).","type":"array","items":{"type":"object","properties":{"transaction":{"type":"object","properties":{"destination":{"oneOf":[{"title":"any_destination","description":"Accept any destination.","type":"string","enum":["any"]},{"title":"destination_among","description":"Accept destination that matches the given list (in base58-check).","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]},"entrypoint":{"oneOf":[{"title":"any_entrypoint","description":"Accept any entrypoint.","type":"string","enum":["any"]},{"title":"entrypoint_among","description":"Accept entrypoint of the given list.","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]}},"required":["destination","entrypoint"]}},"required":["transaction"]}},"DAL node endpoint":{"$ref":"#/components/schemas/unistring"},"pre-images-endpoint":{"$ref":"#/components/schemas/unistring"},"batcher":{"type":"object","properties":{"min_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"min_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"injector":{"type":"object","properties":{"retention_period":{"type":"integer","minimum":0,"maximum":65535},"attempts":{"type":"integer","minimum":0,"maximum":65535},"injection_ttl":{"type":"integer","minimum":0,"maximum":65535}}},"l1_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l2_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"prefetch_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l1_monitor_finalized":{"type":"boolean"},"l1_rpc_timeout":{"type":"number"},"loop_retry_delay":{"type":"number"},"index_buffer_size":{"description":"Deprecated","type":"integer","minimum":-1073741824,"maximum":1073741823},"irmin_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"log-kernel-debug":{"type":"boolean"},"log-kernel-debug-file":{"$ref":"#/components/schemas/unistring"},"unsafe-disable-wasm-kernel-checks":{"type":"boolean"},"no-degraded":{"type":"boolean"},"gc-parameters":{"type":"object","properties":{"frequency":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"context_splitting_period":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"history-mode":{"type":"string","enum":["full","archive"]},"cors":{"type":"object","properties":{"allowed_headers":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}},"allowed_origins":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["allowed_headers","allowed_origins"]},"bail-on-disagree":{"type":"boolean"},"opentelemetry":{"description":"Enable or disable opentelemetry profiling","nullable":true,"oneOf":[{"title":"detailed_opentelemetry_config","type":"object","properties":{"enable":{"description":"Enable opentelemetry profiling","type":"boolean"},"instance_id":{"description":"Instance id to identify the node in Opentelemetry traces. Takes precedence over /telemetry_id.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"environment":{"description":"Deployment environment, used for Datadog tagging, will be extracted from env variable DD_ENV if null. See https://docs.datadoghq.com/getting_started/tagging/unified_service_tagging.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/unistring"}]}]},"debug":{"description":"Enable debug mode","type":"boolean"},"url_traces":{"description":"URL to send traces","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"url_logs":{"description":"URL to send logs","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"headers":{"description":"API headers sent to the endpoint","type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"}]}}},"batch_traces":{"description":"Batch traces","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-1073741824,"maximum":1073741823}]},"batch_logs":{"description":"Batch logs","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-1073741824,"maximum":1073741823}]},"batch_timeout_ms":{"description":"Milliseconds after which we emit a batch, even incomplete","type":"integer","minimum":-1073741824,"maximum":1073741823},"gc_telemetry":{"description":"Enable traces for GC events (costly)","type":"object","properties":{"enable":{"type":"boolean"},"filter":{"description":"Filter for which GC events to emit traces","type":"array","items":{"type":"string","enum":["finalise_update_last","interrupt_remote","minor_leave_barrier","finalise_update_first","major_gc_stw","minor_remembered_set_promote","explicit_gc_full_major","minor_finalizers_oldify","major","minor_finalized","major_slice","minor_finalizers_admin","minor_global_roots","minor_local_roots","stw_handler","major_mark_roots","major_finish_marking","compaction_evacuate","explicit_gc_stat","major_finish_cycle","major_gc_cycle_domains","compaction_release","compaction","explicit_gc_compact","explicit_gc_major","explicit_gc_major_slice","major_gc_phase_change","major_ephe_sweep","stw_api_barrier","major_finish_sweeping","minor_local_roots_promote","major_mark","major_mark_opportunistic","explicit_gc_set","minor","compaction_forward","minor_remembered_set","major_sweep","stw_leader","minor_clear","domain_resize_heap_reservation","explicit_gc_minor","major_ephe_mark"]}},"min_duration_ms":{"description":"Minimal span duration for a GC event to be emitted","nullable":true,"oneOf":[{"title":"Some","type":"number"}]}}}}},{"title":"opentelemetry_boolean","type":"boolean"}]}},"required":["smart-rollup-address","smart-rollup-node-operator","rpc-addr","rpc-port","acl","performance-metrics","reconnection_delay","fee-parameters","mode","loser-mode","apply-unsafe-patches","unsafe-pvm-patches","execute-outbox-messages-filter","batcher","injector","l1_blocks_cache_size","l2_blocks_cache_size","l1_monitor_finalized","l1_rpc_timeout","loop_retry_delay","log-kernel-debug","unsafe-disable-wasm-kernel-checks","no-degraded","gc-parameters","cors","bail-on-disagree","opentelemetry"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/describe":{"get":{"description":"RPCs documentation and input/output schema","parameters":[{"name":"recurse","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/service_tree"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}":{"get":{"description":"Layer-2 block of the layer-2 chain with respect to a Layer 1 block identifier","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"inbox":{"description":"Inbox for this block.","type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]},"messages":{"description":"Messages added to the inbox in this block.","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"commitment":{"description":"Commitment, if any is computed for this block.","type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"outbox":{"description":"Outbox messages produced by PVM execution of inbox","type":"array","items":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["message_index","whitelist_update"]},{"title":"transactions","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["message_index","transactions"]}]}},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","inbox","messages","initial_tick","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/committed_status":{"get":{"description":"Commitment status of the rollup state which will include content of this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"uncommitted","description":"L2 Block content is not yet committed on L1","type":"object","properties":{"uncommitted":{"type":"object","properties":{"commitment_level":{"description":"Level at which the following commitment will be produced.","type":"integer","minimum":-2147483648,"maximum":2147483647},"estimated_commitment_time":{"description":"Estimated time at which the commitment will be published.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_level","estimated_commitment_time","estimated_cementation_time"]}},"required":["uncommitted"]},{"title":"committed","description":"L2 Block content is already committed on L1 but not yet cemented","type":"object","properties":{"committed":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_hash","commitment_level","first_published_level","published_level","estimated_cementation_time"]}},"required":["committed"]},{"title":"cemented","description":"L2 Block content is already cemented","type":"object","properties":{"cemented":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"blocks_since_cemented":{"description":"Number of blocks since commitment was cemented.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment_hash","commitment_level","first_published_level","published_level","blocks_since_cemented"]}},"required":["cemented"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/length":{"get":{"description":"Retrieve number of bytes in raw representation of value by key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/int64"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/subkeys":{"get":{"description":"Retrieve subkeys of the specified key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/value":{"get":{"description":"Retrieve value by key from PVM durable storage. PVM state is taken with respect to the specified block level. Value returned in hex format.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/values":{"get":{"description":"Retrieve values directly under a given key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/hash":{"get":{"description":"Tezos block hash of block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A block identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/helpers/proofs/outbox/{level}/messages":{"get":{"description":"Generate serialized output proof for some outbox message at level and index","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"level","in":"path","required":true,"schema":{"type":"string"}},{"name":"index","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["commitment","proof"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/inbox":{"get":{"description":"Rollup inbox for block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/level":{"get":{"description":"Level of Tezos block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"integer","minimum":-2147483648,"maximum":2147483647}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/num_messages":{"get":{"description":"Number of messages for specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/outbox":{"get":{"description":"Outbox at block for a given outbox level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/outbox/{level}/messages":{"get":{"description":"Outbox at block for a given outbox level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"level","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/simulate":{"post":{"description":"Simulate messages evaluation by the PVM","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"description":"Serialized messages for simulation.","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"reveal_pages":{"description":"Pages (at most 4kB) to be used for revelation ticks","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"insight_requests":{"description":"Paths in the PVM to inspect after the simulation","type":"array","items":{"oneOf":[{"title":"pvm_state","description":"Path in the PVM state","type":"object","properties":{"kind":{"type":"string","enum":["pvm_state"]},"key":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["kind","key"]},{"title":"durable_storage","description":"Path in the PVM durable storage","type":"object","properties":{"kind":{"type":"string","enum":["durable_storage"]},"key":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["kind","key"]}]}},"log_kernel_debug_file":{"description":"File in which to emit kernel logs. This file will be created in /simulation_kernel_logs/, where is the data directory of the rollup node.","oneOf":[{"$ref":"#/components/schemas/unistring"}]}},"required":["messages"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"state_hash":{"description":"Hash of the state after execution of the PVM on the input messages","oneOf":[{"$ref":"#/components/schemas/smart_rollup_state_hash"}]},"status":{"description":"Status of the PVM after evaluation","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"output":{"description":"Output produced by evaluation of the messages","type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}},"inbox_level":{"description":"Level of the inbox that would contain these messages","type":"integer","minimum":-2147483648,"maximum":2147483647},"num_ticks":{"description":"Ticks taken by the PVM for evaluating the messages","oneOf":[{"$ref":"#/components/schemas/bignum"}]},"insights":{"description":"PVM state values requested after the simulation","type":"array","items":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}},"required":["state_hash","status","output","inbox_level","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state":{"get":{"description":"Retrieve value from key is PVM state of specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_current_level":{"get":{"description":"Retrieve the current level of a PVM","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_hash":{"get":{"description":"State hash for this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"The hash of the VM state of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/status":{"get":{"description":"PVM status at block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/ticks":{"get":{"description":"Number of ticks for specified level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/total_ticks":{"get":{"description":"Total number of ticks at specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/last_stored_commitment":{"get":{"description":"Last commitment computed by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/monitor_blocks":{"get":{"description":"Monitor and streaming the L2 blocks","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","initial_tick","num_ticks"],"additionalProperties":{}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/monitor_finalized_blocks":{"get":{"description":"Monitor and streaming the L2 finalized blocks","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","initial_tick","num_ticks"],"additionalProperties":{}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/smart_rollup_address":{"get":{"description":"Smart rollup address","responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A smart rollup address (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_head":{"get":{"description":"Tezos head known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/block_hash"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_level":{"get":{"description":"Tezos level known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/health":{"get":{"description":"Returns health status information for the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"healthy":{"type":"boolean"},"degraded":{"type":"boolean"},"l1":{"type":"object","properties":{"connection":{"type":"string","enum":["connected","reconnecting","disconnected"]},"blocks_late":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"last_seen_head":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"timestamp":{"$ref":"#/components/schemas/timestamp.protocol"}},"required":["hash","level","timestamp"]}},"required":["connection","blocks_late"]},"active_workers":{"type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"},{"oneOf":[{"title":"running","type":"string","enum":["running"]},{"title":"crashed","type":"object","properties":{"crashed":{"$ref":"#/components/schemas/exception"}},"required":["crashed"]}]}]}}}},"required":["healthy","degraded","l1","active_workers"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/injection":{"post":{"description":"Inject messages in the batcher's queue","parameters":[{"name":"order","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_duplicate","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/sc_l2_message"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"description":"Ids of injected L2 messages","type":"array","items":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue":{"get":{"description":"List messages present in the batcher's queue","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"order":{"$ref":"#/components/schemas/positive_bignum"},"id":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"},"message":{"type":"object","properties":{"content":{"$ref":"#/components/schemas/sc_l2_message"},"counter":{"$ref":"#/components/schemas/positive_bignum"}},"required":["content","counter"]},"traceparent":{"$ref":"#/components/schemas/unistring"}},"required":["id","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue/{l2_message_id}":{"get":{"description":"Retrieve an L2 message and its status","parameters":[{"name":"l2_message_id","in":"path","description":"A L2 message id.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/commitments/{commitment_hash}":{"get":{"description":"Commitment computed and published by the node","parameters":[{"name":"commitment_hash","in":"path","description":"A commitment hash.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/batcher/injection":{"post":{"description":"Inject the given messages in the DAL queue, even in case of duplicates","requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injected/operations/statuses":{"get":{"description":"Retrieve the statuses of all known operations injected via DAL.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/injector_operation_hash"},"status":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}},"required":["id","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injection/{injector_operation_hash}/forget":{"post":{"description":"Forget information about the injection whose id is given","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/slot/indices":{"post":{"description":"Provide the (new) list of slot indices to use to the rollup node's DAL injector","requestBody":{"content":{"application/json":{"schema":{"description":"Slot indices to set","type":"object","properties":{"indices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["indices"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/gc_info":{"get":{"description":"Information about garbage collection","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"first_available_level":{"description":"First level where data is guaranteed to be available in the rollup node.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_gc_level":{"description":"The level at which the last GC was triggered.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_context_split_level":{"description":"The level at which the context was split for the last time. Commits before this level are in other chunks.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_successful_gc_target":{"description":"The level which was the target of the last successful GC.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["first_available_level"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/injector/operation/{injector_operation_hash}/status":{"get":{"description":"Retrieve the status of the injected operation using its injector ID.","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/last_published_commitment":{"get":{"description":"Last commitment published by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending":{"get":{"description":"Pending outbox messages with their status (executable, pending, or lost)","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}},"status":{"type":"string","enum":["pending","executable","lost"]}},"required":["outbox_level","messages","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/executable":{"get":{"description":"Pending outbox messages which can be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/unexecutable":{"get":{"description":"Pending outbox messages which cannot yet be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/synchronized":{"get":{"description":"Wait for the node to have synchronized its L2 chain with the L1 chain, streaming its progress.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"synchronized","type":"string","enum":["synchronized"]},{"title":"synchronizing","type":"object","properties":{"synchronizing":{"type":"object","properties":{"processed_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"l1_head_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"percentage_done":{"type":"number"}},"required":["processed_level","l1_head_level","percentage_done"]}},"required":["synchronizing"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/openapi":{"get":{"description":"OpenAPI specification of RPCs for rollup node","parameters":[{"name":"protocol","in":"query","description":"Protocol_hash (Base58Check-encoded)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/ping":{"get":{"description":"Returns an empty response if the rollup node can answer requests","responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/memory":{"get":{"description":"Gets memory usage stats","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"Linux_proc_statm","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"size":{"$ref":"#/components/schemas/int64"},"resident":{"$ref":"#/components/schemas/int64"},"shared":{"$ref":"#/components/schemas/int64"},"text":{"$ref":"#/components/schemas/int64"},"lib":{"$ref":"#/components/schemas/int64"},"data":{"$ref":"#/components/schemas/int64"},"dt":{"$ref":"#/components/schemas/int64"}},"required":["page_size","size","resident","shared","text","lib","data","dt"]},{"title":"Darwin_ps","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"mem":{"type":"number"},"resident":{"$ref":"#/components/schemas/int64"}},"required":["page_size","mem","resident"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/ocaml_gc":{"get":{"description":"Gets stats from the OCaml Garbage Collector","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"minor_words":{"type":"number"},"promoted_words":{"type":"number"},"major_words":{"type":"number"},"minor_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"forced_major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_chunks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"largest_free":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"fragments":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"compactions":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"top_heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"stack_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["minor_words","promoted_words","major_words","minor_collections","major_collections","forced_major_collections","heap_words","heap_chunks","live_words","live_blocks","free_words","free_blocks","largest_free","fragments","compactions","top_heap_words","stack_size"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/version":{"get":{"description":"Returns the version information of the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"$ref":"#/components/schemas/unistring"},"store_version":{"$ref":"#/components/schemas/unistring"},"context_version":{"$ref":"#/components/schemas/unistring"}},"required":["version","store_version","context_version"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}}},"components":{"schemas":{"023-PtSeouLo.contract_id.originated":{"title":"A contract handle -- originated account","description":"A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"023-PtSeouLo.michelson.v1.primitives":{"type":"string","enum":["SHA256","PUSH","GET_AND_UPDATE","RENAME","False","CAST","ISNAT","address","PACK","EMIT","mutez","bls12_381_g1","Pair","IF_CONS","bool","bytes","storage","OR","view","UNPACK","ADD","DIP","map","MEM","BYTES","SENDER","ADDRESS","CDR","SAPLING_EMPTY_STATE","or","LOOP","contract","unit","SHA512","CREATE_ACCOUNT","BLAKE2B","READ_TICKET","LE","chain_id","timestamp","operation","set","CHAIN_ID","chest","SELF_ADDRESS","SOURCE","IMPLICIT_ACCOUNT","key","AMOUNT","CHECK_SIGNATURE","sapling_transaction_deprecated","LSR","EQ","Elt","OPEN_CHEST","NIL","CREATE_CONTRACT","LSL","TRANSFER_TOKENS","JOIN_TICKETS","SWAP","Some","parameter","pair","bls12_381_g2","VIEW","None","SLICE","int","ABS","lambda","DUG","list","CAR","GET","HASH_KEY","CONCAT","LEVEL","SAPLING_VERIFY_UPDATE","TOTAL_VOTING_POWER","Lambda_rec","SIZE","nat","STEPS_TO_QUOTA","IF_NONE","UNPAIR","CONS","Unit","CONTRACT","MUL","UPDATE","EXEC","PAIR","SPLIT_TICKET","RIGHT","key_hash","AND","NEG","option","BALANCE","SET_DELEGATE","NEVER","MIN_BLOCK_TIME","INT","chest_key","ITER","True","Right","Ticket","GT","DIG","tx_rollup_l2_address","SUB","EDIV","MAP","IF_LEFT","big_map","VOTING_POWER","LAMBDA_REC","Left","ticket","TICKET_DEPRECATED","bls12_381_fr","never","DUP","LEFT","constant","signature","SHA3","LAMBDA","NOT","KECCAK","NOW","NAT","GE","string","sapling_transaction","NEQ","IF","FAILWITH","NONE","SUB_MUTEZ","XOR","LOOP_LEFT","PAIRING_CHECK","DROP","EMPTY_BIG_MAP","UNIT","sapling_state","TICKET","EMPTY_MAP","APPLY","LT","SOME","IS_IMPLICIT_ACCOUNT","COMPARE","EMPTY_SET","SELF","code"]},"DAL_commitment":{"title":"Commitment representation for the DAL (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Smart_rollup_context_hash":{"title":"A base58-check encoded hash of a Smart rollup node context (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"error":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"},"exception":{"description":"Exception","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"injector_operation_hash":{"title":"An identifier (hash) for an operation in the injector (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"int64":{"title":"64 bit integers","description":"Decimal representation of 64 bit integers","type":"string"},"layout":{"oneOf":[{"title":"Zero_width","type":"object","properties":{"kind":{"type":"string","enum":["Zero_width"]}},"required":["kind"]},{"title":"Int","type":"object","properties":{"size":{"type":"string","enum":["Int32","Int16","Uint16","Int64","Int8","Uint8"]},"endianness":{"type":"string","enum":["Little","Big"]},"kind":{"type":"string","enum":["Int"]}},"required":["size","kind"]},{"title":"Bool","type":"object","properties":{"kind":{"type":"string","enum":["Bool"]}},"required":["kind"]},{"title":"RangedInt","type":"object","properties":{"min":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"endianness":{"type":"string","enum":["Little","Big"]},"max":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"kind":{"type":"string","enum":["RangedInt"]}},"required":["min","max","kind"]},{"title":"RangedFloat","type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"kind":{"type":"string","enum":["RangedFloat"]}},"required":["min","max","kind"]},{"title":"Float","type":"object","properties":{"kind":{"type":"string","enum":["Float"]}},"required":["kind"]},{"title":"Bytes","type":"object","properties":{"kind":{"type":"string","enum":["Bytes"]}},"required":["kind"]},{"title":"String","type":"object","properties":{"kind":{"type":"string","enum":["String"]}},"required":["kind"]},{"title":"Enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"reference":{"$ref":"#/components/schemas/unistring"},"kind":{"type":"string","enum":["Enum"]}},"required":["size","reference","kind"]},{"title":"Seq","type":"object","properties":{"layout":{"$ref":"#/components/schemas/layout"},"kind":{"type":"string","enum":["Seq"]},"length_limit":{"oneOf":[{"title":"No_limit","type":"object","properties":{"kind":{"type":"string","enum":["no-limit"]}},"required":["kind"]},{"title":"At_most","type":"object","properties":{"kind":{"type":"string","enum":["at-most"]},"at_most":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["kind","at_most"]},{"title":"Exactly","type":"object","properties":{"kind":{"type":"string","enum":["exactly"]},"exactly":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["kind","exactly"]}]}},"required":["layout","kind"]},{"title":"Ref","type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"kind":{"type":"string","enum":["Ref"]}},"required":["name","kind"]},{"title":"Padding","type":"object","properties":{"kind":{"type":"string","enum":["Padding"]}},"required":["kind"]}]},"micheline.023-PtSeouLo.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/023-PtSeouLo.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"micheline.outbox_transaction_parameters.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/unistring"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"micheline.outbox_transaction_parameters_type.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/unistring"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"mutez":{"title":"A millionth of a tez","description":"One million mutez make a tez (1 tez = 1e6 mutez)","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"nanotez":{"title":"A thousandth of a mutez","description":"One thousand nanotez make a mutez (1 tez = 1e9 nanotez)","type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/bignum"}]}},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"sc_l2_message":{"description":"A hex encoded smart rollup message","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"sc_rollup_l2_message_id":{"title":"A smart rollup layer 2 message identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"sc_rollup_node_l1_operation":{"oneOf":[{"title":"add_messages","type":"object","properties":{"kind":{"type":"string","enum":["add_messages"]},"message":{"type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}}},"required":["kind","message"]},{"title":"cement","type":"object","properties":{"kind":{"type":"string","enum":["cement"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["kind","rollup","commitment"]},{"title":"publish","type":"object","properties":{"kind":{"type":"string","enum":["publish"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]}},"required":["kind","rollup","commitment"]},{"title":"refute","type":"object","properties":{"kind":{"type":"string","enum":["refute"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"opponent":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"refutation":{"oneOf":[{"title":"Start","type":"object","properties":{"refutation_kind":{"type":"string","enum":["start"]},"player_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"opponent_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["refutation_kind","player_commitment_hash","opponent_commitment_hash"]},{"title":"Move","type":"object","properties":{"refutation_kind":{"type":"string","enum":["move"]},"choice":{"$ref":"#/components/schemas/positive_bignum"},"step":{"oneOf":[{"title":"Dissection","type":"array","items":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"tick":{"$ref":"#/components/schemas/positive_bignum"}},"required":["tick"]}},{"title":"Proof","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}},"required":["refutation_kind","choice","step"]}]}},"required":["kind","rollup","opponent","refutation"]},{"title":"timeout","type":"object","properties":{"kind":{"type":"string","enum":["timeout"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"stakers":{"type":"object","properties":{"alice":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"bob":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["alice","bob"]}},"required":["kind","rollup","stakers"]},{"title":"recover","type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"staker":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["kind","rollup","staker"]},{"title":"execute_outbox_message","type":"object","properties":{"kind":{"type":"string","enum":["execute_outbox_message"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"cemented_commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["kind","rollup","cemented_commitment","proof"]},{"title":"publish_dal_commitment","type":"object","properties":{"kind":{"type":"string","enum":["publish_dal_commitment"]},"slot_index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"},"commitment_proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["kind","slot_index","commitment","commitment_proof"]}]},"sc_rollup_node_mode":{"oneOf":[{"title":"custom","type":"object","properties":{"custom":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}}},"required":["custom"]},{"title":"observer","type":"string","enum":["observer"]},{"title":"accuser","type":"string","enum":["accuser"]},{"title":"bailout","type":"string","enum":["bailout"]},{"title":"batcher","type":"string","enum":["batcher"]},{"title":"maintenance","type":"string","enum":["maintenance"]},{"title":"operator","type":"string","enum":["operator"]}]},"schema.field":{"oneOf":[{"title":"Named_field","type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"layout":{"$ref":"#/components/schemas/layout"},"data_kind":{"$ref":"#/components/schemas/schema.kind"},"kind":{"type":"string","enum":["named"]}},"required":["name","layout","data_kind","kind"]},{"title":"Anonymous_field","type":"object","properties":{"layout":{"$ref":"#/components/schemas/layout"},"kind":{"type":"string","enum":["anon"]},"data_kind":{"$ref":"#/components/schemas/schema.kind"}},"required":["layout","kind","data_kind"]},{"title":"Dynamic_field","type":"object","properties":{"kind":{"type":"string","enum":["dyn"]},"name":{"$ref":"#/components/schemas/unistring"},"num_fields":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"size":{"type":"string","enum":["N","Uint30","Uint16","Uint8"]}},"required":["kind","num_fields","size"]},{"title":"Optional_field","type":"object","properties":{"kind":{"type":"string","enum":["option_indicator"]},"name":{"$ref":"#/components/schemas/unistring"}},"required":["kind","name"]}]},"schema.kind":{"oneOf":[{"title":"Fixed","type":"object","properties":{"size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"kind":{"type":"string","enum":["Fixed"]}},"required":["size","kind"]},{"title":"Dynamic","type":"object","properties":{"kind":{"type":"string","enum":["Dynamic"]}},"required":["kind"]},{"title":"Variable","type":"object","properties":{"kind":{"type":"string","enum":["Variable"]}},"required":["kind"]}]},"service_tree":{"oneOf":[{"title":"Static","type":"object","properties":{"static":{"type":"object","properties":{"get_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"post_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"delete_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"put_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"patch_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"subdirs":{"oneOf":[{"title":"Suffixes","type":"object","properties":{"suffixes":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"tree":{"$ref":"#/components/schemas/service_tree"}},"required":["name","tree"]}}},"required":["suffixes"]},{"title":"Arg","type":"object","properties":{"dynamic_dispatch":{"type":"object","properties":{"arg":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},"tree":{"$ref":"#/components/schemas/service_tree"}},"required":["arg","tree"]}},"required":["dynamic_dispatch"]}]}}}},"required":["static"]},{"title":"Dynamic","type":"object","properties":{"dynamic":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/unistring"}]}]}},"required":["dynamic"]},{"title":"Empty","type":"string","enum":["empty"]}]},"smart_rollup_address":{"title":"A smart rollup address (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_commitment_hash":{"title":"The hash of a commitment of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_inbox_hash":{"title":"The hash of an inbox of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_merkelized_payload_hashes_hash":{"title":"The hash of the Merkelized payload hashes of a smart rollup inbox (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_state_hash":{"title":"The hash of the VM state of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.rfc":{"title":"RFC 3339 formatted timestamp","description":"A date in RFC 3339 notation.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.system":{"description":"A timestamp as seen by the underlying, local computer: subsecond-level precision, epoch or rfc3339 based.","oneOf":[{"title":"RFC encoding","oneOf":[{"$ref":"#/components/schemas/timestamp.rfc"}]},{"title":"Second since epoch","oneOf":[{"$ref":"#/components/schemas/int64"}]}]},"union case":{"type":"object","properties":{"tag":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}},"name":{"$ref":"#/components/schemas/unistring"}},"required":["tag","fields"]},"unistring":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"]}]}}}} diff --git a/docs/api/static/dal-node-openapi-rc.html b/docs/api/static/dal-node-openapi-rc.html index a12f6f423427..048d8402a458 100644 --- a/docs/api/static/dal-node-openapi-rc.html +++ b/docs/api/static/dal-node-openapi-rc.html @@ -401,7 +401,7 @@ data-styled.g138[id="sc-enPhjR"]{content:"SikXG,"}/*!sc*/ 55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864 -231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688, -104.0616 -231.873,-231.248 z - " fill="currentColor">

Octez DAL Node RPC (Octez 24.0~rc1 (60afd4da))

Download OpenAPI specification:

Octez DAL Node RPC (Octez 24.0~rc2 (60afd4da))

Download OpenAPI specification:

The RPC API for the Octez DAL node.

/health

Performs health checks on the DAL node, evaluating key components of the DAL node. Returns a health status indicating whether the DAL node is 'Up', 'Down', or 'Degraded' based on the results of these checks.

@@ -511,7 +511,7 @@ data-styled.g138[id="sc-enPhjR"]{content:"SikXG,"}/*!sc*/ " class="sc-eVqvcJ sc-fszimp kIppRw kbZred">

version

Responses

Response samples

Content type
application/json
{
  • "network_version": {
    }
}