From b1557e6da03a84f7464c3c015eac8610caf18a39 Mon Sep 17 00:00:00 2001 From: Killian Delarue Date: Tue, 18 Feb 2025 15:59:34 +0100 Subject: [PATCH 1/3] Docs, v21: Release page for Octez v21.4 --- docs/releases/version-21.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/releases/version-21.rst b/docs/releases/version-21.rst index 26a44a01240d..bb51041c60a3 100644 --- a/docs/releases/version-21.rst +++ b/docs/releases/version-21.rst @@ -1,4 +1,4 @@ -Version 21.3 +Version 21.4 ============ Version 21 contains a new version (V13) of the protocol environment. @@ -145,14 +145,14 @@ Update Instructions To update from sources:: git fetch - git checkout octez-v21.3 + git checkout octez-v21.4 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-v21.3`` Docker images of Octez. +If you are using Docker instead, use the ``octez-v21.`` Docker images of Octez. You can also install Octez using Opam by running ``opam install octez``. -- GitLab From c24787dc83ced2927a897156aa6801b5ee2043fe Mon Sep 17 00:00:00 2001 From: Killian Delarue Date: Tue, 18 Feb 2025 17:10:45 +0100 Subject: [PATCH 2/3] Docs, v21: Section for v21.4 CHANGES --- CHANGES.rst | 19 ------------------- docs/CHANGES.rst | 22 ++++++++++++++++++++++ docs/releases/version-21.rst | 1 + 3 files changed, 23 insertions(+), 19 deletions(-) diff --git a/CHANGES.rst b/CHANGES.rst index 6ebf7c9da342..61f57ef668f4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -272,19 +272,6 @@ DAL node Linux). Users can opt out by setting the value to ``0``. (MR :gl:`!16907`) - -- **Feature** A new RPC ``/p2p/gossipsub/reconnection_delays`` which - provides for each unreachable point, the time remaining until the - next reconnection attempt. (MR :gl:`!16767`) - -- **Bugfix** From v21.2, the ``SO_KEEP_ALIVE`` socket option was used - for incoming connections only. It is not used with both incoming - connections and outgoing connections. - -- **Bugfix** From v21.2, the DAL node tries to recontact peers after - the connection attempt failed. However, this MR fixes the timing - when those attempts were made. (MR :gl:`!16466`) - - **Feature** The DAL node stores now a peers.json file in its directory when it is shutdown with SIGINT. This file is read if it exists when starting the DAL node to restore previous known @@ -337,12 +324,6 @@ DAL node parameters that the DAL node uses for a given level, which by default is the last finalized level the node is aware of. (MR :gl:`!16704`) -- Added a new RPC ``GET /p2p/gossipsub/mesh/`` that returns the GossipSub mesh - (i.e. full data connections per topic) of a peer. (MR :gl:`!16754`) - -- Added a new RPC ``GET /p2p/gossipsub/fanout/`` that returns the GossipSub - fanout of a peer. (MR :gl:`!16764`) - - Added a new RPC ``GET /published_levels//known_traps`` that returns the trap shards that the DAL node knows. (MR :gl:`!16870`) diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index 4860058166ea..5a804161619d 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -3,6 +3,28 @@ Changelog ''''''''' +Version 21.4 +============ + +DAL node +-------- + +- **Bugfix** Fixed the timing of the reconnection to peers attempts. (MR :gl:`!16466`) + +- Added a new RPC ``GET /p2p/gossipsub/mesh/`` that returns the GossipSub mesh + (i.e. full data connections per topic) of a peer. (MR :gl:`!16754`) + +- Added a new RPC ``GET /p2p/gossipsub/fanout/`` that returns the GossipSub + fanout of a peer. (MR :gl:`!16764`) + +- **Bugfix** From v21.2, the ``SO_KEEP_ALIVE`` socket option was used + for incoming connections only. It is now used with both incoming + connections and outgoing connections. (MR :gl:`!16820`) + +- **Feature** A new RPC ``/p2p/gossipsub/reconnection_delays`` which + provides for each unreachable point, the time remaining until the + next reconnection attempt. (MR :gl:`!16767`) + Version 21.3 ============ diff --git a/docs/releases/version-21.rst b/docs/releases/version-21.rst index bb51041c60a3..4030c2c06f39 100644 --- a/docs/releases/version-21.rst +++ b/docs/releases/version-21.rst @@ -168,6 +168,7 @@ Check :ref:`the documentation ` for more details. Changelog --------- +- `Version 21.4 <../CHANGES.html#version-21-4>`_ - `Version 21.3 <../CHANGES.html#version-21-3>`_ - `Version 21.2 <../CHANGES.html#version-21-2>`_ - `Version 21.1 <../CHANGES.html#version-21-1>`_ -- GitLab From 5de2e969af075827a1c2777c3643962ba26560c7 Mon Sep 17 00:00:00 2001 From: Killian Delarue Date: Wed, 19 Feb 2025 10:05:09 +0100 Subject: [PATCH 3/3] Docs, OpenApi: Update openapi specifications for Octez v21.4 --- docs/api/dal-node-openapi.json | 506 +++++++++++++----- docs/api/openapi.rst | 10 +- docs/api/quebec-mempool-openapi.json | 2 +- docs/api/quebec-openapi.json | 2 +- .../api/quebec-smart-rollup-node-openapi.json | 2 +- docs/api/rpc-openapi.json | 172 +++--- 6 files changed, 491 insertions(+), 203 deletions(-) diff --git a/docs/api/dal-node-openapi.json b/docs/api/dal-node-openapi.json index 62338eec3e81..454abeeefc6f 100644 --- a/docs/api/dal-node-openapi.json +++ b/docs/api/dal-node-openapi.json @@ -3,59 +3,33 @@ "info": { "title": "Octez DAL Node RPC", "description": "The RPC API for the Octez DAL node.", - "version": "Octez 21.3 (73082775)" + "version": "Octez 21.4 (b8278e10)" }, "paths": { - "/health": { - "get": { - "description": "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.", + "/commitments": { + "post": { + "description": "Add a slot in the node's context if not already present. The corresponding commitment is returned.", + "requestBody": { + "content": { + "application/json": { + "schema": { + "type": "string", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$" + } + } + } + }, "responses": { "200": { "description": "", "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "status": { - "type": "string", - "enum": [ - "degraded", - "up", - "ko", - "ok", - "down" - ] - }, - "checks": { - "type": "array", - "items": { - "type": "object", - "properties": { - "name": { - "$ref": "#/components/schemas/unistring" - }, - "status": { - "type": "string", - "enum": [ - "degraded", - "up", - "ko", - "ok", - "down" - ] - } - }, - "required": [ - "name", - "status" - ] - } + "title": "Commitment representation for the DAL (Base58Check-encoded)", + "oneOf": [ + { + "$ref": "#/components/schemas/unistring" } - }, - "required": [ - "status", - "checks" ] } } @@ -66,7 +40,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -116,7 +90,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -126,7 +100,7 @@ }, "/levels/{int32}/slots/{int}/content": { "get": { - "description": "Retrieve the content of the slot associated with the given commitment.", + "description": "Retrieve the content of the slot whose id is given.", "parameters": [ { "name": "int32", @@ -162,7 +136,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -211,7 +185,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -261,7 +235,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -322,7 +296,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -389,7 +363,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -439,7 +413,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -483,7 +457,19 @@ "type": "object", "properties": { "peer": { - "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + "type": "object", + "properties": { + "peer_id": { + "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + }, + "maybe_reachable_point": { + "$ref": "#/components/schemas/p2p_point.id" + } + }, + "required": [ + "peer_id", + "maybe_reachable_point" + ] }, "backoff": { "$ref": "#/components/schemas/timestamp.system" @@ -510,7 +496,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -532,7 +518,19 @@ "type": "object", "properties": { "peer": { - "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + "type": "object", + "properties": { + "peer_id": { + "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + }, + "maybe_reachable_point": { + "$ref": "#/components/schemas/p2p_point.id" + } + }, + "required": [ + "peer_id", + "maybe_reachable_point" + ] }, "connection": { "type": "object", @@ -589,7 +587,153 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" + } + } + } + } + } + } + }, + "/p2p/gossipsub/fanout": { + "get": { + "description": "Returns the fanout peers per topic alongside the last publication time on the topic.", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "topic": { + "type": "object", + "properties": { + "slot_index": { + "type": "integer", + "minimum": 0, + "maximum": 255 + }, + "pkh": { + "$ref": "#/components/schemas/Signature.Public_key_hash" + } + }, + "required": [ + "slot_index", + "pkh" + ] + }, + "peers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "peer_id": { + "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + }, + "maybe_reachable_point": { + "$ref": "#/components/schemas/p2p_point.id" + } + }, + "required": [ + "peer_id", + "maybe_reachable_point" + ] + } + }, + "last_publication_time": { + "$ref": "#/components/schemas/timestamp.system" + } + }, + "required": [ + "topic", + "peers", + "last_publication_time" + ] + } + } + } + } + }, + "default": { + "description": "", + "content": { + "application/json": { + "schema": { + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" + } + } + } + } + } + } + }, + "/p2p/gossipsub/mesh": { + "get": { + "description": "Get the mesh of the peer. Concretely, the RPC returns a list of topics, where each topic is associated to the remote peers with which the current node shares a full connection (on that topic).", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "topic": { + "type": "object", + "properties": { + "slot_index": { + "type": "integer", + "minimum": 0, + "maximum": 255 + }, + "pkh": { + "$ref": "#/components/schemas/Signature.Public_key_hash" + } + }, + "required": [ + "slot_index", + "pkh" + ] + }, + "peers": { + "type": "array", + "items": { + "type": "object", + "properties": { + "peer_id": { + "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + }, + "maybe_reachable_point": { + "$ref": "#/components/schemas/p2p_point.id" + } + }, + "required": [ + "peer_id", + "maybe_reachable_point" + ] + } + } + }, + "required": [ + "topic", + "peers" + ] + } + } + } + } + }, + "default": { + "description": "", + "content": { + "application/json": { + "schema": { + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -662,7 +806,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -699,7 +843,19 @@ "peers": { "type": "array", "items": { - "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + "type": "object", + "properties": { + "peer_id": { + "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + }, + "maybe_reachable_point": { + "$ref": "#/components/schemas/p2p_point.id" + } + }, + "required": [ + "peer_id", + "maybe_reachable_point" + ] } } }, @@ -717,7 +873,49 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" + } + } + } + } + } + } + }, + "/p2p/gossipsub/reconnection_delays": { + "get": { + "description": "For each unreachable point, retrieve the time remaining until the next reconnection attempt.", + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "point": { + "$ref": "#/components/schemas/p2p_point.id" + }, + "delay": { + "$ref": "#/components/schemas/unistring" + } + }, + "required": [ + "point", + "delay" + ] + } + } + } + } + }, + "default": { + "description": "", + "content": { + "application/json": { + "schema": { + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -739,7 +937,19 @@ "type": "object", "properties": { "peer": { - "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + "type": "object", + "properties": { + "peer_id": { + "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + }, + "maybe_reachable_point": { + "$ref": "#/components/schemas/p2p_point.id" + } + }, + "required": [ + "peer_id", + "maybe_reachable_point" + ] }, "score": { "type": "number" @@ -759,7 +969,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -798,7 +1008,19 @@ "peers": { "type": "array", "items": { - "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + "type": "object", + "properties": { + "peer_id": { + "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + }, + "maybe_reachable_point": { + "$ref": "#/components/schemas/p2p_point.id" + } + }, + "required": [ + "peer_id", + "maybe_reachable_point" + ] } } }, @@ -816,7 +1038,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -860,7 +1082,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -911,7 +1133,19 @@ "peers": { "type": "array", "items": { - "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + "type": "object", + "properties": { + "peer_id": { + "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + }, + "maybe_reachable_point": { + "$ref": "#/components/schemas/p2p_point.id" + } + }, + "required": [ + "peer_id", + "maybe_reachable_point" + ] } } }, @@ -929,7 +1163,55 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" + } + } + } + } + } + } + }, + "/p2p/peers": { + "get": { + "description": "By default, get the list of known peers. When the 'connected' flag is given, then only get the connected peers.", + "parameters": [ + { + "name": "connected", + "in": "query", + "required": false, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "array", + "items": { + "type": "object", + "properties": { + "peer": { + "$ref": "#/components/schemas/Crypto_box.Public_key_hash" + } + }, + "required": [ + "peer" + ] + } + } + } + } + }, + "default": { + "description": "", + "content": { + "application/json": { + "schema": { + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1097,7 +1379,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1282,7 +1564,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1326,7 +1608,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1357,7 +1639,7 @@ "items": { "type": "object", "properties": { - "point": { + "peer": { "$ref": "#/components/schemas/Crypto_box.Public_key_hash" }, "info": { @@ -1487,7 +1769,7 @@ } }, "required": [ - "point", + "peer", "info" ] } @@ -1500,55 +1782,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" - } - } - } - } - } - } - }, - "/p2p/peers/list": { - "get": { - "description": "By default, get the list of known peers. When the 'connected' flag is given, then only get the connected peers.", - "parameters": [ - { - "name": "connected", - "in": "query", - "required": false, - "schema": { - "type": "string" - } - } - ], - "responses": { - "200": { - "description": "", - "content": { - "application/json": { - "schema": { - "type": "array", - "items": { - "type": "object", - "properties": { - "peer": { - "$ref": "#/components/schemas/Crypto_box.Public_key_hash" - } - }, - "required": [ - "peer" - ] - } - } - } - } - }, - "default": { - "description": "", - "content": { - "application/json": { - "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1596,7 +1830,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1642,7 +1876,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1686,7 +1920,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1738,7 +1972,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1918,7 +2152,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2053,7 +2287,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2104,7 +2338,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2194,7 +2428,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2204,7 +2438,7 @@ }, "/slots": { "post": { - "description": "Post a slot to the DAL node, computes its commitment and commitment proof, then computes the correspoding shards with their proof. The result of this RPC can be directly used to publish a slot header.", + "description": "Post a slot to the DAL node, computes its commitment and commitment proof, then computes the correspoding shards with their proof. The result of this RPC can be directly used to publish a slot header. If the sent data is smaller than the size of a DAL slot, it is padded with the character provided as padding query parameter (defaults to \\000). If the slot_index query parameter is provided, the DAL node checks that its profile allows to publish data on the given slot index.", "parameters": [ { "name": "padding", @@ -2213,6 +2447,14 @@ "schema": { "type": "string" } + }, + { + "name": "slot_index", + "in": "query", + "required": true, + "schema": { + "type": "string" + } } ], "requestBody": { @@ -2275,7 +2517,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2326,7 +2568,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } diff --git a/docs/api/openapi.rst b/docs/api/openapi.rst index c067dd92a09b..b70529ece9fe 100644 --- a/docs/api/openapi.rst +++ b/docs/api/openapi.rst @@ -52,7 +52,7 @@ Shell RPCs The node provides some RPCs which are independent of the protocol. Their OpenAPI specification can be found at: -- :src:`docs/api/rpc-openapi.json` (version 21.3) +- :src:`docs/api/rpc-openapi.json` (version 21.4) - :src:`docs/api/rpc-openapi-dev.json` (version master) .. TODO tezos/tezos#2170: add/remove section(s) @@ -63,12 +63,12 @@ Quebec RPCs The OpenAPI specifications for RPCs which are specific to the Quebec (``PtQuebec``) protocol proposal can be found at: -- :src:`docs/api/quebec-openapi.json` (version 21.3) +- :src:`docs/api/quebec-openapi.json` (version 21.4) The OpenAPI specifications for RPCs which are related to the mempool and specific to the Quebec protocol proposal can be found at: -- :src:`docs/api/quebec-mempool-openapi.json` (version 21.3) +- :src:`docs/api/quebec-mempool-openapi.json` (version 21.4) Alpha RPCs ---------- @@ -99,7 +99,7 @@ Quebec RPCs The OpenAPI specifications for the RPCs of the smart rollup node for the Quebec (``PtQuebec``) protocol proposal can be found at: -- :src:`docs/api/quebec-smart-rollup-node-openapi.json` (version 21.3) +- :src:`docs/api/quebec-smart-rollup-node-openapi.json` (version 21.4) Alpha RPCs ---------- @@ -115,7 +115,7 @@ DAL Node The DAL node also provides RPCs. Their OpenAPI specification can be found at: -- :src:`docs/api/dal-node-openapi.json` (version 21.3) +- :src:`docs/api/dal-node-openapi.json` (version 21.4) - :src:`docs/api/dal-node-openapi-dev.json` (version master) .. _openapi_generate: diff --git a/docs/api/quebec-mempool-openapi.json b/docs/api/quebec-mempool-openapi.json index 2b15db70e007..9307b6006fc7 100644 --- a/docs/api/quebec-mempool-openapi.json +++ b/docs/api/quebec-mempool-openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Octez Mempool RPC", "description": "The RPC API for the mempool served by the Octez node.", - "version": "Octez 21.3 (73082775)" + "version": "Octez 21.4 (b8278e10)" }, "paths": { "/ban_operation": { diff --git a/docs/api/quebec-openapi.json b/docs/api/quebec-openapi.json index f9ea8d31c1ba..6ef44ee19ed3 100644 --- a/docs/api/quebec-openapi.json +++ b/docs/api/quebec-openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Octez Protocol quebec RPC", "description": "The RPC API for protocol quebec served by the Octez node.", - "version": "Octez 21.3 (73082775)" + "version": "Octez 21.4 (b8278e10)" }, "paths": { "/": { diff --git a/docs/api/quebec-smart-rollup-node-openapi.json b/docs/api/quebec-smart-rollup-node-openapi.json index 0b9f5b68061e..05eadb2a9a0a 100644 --- a/docs/api/quebec-smart-rollup-node-openapi.json +++ b/docs/api/quebec-smart-rollup-node-openapi.json @@ -1 +1 @@ -{"openapi":"3.0.0","info":{"title":"Smart Rollup Node RPCs","description":"Smart Rollup Node RPC API for protocol PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg","version":"Octez 21.3 (73082775)"},"paths":{"/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":"tag","in":"query","description":"A kind of operation for the injector.","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`"}}}}}}},"/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"}]},"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!)","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"]}},"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"},"dac-observer-client":{"$ref":"#/components/schemas/unistring"},"dac-timeout":{"$ref":"#/components/schemas/bignum"},"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_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"},"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"}},"required":["smart-rollup-address","smart-rollup-node-operator","rpc-addr","rpc-port","acl","performance-metrics","reconnection_delay","fee-parameters","mode","loser-mode","unsafe-pvm-patches","execute-outbox-messages-filter","batcher","injector","l1_blocks_cache_size","l2_blocks_cache_size","l1_rpc_timeout","loop_retry_delay","log-kernel-debug","no-degraded","gc-parameters","cors","bail-on-disagree"]}}}},"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}/dal/processed_slots":{"get":{"description":"Data availability processed slots and their statuses","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"status":{"type":"string","enum":["unconfirmed","confirmed"]}},"required":["index","status"]}}}}},"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}/dal/slot_headers":{"get":{"description":"Availability slots for a given 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":"array","items":{"type":"object","properties":{"version":{"type":"string","enum":["0"]},"level":{"type":"integer","minimum":0,"maximum":2147483647},"index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"}},"required":["version","level","index","commitment"]}}}}},"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.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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":0,"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/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"]}},"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/executable":{"get":{"description":"Pending outbox messages which can be executed","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","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":{"021-PsQuebec.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"}]},"021-PsQuebec.michelson.v1.primitives":{"type":"string","enum":["SHA256","GT","RIGHT","SAPLING_EMPTY_STATE","False","RENAME","CAST","tx_rollup_l2_address","PACK","BYTES","timestamp","bls12_381_g2","Pair","IF_LEFT","contract","mutez","storage","PAIR","view","UNPACK","ADD","DROP","big_map","MUL","NAT","SELF","CONTRACT","CDR","SAPLING_VERIFY_UPDATE","pair","LSL","int","operation","SHA512","CREATE_ACCOUNT","BLAKE2B","SPLIT_TICKET","LEFT","never","unit","address","signature","CHAIN_ID","constant","SLICE","SENDER","IMPLICIT_ACCOUNT","key_hash","AMOUNT","CHECK_SIGNATURE","sapling_state","LT","EXEC","Elt","EMIT","NONE","CREATE_CONTRACT","LSR","SET_DELEGATE","OPEN_CHEST","TRANSFER_TOKENS","Some","parameter","set","bls12_381_fr","EDIV","None","STEPS_TO_QUOTA","key","ABS","list","NEVER","map","CAR","IF","GET_AND_UPDATE","CONCAT","LOOP","DIG","KECCAK","Lambda_rec","SOME","option","SUB","INT","PUSH","CONS","Unit","ISNAT","NEG","XOR","APPLY","UNPAIR","JOIN_TICKETS","SIZE","lambda","AND","NEQ","or","BALANCE","UNIT","VOTING_POWER","OR","LAMBDA","chest","LOOP_LEFT","True","Right","Ticket","HASH_KEY","DUG","sapling_transaction","SUB_MUTEZ","EMPTY_BIG_MAP","MEM","IF_NONE","nat","TOTAL_VOTING_POWER","LE","Left","chest_key","READ_TICKET","ticket","bls12_381_g1","LEVEL","VIEW","string","PAIRING_CHECK","LAMBDA_REC","NOW","SHA3","bool","MIN_BLOCK_TIME","GET","bytes","sapling_transaction_deprecated","NIL","IF_CONS","GE","NOT","SWAP","ITER","ADDRESS","TICKET","DUP","EMPTY_MAP","UPDATE","chain_id","TICKET_DEPRECATED","EMPTY_SET","FAILWITH","MAP","SOURCE","DIP","COMPARE","EQ","SELF_ADDRESS","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.021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/021-PsQuebec.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.021-PsQuebec.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 PsQuebecnLByd3JwTiGadoG4nGWi3HYiLXUjkibeFV8dCFeVMUg","version":"Octez 21.4 (b8278e10)"},"paths":{"/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":"tag","in":"query","description":"A kind of operation for the injector.","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`"}}}}}}},"/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"}]},"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!)","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"]}},"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"},"dac-observer-client":{"$ref":"#/components/schemas/unistring"},"dac-timeout":{"$ref":"#/components/schemas/bignum"},"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_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"},"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"}},"required":["smart-rollup-address","smart-rollup-node-operator","rpc-addr","rpc-port","acl","performance-metrics","reconnection_delay","fee-parameters","mode","loser-mode","unsafe-pvm-patches","execute-outbox-messages-filter","batcher","injector","l1_blocks_cache_size","l2_blocks_cache_size","l1_rpc_timeout","loop_retry_delay","log-kernel-debug","no-degraded","gc-parameters","cors","bail-on-disagree"]}}}},"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}/dal/processed_slots":{"get":{"description":"Data availability processed slots and their statuses","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"status":{"type":"string","enum":["unconfirmed","confirmed"]}},"required":["index","status"]}}}}},"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}/dal/slot_headers":{"get":{"description":"Availability slots for a given 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":"array","items":{"type":"object","properties":{"version":{"type":"string","enum":["0"]},"level":{"type":"integer","minimum":0,"maximum":2147483647},"index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"}},"required":["version","level","index","commitment"]}}}}},"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.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.021-PsQuebec.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/021-PsQuebec.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":0,"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/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"]}},"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/executable":{"get":{"description":"Pending outbox messages which can be executed","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","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":{"021-PsQuebec.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"}]},"021-PsQuebec.michelson.v1.primitives":{"type":"string","enum":["SHA256","GT","RIGHT","SAPLING_EMPTY_STATE","False","RENAME","CAST","tx_rollup_l2_address","PACK","BYTES","timestamp","bls12_381_g2","Pair","IF_LEFT","contract","mutez","storage","PAIR","view","UNPACK","ADD","DROP","big_map","MUL","NAT","SELF","CONTRACT","CDR","SAPLING_VERIFY_UPDATE","pair","LSL","int","operation","SHA512","CREATE_ACCOUNT","BLAKE2B","SPLIT_TICKET","LEFT","never","unit","address","signature","CHAIN_ID","constant","SLICE","SENDER","IMPLICIT_ACCOUNT","key_hash","AMOUNT","CHECK_SIGNATURE","sapling_state","LT","EXEC","Elt","EMIT","NONE","CREATE_CONTRACT","LSR","SET_DELEGATE","OPEN_CHEST","TRANSFER_TOKENS","Some","parameter","set","bls12_381_fr","EDIV","None","STEPS_TO_QUOTA","key","ABS","list","NEVER","map","CAR","IF","GET_AND_UPDATE","CONCAT","LOOP","DIG","KECCAK","Lambda_rec","SOME","option","SUB","INT","PUSH","CONS","Unit","ISNAT","NEG","XOR","APPLY","UNPAIR","JOIN_TICKETS","SIZE","lambda","AND","NEQ","or","BALANCE","UNIT","VOTING_POWER","OR","LAMBDA","chest","LOOP_LEFT","True","Right","Ticket","HASH_KEY","DUG","sapling_transaction","SUB_MUTEZ","EMPTY_BIG_MAP","MEM","IF_NONE","nat","TOTAL_VOTING_POWER","LE","Left","chest_key","READ_TICKET","ticket","bls12_381_g1","LEVEL","VIEW","string","PAIRING_CHECK","LAMBDA_REC","NOW","SHA3","bool","MIN_BLOCK_TIME","GET","bytes","sapling_transaction_deprecated","NIL","IF_CONS","GE","NOT","SWAP","ITER","ADDRESS","TICKET","DUP","EMPTY_MAP","UPDATE","chain_id","TICKET_DEPRECATED","EMPTY_SET","FAILWITH","MAP","SOURCE","DIP","COMPARE","EQ","SELF_ADDRESS","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.021-PsQuebec.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.021-PsQuebec.michelson_v1.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/021-PsQuebec.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.021-PsQuebec.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/rpc-openapi.json b/docs/api/rpc-openapi.json index 6f040c6f0c1b..59536dc1130c 100644 --- a/docs/api/rpc-openapi.json +++ b/docs/api/rpc-openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Octez RPC", "description": "The RPC API served by the Octez node.", - "version": "Octez 21.3 (73082775)" + "version": "Octez 21.4 (b8278e10)" }, "paths": { "/chains/{chain_id}": { @@ -122,7 +122,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -165,7 +165,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -224,7 +224,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -289,7 +289,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -335,7 +335,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -385,7 +385,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -437,7 +437,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -489,7 +489,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -541,7 +541,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1277,7 +1277,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1317,7 +1317,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1383,7 +1383,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1424,7 +1424,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1468,7 +1468,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1514,7 +1514,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1539,7 +1539,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1575,7 +1575,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1610,7 +1610,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1697,7 +1697,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1758,7 +1758,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1840,7 +1840,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1915,7 +1915,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -1997,7 +1997,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2036,7 +2036,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2145,7 +2145,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2177,7 +2177,53 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" + } + } + } + } + } + } + }, + "/monitor/received_blocks/{chain_id}": { + "get": { + "description": "Monitor all newly received blocks that are not yet known by the store.", + "parameters": [ + { + "name": "chain_id", + "in": "path", + "description": "A chain identifier. This is either a chain hash in Base58Check notation or a one the predefined aliases: 'main', 'test'.", + "required": true, + "schema": { + "type": "string" + } + } + ], + "responses": { + "200": { + "description": "", + "content": { + "application/json": { + "schema": { + "type": "object", + "properties": { + "hash": { + "$ref": "#/components/schemas/block_hash" + } + }, + "required": [ + "hash" + ] + } + } + } + }, + "default": { + "description": "", + "content": { + "application/json": { + "schema": { + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2259,7 +2305,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2351,7 +2397,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2451,7 +2497,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2496,7 +2542,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2524,7 +2570,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2576,7 +2622,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -2606,7 +2652,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -3146,7 +3192,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -4151,7 +4197,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -5144,7 +5190,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6154,7 +6200,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6192,7 +6238,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6241,7 +6287,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6291,7 +6337,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6409,7 +6455,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6465,7 +6511,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6603,7 +6649,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6641,7 +6687,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6690,7 +6736,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6722,7 +6768,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6774,7 +6820,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6804,7 +6850,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6873,7 +6919,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -6913,7 +6959,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -7040,7 +7086,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -7132,7 +7178,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -7284,7 +7330,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -7545,7 +7591,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -7841,7 +7887,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -8087,7 +8133,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -8213,7 +8259,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -8534,7 +8580,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -8829,7 +8875,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -9125,7 +9171,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -9605,7 +9651,7 @@ "content": { "application/json": { "schema": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" } } } @@ -9762,7 +9808,7 @@ ] }, "error": { - "description": "The full list of errors is available with the global RPC `GET errors`" + "description": "An error trace. The full list of errors is available with the global RPC `GET errors`" }, "fitness": { "title": "Block fitness", -- GitLab