diff --git a/docs/CHANGES.rst b/docs/CHANGES.rst index 10389d38f1e64043bbbd1c0b481c08655ecd50a0..723ccb5e9adf39c74f5dcff6ea37655722f02774 100644 --- a/docs/CHANGES.rst +++ b/docs/CHANGES.rst @@ -3,6 +3,13 @@ Changelog ''''''''' +Version 23.1 +============ + +General +------- +- Fixed a potential resource leak ensuring that the child process spawned to execute the uname command is properly waited for. This prevents the creation of zombie processes. (MR :gl:`!19122`) + Version 23.0 ============ diff --git a/docs/api/dal-node-openapi.json b/docs/api/dal-node-openapi.json index bd92decf7c9675d6e5bd9f568d87d94f5e15bf56..61912317ef32b13f0abf152f59250dc930ecc551 100644 --- a/docs/api/dal-node-openapi.json +++ b/docs/api/dal-node-openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Octez DAL Node RPC", "description": "The RPC API for the Octez DAL node.", - "version": "Octez 23.0 ((dc9bed35))" + "version": "Octez 23.1 (9aadd15c)" }, "paths": { "/health": { diff --git a/docs/api/openapi.rst b/docs/api/openapi.rst index 2b4afb89d1960aab01de13ef9bd869de990197e9..f8a62ff00dc091e42cc1e31c81e13fe80d093398 100644 --- a/docs/api/openapi.rst +++ b/docs/api/openapi.rst @@ -44,7 +44,7 @@ Shell RPCs The node provides some RPCs which are independent of the protocol. Their OpenAPI specification can be found at: -- `rpc-openapi <../_static/rpc-openapi.html>`__ (version 23.0) +- `rpc-openapi <../_static/rpc-openapi.html>`__ (version 23.1) - `rpc-openapi-dev <../_static/rpc-openapi-dev.html>`__ (version master) .. TODO tezos/tezos#2170: add/remove section(s) @@ -55,12 +55,12 @@ Rio RPCs The OpenAPI specifications for RPCs which are specific to the Rio (``PsRiotum``) protocol can be found at: -- `rio-openapi <../_static/rio-openapi.html>`__ (version 23.0) +- `rio-openapi <../_static/rio-openapi.html>`__ (version 23.1) The OpenAPI specifications for RPCs which are related to the mempool and specific to the Rio protocol can be found at: -- `rio-mempool-openapi <../_static/rio-mempool-openapi.html>`__ (version 23.0) +- `rio-mempool-openapi <../_static/rio-mempool-openapi.html>`__ (version 23.1) Seoul RPCs ---------- @@ -68,12 +68,12 @@ Seoul RPCs The OpenAPI specifications for RPCs which are specific to the Seoul (``PtSeouLo``) protocol proposal can be found at: -- `seoul-openapi-rc <../_static/seoul-openapi.html>`__ (version 23.0) +- `seoul-openapi-rc <../_static/seoul-openapi.html>`__ (version 23.1) The OpenAPI specifications for RPCs which are related to the mempool and specific to the Seoul protocol proposal can be found at: -- `seoul-mempool-openapi-rc <../_static/seoul-mempool-openapi.html>`__ (version 23.0) +- `seoul-mempool-openapi-rc <../_static/seoul-mempool-openapi.html>`__ (version 23.1) Alpha RPCs ---------- @@ -104,7 +104,7 @@ Rio RPCs The OpenAPI specifications for the RPCs of the smart rollup node for the Rio (``PsRiotum``) protocol can be found at: -- `rio-smart-rollup-node-openapi <../_static/rio-smart-rollup-node-openapi.html>`__ (version 23.0) +- `rio-smart-rollup-node-openapi <../_static/rio-smart-rollup-node-openapi.html>`__ (version 23.1) Seoul RPCs ---------- @@ -112,7 +112,7 @@ Seoul RPCs The OpenAPI specifications for the RPCs of the smart rollup node for the Seoul (``PtSeoul``) protocol proposal can be found at: -- `seoul-smart-rollup-node-openapi <../_static/seoul-smart-rollup-node-openapi.html>`__ (version 23.0) +- `seoul-smart-rollup-node-openapi <../_static/seoul-smart-rollup-node-openapi.html>`__ (version 23.1) Alpha RPCs ---------- @@ -130,7 +130,7 @@ DAL Node The DAL node also provides RPCs. Their OpenAPI specification can be found at: -- `dal-node-openapi <../_static/dal-node-openapi.html>`__ (version 23.0) +- `dal-node-openapi <../_static/dal-node-openapi.html>`__ (version 23.1) - `dal-node-openapi <../_static/dal-node-openapi-dev.html>`__ (version master) .. _openapi_generate: diff --git a/docs/api/rio-mempool-openapi.json b/docs/api/rio-mempool-openapi.json index 7764baab22993ce54b1d6845acdeae3fab92ca3b..e091a55c3dec9d3bbf98479d0ede7357992fa0c3 100644 --- a/docs/api/rio-mempool-openapi.json +++ b/docs/api/rio-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 23.0 ((dc9bed35))" + "version": "Octez 23.1 (9aadd15c)" }, "paths": { "/ban_operation": { diff --git a/docs/api/rio-openapi.json b/docs/api/rio-openapi.json index 993ba58a9f274b9c7fa09f6e1373c5d6cd5cce0f..37b1b11f76c44a99eddcef26c6fb65f011725297 100644 --- a/docs/api/rio-openapi.json +++ b/docs/api/rio-openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Octez Protocol rio RPC", "description": "The RPC API for protocol rio served by the Octez node.", - "version": "Octez 23.0 ((dc9bed35))" + "version": "Octez 23.1 (9aadd15c)" }, "paths": { "/": { diff --git a/docs/api/rio-smart-rollup-node-openapi.json b/docs/api/rio-smart-rollup-node-openapi.json index d986fbb93b7d6911838e8d91e70d7e870abdce14..ee3ff2e5fdbce38e046744ae7222e09634defe9d 100644 --- a/docs/api/rio-smart-rollup-node-openapi.json +++ b/docs/api/rio-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 PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7","version":"Octez 23.0 ((dc9bed35))"},"paths":{"/admin/batcher/queue":{"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/cancel_gc":{"get":{"description":"Cancel any ongoing GC","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues":{"get":{"description":"Get operation queues of injectors","parameters":[{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue":{"type":"array","items":{"oneOf":[{"title":"add_messages","type":"object","properties":{"kind":{"type":"string","enum":["add_messages"]},"message":{"type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","message"]},{"title":"cement","type":"object","properties":{"kind":{"type":"string","enum":["cement"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"publish","type":"object","properties":{"kind":{"type":"string","enum":["publish"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"refute","type":"object","properties":{"kind":{"type":"string","enum":["refute"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"opponent":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"refutation":{"oneOf":[{"title":"Start","type":"object","properties":{"refutation_kind":{"type":"string","enum":["start"]},"player_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"opponent_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["refutation_kind","player_commitment_hash","opponent_commitment_hash"]},{"title":"Move","type":"object","properties":{"refutation_kind":{"type":"string","enum":["move"]},"choice":{"$ref":"#/components/schemas/positive_bignum"},"step":{"oneOf":[{"title":"Dissection","type":"array","items":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"tick":{"$ref":"#/components/schemas/positive_bignum"}},"required":["tick"]}},{"title":"Proof","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}},"required":["refutation_kind","choice","step"]}]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","opponent","refutation"]},{"title":"timeout","type":"object","properties":{"kind":{"type":"string","enum":["timeout"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"stakers":{"type":"object","properties":{"alice":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"bob":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["alice","bob"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","stakers"]},{"title":"recover","type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"staker":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","staker"]},{"title":"execute_outbox_message","type":"object","properties":{"kind":{"type":"string","enum":["execute_outbox_message"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"cemented_commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","cemented_commitment","proof"]},{"title":"publish_dal_commitment","type":"object","properties":{"kind":{"type":"string","enum":["publish_dal_commitment"]},"slot_index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"},"commitment_proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","slot_index","commitment","commitment_proof"]}]}}},"required":["tags","queue"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}},"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues/total":{"get":{"description":"Get total operations queued in injectors","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"injectors":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["tags","queue_size"]}},"total":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["injectors","total"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/config":{"get":{"description":"Returns the rollup node configuration","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"smart-rollup-address":{"description":"Smart rollup address","oneOf":[{"$ref":"#/components/schemas/smart_rollup_address"}]},"etherlink":{"description":"Whether the rollup is an Etherlink rollup. Defaults to identification based on known Etherlink addresses.","type":"boolean"},"boot-sector":{"description":"Boot sector","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart-rollup-node-operator":{"description":"Operators that sign operations of the smart rollup, by purpose","type":"object","properties":{"operating":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"batching":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"cementing":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"recovering":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"executing_outbox":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}}},"rpc-addr":{"description":"RPC address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"rpc-port":{"description":"RPC port","type":"integer","minimum":0,"maximum":65535},"acl":{"description":"Access control list","type":"array","items":{"oneOf":[{"title":"Whitelist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","whitelist"]},{"title":"Blacklist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"blacklist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","blacklist"]}]}},"metrics-addr":{"description":"Metrics address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"performance-metrics":{"type":"boolean"},"reconnection_delay":{"description":"The reconnection (to the tezos node) delay in seconds","type":"number"},"fee-parameters":{"description":"The fee parameters for each purpose used when injecting operations in L1","type":"object","properties":{"publish":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"add_messages":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"cement":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"timeout":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"refute":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"recover":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"execute_outbox_message":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"publish_dal_commitment":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}}}},"mode":{"description":"The mode for this rollup node","oneOf":[{"$ref":"#/components/schemas/sc_rollup_node_mode"}]},"loser-mode":{"description":"If enabled, the rollup node will issue wrong commitments (for test only!)","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"]}},"apply-unsafe-patches":{"description":"Apply the unsafe PVM patches for this rollup (either user provided or hardcoded).","type":"boolean"},"unsafe-pvm-patches":{"description":"Unsafe patches to apply to the PVM. For tests only, don't set this value in production.","type":"array","items":{"oneOf":[{"title":"increase_max_nb_tick","type":"object","properties":{"increase_max_nb_tick":{"$ref":"#/components/schemas/int64"}},"required":["increase_max_nb_tick"]},{"title":"patch_durable_storage","type":"object","properties":{"patch_durable_storage":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}},"required":["patch_durable_storage"]}]}},"execute-outbox-messages-filter":{"description":"A filter to select which outbox messages the rollup will execute automatically (must be in maintenance or operator mode).","type":"array","items":{"type":"object","properties":{"transaction":{"type":"object","properties":{"destination":{"oneOf":[{"title":"any_destination","description":"Accept any destination.","type":"string","enum":["any"]},{"title":"destination_among","description":"Accept destination that matches the given list (in base58-check).","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]},"entrypoint":{"oneOf":[{"title":"any_entrypoint","description":"Accept any entrypoint.","type":"string","enum":["any"]},{"title":"entrypoint_among","description":"Accept entrypoint of the given list.","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]}},"required":["destination","entrypoint"]}},"required":["transaction"]}},"DAL node endpoint":{"$ref":"#/components/schemas/unistring"},"pre-images-endpoint":{"$ref":"#/components/schemas/unistring"},"batcher":{"type":"object","properties":{"min_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"min_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"injector":{"type":"object","properties":{"retention_period":{"type":"integer","minimum":0,"maximum":65535},"attempts":{"type":"integer","minimum":0,"maximum":65535},"injection_ttl":{"type":"integer","minimum":0,"maximum":65535}}},"l1_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l2_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"prefetch_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l1_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"},"unsafe-disable-wasm-kernel-checks":{"type":"boolean"},"no-degraded":{"type":"boolean"},"gc-parameters":{"type":"object","properties":{"frequency":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"context_splitting_period":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"history-mode":{"type":"string","enum":["full","archive"]},"cors":{"type":"object","properties":{"allowed_headers":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}},"allowed_origins":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["allowed_headers","allowed_origins"]},"bail-on-disagree":{"type":"boolean"},"opentelemetry":{"description":"Enable or disable opentelemetry profiling","nullable":true,"oneOf":[{"title":"detailed_opentelemetry_config","type":"object","properties":{"enable":{"description":"Enable opentelemetry profiling","type":"boolean"},"instance_id":{"description":"Instance id to identify the node in Opentelemetry traces. Takes precedence over /telemetry_id.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"debug":{"description":"Enable debug mode","type":"boolean"},"url_traces":{"description":"URL to send traces","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"headers":{"description":"API headers sent to the endpoint","type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"}]}}},"batch_traces":{"description":"Batch traces","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-1073741824,"maximum":1073741823}]},"batch_timeout_ms":{"description":"Milliseconds after which we emit a batch, even incomplete","type":"integer","minimum":-1073741824,"maximum":1073741823}}},{"title":"opentelemetry_boolean","type":"boolean"}]}},"required":["smart-rollup-address","smart-rollup-node-operator","rpc-addr","rpc-port","acl","performance-metrics","reconnection_delay","fee-parameters","mode","loser-mode","apply-unsafe-patches","unsafe-pvm-patches","execute-outbox-messages-filter","batcher","injector","l1_blocks_cache_size","l2_blocks_cache_size","l1_rpc_timeout","loop_retry_delay","log-kernel-debug","unsafe-disable-wasm-kernel-checks","no-degraded","gc-parameters","cors","bail-on-disagree","opentelemetry"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/describe":{"get":{"description":"RPCs documentation and input/output schema","parameters":[{"name":"recurse","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/service_tree"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}":{"get":{"description":"Layer-2 block of the layer-2 chain with respect to a Layer 1 block identifier","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"inbox":{"description":"Inbox for this block.","type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]},"messages":{"description":"Messages added to the inbox in this block.","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"commitment":{"description":"Commitment, if any is computed for this block.","type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"outbox":{"description":"Outbox messages produced by PVM execution of inbox","type":"array","items":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["message_index","whitelist_update"]},{"title":"transactions","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["message_index","transactions"]}]}},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","inbox","messages","initial_tick","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/committed_status":{"get":{"description":"Commitment status of the rollup state which will include content of this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"uncommitted","description":"L2 Block content is not yet committed on L1","type":"object","properties":{"uncommitted":{"type":"object","properties":{"commitment_level":{"description":"Level at which the following commitment will be produced.","type":"integer","minimum":-2147483648,"maximum":2147483647},"estimated_commitment_time":{"description":"Estimated time at which the commitment will be published.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_level","estimated_commitment_time","estimated_cementation_time"]}},"required":["uncommitted"]},{"title":"committed","description":"L2 Block content is already committed on L1 but not yet cemented","type":"object","properties":{"committed":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_hash","commitment_level","first_published_level","published_level","estimated_cementation_time"]}},"required":["committed"]},{"title":"cemented","description":"L2 Block content is already cemented","type":"object","properties":{"cemented":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"blocks_since_cemented":{"description":"Number of blocks since commitment was cemented.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment_hash","commitment_level","first_published_level","published_level","blocks_since_cemented"]}},"required":["cemented"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/length":{"get":{"description":"Retrieve number of bytes in raw representation of value by key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/int64"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/subkeys":{"get":{"description":"Retrieve subkeys of the specified key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/value":{"get":{"description":"Retrieve value by key from PVM durable storage. PVM state is taken with respect to the specified block level. Value returned in hex format.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/values":{"get":{"description":"Retrieve values directly under a given key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/hash":{"get":{"description":"Tezos block hash of block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A block identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/helpers/proofs/outbox/{level}/messages":{"get":{"description":"Generate serialized output proof for some outbox message at level and index","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"level","in":"path","required":true,"schema":{"type":"string"}},{"name":"index","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["commitment","proof"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/inbox":{"get":{"description":"Rollup inbox for block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/level":{"get":{"description":"Level of Tezos block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"integer","minimum":-2147483648,"maximum":2147483647}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/num_messages":{"get":{"description":"Number of messages for specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/outbox":{"get":{"description":"Outbox at block for a given outbox level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}},"inbox_level":{"description":"Level of the inbox that would contain these messages","type":"integer","minimum":-2147483648,"maximum":2147483647},"num_ticks":{"description":"Ticks taken by the PVM for evaluating the messages","oneOf":[{"$ref":"#/components/schemas/bignum"}]},"insights":{"description":"PVM state values requested after the simulation","type":"array","items":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}},"required":["state_hash","status","output","inbox_level","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state":{"get":{"description":"Retrieve value from key is PVM state of specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_current_level":{"get":{"description":"Retrieve the current level of a PVM","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_hash":{"get":{"description":"State hash for this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"The hash of the VM state of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/status":{"get":{"description":"PVM status at block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/ticks":{"get":{"description":"Number of ticks for specified level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/total_ticks":{"get":{"description":"Total number of ticks at specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/last_stored_commitment":{"get":{"description":"Last commitment computed by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/monitor_blocks":{"get":{"description":"Monitor and streaming the L2 blocks","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","initial_tick","num_ticks"],"additionalProperties":{}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/smart_rollup_address":{"get":{"description":"Smart rollup address","responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A smart rollup address (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_head":{"get":{"description":"Tezos head known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/block_hash"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_level":{"get":{"description":"Tezos level known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/health":{"get":{"description":"Returns health status information for the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"healthy":{"type":"boolean"},"degraded":{"type":"boolean"},"l1":{"type":"object","properties":{"connection":{"type":"string","enum":["connected","reconnecting","disconnected"]},"blocks_late":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"last_seen_head":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"timestamp":{"$ref":"#/components/schemas/timestamp.protocol"}},"required":["hash","level","timestamp"]}},"required":["connection","blocks_late"]},"active_workers":{"type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"},{"oneOf":[{"title":"running","type":"string","enum":["running"]},{"title":"crashed","type":"object","properties":{"crashed":{"$ref":"#/components/schemas/exception"}},"required":["crashed"]}]}]}}}},"required":["healthy","degraded","l1","active_workers"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/injection":{"post":{"description":"Inject messages in the batcher's queue","parameters":[{"name":"order","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_duplicate","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/sc_l2_message"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"description":"Ids of injected L2 messages","type":"array","items":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue":{"get":{"description":"List messages present in the batcher's queue","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"order":{"$ref":"#/components/schemas/positive_bignum"},"id":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"},"message":{"type":"object","properties":{"content":{"$ref":"#/components/schemas/sc_l2_message"},"counter":{"$ref":"#/components/schemas/positive_bignum"}},"required":["content","counter"]},"traceparent":{"$ref":"#/components/schemas/unistring"}},"required":["id","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue/{l2_message_id}":{"get":{"description":"Retrieve an L2 message and its status","parameters":[{"name":"l2_message_id","in":"path","description":"A L2 message id.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/commitments/{commitment_hash}":{"get":{"description":"Commitment computed and published by the node","parameters":[{"name":"commitment_hash","in":"path","description":"A commitment hash.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/batcher/injection":{"post":{"description":"Inject the given messages in the DAL queue, even in case of duplicates","requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injected/operations/statuses":{"get":{"description":"Retrieve the statuses of all known operations injected via DAL.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/injector_operation_hash"},"status":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}},"required":["id","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injection/{injector_operation_hash}/forget":{"post":{"description":"Forget information about the injection whose id is given","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/slot/indices":{"post":{"description":"Provide the (new) list of slot indices to use to the rollup node's DAL injector","requestBody":{"content":{"application/json":{"schema":{"description":"Slot indices to set","type":"object","properties":{"indices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["indices"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/gc_info":{"get":{"description":"Information about garbage collection","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"first_available_level":{"description":"First level where data is guaranteed to be available in the rollup node.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_gc_level":{"description":"The level at which the last GC was triggered.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_context_split_level":{"description":"The level at which the context was split for the last time. Commits before this level are in other chunks.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_successful_gc_target":{"description":"The level which was the target of the last successful GC.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["first_available_level"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/injector/operation/{injector_operation_hash}/status":{"get":{"description":"Retrieve the status of the injected operation using its injector ID.","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/last_published_commitment":{"get":{"description":"Last commitment published by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending":{"get":{"description":"Pending outbox messages with their status (executable, pending, or lost)","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}},"status":{"type":"string","enum":["pending","executable","lost"]}},"required":["outbox_level","messages","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/executable":{"get":{"description":"Pending outbox messages which can be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/unexecutable":{"get":{"description":"Pending outbox messages which cannot yet be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/synchronized":{"get":{"description":"Wait for the node to have synchronized its L2 chain with the L1 chain, streaming its progress.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"synchronized","type":"string","enum":["synchronized"]},{"title":"synchronizing","type":"object","properties":{"synchronizing":{"type":"object","properties":{"processed_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"l1_head_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"percentage_done":{"type":"number"}},"required":["processed_level","l1_head_level","percentage_done"]}},"required":["synchronizing"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/openapi":{"get":{"description":"OpenAPI specification of RPCs for rollup node","parameters":[{"name":"protocol","in":"query","description":"Protocol_hash (Base58Check-encoded)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/ping":{"get":{"description":"Returns an empty response if the rollup node can answer requests","responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/memory":{"get":{"description":"Gets memory usage stats","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"Linux_proc_statm","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"size":{"$ref":"#/components/schemas/int64"},"resident":{"$ref":"#/components/schemas/int64"},"shared":{"$ref":"#/components/schemas/int64"},"text":{"$ref":"#/components/schemas/int64"},"lib":{"$ref":"#/components/schemas/int64"},"data":{"$ref":"#/components/schemas/int64"},"dt":{"$ref":"#/components/schemas/int64"}},"required":["page_size","size","resident","shared","text","lib","data","dt"]},{"title":"Darwin_ps","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"mem":{"type":"number"},"resident":{"$ref":"#/components/schemas/int64"}},"required":["page_size","mem","resident"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/ocaml_gc":{"get":{"description":"Gets stats from the OCaml Garbage Collector","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"minor_words":{"type":"number"},"promoted_words":{"type":"number"},"major_words":{"type":"number"},"minor_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"forced_major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_chunks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"largest_free":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"fragments":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"compactions":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"top_heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"stack_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["minor_words","promoted_words","major_words","minor_collections","major_collections","forced_major_collections","heap_words","heap_chunks","live_words","live_blocks","free_words","free_blocks","largest_free","fragments","compactions","top_heap_words","stack_size"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/version":{"get":{"description":"Returns the version information of the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"$ref":"#/components/schemas/unistring"},"store_version":{"$ref":"#/components/schemas/unistring"},"context_version":{"$ref":"#/components/schemas/unistring"}},"required":["version","store_version","context_version"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}}},"components":{"schemas":{"022-PsRiotum.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"}]},"022-PsRiotum.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.022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/022-PsRiotum.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.022-PsRiotum.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 PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7","version":"Octez 23.1 (9aadd15c)"},"paths":{"/admin/batcher/queue":{"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/cancel_gc":{"get":{"description":"Cancel any ongoing GC","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues":{"get":{"description":"Get operation queues of injectors","parameters":[{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue":{"type":"array","items":{"oneOf":[{"title":"add_messages","type":"object","properties":{"kind":{"type":"string","enum":["add_messages"]},"message":{"type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","message"]},{"title":"cement","type":"object","properties":{"kind":{"type":"string","enum":["cement"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"publish","type":"object","properties":{"kind":{"type":"string","enum":["publish"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"refute","type":"object","properties":{"kind":{"type":"string","enum":["refute"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"opponent":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"refutation":{"oneOf":[{"title":"Start","type":"object","properties":{"refutation_kind":{"type":"string","enum":["start"]},"player_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"opponent_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["refutation_kind","player_commitment_hash","opponent_commitment_hash"]},{"title":"Move","type":"object","properties":{"refutation_kind":{"type":"string","enum":["move"]},"choice":{"$ref":"#/components/schemas/positive_bignum"},"step":{"oneOf":[{"title":"Dissection","type":"array","items":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"tick":{"$ref":"#/components/schemas/positive_bignum"}},"required":["tick"]}},{"title":"Proof","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}},"required":["refutation_kind","choice","step"]}]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","opponent","refutation"]},{"title":"timeout","type":"object","properties":{"kind":{"type":"string","enum":["timeout"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"stakers":{"type":"object","properties":{"alice":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"bob":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["alice","bob"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","stakers"]},{"title":"recover","type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"staker":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","staker"]},{"title":"execute_outbox_message","type":"object","properties":{"kind":{"type":"string","enum":["execute_outbox_message"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"cemented_commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","cemented_commitment","proof"]},{"title":"publish_dal_commitment","type":"object","properties":{"kind":{"type":"string","enum":["publish_dal_commitment"]},"slot_index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"},"commitment_proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","slot_index","commitment","commitment_proof"]}]}}},"required":["tags","queue"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}},"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues/total":{"get":{"description":"Get total operations queued in injectors","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"injectors":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["tags","queue_size"]}},"total":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["injectors","total"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/config":{"get":{"description":"Returns the rollup node configuration","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"smart-rollup-address":{"description":"Smart rollup address","oneOf":[{"$ref":"#/components/schemas/smart_rollup_address"}]},"etherlink":{"description":"Whether the rollup is an Etherlink rollup. Defaults to identification based on known Etherlink addresses.","type":"boolean"},"boot-sector":{"description":"Boot sector","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart-rollup-node-operator":{"description":"Operators that sign operations of the smart rollup, by purpose","type":"object","properties":{"operating":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"batching":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"cementing":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"recovering":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"executing_outbox":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}}},"rpc-addr":{"description":"RPC address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"rpc-port":{"description":"RPC port","type":"integer","minimum":0,"maximum":65535},"acl":{"description":"Access control list","type":"array","items":{"oneOf":[{"title":"Whitelist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","whitelist"]},{"title":"Blacklist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"blacklist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","blacklist"]}]}},"metrics-addr":{"description":"Metrics address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"performance-metrics":{"type":"boolean"},"reconnection_delay":{"description":"The reconnection (to the tezos node) delay in seconds","type":"number"},"fee-parameters":{"description":"The fee parameters for each purpose used when injecting operations in L1","type":"object","properties":{"publish":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"add_messages":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"cement":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"timeout":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"refute":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"recover":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"execute_outbox_message":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"publish_dal_commitment":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}}}},"mode":{"description":"The mode for this rollup node","oneOf":[{"$ref":"#/components/schemas/sc_rollup_node_mode"}]},"loser-mode":{"description":"If enabled, the rollup node will issue wrong commitments (for test only!)","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"]}},"apply-unsafe-patches":{"description":"Apply the unsafe PVM patches for this rollup (either user provided or hardcoded).","type":"boolean"},"unsafe-pvm-patches":{"description":"Unsafe patches to apply to the PVM. For tests only, don't set this value in production.","type":"array","items":{"oneOf":[{"title":"increase_max_nb_tick","type":"object","properties":{"increase_max_nb_tick":{"$ref":"#/components/schemas/int64"}},"required":["increase_max_nb_tick"]},{"title":"patch_durable_storage","type":"object","properties":{"patch_durable_storage":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}},"required":["patch_durable_storage"]}]}},"execute-outbox-messages-filter":{"description":"A filter to select which outbox messages the rollup will execute automatically (must be in maintenance or operator mode).","type":"array","items":{"type":"object","properties":{"transaction":{"type":"object","properties":{"destination":{"oneOf":[{"title":"any_destination","description":"Accept any destination.","type":"string","enum":["any"]},{"title":"destination_among","description":"Accept destination that matches the given list (in base58-check).","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]},"entrypoint":{"oneOf":[{"title":"any_entrypoint","description":"Accept any entrypoint.","type":"string","enum":["any"]},{"title":"entrypoint_among","description":"Accept entrypoint of the given list.","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]}},"required":["destination","entrypoint"]}},"required":["transaction"]}},"DAL node endpoint":{"$ref":"#/components/schemas/unistring"},"pre-images-endpoint":{"$ref":"#/components/schemas/unistring"},"batcher":{"type":"object","properties":{"min_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"min_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"injector":{"type":"object","properties":{"retention_period":{"type":"integer","minimum":0,"maximum":65535},"attempts":{"type":"integer","minimum":0,"maximum":65535},"injection_ttl":{"type":"integer","minimum":0,"maximum":65535}}},"l1_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l2_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"prefetch_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l1_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"},"unsafe-disable-wasm-kernel-checks":{"type":"boolean"},"no-degraded":{"type":"boolean"},"gc-parameters":{"type":"object","properties":{"frequency":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"context_splitting_period":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"history-mode":{"type":"string","enum":["full","archive"]},"cors":{"type":"object","properties":{"allowed_headers":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}},"allowed_origins":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["allowed_headers","allowed_origins"]},"bail-on-disagree":{"type":"boolean"},"opentelemetry":{"description":"Enable or disable opentelemetry profiling","nullable":true,"oneOf":[{"title":"detailed_opentelemetry_config","type":"object","properties":{"enable":{"description":"Enable opentelemetry profiling","type":"boolean"},"instance_id":{"description":"Instance id to identify the node in Opentelemetry traces. Takes precedence over /telemetry_id.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"debug":{"description":"Enable debug mode","type":"boolean"},"url_traces":{"description":"URL to send traces","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"headers":{"description":"API headers sent to the endpoint","type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"}]}}},"batch_traces":{"description":"Batch traces","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-1073741824,"maximum":1073741823}]},"batch_timeout_ms":{"description":"Milliseconds after which we emit a batch, even incomplete","type":"integer","minimum":-1073741824,"maximum":1073741823}}},{"title":"opentelemetry_boolean","type":"boolean"}]}},"required":["smart-rollup-address","smart-rollup-node-operator","rpc-addr","rpc-port","acl","performance-metrics","reconnection_delay","fee-parameters","mode","loser-mode","apply-unsafe-patches","unsafe-pvm-patches","execute-outbox-messages-filter","batcher","injector","l1_blocks_cache_size","l2_blocks_cache_size","l1_rpc_timeout","loop_retry_delay","log-kernel-debug","unsafe-disable-wasm-kernel-checks","no-degraded","gc-parameters","cors","bail-on-disagree","opentelemetry"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/describe":{"get":{"description":"RPCs documentation and input/output schema","parameters":[{"name":"recurse","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/service_tree"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}":{"get":{"description":"Layer-2 block of the layer-2 chain with respect to a Layer 1 block identifier","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"inbox":{"description":"Inbox for this block.","type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]},"messages":{"description":"Messages added to the inbox in this block.","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"commitment":{"description":"Commitment, if any is computed for this block.","type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"outbox":{"description":"Outbox messages produced by PVM execution of inbox","type":"array","items":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["message_index","whitelist_update"]},{"title":"transactions","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["message_index","transactions"]}]}},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","inbox","messages","initial_tick","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/committed_status":{"get":{"description":"Commitment status of the rollup state which will include content of this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"uncommitted","description":"L2 Block content is not yet committed on L1","type":"object","properties":{"uncommitted":{"type":"object","properties":{"commitment_level":{"description":"Level at which the following commitment will be produced.","type":"integer","minimum":-2147483648,"maximum":2147483647},"estimated_commitment_time":{"description":"Estimated time at which the commitment will be published.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_level","estimated_commitment_time","estimated_cementation_time"]}},"required":["uncommitted"]},{"title":"committed","description":"L2 Block content is already committed on L1 but not yet cemented","type":"object","properties":{"committed":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_hash","commitment_level","first_published_level","published_level","estimated_cementation_time"]}},"required":["committed"]},{"title":"cemented","description":"L2 Block content is already cemented","type":"object","properties":{"cemented":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"blocks_since_cemented":{"description":"Number of blocks since commitment was cemented.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment_hash","commitment_level","first_published_level","published_level","blocks_since_cemented"]}},"required":["cemented"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/length":{"get":{"description":"Retrieve number of bytes in raw representation of value by key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/int64"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/subkeys":{"get":{"description":"Retrieve subkeys of the specified key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/value":{"get":{"description":"Retrieve value by key from PVM durable storage. PVM state is taken with respect to the specified block level. Value returned in hex format.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/values":{"get":{"description":"Retrieve values directly under a given key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/hash":{"get":{"description":"Tezos block hash of block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A block identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/helpers/proofs/outbox/{level}/messages":{"get":{"description":"Generate serialized output proof for some outbox message at level and index","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"level","in":"path","required":true,"schema":{"type":"string"}},{"name":"index","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["commitment","proof"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/inbox":{"get":{"description":"Rollup inbox for block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/level":{"get":{"description":"Level of Tezos block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"integer","minimum":-2147483648,"maximum":2147483647}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/num_messages":{"get":{"description":"Number of messages for specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/outbox":{"get":{"description":"Outbox at block for a given outbox level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.022-PsRiotum.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/022-PsRiotum.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}},"inbox_level":{"description":"Level of the inbox that would contain these messages","type":"integer","minimum":-2147483648,"maximum":2147483647},"num_ticks":{"description":"Ticks taken by the PVM for evaluating the messages","oneOf":[{"$ref":"#/components/schemas/bignum"}]},"insights":{"description":"PVM state values requested after the simulation","type":"array","items":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}},"required":["state_hash","status","output","inbox_level","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state":{"get":{"description":"Retrieve value from key is PVM state of specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_current_level":{"get":{"description":"Retrieve the current level of a PVM","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_hash":{"get":{"description":"State hash for this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"The hash of the VM state of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/status":{"get":{"description":"PVM status at block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/ticks":{"get":{"description":"Number of ticks for specified level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/total_ticks":{"get":{"description":"Total number of ticks at specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/last_stored_commitment":{"get":{"description":"Last commitment computed by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/monitor_blocks":{"get":{"description":"Monitor and streaming the L2 blocks","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","initial_tick","num_ticks"],"additionalProperties":{}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/smart_rollup_address":{"get":{"description":"Smart rollup address","responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A smart rollup address (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_head":{"get":{"description":"Tezos head known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/block_hash"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_level":{"get":{"description":"Tezos level known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/health":{"get":{"description":"Returns health status information for the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"healthy":{"type":"boolean"},"degraded":{"type":"boolean"},"l1":{"type":"object","properties":{"connection":{"type":"string","enum":["connected","reconnecting","disconnected"]},"blocks_late":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"last_seen_head":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"timestamp":{"$ref":"#/components/schemas/timestamp.protocol"}},"required":["hash","level","timestamp"]}},"required":["connection","blocks_late"]},"active_workers":{"type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"},{"oneOf":[{"title":"running","type":"string","enum":["running"]},{"title":"crashed","type":"object","properties":{"crashed":{"$ref":"#/components/schemas/exception"}},"required":["crashed"]}]}]}}}},"required":["healthy","degraded","l1","active_workers"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/injection":{"post":{"description":"Inject messages in the batcher's queue","parameters":[{"name":"order","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_duplicate","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/sc_l2_message"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"description":"Ids of injected L2 messages","type":"array","items":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue":{"get":{"description":"List messages present in the batcher's queue","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"order":{"$ref":"#/components/schemas/positive_bignum"},"id":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"},"message":{"type":"object","properties":{"content":{"$ref":"#/components/schemas/sc_l2_message"},"counter":{"$ref":"#/components/schemas/positive_bignum"}},"required":["content","counter"]},"traceparent":{"$ref":"#/components/schemas/unistring"}},"required":["id","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue/{l2_message_id}":{"get":{"description":"Retrieve an L2 message and its status","parameters":[{"name":"l2_message_id","in":"path","description":"A L2 message id.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/commitments/{commitment_hash}":{"get":{"description":"Commitment computed and published by the node","parameters":[{"name":"commitment_hash","in":"path","description":"A commitment hash.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/batcher/injection":{"post":{"description":"Inject the given messages in the DAL queue, even in case of duplicates","requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injected/operations/statuses":{"get":{"description":"Retrieve the statuses of all known operations injected via DAL.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/injector_operation_hash"},"status":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}},"required":["id","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injection/{injector_operation_hash}/forget":{"post":{"description":"Forget information about the injection whose id is given","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/slot/indices":{"post":{"description":"Provide the (new) list of slot indices to use to the rollup node's DAL injector","requestBody":{"content":{"application/json":{"schema":{"description":"Slot indices to set","type":"object","properties":{"indices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["indices"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/gc_info":{"get":{"description":"Information about garbage collection","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"first_available_level":{"description":"First level where data is guaranteed to be available in the rollup node.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_gc_level":{"description":"The level at which the last GC was triggered.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_context_split_level":{"description":"The level at which the context was split for the last time. Commits before this level are in other chunks.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_successful_gc_target":{"description":"The level which was the target of the last successful GC.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["first_available_level"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/injector/operation/{injector_operation_hash}/status":{"get":{"description":"Retrieve the status of the injected operation using its injector ID.","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/last_published_commitment":{"get":{"description":"Last commitment published by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending":{"get":{"description":"Pending outbox messages with their status (executable, pending, or lost)","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}},"status":{"type":"string","enum":["pending","executable","lost"]}},"required":["outbox_level","messages","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/executable":{"get":{"description":"Pending outbox messages which can be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/unexecutable":{"get":{"description":"Pending outbox messages which cannot yet be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/synchronized":{"get":{"description":"Wait for the node to have synchronized its L2 chain with the L1 chain, streaming its progress.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"synchronized","type":"string","enum":["synchronized"]},{"title":"synchronizing","type":"object","properties":{"synchronizing":{"type":"object","properties":{"processed_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"l1_head_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"percentage_done":{"type":"number"}},"required":["processed_level","l1_head_level","percentage_done"]}},"required":["synchronizing"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/openapi":{"get":{"description":"OpenAPI specification of RPCs for rollup node","parameters":[{"name":"protocol","in":"query","description":"Protocol_hash (Base58Check-encoded)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/ping":{"get":{"description":"Returns an empty response if the rollup node can answer requests","responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/memory":{"get":{"description":"Gets memory usage stats","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"Linux_proc_statm","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"size":{"$ref":"#/components/schemas/int64"},"resident":{"$ref":"#/components/schemas/int64"},"shared":{"$ref":"#/components/schemas/int64"},"text":{"$ref":"#/components/schemas/int64"},"lib":{"$ref":"#/components/schemas/int64"},"data":{"$ref":"#/components/schemas/int64"},"dt":{"$ref":"#/components/schemas/int64"}},"required":["page_size","size","resident","shared","text","lib","data","dt"]},{"title":"Darwin_ps","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"mem":{"type":"number"},"resident":{"$ref":"#/components/schemas/int64"}},"required":["page_size","mem","resident"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/ocaml_gc":{"get":{"description":"Gets stats from the OCaml Garbage Collector","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"minor_words":{"type":"number"},"promoted_words":{"type":"number"},"major_words":{"type":"number"},"minor_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"forced_major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_chunks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"largest_free":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"fragments":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"compactions":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"top_heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"stack_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["minor_words","promoted_words","major_words","minor_collections","major_collections","forced_major_collections","heap_words","heap_chunks","live_words","live_blocks","free_words","free_blocks","largest_free","fragments","compactions","top_heap_words","stack_size"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/version":{"get":{"description":"Returns the version information of the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"$ref":"#/components/schemas/unistring"},"store_version":{"$ref":"#/components/schemas/unistring"},"context_version":{"$ref":"#/components/schemas/unistring"}},"required":["version","store_version","context_version"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}}},"components":{"schemas":{"022-PsRiotum.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"}]},"022-PsRiotum.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.022-PsRiotum.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.022-PsRiotum.michelson_v1.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/022-PsRiotum.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.022-PsRiotum.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 e07c5e1c25b55915370dab95cedb8cc88a3f2ded..cadea8b22d0a2df52cba15c07d5284658f555d7d 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 23.0 ((dc9bed35))" + "version": "Octez 23.1 (9aadd15c)" }, "paths": { "/bls/aggregate_proofs": { diff --git a/docs/api/seoul-mempool-openapi.json b/docs/api/seoul-mempool-openapi.json index e15d2030a2fecabfb6dc20e4e1eb4f6198f8e7dd..7f48eeaed9537b8b535f2eeddb09a411cb8f0e29 100644 --- a/docs/api/seoul-mempool-openapi.json +++ b/docs/api/seoul-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 23.0 ((dc9bed35))" + "version": "Octez 23.1 (9aadd15c)" }, "paths": { "/ban_operation": { diff --git a/docs/api/seoul-openapi.json b/docs/api/seoul-openapi.json index 8d53a01eb35853e7ea5cbea6fa0b8088183fdfdf..b4250201a52afa7ea2ddb6d1921a91048650ba04 100644 --- a/docs/api/seoul-openapi.json +++ b/docs/api/seoul-openapi.json @@ -3,7 +3,7 @@ "info": { "title": "Octez Protocol seoul RPC", "description": "The RPC API for protocol seoul served by the Octez node.", - "version": "Octez 23.0 ((dc9bed35))" + "version": "Octez 23.1 (9aadd15c)" }, "paths": { "/": { diff --git a/docs/api/seoul-smart-rollup-node-openapi.json b/docs/api/seoul-smart-rollup-node-openapi.json index 1cc5182e72506fe9555a01ea9113f3fe54333319..4574f53618ea053ad78711aa5a19c07392226b8c 100644 --- a/docs/api/seoul-smart-rollup-node-openapi.json +++ b/docs/api/seoul-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 PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh","version":"Octez 23.0 ((dc9bed35))"},"paths":{"/admin/batcher/queue":{"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/cancel_gc":{"get":{"description":"Cancel any ongoing GC","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues":{"get":{"description":"Get operation queues of injectors","parameters":[{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue":{"type":"array","items":{"oneOf":[{"title":"add_messages","type":"object","properties":{"kind":{"type":"string","enum":["add_messages"]},"message":{"type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","message"]},{"title":"cement","type":"object","properties":{"kind":{"type":"string","enum":["cement"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"publish","type":"object","properties":{"kind":{"type":"string","enum":["publish"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"refute","type":"object","properties":{"kind":{"type":"string","enum":["refute"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"opponent":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"refutation":{"oneOf":[{"title":"Start","type":"object","properties":{"refutation_kind":{"type":"string","enum":["start"]},"player_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"opponent_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["refutation_kind","player_commitment_hash","opponent_commitment_hash"]},{"title":"Move","type":"object","properties":{"refutation_kind":{"type":"string","enum":["move"]},"choice":{"$ref":"#/components/schemas/positive_bignum"},"step":{"oneOf":[{"title":"Dissection","type":"array","items":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"tick":{"$ref":"#/components/schemas/positive_bignum"}},"required":["tick"]}},{"title":"Proof","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}},"required":["refutation_kind","choice","step"]}]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","opponent","refutation"]},{"title":"timeout","type":"object","properties":{"kind":{"type":"string","enum":["timeout"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"stakers":{"type":"object","properties":{"alice":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"bob":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["alice","bob"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","stakers"]},{"title":"recover","type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"staker":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","staker"]},{"title":"execute_outbox_message","type":"object","properties":{"kind":{"type":"string","enum":["execute_outbox_message"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"cemented_commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","cemented_commitment","proof"]},{"title":"publish_dal_commitment","type":"object","properties":{"kind":{"type":"string","enum":["publish_dal_commitment"]},"slot_index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"},"commitment_proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","slot_index","commitment","commitment_proof"]}]}}},"required":["tags","queue"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}},"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues/total":{"get":{"description":"Get total operations queued in injectors","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"injectors":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["tags","queue_size"]}},"total":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["injectors","total"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/config":{"get":{"description":"Returns the rollup node configuration","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"smart-rollup-address":{"description":"Smart rollup address","oneOf":[{"$ref":"#/components/schemas/smart_rollup_address"}]},"etherlink":{"description":"Whether the rollup is an Etherlink rollup. Defaults to identification based on known Etherlink addresses.","type":"boolean"},"boot-sector":{"description":"Boot sector","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart-rollup-node-operator":{"description":"Operators that sign operations of the smart rollup, by purpose","type":"object","properties":{"operating":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"batching":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"cementing":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"recovering":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"executing_outbox":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}}},"rpc-addr":{"description":"RPC address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"rpc-port":{"description":"RPC port","type":"integer","minimum":0,"maximum":65535},"acl":{"description":"Access control list","type":"array","items":{"oneOf":[{"title":"Whitelist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","whitelist"]},{"title":"Blacklist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"blacklist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","blacklist"]}]}},"metrics-addr":{"description":"Metrics address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"performance-metrics":{"type":"boolean"},"reconnection_delay":{"description":"The reconnection (to the tezos node) delay in seconds","type":"number"},"fee-parameters":{"description":"The fee parameters for each purpose used when injecting operations in L1","type":"object","properties":{"publish":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"add_messages":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"cement":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"timeout":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"refute":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"recover":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"execute_outbox_message":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"publish_dal_commitment":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}}}},"mode":{"description":"The mode for this rollup node","oneOf":[{"$ref":"#/components/schemas/sc_rollup_node_mode"}]},"loser-mode":{"description":"If enabled, the rollup node will issue wrong commitments (for test only!)","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"]}},"apply-unsafe-patches":{"description":"Apply the unsafe PVM patches for this rollup (either user provided or hardcoded).","type":"boolean"},"unsafe-pvm-patches":{"description":"Unsafe patches to apply to the PVM. For tests only, don't set this value in production.","type":"array","items":{"oneOf":[{"title":"increase_max_nb_tick","type":"object","properties":{"increase_max_nb_tick":{"$ref":"#/components/schemas/int64"}},"required":["increase_max_nb_tick"]},{"title":"patch_durable_storage","type":"object","properties":{"patch_durable_storage":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}},"required":["patch_durable_storage"]}]}},"execute-outbox-messages-filter":{"description":"A filter to select which outbox messages the rollup will execute automatically (must be in maintenance or operator mode).","type":"array","items":{"type":"object","properties":{"transaction":{"type":"object","properties":{"destination":{"oneOf":[{"title":"any_destination","description":"Accept any destination.","type":"string","enum":["any"]},{"title":"destination_among","description":"Accept destination that matches the given list (in base58-check).","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]},"entrypoint":{"oneOf":[{"title":"any_entrypoint","description":"Accept any entrypoint.","type":"string","enum":["any"]},{"title":"entrypoint_among","description":"Accept entrypoint of the given list.","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]}},"required":["destination","entrypoint"]}},"required":["transaction"]}},"DAL node endpoint":{"$ref":"#/components/schemas/unistring"},"pre-images-endpoint":{"$ref":"#/components/schemas/unistring"},"batcher":{"type":"object","properties":{"min_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"min_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"injector":{"type":"object","properties":{"retention_period":{"type":"integer","minimum":0,"maximum":65535},"attempts":{"type":"integer","minimum":0,"maximum":65535},"injection_ttl":{"type":"integer","minimum":0,"maximum":65535}}},"l1_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l2_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"prefetch_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l1_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"},"unsafe-disable-wasm-kernel-checks":{"type":"boolean"},"no-degraded":{"type":"boolean"},"gc-parameters":{"type":"object","properties":{"frequency":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"context_splitting_period":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"history-mode":{"type":"string","enum":["full","archive"]},"cors":{"type":"object","properties":{"allowed_headers":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}},"allowed_origins":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["allowed_headers","allowed_origins"]},"bail-on-disagree":{"type":"boolean"},"opentelemetry":{"description":"Enable or disable opentelemetry profiling","nullable":true,"oneOf":[{"title":"detailed_opentelemetry_config","type":"object","properties":{"enable":{"description":"Enable opentelemetry profiling","type":"boolean"},"instance_id":{"description":"Instance id to identify the node in Opentelemetry traces. Takes precedence over /telemetry_id.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"debug":{"description":"Enable debug mode","type":"boolean"},"url_traces":{"description":"URL to send traces","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"headers":{"description":"API headers sent to the endpoint","type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"}]}}},"batch_traces":{"description":"Batch traces","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-1073741824,"maximum":1073741823}]},"batch_timeout_ms":{"description":"Milliseconds after which we emit a batch, even incomplete","type":"integer","minimum":-1073741824,"maximum":1073741823}}},{"title":"opentelemetry_boolean","type":"boolean"}]}},"required":["smart-rollup-address","smart-rollup-node-operator","rpc-addr","rpc-port","acl","performance-metrics","reconnection_delay","fee-parameters","mode","loser-mode","apply-unsafe-patches","unsafe-pvm-patches","execute-outbox-messages-filter","batcher","injector","l1_blocks_cache_size","l2_blocks_cache_size","l1_rpc_timeout","loop_retry_delay","log-kernel-debug","unsafe-disable-wasm-kernel-checks","no-degraded","gc-parameters","cors","bail-on-disagree","opentelemetry"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/describe":{"get":{"description":"RPCs documentation and input/output schema","parameters":[{"name":"recurse","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/service_tree"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}":{"get":{"description":"Layer-2 block of the layer-2 chain with respect to a Layer 1 block identifier","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"inbox":{"description":"Inbox for this block.","type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]},"messages":{"description":"Messages added to the inbox in this block.","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"commitment":{"description":"Commitment, if any is computed for this block.","type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"outbox":{"description":"Outbox messages produced by PVM execution of inbox","type":"array","items":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["message_index","whitelist_update"]},{"title":"transactions","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["message_index","transactions"]}]}},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","inbox","messages","initial_tick","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/committed_status":{"get":{"description":"Commitment status of the rollup state which will include content of this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"uncommitted","description":"L2 Block content is not yet committed on L1","type":"object","properties":{"uncommitted":{"type":"object","properties":{"commitment_level":{"description":"Level at which the following commitment will be produced.","type":"integer","minimum":-2147483648,"maximum":2147483647},"estimated_commitment_time":{"description":"Estimated time at which the commitment will be published.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_level","estimated_commitment_time","estimated_cementation_time"]}},"required":["uncommitted"]},{"title":"committed","description":"L2 Block content is already committed on L1 but not yet cemented","type":"object","properties":{"committed":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_hash","commitment_level","first_published_level","published_level","estimated_cementation_time"]}},"required":["committed"]},{"title":"cemented","description":"L2 Block content is already cemented","type":"object","properties":{"cemented":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"blocks_since_cemented":{"description":"Number of blocks since commitment was cemented.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment_hash","commitment_level","first_published_level","published_level","blocks_since_cemented"]}},"required":["cemented"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/length":{"get":{"description":"Retrieve number of bytes in raw representation of value by key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/int64"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/subkeys":{"get":{"description":"Retrieve subkeys of the specified key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/value":{"get":{"description":"Retrieve value by key from PVM durable storage. PVM state is taken with respect to the specified block level. Value returned in hex format.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/values":{"get":{"description":"Retrieve values directly under a given key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/hash":{"get":{"description":"Tezos block hash of block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A block identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/helpers/proofs/outbox/{level}/messages":{"get":{"description":"Generate serialized output proof for some outbox message at level and index","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"level","in":"path","required":true,"schema":{"type":"string"}},{"name":"index","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["commitment","proof"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/inbox":{"get":{"description":"Rollup inbox for block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/level":{"get":{"description":"Level of Tezos block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"integer","minimum":-2147483648,"maximum":2147483647}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/num_messages":{"get":{"description":"Number of messages for specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/outbox":{"get":{"description":"Outbox at block for a given outbox level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/outbox/{level}/messages":{"get":{"description":"Outbox at block for a given outbox level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"level","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/simulate":{"post":{"description":"Simulate messages evaluation by the PVM","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"description":"Serialized messages for simulation.","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"reveal_pages":{"description":"Pages (at most 4kB) to be used for revelation ticks","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"insight_requests":{"description":"Paths in the PVM to inspect after the simulation","type":"array","items":{"oneOf":[{"title":"pvm_state","description":"Path in the PVM state","type":"object","properties":{"kind":{"type":"string","enum":["pvm_state"]},"key":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["kind","key"]},{"title":"durable_storage","description":"Path in the PVM durable storage","type":"object","properties":{"kind":{"type":"string","enum":["durable_storage"]},"key":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["kind","key"]}]}},"log_kernel_debug_file":{"description":"File in which to emit kernel logs. This file will be created in /simulation_kernel_logs/, where is the data directory of the rollup node.","oneOf":[{"$ref":"#/components/schemas/unistring"}]}},"required":["messages"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"state_hash":{"description":"Hash of the state after execution of the PVM on the input messages","oneOf":[{"$ref":"#/components/schemas/smart_rollup_state_hash"}]},"status":{"description":"Status of the PVM after evaluation","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"output":{"description":"Output produced by evaluation of the messages","type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}},"inbox_level":{"description":"Level of the inbox that would contain these messages","type":"integer","minimum":-2147483648,"maximum":2147483647},"num_ticks":{"description":"Ticks taken by the PVM for evaluating the messages","oneOf":[{"$ref":"#/components/schemas/bignum"}]},"insights":{"description":"PVM state values requested after the simulation","type":"array","items":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}},"required":["state_hash","status","output","inbox_level","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state":{"get":{"description":"Retrieve value from key is PVM state of specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_current_level":{"get":{"description":"Retrieve the current level of a PVM","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_hash":{"get":{"description":"State hash for this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"The hash of the VM state of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/status":{"get":{"description":"PVM status at block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/ticks":{"get":{"description":"Number of ticks for specified level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/total_ticks":{"get":{"description":"Total number of ticks at specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/last_stored_commitment":{"get":{"description":"Last commitment computed by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/monitor_blocks":{"get":{"description":"Monitor and streaming the L2 blocks","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","initial_tick","num_ticks"],"additionalProperties":{}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/smart_rollup_address":{"get":{"description":"Smart rollup address","responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A smart rollup address (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_head":{"get":{"description":"Tezos head known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/block_hash"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_level":{"get":{"description":"Tezos level known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/health":{"get":{"description":"Returns health status information for the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"healthy":{"type":"boolean"},"degraded":{"type":"boolean"},"l1":{"type":"object","properties":{"connection":{"type":"string","enum":["connected","reconnecting","disconnected"]},"blocks_late":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"last_seen_head":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"timestamp":{"$ref":"#/components/schemas/timestamp.protocol"}},"required":["hash","level","timestamp"]}},"required":["connection","blocks_late"]},"active_workers":{"type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"},{"oneOf":[{"title":"running","type":"string","enum":["running"]},{"title":"crashed","type":"object","properties":{"crashed":{"$ref":"#/components/schemas/exception"}},"required":["crashed"]}]}]}}}},"required":["healthy","degraded","l1","active_workers"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/injection":{"post":{"description":"Inject messages in the batcher's queue","parameters":[{"name":"order","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_duplicate","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/sc_l2_message"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"description":"Ids of injected L2 messages","type":"array","items":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue":{"get":{"description":"List messages present in the batcher's queue","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"order":{"$ref":"#/components/schemas/positive_bignum"},"id":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"},"message":{"type":"object","properties":{"content":{"$ref":"#/components/schemas/sc_l2_message"},"counter":{"$ref":"#/components/schemas/positive_bignum"}},"required":["content","counter"]},"traceparent":{"$ref":"#/components/schemas/unistring"}},"required":["id","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue/{l2_message_id}":{"get":{"description":"Retrieve an L2 message and its status","parameters":[{"name":"l2_message_id","in":"path","description":"A L2 message id.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/commitments/{commitment_hash}":{"get":{"description":"Commitment computed and published by the node","parameters":[{"name":"commitment_hash","in":"path","description":"A commitment hash.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/batcher/injection":{"post":{"description":"Inject the given messages in the DAL queue, even in case of duplicates","requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injected/operations/statuses":{"get":{"description":"Retrieve the statuses of all known operations injected via DAL.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/injector_operation_hash"},"status":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}},"required":["id","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injection/{injector_operation_hash}/forget":{"post":{"description":"Forget information about the injection whose id is given","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/slot/indices":{"post":{"description":"Provide the (new) list of slot indices to use to the rollup node's DAL injector","requestBody":{"content":{"application/json":{"schema":{"description":"Slot indices to set","type":"object","properties":{"indices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["indices"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/gc_info":{"get":{"description":"Information about garbage collection","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"first_available_level":{"description":"First level where data is guaranteed to be available in the rollup node.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_gc_level":{"description":"The level at which the last GC was triggered.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_context_split_level":{"description":"The level at which the context was split for the last time. Commits before this level are in other chunks.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_successful_gc_target":{"description":"The level which was the target of the last successful GC.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["first_available_level"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/injector/operation/{injector_operation_hash}/status":{"get":{"description":"Retrieve the status of the injected operation using its injector ID.","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/last_published_commitment":{"get":{"description":"Last commitment published by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending":{"get":{"description":"Pending outbox messages with their status (executable, pending, or lost)","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}},"status":{"type":"string","enum":["pending","executable","lost"]}},"required":["outbox_level","messages","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/executable":{"get":{"description":"Pending outbox messages which can be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/unexecutable":{"get":{"description":"Pending outbox messages which cannot yet be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/synchronized":{"get":{"description":"Wait for the node to have synchronized its L2 chain with the L1 chain, streaming its progress.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"synchronized","type":"string","enum":["synchronized"]},{"title":"synchronizing","type":"object","properties":{"synchronizing":{"type":"object","properties":{"processed_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"l1_head_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"percentage_done":{"type":"number"}},"required":["processed_level","l1_head_level","percentage_done"]}},"required":["synchronizing"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/openapi":{"get":{"description":"OpenAPI specification of RPCs for rollup node","parameters":[{"name":"protocol","in":"query","description":"Protocol_hash (Base58Check-encoded)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/ping":{"get":{"description":"Returns an empty response if the rollup node can answer requests","responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/memory":{"get":{"description":"Gets memory usage stats","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"Linux_proc_statm","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"size":{"$ref":"#/components/schemas/int64"},"resident":{"$ref":"#/components/schemas/int64"},"shared":{"$ref":"#/components/schemas/int64"},"text":{"$ref":"#/components/schemas/int64"},"lib":{"$ref":"#/components/schemas/int64"},"data":{"$ref":"#/components/schemas/int64"},"dt":{"$ref":"#/components/schemas/int64"}},"required":["page_size","size","resident","shared","text","lib","data","dt"]},{"title":"Darwin_ps","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"mem":{"type":"number"},"resident":{"$ref":"#/components/schemas/int64"}},"required":["page_size","mem","resident"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/ocaml_gc":{"get":{"description":"Gets stats from the OCaml Garbage Collector","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"minor_words":{"type":"number"},"promoted_words":{"type":"number"},"major_words":{"type":"number"},"minor_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"forced_major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_chunks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"largest_free":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"fragments":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"compactions":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"top_heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"stack_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["minor_words","promoted_words","major_words","minor_collections","major_collections","forced_major_collections","heap_words","heap_chunks","live_words","live_blocks","free_words","free_blocks","largest_free","fragments","compactions","top_heap_words","stack_size"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/version":{"get":{"description":"Returns the version information of the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"$ref":"#/components/schemas/unistring"},"store_version":{"$ref":"#/components/schemas/unistring"},"context_version":{"$ref":"#/components/schemas/unistring"}},"required":["version","store_version","context_version"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}}},"components":{"schemas":{"023-PtSeouLo.contract_id.originated":{"title":"A contract handle -- originated account","description":"A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"023-PtSeouLo.michelson.v1.primitives":{"type":"string","enum":["SHA256","PUSH","GET_AND_UPDATE","RENAME","False","CAST","ISNAT","address","PACK","EMIT","mutez","bls12_381_g1","Pair","IF_CONS","bool","bytes","storage","OR","view","UNPACK","ADD","DIP","map","MEM","BYTES","SENDER","ADDRESS","CDR","SAPLING_EMPTY_STATE","or","LOOP","contract","unit","SHA512","CREATE_ACCOUNT","BLAKE2B","READ_TICKET","LE","chain_id","timestamp","operation","set","CHAIN_ID","chest","SELF_ADDRESS","SOURCE","IMPLICIT_ACCOUNT","key","AMOUNT","CHECK_SIGNATURE","sapling_transaction_deprecated","LSR","EQ","Elt","OPEN_CHEST","NIL","CREATE_CONTRACT","LSL","TRANSFER_TOKENS","JOIN_TICKETS","SWAP","Some","parameter","pair","bls12_381_g2","VIEW","None","SLICE","int","ABS","lambda","DUG","list","CAR","GET","HASH_KEY","CONCAT","LEVEL","SAPLING_VERIFY_UPDATE","TOTAL_VOTING_POWER","Lambda_rec","SIZE","nat","STEPS_TO_QUOTA","IF_NONE","UNPAIR","CONS","Unit","CONTRACT","MUL","UPDATE","EXEC","PAIR","SPLIT_TICKET","RIGHT","key_hash","AND","NEG","option","BALANCE","SET_DELEGATE","NEVER","MIN_BLOCK_TIME","INT","chest_key","ITER","True","Right","Ticket","GT","DIG","tx_rollup_l2_address","SUB","EDIV","MAP","IF_LEFT","big_map","VOTING_POWER","LAMBDA_REC","Left","ticket","TICKET_DEPRECATED","bls12_381_fr","never","DUP","LEFT","constant","signature","SHA3","LAMBDA","NOT","KECCAK","NOW","NAT","GE","string","sapling_transaction","NEQ","IF","FAILWITH","NONE","SUB_MUTEZ","XOR","LOOP_LEFT","PAIRING_CHECK","DROP","EMPTY_BIG_MAP","UNIT","sapling_state","TICKET","EMPTY_MAP","APPLY","LT","SOME","IS_IMPLICIT_ACCOUNT","COMPARE","EMPTY_SET","SELF","code"]},"DAL_commitment":{"title":"Commitment representation for the DAL (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Smart_rollup_context_hash":{"title":"A base58-check encoded hash of a Smart rollup node context (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"error":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"},"exception":{"description":"Exception","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"injector_operation_hash":{"title":"An identifier (hash) for an operation in the injector (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"int64":{"title":"64 bit integers","description":"Decimal representation of 64 bit integers","type":"string"},"layout":{"oneOf":[{"title":"Zero_width","type":"object","properties":{"kind":{"type":"string","enum":["Zero_width"]}},"required":["kind"]},{"title":"Int","type":"object","properties":{"size":{"type":"string","enum":["Int32","Int16","Uint16","Int64","Int8","Uint8"]},"endianness":{"type":"string","enum":["Little","Big"]},"kind":{"type":"string","enum":["Int"]}},"required":["size","kind"]},{"title":"Bool","type":"object","properties":{"kind":{"type":"string","enum":["Bool"]}},"required":["kind"]},{"title":"RangedInt","type":"object","properties":{"min":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"endianness":{"type":"string","enum":["Little","Big"]},"max":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"kind":{"type":"string","enum":["RangedInt"]}},"required":["min","max","kind"]},{"title":"RangedFloat","type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"kind":{"type":"string","enum":["RangedFloat"]}},"required":["min","max","kind"]},{"title":"Float","type":"object","properties":{"kind":{"type":"string","enum":["Float"]}},"required":["kind"]},{"title":"Bytes","type":"object","properties":{"kind":{"type":"string","enum":["Bytes"]}},"required":["kind"]},{"title":"String","type":"object","properties":{"kind":{"type":"string","enum":["String"]}},"required":["kind"]},{"title":"Enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"reference":{"$ref":"#/components/schemas/unistring"},"kind":{"type":"string","enum":["Enum"]}},"required":["size","reference","kind"]},{"title":"Seq","type":"object","properties":{"layout":{"$ref":"#/components/schemas/layout"},"kind":{"type":"string","enum":["Seq"]},"length_limit":{"oneOf":[{"title":"No_limit","type":"object","properties":{"kind":{"type":"string","enum":["no-limit"]}},"required":["kind"]},{"title":"At_most","type":"object","properties":{"kind":{"type":"string","enum":["at-most"]},"at_most":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["kind","at_most"]},{"title":"Exactly","type":"object","properties":{"kind":{"type":"string","enum":["exactly"]},"exactly":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["kind","exactly"]}]}},"required":["layout","kind"]},{"title":"Ref","type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"kind":{"type":"string","enum":["Ref"]}},"required":["name","kind"]},{"title":"Padding","type":"object","properties":{"kind":{"type":"string","enum":["Padding"]}},"required":["kind"]}]},"micheline.023-PtSeouLo.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/023-PtSeouLo.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"micheline.outbox_transaction_parameters.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/unistring"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"micheline.outbox_transaction_parameters_type.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/unistring"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"mutez":{"title":"A millionth of a tez","description":"One million mutez make a tez (1 tez = 1e6 mutez)","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"nanotez":{"title":"A thousandth of a mutez","description":"One thousand nanotez make a mutez (1 tez = 1e9 nanotez)","type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/bignum"}]}},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"sc_l2_message":{"description":"A hex encoded smart rollup message","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"sc_rollup_l2_message_id":{"title":"A smart rollup layer 2 message identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"sc_rollup_node_l1_operation":{"oneOf":[{"title":"add_messages","type":"object","properties":{"kind":{"type":"string","enum":["add_messages"]},"message":{"type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}}},"required":["kind","message"]},{"title":"cement","type":"object","properties":{"kind":{"type":"string","enum":["cement"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["kind","rollup","commitment"]},{"title":"publish","type":"object","properties":{"kind":{"type":"string","enum":["publish"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]}},"required":["kind","rollup","commitment"]},{"title":"refute","type":"object","properties":{"kind":{"type":"string","enum":["refute"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"opponent":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"refutation":{"oneOf":[{"title":"Start","type":"object","properties":{"refutation_kind":{"type":"string","enum":["start"]},"player_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"opponent_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["refutation_kind","player_commitment_hash","opponent_commitment_hash"]},{"title":"Move","type":"object","properties":{"refutation_kind":{"type":"string","enum":["move"]},"choice":{"$ref":"#/components/schemas/positive_bignum"},"step":{"oneOf":[{"title":"Dissection","type":"array","items":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"tick":{"$ref":"#/components/schemas/positive_bignum"}},"required":["tick"]}},{"title":"Proof","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}},"required":["refutation_kind","choice","step"]}]}},"required":["kind","rollup","opponent","refutation"]},{"title":"timeout","type":"object","properties":{"kind":{"type":"string","enum":["timeout"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"stakers":{"type":"object","properties":{"alice":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"bob":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["alice","bob"]}},"required":["kind","rollup","stakers"]},{"title":"recover","type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"staker":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["kind","rollup","staker"]},{"title":"execute_outbox_message","type":"object","properties":{"kind":{"type":"string","enum":["execute_outbox_message"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"cemented_commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["kind","rollup","cemented_commitment","proof"]},{"title":"publish_dal_commitment","type":"object","properties":{"kind":{"type":"string","enum":["publish_dal_commitment"]},"slot_index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"},"commitment_proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["kind","slot_index","commitment","commitment_proof"]}]},"sc_rollup_node_mode":{"oneOf":[{"title":"custom","type":"object","properties":{"custom":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}}},"required":["custom"]},{"title":"observer","type":"string","enum":["observer"]},{"title":"accuser","type":"string","enum":["accuser"]},{"title":"bailout","type":"string","enum":["bailout"]},{"title":"batcher","type":"string","enum":["batcher"]},{"title":"maintenance","type":"string","enum":["maintenance"]},{"title":"operator","type":"string","enum":["operator"]}]},"schema.field":{"oneOf":[{"title":"Named_field","type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"layout":{"$ref":"#/components/schemas/layout"},"data_kind":{"$ref":"#/components/schemas/schema.kind"},"kind":{"type":"string","enum":["named"]}},"required":["name","layout","data_kind","kind"]},{"title":"Anonymous_field","type":"object","properties":{"layout":{"$ref":"#/components/schemas/layout"},"kind":{"type":"string","enum":["anon"]},"data_kind":{"$ref":"#/components/schemas/schema.kind"}},"required":["layout","kind","data_kind"]},{"title":"Dynamic_field","type":"object","properties":{"kind":{"type":"string","enum":["dyn"]},"name":{"$ref":"#/components/schemas/unistring"},"num_fields":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"size":{"type":"string","enum":["N","Uint30","Uint16","Uint8"]}},"required":["kind","num_fields","size"]},{"title":"Optional_field","type":"object","properties":{"kind":{"type":"string","enum":["option_indicator"]},"name":{"$ref":"#/components/schemas/unistring"}},"required":["kind","name"]}]},"schema.kind":{"oneOf":[{"title":"Fixed","type":"object","properties":{"size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"kind":{"type":"string","enum":["Fixed"]}},"required":["size","kind"]},{"title":"Dynamic","type":"object","properties":{"kind":{"type":"string","enum":["Dynamic"]}},"required":["kind"]},{"title":"Variable","type":"object","properties":{"kind":{"type":"string","enum":["Variable"]}},"required":["kind"]}]},"service_tree":{"oneOf":[{"title":"Static","type":"object","properties":{"static":{"type":"object","properties":{"get_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"post_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"delete_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"put_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"patch_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"subdirs":{"oneOf":[{"title":"Suffixes","type":"object","properties":{"suffixes":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"tree":{"$ref":"#/components/schemas/service_tree"}},"required":["name","tree"]}}},"required":["suffixes"]},{"title":"Arg","type":"object","properties":{"dynamic_dispatch":{"type":"object","properties":{"arg":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},"tree":{"$ref":"#/components/schemas/service_tree"}},"required":["arg","tree"]}},"required":["dynamic_dispatch"]}]}}}},"required":["static"]},{"title":"Dynamic","type":"object","properties":{"dynamic":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/unistring"}]}]}},"required":["dynamic"]},{"title":"Empty","type":"string","enum":["empty"]}]},"smart_rollup_address":{"title":"A smart rollup address (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_commitment_hash":{"title":"The hash of a commitment of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_inbox_hash":{"title":"The hash of an inbox of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_merkelized_payload_hashes_hash":{"title":"The hash of the Merkelized payload hashes of a smart rollup inbox (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_state_hash":{"title":"The hash of the VM state of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.rfc":{"title":"RFC 3339 formatted timestamp","description":"A date in RFC 3339 notation.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.system":{"description":"A timestamp as seen by the underlying, local computer: subsecond-level precision, epoch or rfc3339 based.","oneOf":[{"title":"RFC encoding","oneOf":[{"$ref":"#/components/schemas/timestamp.rfc"}]},{"title":"Second since epoch","oneOf":[{"$ref":"#/components/schemas/int64"}]}]},"union case":{"type":"object","properties":{"tag":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}},"name":{"$ref":"#/components/schemas/unistring"}},"required":["tag","fields"]},"unistring":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"]}]}}}} +{"openapi":"3.0.0","info":{"title":"Smart Rollup Node RPCs","description":"Smart Rollup Node RPC API for protocol PtSeouLouXkxhg39oWzjxDWaCydNfR3RxCUrNe4Q9Ro8BTehcbh","version":"Octez 23.1 (9aadd15c)"},"paths":{"/admin/batcher/queue":{"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/cancel_gc":{"get":{"description":"Cancel any ongoing GC","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"boolean"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues":{"get":{"description":"Get operation queues of injectors","parameters":[{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue":{"type":"array","items":{"oneOf":[{"title":"add_messages","type":"object","properties":{"kind":{"type":"string","enum":["add_messages"]},"message":{"type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","message"]},{"title":"cement","type":"object","properties":{"kind":{"type":"string","enum":["cement"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"publish","type":"object","properties":{"kind":{"type":"string","enum":["publish"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","commitment"]},{"title":"refute","type":"object","properties":{"kind":{"type":"string","enum":["refute"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"opponent":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"refutation":{"oneOf":[{"title":"Start","type":"object","properties":{"refutation_kind":{"type":"string","enum":["start"]},"player_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"opponent_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["refutation_kind","player_commitment_hash","opponent_commitment_hash"]},{"title":"Move","type":"object","properties":{"refutation_kind":{"type":"string","enum":["move"]},"choice":{"$ref":"#/components/schemas/positive_bignum"},"step":{"oneOf":[{"title":"Dissection","type":"array","items":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"tick":{"$ref":"#/components/schemas/positive_bignum"}},"required":["tick"]}},{"title":"Proof","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}},"required":["refutation_kind","choice","step"]}]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","opponent","refutation"]},{"title":"timeout","type":"object","properties":{"kind":{"type":"string","enum":["timeout"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"stakers":{"type":"object","properties":{"alice":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"bob":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["alice","bob"]},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","stakers"]},{"title":"recover","type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"staker":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","staker"]},{"title":"execute_outbox_message","type":"object","properties":{"kind":{"type":"string","enum":["execute_outbox_message"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"cemented_commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","rollup","cemented_commitment","proof"]},{"title":"publish_dal_commitment","type":"object","properties":{"kind":{"type":"string","enum":["publish_dal_commitment"]},"slot_index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"},"commitment_proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"errors":{"type":"object","properties":{"count":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"last":{"$ref":"#/components/schemas/error"}},"required":["count"]}},"required":["kind","slot_index","commitment","commitment_proof"]}]}}},"required":["tags","queue"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}},"delete":{"description":"Clear operation queues of injectors","parameters":[{"name":"order_below","in":"query","required":false,"schema":{"type":"string"}},{"name":"tag","in":"query","description":"A kind of operation for the injector.","required":false,"schema":{"type":"string"}},{"name":"drop_no_order","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/admin/injector/queues/total":{"get":{"description":"Get total operations queued in injectors","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"injectors":{"type":"array","items":{"type":"object","properties":{"tags":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}},"queue_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["tags","queue_size"]}},"total":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["injectors","total"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/config":{"get":{"description":"Returns the rollup node configuration","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"smart-rollup-address":{"description":"Smart rollup address","oneOf":[{"$ref":"#/components/schemas/smart_rollup_address"}]},"etherlink":{"description":"Whether the rollup is an Etherlink rollup. Defaults to identification based on known Etherlink addresses.","type":"boolean"},"boot-sector":{"description":"Boot sector","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart-rollup-node-operator":{"description":"Operators that sign operations of the smart rollup, by purpose","type":"object","properties":{"operating":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"batching":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"cementing":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"recovering":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]},"executing_outbox":{"oneOf":[{"title":"Signature.public_key_hash operator","oneOf":[{"$ref":"#/components/schemas/Signature.Public_key_hash"}]},{"title":"multiple operator","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}}},"rpc-addr":{"description":"RPC address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"rpc-port":{"description":"RPC port","type":"integer","minimum":0,"maximum":65535},"acl":{"description":"Access control list","type":"array","items":{"oneOf":[{"title":"Whitelist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","whitelist"]},{"title":"Blacklist","type":"object","properties":{"address":{"$ref":"#/components/schemas/unistring"},"blacklist":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["address","blacklist"]}]}},"metrics-addr":{"description":"Metrics address","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"performance-metrics":{"type":"boolean"},"reconnection_delay":{"description":"The reconnection (to the tezos node) delay in seconds","type":"number"},"fee-parameters":{"description":"The fee parameters for each purpose used when injecting operations in L1","type":"object","properties":{"publish":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"add_messages":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"cement":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"timeout":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"refute":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"recover":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"execute_outbox_message":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}},"publish_dal_commitment":{"type":"object","properties":{"minimal-fees":{"description":"Exclude operations with lower fees","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"minimal-nanotez-per-byte":{"description":"Exclude operations with lower fees per byte","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"minimal-nanotez-per-gas-unit":{"description":"Exclude operations with lower gas fees","oneOf":[{"$ref":"#/components/schemas/nanotez"}]},"force-low-fee":{"description":"Don't check that the fee is lower than the estimated default","type":"boolean"},"fee-cap":{"description":"The fee cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]},"burn-cap":{"description":"The burn cap","oneOf":[{"$ref":"#/components/schemas/mutez"}]}}}}},"mode":{"description":"The mode for this rollup node","oneOf":[{"$ref":"#/components/schemas/sc_rollup_node_mode"}]},"loser-mode":{"description":"If enabled, the rollup node will issue wrong commitments (for test only!)","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"]}},"apply-unsafe-patches":{"description":"Apply the unsafe PVM patches for this rollup (either user provided or hardcoded).","type":"boolean"},"unsafe-pvm-patches":{"description":"Unsafe patches to apply to the PVM. For tests only, don't set this value in production.","type":"array","items":{"oneOf":[{"title":"increase_max_nb_tick","type":"object","properties":{"increase_max_nb_tick":{"$ref":"#/components/schemas/int64"}},"required":["increase_max_nb_tick"]},{"title":"patch_durable_storage","type":"object","properties":{"patch_durable_storage":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}},"required":["patch_durable_storage"]}]}},"execute-outbox-messages-filter":{"description":"A filter to select which outbox messages the rollup will execute automatically (must be in maintenance or operator mode).","type":"array","items":{"type":"object","properties":{"transaction":{"type":"object","properties":{"destination":{"oneOf":[{"title":"any_destination","description":"Accept any destination.","type":"string","enum":["any"]},{"title":"destination_among","description":"Accept destination that matches the given list (in base58-check).","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]},"entrypoint":{"oneOf":[{"title":"any_entrypoint","description":"Accept any entrypoint.","type":"string","enum":["any"]},{"title":"entrypoint_among","description":"Accept entrypoint of the given list.","type":"array","items":{"$ref":"#/components/schemas/unistring"}}]}},"required":["destination","entrypoint"]}},"required":["transaction"]}},"DAL node endpoint":{"$ref":"#/components/schemas/unistring"},"pre-images-endpoint":{"$ref":"#/components/schemas/unistring"},"batcher":{"type":"object","properties":{"min_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"min_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_elements":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"max_batch_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"injector":{"type":"object","properties":{"retention_period":{"type":"integer","minimum":0,"maximum":65535},"attempts":{"type":"integer","minimum":0,"maximum":65535},"injection_ttl":{"type":"integer","minimum":0,"maximum":65535}}},"l1_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l2_blocks_cache_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"prefetch_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"l1_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"},"unsafe-disable-wasm-kernel-checks":{"type":"boolean"},"no-degraded":{"type":"boolean"},"gc-parameters":{"type":"object","properties":{"frequency":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"context_splitting_period":{"type":"integer","minimum":-1073741824,"maximum":1073741823}}},"history-mode":{"type":"string","enum":["full","archive"]},"cors":{"type":"object","properties":{"allowed_headers":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}},"allowed_origins":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["allowed_headers","allowed_origins"]},"bail-on-disagree":{"type":"boolean"},"opentelemetry":{"description":"Enable or disable opentelemetry profiling","nullable":true,"oneOf":[{"title":"detailed_opentelemetry_config","type":"object","properties":{"enable":{"description":"Enable opentelemetry profiling","type":"boolean"},"instance_id":{"description":"Instance id to identify the node in Opentelemetry traces. Takes precedence over /telemetry_id.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"debug":{"description":"Enable debug mode","type":"boolean"},"url_traces":{"description":"URL to send traces","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"headers":{"description":"API headers sent to the endpoint","type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"}]}}},"batch_traces":{"description":"Batch traces","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-1073741824,"maximum":1073741823}]},"batch_timeout_ms":{"description":"Milliseconds after which we emit a batch, even incomplete","type":"integer","minimum":-1073741824,"maximum":1073741823}}},{"title":"opentelemetry_boolean","type":"boolean"}]}},"required":["smart-rollup-address","smart-rollup-node-operator","rpc-addr","rpc-port","acl","performance-metrics","reconnection_delay","fee-parameters","mode","loser-mode","apply-unsafe-patches","unsafe-pvm-patches","execute-outbox-messages-filter","batcher","injector","l1_blocks_cache_size","l2_blocks_cache_size","l1_rpc_timeout","loop_retry_delay","log-kernel-debug","unsafe-disable-wasm-kernel-checks","no-degraded","gc-parameters","cors","bail-on-disagree","opentelemetry"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/describe":{"get":{"description":"RPCs documentation and input/output schema","parameters":[{"name":"recurse","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"$ref":"#/components/schemas/service_tree"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}":{"get":{"description":"Layer-2 block of the layer-2 chain with respect to a Layer 1 block identifier","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"inbox":{"description":"Inbox for this block.","type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]},"messages":{"description":"Messages added to the inbox in this block.","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"commitment":{"description":"Commitment, if any is computed for this block.","type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"outbox":{"description":"Outbox messages produced by PVM execution of inbox","type":"array","items":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["message_index","whitelist_update"]},{"title":"transactions","type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["message_index","transactions"]}]}},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","inbox","messages","initial_tick","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/committed_status":{"get":{"description":"Commitment status of the rollup state which will include content of this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"uncommitted","description":"L2 Block content is not yet committed on L1","type":"object","properties":{"uncommitted":{"type":"object","properties":{"commitment_level":{"description":"Level at which the following commitment will be produced.","type":"integer","minimum":-2147483648,"maximum":2147483647},"estimated_commitment_time":{"description":"Estimated time at which the commitment will be published.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_level","estimated_commitment_time","estimated_cementation_time"]}},"required":["uncommitted"]},{"title":"committed","description":"L2 Block content is already committed on L1 but not yet cemented","type":"object","properties":{"committed":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"estimated_cementation_time":{"description":"Estimated time at which the commitment will be cemented.","oneOf":[{"$ref":"#/components/schemas/timestamp.system"}]}},"required":["commitment_hash","commitment_level","first_published_level","published_level","estimated_cementation_time"]}},"required":["committed"]},{"title":"cemented","description":"L2 Block content is already cemented","type":"object","properties":{"cemented":{"type":"object","properties":{"commitment_hash":{"description":"Hash of following commitment.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"commitment_level":{"description":"Level of following commitment.","type":"integer","minimum":-2147483648,"maximum":2147483647},"first_published_level":{"description":"Level at which commitment was first published.","type":"integer","minimum":-2147483648,"maximum":2147483647},"published_level":{"description":"Level at which commitment was published by operator (may be null if e.g. rollup node does not publish).","nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]},"blocks_since_cemented":{"description":"Number of blocks since commitment was cemented.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment_hash","commitment_level","first_published_level","published_level","blocks_since_cemented"]}},"required":["cemented"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/length":{"get":{"description":"Retrieve number of bytes in raw representation of value by key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/int64"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/subkeys":{"get":{"description":"Retrieve subkeys of the specified key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/value":{"get":{"description":"Retrieve value by key from PVM durable storage. PVM state is taken with respect to the specified block level. Value returned in hex format.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/durable/wasm_2_0_0/values":{"get":{"description":"Retrieve values directly under a given key from PVM durable storage. PVM state is taken with respect to the specified block level.","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"key":{"$ref":"#/components/schemas/unistring"},"value":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["key","value"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/hash":{"get":{"description":"Tezos block hash of block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A block identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/helpers/proofs/outbox/{level}/messages":{"get":{"description":"Generate serialized output proof for some outbox message at level and index","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"level","in":"path","required":true,"schema":{"type":"string"}},{"name":"index","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["commitment","proof"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/inbox":{"get":{"description":"Rollup inbox for block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"old_levels_messages":{"type":"object","properties":{"index":{"$ref":"#/components/schemas/positive_bignum"},"content":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["hash","level"]},"back_pointers":{"type":"array","items":{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}}},"required":["index","content","back_pointers"]}},"required":["level","old_levels_messages"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/level":{"get":{"description":"Level of Tezos block known to the smart rollup node","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"integer","minimum":-2147483648,"maximum":2147483647}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/num_messages":{"get":{"description":"Number of messages for specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/outbox":{"get":{"description":"Outbox at block for a given outbox level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/outbox/{level}/messages":{"get":{"description":"Outbox at block for a given outbox level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"level","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/simulate":{"post":{"description":"Simulate messages evaluation by the PVM","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"type":"object","properties":{"messages":{"description":"Serialized messages for simulation.","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"reveal_pages":{"description":"Pages (at most 4kB) to be used for revelation ticks","type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"insight_requests":{"description":"Paths in the PVM to inspect after the simulation","type":"array","items":{"oneOf":[{"title":"pvm_state","description":"Path in the PVM state","type":"object","properties":{"kind":{"type":"string","enum":["pvm_state"]},"key":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["kind","key"]},{"title":"durable_storage","description":"Path in the PVM durable storage","type":"object","properties":{"kind":{"type":"string","enum":["durable_storage"]},"key":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["kind","key"]}]}},"log_kernel_debug_file":{"description":"File in which to emit kernel logs. This file will be created in /simulation_kernel_logs/, where is the data directory of the rollup node.","oneOf":[{"$ref":"#/components/schemas/unistring"}]}},"required":["messages"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"state_hash":{"description":"Hash of the state after execution of the PVM on the input messages","oneOf":[{"$ref":"#/components/schemas/smart_rollup_state_hash"}]},"status":{"description":"Status of the PVM after evaluation","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"output":{"description":"Output produced by evaluation of the messages","type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":0,"maximum":2147483647},"message_index":{"$ref":"#/components/schemas/positive_bignum"},"message":{"oneOf":[{"title":"Atomic_transaction_batch","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","destination"]}},"kind":{"type":"string","enum":["untyped"]}},"required":["transactions","kind"]},{"title":"Atomic_transaction_batch_typed","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"parameters":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"},"destination":{"$ref":"#/components/schemas/023-PtSeouLo.contract_id.originated"},"entrypoint":{"$ref":"#/components/schemas/unistring"}},"required":["parameters","parameters_ty","destination"]}},"kind":{"type":"string","enum":["typed"]}},"required":["transactions","kind"]},{"title":"Whitelist_update","type":"object","properties":{"whitelist":{"type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"kind":{"type":"string","enum":["whitelist_update"]}},"required":["kind"]}]}},"required":["outbox_level","message_index","message"]}},"inbox_level":{"description":"Level of the inbox that would contain these messages","type":"integer","minimum":-2147483648,"maximum":2147483647},"num_ticks":{"description":"Ticks taken by the PVM for evaluating the messages","oneOf":[{"$ref":"#/components/schemas/bignum"}]},"insights":{"description":"PVM state values requested after the simulation","type":"array","items":{"nullable":true,"oneOf":[{"title":"Some","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}}},"required":["state_hash","status","output","inbox_level","num_ticks"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state":{"get":{"description":"Retrieve value from key is PVM state of specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}},{"name":"key","in":"query","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_current_level":{"get":{"description":"Retrieve the current level of a PVM","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/state_hash":{"get":{"description":"State hash for this block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"The hash of the VM state of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/status":{"get":{"description":"PVM status at block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/ticks":{"get":{"description":"Number of ticks for specified level","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Big number","description":"Decimal representation of a big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/block/{block_id}/total_ticks":{"get":{"description":"Total number of ticks at specified block","parameters":[{"name":"block_id","in":"path","description":"An L1 block identifier.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/last_stored_commitment":{"get":{"description":"Last commitment computed by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/monitor_blocks":{"get":{"description":"Monitor and streaming the L2 blocks","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"block_hash":{"description":"Tezos block hash.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"level":{"description":"Level of the block, corresponds to the level of the tezos block.","type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"description":"Predecessor hash of the Tezos block.","oneOf":[{"$ref":"#/components/schemas/block_hash"}]},"commitment_hash":{"description":"Hash of this block's commitment if any was computed for it.","nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]}]},"previous_commitment_hash":{"description":"Previous commitment hash in the chain. If there is a commitment for this block, this field contains the commitment that was previously computed.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}]},"context":{"description":"Hash of the layer 2 context for this block.","oneOf":[{"$ref":"#/components/schemas/Smart_rollup_context_hash"}]},"inbox_witness":{"description":"Witness for the inbox for this block, i.e. the Merkle hash of payloads of messages.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_merkelized_payload_hashes_hash"}]},"inbox_hash":{"description":"Hash of the inbox for this block.","oneOf":[{"$ref":"#/components/schemas/smart_rollup_inbox_hash"}]},"initial_tick":{"description":"Initial tick of the PVM at this block, i.e. before evaluation of the messages.","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"num_ticks":{"description":"Number of ticks produced by the evaluation of the messages in this block.","oneOf":[{"$ref":"#/components/schemas/int64"}]}},"required":["block_hash","level","predecessor","commitment_hash","previous_commitment_hash","context","inbox_witness","inbox_hash","initial_tick","num_ticks"],"additionalProperties":{}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/smart_rollup_address":{"get":{"description":"Smart rollup address","responses":{"200":{"description":"","content":{"application/json":{"schema":{"title":"A smart rollup address (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_head":{"get":{"description":"Tezos head known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/block_hash"}]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/global/tezos_level":{"get":{"description":"Tezos level known to the smart rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"integer","minimum":-2147483648,"maximum":2147483647}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/health":{"get":{"description":"Returns health status information for the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"healthy":{"type":"boolean"},"degraded":{"type":"boolean"},"l1":{"type":"object","properties":{"connection":{"type":"string","enum":["connected","reconnecting","disconnected"]},"blocks_late":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"last_seen_head":{"type":"object","properties":{"hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"timestamp":{"$ref":"#/components/schemas/timestamp.protocol"}},"required":["hash","level","timestamp"]}},"required":["connection","blocks_late"]},"active_workers":{"type":"array","items":{"type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/unistring"},{"oneOf":[{"title":"running","type":"string","enum":["running"]},{"title":"crashed","type":"object","properties":{"crashed":{"$ref":"#/components/schemas/exception"}},"required":["crashed"]}]}]}}}},"required":["healthy","degraded","l1","active_workers"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/injection":{"post":{"description":"Inject messages in the batcher's queue","parameters":[{"name":"order","in":"query","required":false,"schema":{"type":"string"}},{"name":"drop_duplicate","in":"query","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/sc_l2_message"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{"description":"Ids of injected L2 messages","type":"array","items":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue":{"get":{"description":"List messages present in the batcher's queue","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"order":{"$ref":"#/components/schemas/positive_bignum"},"id":{"$ref":"#/components/schemas/sc_rollup_l2_message_id"},"message":{"type":"object","properties":{"content":{"$ref":"#/components/schemas/sc_l2_message"},"counter":{"$ref":"#/components/schemas/positive_bignum"}},"required":["content","counter"]},"traceparent":{"$ref":"#/components/schemas/unistring"}},"required":["id","message"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/batcher/queue/{l2_message_id}":{"get":{"description":"Retrieve an L2 message and its status","parameters":[{"name":"l2_message_id","in":"path","description":"A L2 message id.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"content":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/commitments/{commitment_hash}":{"get":{"description":"Commitment computed and published by the node","parameters":[{"name":"commitment_hash","in":"path","description":"A commitment hash.","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/batcher/injection":{"post":{"description":"Inject the given messages in the DAL queue, even in case of duplicates","requestBody":{"content":{"application/json":{"schema":{"description":"Messages to inject","type":"array","items":{"$ref":"#/components/schemas/unistring"}}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injected/operations/statuses":{"get":{"description":"Retrieve the statuses of all known operations injected via DAL.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"id":{"$ref":"#/components/schemas/injector_operation_hash"},"status":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}},"required":["id","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/injection/{injector_operation_hash}/forget":{"post":{"description":"Forget information about the injection whose id is given","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"requestBody":{"content":{"application/json":{"schema":{}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/dal/slot/indices":{"post":{"description":"Provide the (new) list of slot indices to use to the rollup node's DAL injector","requestBody":{"content":{"application/json":{"schema":{"description":"Slot indices to set","type":"object","properties":{"indices":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["indices"]}}}},"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/gc_info":{"get":{"description":"Information about garbage collection","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"first_available_level":{"description":"First level where data is guaranteed to be available in the rollup node.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_gc_level":{"description":"The level at which the last GC was triggered.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_context_split_level":{"description":"The level at which the context was split for the last time. Commits before this level are in other chunks.","type":"integer","minimum":-2147483648,"maximum":2147483647},"last_successful_gc_target":{"description":"The level which was the target of the last successful GC.","type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["first_available_level"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/injector/operation/{injector_operation_hash}/status":{"get":{"description":"Retrieve the status of the injected operation using its injector ID.","parameters":[{"name":"injector_operation_hash","in":"path","description":"injector_operation_hash (Base58Check-encoded)","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"unknown","description":"The message is not known by the batcher.","type":"object","properties":{"status":{"type":"string","enum":["unknown"]}},"required":["status"]},{"title":"pending_batch","description":"The message is in the batcher queue.","type":"object","properties":{"status":{"type":"string","enum":["pending_batch"]}},"required":["status"]},{"title":"pending_injection","description":"The message is batched but not injected yet.","type":"object","properties":{"status":{"type":"string","enum":["pending_injection"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"}},"required":["status","operation"]},{"title":"injected","description":"The message is injected as part of an L1 operation but it is not included in a block.","type":"object","properties":{"status":{"type":"string","enum":["injected"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["operation_hash","operation_index"]}},"required":["status","operation","layer1"]},{"title":"included","description":"The message is included in an inbox in an L1 block.","type":"object","properties":{"status":{"type":"string","enum":["included"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"}},"required":["status","operation","layer1","finalized","cemented"]},{"title":"committed","description":"The message is included in a committed inbox on L1.","type":"object","properties":{"status":{"type":"string","enum":["committed"]},"operation":{"$ref":"#/components/schemas/sc_rollup_node_l1_operation"},"layer1":{"type":"object","properties":{"operation_hash":{"$ref":"#/components/schemas/Operation_hash"},"operation_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"block_hash":{"$ref":"#/components/schemas/block_hash"},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["operation_hash","operation_index","block_hash","level"]},"finalized":{"type":"boolean"},"cemented":{"type":"boolean"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["status","operation","layer1","finalized","cemented","commitment","hash","first_published_at_level","published_at_level"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/last_published_commitment":{"get":{"description":"Last commitment published by the node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"nullable":true,"oneOf":[{"title":"Some","type":"object","properties":{"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]},"hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"first_published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"published_at_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["commitment","hash"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending":{"get":{"description":"Pending outbox messages with their status (executable, pending, or lost)","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}},"status":{"type":"string","enum":["pending","executable","lost"]}},"required":["outbox_level","messages","status"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/executable":{"get":{"description":"Pending outbox messages which can be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/outbox/pending/unexecutable":{"get":{"description":"Pending outbox messages which cannot yet be executed","parameters":[{"name":"outbox_level","in":"query","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"array","items":{"type":"object","properties":{"outbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"messages":{"type":"array","items":{"type":"object","properties":{"message_index":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"message":{"oneOf":[{"title":"whitelist_update","type":"object","properties":{"whitelist_update":{"nullable":true,"oneOf":[{"title":"Some","type":"array","items":{"$ref":"#/components/schemas/Signature.Public_key_hash"}}]}},"required":["whitelist_update"]},{"title":"transactions","type":"object","properties":{"transactions":{"type":"array","items":{"type":"object","properties":{"destination":{"$ref":"#/components/schemas/unistring"},"entrypoint":{"$ref":"#/components/schemas/unistring"},"parameters":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"},"parameters_ty":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"required":["destination"]}}},"required":["transactions"]}]}},"required":["message_index"]}}},"required":["outbox_level","messages"]}}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/local/synchronized":{"get":{"description":"Wait for the node to have synchronized its L2 chain with the L1 chain, streaming its progress.","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"synchronized","type":"string","enum":["synchronized"]},{"title":"synchronizing","type":"object","properties":{"synchronizing":{"type":"object","properties":{"processed_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"l1_head_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"percentage_done":{"type":"number"}},"required":["processed_level","l1_head_level","percentage_done"]}},"required":["synchronizing"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/openapi":{"get":{"description":"OpenAPI specification of RPCs for rollup node","parameters":[{"name":"protocol","in":"query","description":"Protocol_hash (Base58Check-encoded)","required":false,"schema":{"type":"string"}}],"responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/ping":{"get":{"description":"Returns an empty response if the rollup node can answer requests","responses":{"200":{"description":"","content":{"application/json":{"schema":{}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/memory":{"get":{"description":"Gets memory usage stats","responses":{"200":{"description":"","content":{"application/json":{"schema":{"oneOf":[{"title":"Linux_proc_statm","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"size":{"$ref":"#/components/schemas/int64"},"resident":{"$ref":"#/components/schemas/int64"},"shared":{"$ref":"#/components/schemas/int64"},"text":{"$ref":"#/components/schemas/int64"},"lib":{"$ref":"#/components/schemas/int64"},"data":{"$ref":"#/components/schemas/int64"},"dt":{"$ref":"#/components/schemas/int64"}},"required":["page_size","size","resident","shared","text","lib","data","dt"]},{"title":"Darwin_ps","type":"object","properties":{"page_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"mem":{"type":"number"},"resident":{"$ref":"#/components/schemas/int64"}},"required":["page_size","mem","resident"]}]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/stats/ocaml_gc":{"get":{"description":"Gets stats from the OCaml Garbage Collector","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"minor_words":{"type":"number"},"promoted_words":{"type":"number"},"major_words":{"type":"number"},"minor_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"forced_major_collections":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"heap_chunks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"live_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"free_blocks":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"largest_free":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"fragments":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"compactions":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"top_heap_words":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"stack_size":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["minor_words","promoted_words","major_words","minor_collections","major_collections","forced_major_collections","heap_words","heap_chunks","live_words","live_blocks","free_words","free_blocks","largest_free","fragments","compactions","top_heap_words","stack_size"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}},"/version":{"get":{"description":"Returns the version information of the rollup node","responses":{"200":{"description":"","content":{"application/json":{"schema":{"type":"object","properties":{"version":{"$ref":"#/components/schemas/unistring"},"store_version":{"$ref":"#/components/schemas/unistring"},"context_version":{"$ref":"#/components/schemas/unistring"}},"required":["version","store_version","context_version"]}}}},"default":{"description":"","content":{"application/json":{"schema":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"}}}}}}}},"components":{"schemas":{"023-PtSeouLo.contract_id.originated":{"title":"A contract handle -- originated account","description":"A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"023-PtSeouLo.michelson.v1.primitives":{"type":"string","enum":["SHA256","PUSH","GET_AND_UPDATE","RENAME","False","CAST","ISNAT","address","PACK","EMIT","mutez","bls12_381_g1","Pair","IF_CONS","bool","bytes","storage","OR","view","UNPACK","ADD","DIP","map","MEM","BYTES","SENDER","ADDRESS","CDR","SAPLING_EMPTY_STATE","or","LOOP","contract","unit","SHA512","CREATE_ACCOUNT","BLAKE2B","READ_TICKET","LE","chain_id","timestamp","operation","set","CHAIN_ID","chest","SELF_ADDRESS","SOURCE","IMPLICIT_ACCOUNT","key","AMOUNT","CHECK_SIGNATURE","sapling_transaction_deprecated","LSR","EQ","Elt","OPEN_CHEST","NIL","CREATE_CONTRACT","LSL","TRANSFER_TOKENS","JOIN_TICKETS","SWAP","Some","parameter","pair","bls12_381_g2","VIEW","None","SLICE","int","ABS","lambda","DUG","list","CAR","GET","HASH_KEY","CONCAT","LEVEL","SAPLING_VERIFY_UPDATE","TOTAL_VOTING_POWER","Lambda_rec","SIZE","nat","STEPS_TO_QUOTA","IF_NONE","UNPAIR","CONS","Unit","CONTRACT","MUL","UPDATE","EXEC","PAIR","SPLIT_TICKET","RIGHT","key_hash","AND","NEG","option","BALANCE","SET_DELEGATE","NEVER","MIN_BLOCK_TIME","INT","chest_key","ITER","True","Right","Ticket","GT","DIG","tx_rollup_l2_address","SUB","EDIV","MAP","IF_LEFT","big_map","VOTING_POWER","LAMBDA_REC","Left","ticket","TICKET_DEPRECATED","bls12_381_fr","never","DUP","LEFT","constant","signature","SHA3","LAMBDA","NOT","KECCAK","NOW","NAT","GE","string","sapling_transaction","NEQ","IF","FAILWITH","NONE","SUB_MUTEZ","XOR","LOOP_LEFT","PAIRING_CHECK","DROP","EMPTY_BIG_MAP","UNIT","sapling_state","TICKET","EMPTY_MAP","APPLY","LT","SOME","IS_IMPLICIT_ACCOUNT","COMPARE","EMPTY_SET","SELF","code"]},"DAL_commitment":{"title":"Commitment representation for the DAL (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"Smart_rollup_context_hash":{"title":"A base58-check encoded hash of a Smart rollup node context (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"error":{"description":"An error trace. The full list of errors is available with the global RPC `GET errors`"},"exception":{"description":"Exception","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"injector_operation_hash":{"title":"An identifier (hash) for an operation in the injector (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"int64":{"title":"64 bit integers","description":"Decimal representation of 64 bit integers","type":"string"},"layout":{"oneOf":[{"title":"Zero_width","type":"object","properties":{"kind":{"type":"string","enum":["Zero_width"]}},"required":["kind"]},{"title":"Int","type":"object","properties":{"size":{"type":"string","enum":["Int32","Int16","Uint16","Int64","Int8","Uint8"]},"endianness":{"type":"string","enum":["Little","Big"]},"kind":{"type":"string","enum":["Int"]}},"required":["size","kind"]},{"title":"Bool","type":"object","properties":{"kind":{"type":"string","enum":["Bool"]}},"required":["kind"]},{"title":"RangedInt","type":"object","properties":{"min":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"endianness":{"type":"string","enum":["Little","Big"]},"max":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"kind":{"type":"string","enum":["RangedInt"]}},"required":["min","max","kind"]},{"title":"RangedFloat","type":"object","properties":{"min":{"type":"number"},"max":{"type":"number"},"kind":{"type":"string","enum":["RangedFloat"]}},"required":["min","max","kind"]},{"title":"Float","type":"object","properties":{"kind":{"type":"string","enum":["Float"]}},"required":["kind"]},{"title":"Bytes","type":"object","properties":{"kind":{"type":"string","enum":["Bytes"]}},"required":["kind"]},{"title":"String","type":"object","properties":{"kind":{"type":"string","enum":["String"]}},"required":["kind"]},{"title":"Enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"reference":{"$ref":"#/components/schemas/unistring"},"kind":{"type":"string","enum":["Enum"]}},"required":["size","reference","kind"]},{"title":"Seq","type":"object","properties":{"layout":{"$ref":"#/components/schemas/layout"},"kind":{"type":"string","enum":["Seq"]},"length_limit":{"oneOf":[{"title":"No_limit","type":"object","properties":{"kind":{"type":"string","enum":["no-limit"]}},"required":["kind"]},{"title":"At_most","type":"object","properties":{"kind":{"type":"string","enum":["at-most"]},"at_most":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["kind","at_most"]},{"title":"Exactly","type":"object","properties":{"kind":{"type":"string","enum":["exactly"]},"exactly":{"type":"integer","minimum":-1073741824,"maximum":1073741823}},"required":["kind","exactly"]}]}},"required":["layout","kind"]},{"title":"Ref","type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"kind":{"type":"string","enum":["Ref"]}},"required":["name","kind"]},{"title":"Padding","type":"object","properties":{"kind":{"type":"string","enum":["Padding"]}},"required":["kind"]}]},"micheline.023-PtSeouLo.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/023-PtSeouLo.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.023-PtSeouLo.michelson_v1.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"micheline.outbox_transaction_parameters.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/unistring"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"micheline.outbox_transaction_parameters_type.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/components/schemas/bignum"}},"required":["int"]},{"title":"String","type":"object","properties":{"string":{"$ref":"#/components/schemas/unistring"}},"required":["string"]},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"]},{"title":"Sequence","type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},{"title":"Prim__generic","description":"Generic primitive (any number of args with or without annotations)","type":"object","properties":{"prim":{"$ref":"#/components/schemas/unistring"},"args":{"type":"array","items":{"$ref":"#/components/schemas/micheline.outbox_transaction_parameters_type.expression"}},"annots":{"type":"array","items":{"$ref":"#/components/schemas/unistring"}}},"required":["prim"]}]},"mutez":{"title":"A millionth of a tez","description":"One million mutez make a tez (1 tez = 1e6 mutez)","oneOf":[{"$ref":"#/components/schemas/positive_bignum"}]},"nanotez":{"title":"A thousandth of a mutez","description":"One thousand nanotez make a mutez (1 tez = 1e9 nanotez)","type":"array","items":{"oneOf":[{"$ref":"#/components/schemas/bignum"}]}},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"sc_l2_message":{"description":"A hex encoded smart rollup message","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"sc_rollup_l2_message_id":{"title":"A smart rollup layer 2 message identifier (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"sc_rollup_node_l1_operation":{"oneOf":[{"title":"add_messages","type":"object","properties":{"kind":{"type":"string","enum":["add_messages"]},"message":{"type":"array","items":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}}},"required":["kind","message"]},{"title":"cement","type":"object","properties":{"kind":{"type":"string","enum":["cement"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["kind","rollup","commitment"]},{"title":"publish","type":"object","properties":{"kind":{"type":"string","enum":["publish"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"commitment":{"type":"object","properties":{"compressed_state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"inbox_level":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"predecessor":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"number_of_ticks":{"$ref":"#/components/schemas/int64"}},"required":["compressed_state","inbox_level","predecessor","number_of_ticks"]}},"required":["kind","rollup","commitment"]},{"title":"refute","type":"object","properties":{"kind":{"type":"string","enum":["refute"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"opponent":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"refutation":{"oneOf":[{"title":"Start","type":"object","properties":{"refutation_kind":{"type":"string","enum":["start"]},"player_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"opponent_commitment_hash":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"}},"required":["refutation_kind","player_commitment_hash","opponent_commitment_hash"]},{"title":"Move","type":"object","properties":{"refutation_kind":{"type":"string","enum":["move"]},"choice":{"$ref":"#/components/schemas/positive_bignum"},"step":{"oneOf":[{"title":"Dissection","type":"array","items":{"type":"object","properties":{"state":{"$ref":"#/components/schemas/smart_rollup_state_hash"},"tick":{"$ref":"#/components/schemas/positive_bignum"}},"required":["tick"]}},{"title":"Proof","type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}]}},"required":["refutation_kind","choice","step"]}]}},"required":["kind","rollup","opponent","refutation"]},{"title":"timeout","type":"object","properties":{"kind":{"type":"string","enum":["timeout"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"stakers":{"type":"object","properties":{"alice":{"$ref":"#/components/schemas/Signature.Public_key_hash"},"bob":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["alice","bob"]}},"required":["kind","rollup","stakers"]},{"title":"recover","type":"object","properties":{"kind":{"type":"string","enum":["recover"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"staker":{"$ref":"#/components/schemas/Signature.Public_key_hash"}},"required":["kind","rollup","staker"]},{"title":"execute_outbox_message","type":"object","properties":{"kind":{"type":"string","enum":["execute_outbox_message"]},"rollup":{"$ref":"#/components/schemas/smart_rollup_address"},"cemented_commitment":{"$ref":"#/components/schemas/smart_rollup_commitment_hash"},"proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["kind","rollup","cemented_commitment","proof"]},{"title":"publish_dal_commitment","type":"object","properties":{"kind":{"type":"string","enum":["publish_dal_commitment"]},"slot_index":{"type":"integer","minimum":0,"maximum":255},"commitment":{"$ref":"#/components/schemas/DAL_commitment"},"commitment_proof":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["kind","slot_index","commitment","commitment_proof"]}]},"sc_rollup_node_mode":{"oneOf":[{"title":"custom","type":"object","properties":{"custom":{"type":"array","items":{"type":"string","enum":["add_messages","publish","refute","recover","timeout","publish_dal_commitment","cement","execute_outbox_message"]}}},"required":["custom"]},{"title":"observer","type":"string","enum":["observer"]},{"title":"accuser","type":"string","enum":["accuser"]},{"title":"bailout","type":"string","enum":["bailout"]},{"title":"batcher","type":"string","enum":["batcher"]},{"title":"maintenance","type":"string","enum":["maintenance"]},{"title":"operator","type":"string","enum":["operator"]}]},"schema.field":{"oneOf":[{"title":"Named_field","type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"layout":{"$ref":"#/components/schemas/layout"},"data_kind":{"$ref":"#/components/schemas/schema.kind"},"kind":{"type":"string","enum":["named"]}},"required":["name","layout","data_kind","kind"]},{"title":"Anonymous_field","type":"object","properties":{"layout":{"$ref":"#/components/schemas/layout"},"kind":{"type":"string","enum":["anon"]},"data_kind":{"$ref":"#/components/schemas/schema.kind"}},"required":["layout","kind","data_kind"]},{"title":"Dynamic_field","type":"object","properties":{"kind":{"type":"string","enum":["dyn"]},"name":{"$ref":"#/components/schemas/unistring"},"num_fields":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"size":{"type":"string","enum":["N","Uint30","Uint16","Uint8"]}},"required":["kind","num_fields","size"]},{"title":"Optional_field","type":"object","properties":{"kind":{"type":"string","enum":["option_indicator"]},"name":{"$ref":"#/components/schemas/unistring"}},"required":["kind","name"]}]},"schema.kind":{"oneOf":[{"title":"Fixed","type":"object","properties":{"size":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"kind":{"type":"string","enum":["Fixed"]}},"required":["size","kind"]},{"title":"Dynamic","type":"object","properties":{"kind":{"type":"string","enum":["Dynamic"]}},"required":["kind"]},{"title":"Variable","type":"object","properties":{"kind":{"type":"string","enum":["Variable"]}},"required":["kind"]}]},"service_tree":{"oneOf":[{"title":"Static","type":"object","properties":{"static":{"type":"object","properties":{"get_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"post_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"delete_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"put_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"patch_service":{"type":"object","properties":{"meth":{"type":"string","enum":["PATCH","GET","POST","PUT","DELETE"]},"path":{"type":"array","items":{"oneOf":[{"title":"PStatic","oneOf":[{"$ref":"#/components/schemas/unistring"}]},{"title":"PDynamic","type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},{"title":"PDynamicTail","type":"object","properties":{"id":{"type":"string","enum":["multiple"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}]}},"description":{"$ref":"#/components/schemas/unistring"},"query":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"},"kind":{"oneOf":[{"title":"Single","type":"object","properties":{"single":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["single"]},{"title":"Optional","type":"object","properties":{"optional":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["optional"]},{"title":"Flag","type":"object","properties":{"flag":{"type":"object","properties":{}}},"required":["flag"]},{"title":"Multi","type":"object","properties":{"multi":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]}},"required":["multi"]}]}},"required":["name","kind"]}},"input":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"output":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]},"error":{"type":"object","properties":{"json_schema":{},"binary_schema":{"type":"object","properties":{"toplevel":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]},"fields":{"type":"array","items":{"type":"object","properties":{"description":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/unistring"},"description":{"$ref":"#/components/schemas/unistring"}},"required":["title"]},"encoding":{"oneOf":[{"title":"Obj","type":"object","properties":{"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}}},"required":["fields"]},{"title":"Cases","type":"object","properties":{"tag_size":{"type":"string","enum":["Uint16","Uint8"]},"kind":{"$ref":"#/components/schemas/schema.kind"},"cases":{"type":"array","items":{"$ref":"#/components/schemas/union case"}}},"required":["tag_size","kind","cases"]},{"title":"Int_enum","type":"object","properties":{"size":{"type":"string","enum":["Int16","Uint16","Int8","Uint8"]},"cases":{"type":"array","items":{"type":"array","items":{"oneOf":[{"type":"integer","minimum":-1073741824,"maximum":1073741823},{"$ref":"#/components/schemas/unistring"}]}}}},"required":["size","cases"]}]}},"required":["description","encoding"]}}},"required":["toplevel","fields"]}},"required":["json_schema","binary_schema"]}},"required":["meth","path","query","output","error"]},"subdirs":{"oneOf":[{"title":"Suffixes","type":"object","properties":{"suffixes":{"type":"array","items":{"type":"object","properties":{"name":{"$ref":"#/components/schemas/unistring"},"tree":{"$ref":"#/components/schemas/service_tree"}},"required":["name","tree"]}}},"required":["suffixes"]},{"title":"Arg","type":"object","properties":{"dynamic_dispatch":{"type":"object","properties":{"arg":{"type":"object","properties":{"id":{"type":"string","enum":["single"]},"name":{"$ref":"#/components/schemas/unistring"},"descr":{"$ref":"#/components/schemas/unistring"}},"required":["id","name"]},"tree":{"$ref":"#/components/schemas/service_tree"}},"required":["arg","tree"]}},"required":["dynamic_dispatch"]}]}}}},"required":["static"]},{"title":"Dynamic","type":"object","properties":{"dynamic":{"nullable":true,"oneOf":[{"title":"Some","oneOf":[{"$ref":"#/components/schemas/unistring"}]}]}},"required":["dynamic"]},{"title":"Empty","type":"string","enum":["empty"]}]},"smart_rollup_address":{"title":"A smart rollup address (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_commitment_hash":{"title":"The hash of a commitment of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_inbox_hash":{"title":"The hash of an inbox of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_merkelized_payload_hashes_hash":{"title":"The hash of the Merkelized payload hashes of a smart rollup inbox (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"smart_rollup_state_hash":{"title":"The hash of the VM state of a smart rollup (Base58Check-encoded)","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.rfc":{"title":"RFC 3339 formatted timestamp","description":"A date in RFC 3339 notation.","oneOf":[{"$ref":"#/components/schemas/unistring"}]},"timestamp.system":{"description":"A timestamp as seen by the underlying, local computer: subsecond-level precision, epoch or rfc3339 based.","oneOf":[{"title":"RFC encoding","oneOf":[{"$ref":"#/components/schemas/timestamp.rfc"}]},{"title":"Second since epoch","oneOf":[{"$ref":"#/components/schemas/int64"}]}]},"union case":{"type":"object","properties":{"tag":{"type":"integer","minimum":-1073741824,"maximum":1073741823},"fields":{"type":"array","items":{"$ref":"#/components/schemas/schema.field"}},"name":{"$ref":"#/components/schemas/unistring"}},"required":["tag","fields"]},"unistring":{"title":"Universal string representation","description":"Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.","oneOf":[{"type":"string"},{"type":"object","properties":{"invalid_utf8_string":{"type":"array","items":{"type":"integer","minimum":0,"maximum":255}}},"required":["invalid_utf8_string"]}]}}}} diff --git a/docs/api/static/dal-node-openapi.html b/docs/api/static/dal-node-openapi.html index a1f81d45906516de7fd8720be520ebf7fb8d759d..a5039c49f84172bd5cc8a42ffbcda7b7fe39a9a7 100644 --- a/docs/api/static/dal-node-openapi.html +++ b/docs/api/static/dal-node-openapi.html @@ -401,7 +401,7 @@ data-styled.g138[id="sc-enPhjR"]{content:"SikXG,"}/*!sc*/ 55.627 l 55.6165,55.627 -231.245496,231.24803 c -127.185,127.1864 -231.5279,231.248 -231.873,231.248 -0.3451,0 -104.688, -104.0616 -231.873,-231.248 z - " fill="currentColor">

Octez DAL Node RPC (Octez 23.0 ((dc9bed35)))

Download OpenAPI specification:

Octez DAL Node RPC (Octez 23.1 (9aadd15c))

Download OpenAPI specification:

The RPC API for the Octez DAL node.

/health

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

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

version

Responses

Response samples

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