https://gitlab.com/tezos/tezos
Tip revision: d0b8d71990e5543ca683a2465f0ae5632dfb184a authored by Ole Krüger on 12 January 2023, 12:13:59 UTC
WIP: Lazy directory structure
WIP: Lazy directory structure
Tip revision: d0b8d71
lima-mempool-openapi.json
{
"openapi": "3.0.0",
"info": {
"title": "Tezos RPC",
"description": "Tezos client RPC API.",
"version": "15.0"
},
"paths": {
"/ban_operation": {
"post": {
"description": "Remove an operation from the mempool if present, reverting its effect if it was applied. Add it to the set of banned operations to prevent it from being fetched/processed/injected in the future. Note: If the baker has already received the operation, then it's necessary to restart it to flush the operation from it.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"title": "A Tezos operation ID (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {}
}
}
},
"default": {
"description": "",
"content": {
"application/json": {
"schema": {
"description": "The full list of errors is available with the global RPC `GET errors`"
}
}
}
}
}
}
},
"/filter": {
"get": {
"description": "Get the configuration of the mempool filter. The minimal_fees are in mutez. Each field minimal_nanotez_per_xxx is a rational number given as a numerator and a denominator, e.g. \"minimal_nanotez_per_gas_unit\": [ \"100\", \"1\" ].",
"parameters": [
{
"name": "include_default",
"in": "query",
"description": "Show fields equal to their default value (set by default)",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {}
}
}
},
"default": {
"description": "",
"content": {
"application/json": {
"schema": {
"description": "The full list of errors is available with the global RPC `GET errors`"
}
}
}
}
}
},
"post": {
"description": "Set the configuration of the mempool filter. **If any of the fields is absent from the input JSON, then it is set to the default value for this field (i.e. its value in the default configuration), even if it previously had a different value.** If the input JSON does not describe a valid configuration, then the configuration is left unchanged. Also return the new configuration (which may differ from the input if it had omitted fields or was invalid). You may call [./octez-client rpc get '/chains/main/mempool/filter?include_default=true'] to see an example of JSON describing a valid configuration.",
"requestBody": {
"content": {
"application/json": {
"schema": {}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {}
}
}
},
"default": {
"description": "",
"content": {
"application/json": {
"schema": {
"description": "The full list of errors is available with the global RPC `GET errors`"
}
}
}
}
}
}
},
"/monitor_operations": {
"get": {
"description": "Monitor the mempool operations.",
"parameters": [
{
"name": "applied",
"in": "query",
"description": "Include applied operations (set by default)",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "refused",
"in": "query",
"description": "Include refused operations",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "outdated",
"in": "query",
"description": "Include outdated operations",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "branch_refused",
"in": "query",
"description": "Include branch refused operations",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "branch_delayed",
"in": "query",
"description": "Include branch delayed operations (set by default)",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "array",
"items": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"hash": {
"$ref": "#/components/schemas/Operation_hash"
},
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
},
"error": {
"$ref": "#/components/schemas/error_opt"
}
},
"required": [
"hash",
"protocol",
"branch",
"contents",
"signature"
]
}
}
}
}
},
"default": {
"description": "",
"content": {
"application/json": {
"schema": {
"description": "The full list of errors is available with the global RPC `GET errors`"
}
}
}
}
}
}
},
"/pending_operations": {
"get": {
"description": "List the prevalidated operations.",
"parameters": [
{
"name": "version",
"in": "query",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "applied",
"in": "query",
"description": "Include applied operations (true by default)",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "refused",
"in": "query",
"description": "Include refused operations (true by default)",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "outdated",
"in": "query",
"description": "Include outdated operations (true by default)",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "branch_refused",
"in": "query",
"description": "Include branch refused operations (true by default)",
"required": true,
"schema": {
"type": "string"
}
},
{
"name": "branch_delayed",
"in": "query",
"description": "Include branch delayed operations (true by default)",
"required": true,
"schema": {
"type": "string"
}
}
],
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"oneOf": [
{
"title": "new_encoding_pending_operations",
"type": "object",
"properties": {
"applied": {
"type": "array",
"items": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"hash": {
"$ref": "#/components/schemas/Operation_hash"
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
}
},
"required": [
"hash",
"branch",
"contents",
"signature"
]
}
},
"refused": {
"type": "array",
"items": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"hash": {
"$ref": "#/components/schemas/Operation_hash"
},
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
},
"error": {
"$ref": "#/components/schemas/error"
}
},
"required": [
"hash",
"protocol",
"branch",
"contents",
"signature",
"error"
]
}
},
"outdated": {
"type": "array",
"items": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"hash": {
"$ref": "#/components/schemas/Operation_hash"
},
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
},
"error": {
"$ref": "#/components/schemas/error"
}
},
"required": [
"hash",
"protocol",
"branch",
"contents",
"signature",
"error"
]
}
},
"branch_refused": {
"type": "array",
"items": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"hash": {
"$ref": "#/components/schemas/Operation_hash"
},
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
},
"error": {
"$ref": "#/components/schemas/error"
}
},
"required": [
"hash",
"protocol",
"branch",
"contents",
"signature",
"error"
]
}
},
"branch_delayed": {
"type": "array",
"items": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"hash": {
"$ref": "#/components/schemas/Operation_hash"
},
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
},
"error": {
"$ref": "#/components/schemas/error"
}
},
"required": [
"hash",
"protocol",
"branch",
"contents",
"signature",
"error"
]
}
},
"unprocessed": {
"type": "array",
"items": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"hash": {
"$ref": "#/components/schemas/Operation_hash"
},
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
}
},
"required": [
"hash",
"protocol",
"branch",
"contents",
"signature"
]
}
}
},
"required": [
"applied",
"refused",
"outdated",
"branch_refused",
"branch_delayed",
"unprocessed"
]
},
{
"title": "old_encoding_pending_operations",
"type": "object",
"properties": {
"applied": {
"type": "array",
"items": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"hash": {
"$ref": "#/components/schemas/Operation_hash"
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
}
},
"required": [
"hash",
"branch",
"contents",
"signature"
]
}
},
"refused": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/Operation_hash"
},
{
"description": "An operation's shell header.",
"type": "object",
"properties": {
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
},
"error": {
"$ref": "#/components/schemas/error"
}
},
"required": [
"protocol",
"branch",
"contents",
"signature",
"error"
]
}
]
}
}
},
"outdated": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/Operation_hash"
},
{
"description": "An operation's shell header.",
"type": "object",
"properties": {
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
},
"error": {
"$ref": "#/components/schemas/error"
}
},
"required": [
"protocol",
"branch",
"contents",
"signature",
"error"
]
}
]
}
}
},
"branch_refused": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/Operation_hash"
},
{
"description": "An operation's shell header.",
"type": "object",
"properties": {
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
},
"error": {
"$ref": "#/components/schemas/error"
}
},
"required": [
"protocol",
"branch",
"contents",
"signature",
"error"
]
}
]
}
}
},
"branch_delayed": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/Operation_hash"
},
{
"description": "An operation's shell header.",
"type": "object",
"properties": {
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
},
"error": {
"$ref": "#/components/schemas/error"
}
},
"required": [
"protocol",
"branch",
"contents",
"signature",
"error"
]
}
]
}
}
},
"unprocessed": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/Operation_hash"
},
{
"$ref": "#/components/schemas/next_operation"
}
]
}
}
}
},
"required": [
"applied",
"refused",
"outdated",
"branch_refused",
"branch_delayed",
"unprocessed"
]
}
]
}
}
}
},
"default": {
"description": "",
"content": {
"application/json": {
"schema": {
"description": "The full list of errors is available with the global RPC `GET errors`"
}
}
}
}
}
}
},
"/request_operations": {
"post": {
"description": "Request the operations of our peers or a specific peer if specified via a query parameter.",
"parameters": [
{
"name": "peer_id",
"in": "query",
"description": "A cryptographic node identity (Base58Check-encoded)",
"required": false,
"schema": {
"type": "string"
}
}
],
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
},
"default": {
"description": "",
"content": {
"application/json": {
"schema": {
"description": "The full list of errors is available with the global RPC `GET errors`"
}
}
}
}
}
}
},
"/unban_all_operations": {
"post": {
"description": "Clear the set of banned operations.",
"requestBody": {
"content": {
"application/json": {
"schema": {
"type": "object",
"properties": {}
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {}
}
}
},
"default": {
"description": "",
"content": {
"application/json": {
"schema": {
"description": "The full list of errors is available with the global RPC `GET errors`"
}
}
}
}
}
}
},
"/unban_operation": {
"post": {
"description": "Remove an operation from the set of banned operations (nothing happens if it was not banned).",
"requestBody": {
"content": {
"application/json": {
"schema": {
"title": "A Tezos operation ID (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
}
}
}
},
"responses": {
"200": {
"description": "",
"content": {
"application/json": {
"schema": {}
}
}
},
"default": {
"description": "",
"content": {
"application/json": {
"schema": {
"description": "The full list of errors is available with the global RPC `GET errors`"
}
}
}
}
}
}
}
},
"components": {
"schemas": {
"015-PtLimaPt.block_header.alpha.full_header": {
"title": "Shell header",
"description": "Block header's shell-related content. It contains information such as the block level, its predecessor and timestamp.",
"type": "object",
"properties": {
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"proto": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"predecessor": {
"$ref": "#/components/schemas/block_hash"
},
"timestamp": {
"$ref": "#/components/schemas/timestamp.protocol"
},
"validation_pass": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"operations_hash": {
"$ref": "#/components/schemas/Operation_list_list_hash"
},
"fitness": {
"$ref": "#/components/schemas/fitness"
},
"context": {
"$ref": "#/components/schemas/Context_hash"
},
"payload_hash": {
"$ref": "#/components/schemas/value_hash"
},
"payload_round": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"proof_of_work_nonce": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
"seed_nonce_hash": {
"$ref": "#/components/schemas/cycle_nonce"
},
"liquidity_baking_toggle_vote": {
"$ref": "#/components/schemas/015-PtLimaPt.liquidity_baking_toggle_vote"
},
"signature": {
"$ref": "#/components/schemas/Signature"
}
},
"required": [
"level",
"proto",
"predecessor",
"timestamp",
"validation_pass",
"operations_hash",
"fitness",
"context",
"payload_hash",
"payload_round",
"proof_of_work_nonce",
"liquidity_baking_toggle_vote",
"signature"
]
},
"015-PtLimaPt.contract_id": {
"title": "A contract handle",
"description": "A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash or a base58 originated contract hash.",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"015-PtLimaPt.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"
}
]
},
"015-PtLimaPt.entrypoint": {
"title": "entrypoint",
"description": "Named entrypoint to a Michelson smart contract",
"oneOf": [
{
"title": "default",
"type": "string",
"enum": [
"default"
]
},
{
"title": "root",
"type": "string",
"enum": [
"root"
]
},
{
"title": "do",
"type": "string",
"enum": [
"do"
]
},
{
"title": "set_delegate",
"type": "string",
"enum": [
"set_delegate"
]
},
{
"title": "remove_delegate",
"type": "string",
"enum": [
"remove_delegate"
]
},
{
"title": "deposit",
"type": "string",
"enum": [
"deposit"
]
},
{
"title": "named",
"type": "string"
}
]
},
"015-PtLimaPt.inlined.endorsement": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"operations": {
"$ref": "#/components/schemas/015-PtLimaPt.inlined.endorsement_mempool.contents"
},
"signature": {
"$ref": "#/components/schemas/Signature"
}
},
"required": [
"branch",
"operations"
]
},
"015-PtLimaPt.inlined.endorsement_mempool.contents": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"endorsement"
]
},
"slot": {
"type": "integer",
"minimum": 0,
"maximum": 65535
},
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"round": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"block_payload_hash": {
"$ref": "#/components/schemas/value_hash"
}
},
"required": [
"kind",
"slot",
"level",
"round",
"block_payload_hash"
]
},
"015-PtLimaPt.inlined.preendorsement": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"operations": {
"$ref": "#/components/schemas/015-PtLimaPt.inlined.preendorsement.contents"
},
"signature": {
"$ref": "#/components/schemas/Signature"
}
},
"required": [
"branch",
"operations"
]
},
"015-PtLimaPt.inlined.preendorsement.contents": {
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"preendorsement"
]
},
"slot": {
"type": "integer",
"minimum": 0,
"maximum": 65535
},
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"round": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"block_payload_hash": {
"$ref": "#/components/schemas/value_hash"
}
},
"required": [
"kind",
"slot",
"level",
"round",
"block_payload_hash"
]
},
"015-PtLimaPt.liquidity_baking_toggle_vote": {
"type": "string",
"enum": [
"off",
"on",
"pass"
]
},
"015-PtLimaPt.michelson.v1.primitives": {
"type": "string",
"enum": [
"SHA512",
"HASH_KEY",
"SIZE",
"SAPLING_VERIFY_UPDATE",
"False",
"SAPLING_EMPTY_STATE",
"RENAME",
"sapling_state",
"UNPACK",
"contract",
"address",
"chest_key",
"Pair",
"IF_NONE",
"key_hash",
"operation",
"storage",
"UNPAIR",
"view",
"BLAKE2B",
"AMOUNT",
"DUP",
"or",
"NEG",
"int",
"SELF_ADDRESS",
"ISNAT",
"DIG",
"CHAIN_ID",
"string",
"LSR",
"lambda",
"sapling_transaction",
"ABS",
"CREATE_CONTRACT",
"SHA256",
"JOIN_TICKETS",
"LEVEL",
"bls12_381_fr",
"sapling_transaction_deprecated",
"tx_rollup_l2_address",
"mutez",
"CHECK_SIGNATURE",
"STEPS_TO_QUOTA",
"SELF",
"DIP",
"map",
"AND",
"COMPARE",
"bls12_381_g1",
"MAP",
"APPLY",
"Elt",
"bool",
"NOT",
"IMPLICIT_ACCOUNT",
"LT",
"UNIT",
"EMIT",
"SET_DELEGATE",
"Some",
"parameter",
"bytes",
"chest",
"EMPTY_BIG_MAP",
"None",
"SUB",
"list",
"ADD",
"nat",
"VOTING_POWER",
"option",
"CDR",
"GT",
"IF_CONS",
"CONS",
"LSL",
"DUG",
"PACK",
"SHA3",
"SOURCE",
"set",
"SUB_MUTEZ",
"LAMBDA",
"RIGHT",
"CREATE_ACCOUNT",
"Unit",
"CAST",
"NEQ",
"ITER",
"FAILWITH",
"PUSH",
"OPEN_CHEST",
"SOME",
"big_map",
"BALANCE",
"NIL",
"signature",
"CAR",
"UPDATE",
"TOTAL_VOTING_POWER",
"PAIR",
"LAMBDA_REC",
"ADDRESS",
"True",
"Right",
"Lambda_rec",
"IF",
"NEVER",
"chain_id",
"SWAP",
"EMPTY_MAP",
"MUL",
"INT",
"pair",
"KECCAK",
"LEFT",
"Left",
"SPLIT_TICKET",
"constant",
"ticket",
"EDIV",
"LOOP",
"timestamp",
"TICKET",
"LE",
"PAIRING_CHECK",
"MIN_BLOCK_TIME",
"OR",
"key",
"GET_AND_UPDATE",
"unit",
"never",
"NONE",
"IF_LEFT",
"GET",
"NOW",
"TRANSFER_TOKENS",
"LOOP_LEFT",
"CONTRACT",
"TICKET_DEPRECATED",
"VIEW",
"EMPTY_SET",
"XOR",
"bls12_381_g2",
"READ_TICKET",
"EQ",
"GE",
"MEM",
"SENDER",
"DROP",
"CONCAT",
"EXEC",
"SLICE",
"code"
]
},
"015-PtLimaPt.mutez": {
"$ref": "#/components/schemas/positive_bignum"
},
"015-PtLimaPt.operation.alpha.contents": {
"oneOf": [
{
"title": "Endorsement",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"endorsement"
]
},
"slot": {
"type": "integer",
"minimum": 0,
"maximum": 65535
},
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"round": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"block_payload_hash": {
"$ref": "#/components/schemas/value_hash"
}
},
"required": [
"kind",
"slot",
"level",
"round",
"block_payload_hash"
]
},
{
"title": "Preendorsement",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"preendorsement"
]
},
"slot": {
"type": "integer",
"minimum": 0,
"maximum": 65535
},
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"round": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"block_payload_hash": {
"$ref": "#/components/schemas/value_hash"
}
},
"required": [
"kind",
"slot",
"level",
"round",
"block_payload_hash"
]
},
{
"title": "Dal_slot_availability",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"dal_slot_availability"
]
},
"endorser": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"endorsement": {
"$ref": "#/components/schemas/bignum"
}
},
"required": [
"kind",
"endorser",
"endorsement"
]
},
{
"title": "Seed_nonce_revelation",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"seed_nonce_revelation"
]
},
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"nonce": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
"required": [
"kind",
"level",
"nonce"
]
},
{
"title": "Vdf_revelation",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"vdf_revelation"
]
},
"solution": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
{
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
]
}
}
},
"required": [
"kind",
"solution"
]
},
{
"title": "Double_endorsement_evidence",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"double_endorsement_evidence"
]
},
"op1": {
"$ref": "#/components/schemas/015-PtLimaPt.inlined.endorsement"
},
"op2": {
"$ref": "#/components/schemas/015-PtLimaPt.inlined.endorsement"
}
},
"required": [
"kind",
"op1",
"op2"
]
},
{
"title": "Double_preendorsement_evidence",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"double_preendorsement_evidence"
]
},
"op1": {
"$ref": "#/components/schemas/015-PtLimaPt.inlined.preendorsement"
},
"op2": {
"$ref": "#/components/schemas/015-PtLimaPt.inlined.preendorsement"
}
},
"required": [
"kind",
"op1",
"op2"
]
},
{
"title": "Double_baking_evidence",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"double_baking_evidence"
]
},
"bh1": {
"$ref": "#/components/schemas/015-PtLimaPt.block_header.alpha.full_header"
},
"bh2": {
"$ref": "#/components/schemas/015-PtLimaPt.block_header.alpha.full_header"
}
},
"required": [
"kind",
"bh1",
"bh2"
]
},
{
"title": "Activate_account",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"activate_account"
]
},
"pkh": {
"$ref": "#/components/schemas/Ed25519.Public_key_hash"
},
"secret": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
"required": [
"kind",
"pkh",
"secret"
]
},
{
"title": "Proposals",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"proposals"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"period": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"proposals": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Protocol_hash"
}
}
},
"required": [
"kind",
"source",
"period",
"proposals"
]
},
{
"title": "Ballot",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"ballot"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"period": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"proposal": {
"$ref": "#/components/schemas/Protocol_hash"
},
"ballot": {
"type": "string",
"enum": [
"nay",
"yay",
"pass"
]
}
},
"required": [
"kind",
"source",
"period",
"proposal",
"ballot"
]
},
{
"title": "Reveal",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"reveal"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"public_key": {
"$ref": "#/components/schemas/Signature.Public_key"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"public_key"
]
},
{
"title": "Transaction",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"transaction"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"amount": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"destination": {
"$ref": "#/components/schemas/015-PtLimaPt.contract_id"
},
"parameters": {
"type": "object",
"properties": {
"entrypoint": {
"$ref": "#/components/schemas/015-PtLimaPt.entrypoint"
},
"value": {}
},
"required": [
"entrypoint",
"value"
]
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"amount",
"destination"
]
},
{
"title": "Origination",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"origination"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"balance": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"delegate": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"script": {
"$ref": "#/components/schemas/015-PtLimaPt.scripted.contracts"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"balance",
"script"
]
},
{
"title": "Delegation",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"delegation"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"delegate": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit"
]
},
{
"title": "Set_deposits_limit",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"set_deposits_limit"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"limit": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit"
]
},
{
"title": "Increase_paid_storage",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"increase_paid_storage"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"amount": {
"$ref": "#/components/schemas/bignum"
},
"destination": {
"$ref": "#/components/schemas/015-PtLimaPt.contract_id.originated"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"amount",
"destination"
]
},
{
"title": "Update_consensus_key",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"update_consensus_key"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"pk": {
"$ref": "#/components/schemas/Signature.Public_key"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"pk"
]
},
{
"title": "Drain_delegate",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"drain_delegate"
]
},
"consensus_key": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"delegate": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"destination": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
}
},
"required": [
"kind",
"consensus_key",
"delegate",
"destination"
]
},
{
"title": "Failing_noop",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"failing_noop"
]
},
"arbitrary": {
"$ref": "#/components/schemas/unistring"
}
},
"required": [
"kind",
"arbitrary"
]
},
{
"title": "Register_global_constant",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"register_global_constant"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"value": {}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"value"
]
},
{
"title": "Tx_rollup_origination",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"tx_rollup_origination"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"tx_rollup_origination": {}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"tx_rollup_origination"
]
},
{
"title": "Tx_rollup_submit_batch",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"tx_rollup_submit_batch"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.tx_rollup_id"
},
"content": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
"burn_limit": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup",
"content"
]
},
{
"title": "Tx_rollup_commit",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"tx_rollup_commit"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.tx_rollup_id"
},
"commitment": {
"type": "object",
"properties": {
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"messages": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Message_result_hash"
}
},
"predecessor": {
"nullable": true,
"oneOf": [
{
"title": "Some",
"oneOf": [
{
"$ref": "#/components/schemas/Commitment_hash"
}
]
}
]
},
"inbox_merkle_root": {
"$ref": "#/components/schemas/Inbox_list_hash"
}
},
"required": [
"level",
"messages",
"predecessor",
"inbox_merkle_root"
]
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup",
"commitment"
]
},
{
"title": "Tx_rollup_return_bond",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"tx_rollup_return_bond"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.tx_rollup_id"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup"
]
},
{
"title": "Tx_rollup_finalize_commitment",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"tx_rollup_finalize_commitment"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.tx_rollup_id"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup"
]
},
{
"title": "Tx_rollup_remove_commitment",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"tx_rollup_remove_commitment"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.tx_rollup_id"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup"
]
},
{
"title": "Tx_rollup_rejection",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"tx_rollup_rejection"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.tx_rollup_id"
},
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"message": {
"oneOf": [
{
"title": "Batch",
"type": "object",
"properties": {
"batch": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
"required": [
"batch"
]
},
{
"title": "Deposit",
"type": "object",
"properties": {
"deposit": {
"type": "object",
"properties": {
"sender": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"destination": {
"$ref": "#/components/schemas/Bls12_381.Public_key_hash"
},
"ticket_hash": {
"$ref": "#/components/schemas/script_expr"
},
"amount": {
"$ref": "#/components/schemas/int64"
}
},
"required": [
"sender",
"destination",
"ticket_hash",
"amount"
]
}
},
"required": [
"deposit"
]
}
]
},
"message_position": {
"$ref": "#/components/schemas/positive_bignum"
},
"message_path": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Inbox_list_hash"
}
},
"message_result_hash": {
"$ref": "#/components/schemas/Message_result_hash"
},
"message_result_path": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Message_result_list_hash"
}
},
"previous_message_result": {
"type": "object",
"properties": {
"context_hash": {
"$ref": "#/components/schemas/Context_hash"
},
"withdraw_list_hash": {
"$ref": "#/components/schemas/Withdraw_list_hash"
}
},
"required": [
"context_hash",
"withdraw_list_hash"
]
},
"previous_message_result_path": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Message_result_list_hash"
}
},
"proof": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup",
"level",
"message",
"message_position",
"message_path",
"message_result_hash",
"message_result_path",
"previous_message_result",
"previous_message_result_path",
"proof"
]
},
{
"title": "Tx_rollup_dispatch_tickets",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"tx_rollup_dispatch_tickets"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"tx_rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.tx_rollup_id"
},
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"context_hash": {
"$ref": "#/components/schemas/Context_hash"
},
"message_index": {
"type": "integer",
"minimum": -1073741824,
"maximum": 1073741823
},
"message_result_path": {
"type": "array",
"items": {
"$ref": "#/components/schemas/Message_result_list_hash"
}
},
"tickets_info": {
"type": "array",
"items": {
"type": "object",
"properties": {
"contents": {},
"ty": {},
"ticketer": {
"$ref": "#/components/schemas/015-PtLimaPt.contract_id"
},
"amount": {
"$ref": "#/components/schemas/int64"
},
"claimer": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
}
},
"required": [
"contents",
"ty",
"ticketer",
"amount",
"claimer"
]
}
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"tx_rollup",
"level",
"context_hash",
"message_index",
"message_result_path",
"tickets_info"
]
},
{
"title": "Transfer_ticket",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"transfer_ticket"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"ticket_contents": {},
"ticket_ty": {},
"ticket_ticketer": {
"$ref": "#/components/schemas/015-PtLimaPt.contract_id"
},
"ticket_amount": {
"$ref": "#/components/schemas/positive_bignum"
},
"destination": {
"$ref": "#/components/schemas/015-PtLimaPt.contract_id"
},
"entrypoint": {
"$ref": "#/components/schemas/unistring"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"ticket_contents",
"ticket_ty",
"ticket_ticketer",
"ticket_amount",
"destination",
"entrypoint"
]
},
{
"title": "Dal_publish_slot_header",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"dal_publish_slot_header"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"slot": {
"type": "object",
"properties": {
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"index": {
"type": "integer",
"minimum": 0,
"maximum": 255
},
"header": {
"$ref": "#/components/schemas/DAL_commitment"
}
},
"required": [
"level",
"index",
"header"
]
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"slot"
]
},
{
"title": "Sc_rollup_originate",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"sc_rollup_originate"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"pvm_kind": {
"type": "string",
"enum": [
"wasm_2_0_0_pvm_kind",
"arith_pvm_kind"
]
},
"boot_sector": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
"origination_proof": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
"parameters_ty": {}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"pvm_kind",
"boot_sector",
"origination_proof",
"parameters_ty"
]
},
{
"title": "Sc_rollup_add_messages",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"sc_rollup_add_messages"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.rollup_address"
},
"message": {
"type": "array",
"items": {
"$ref": "#/components/schemas/unistring"
}
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup",
"message"
]
},
{
"title": "Sc_rollup_cement",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"sc_rollup_cement"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.rollup_address"
},
"commitment": {
"$ref": "#/components/schemas/commitment_hash"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup",
"commitment"
]
},
{
"title": "Sc_rollup_publish",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"sc_rollup_publish"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.rollup_address"
},
"commitment": {
"type": "object",
"properties": {
"compressed_state": {
"$ref": "#/components/schemas/state_hash"
},
"inbox_level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"predecessor": {
"$ref": "#/components/schemas/commitment_hash"
},
"number_of_ticks": {
"$ref": "#/components/schemas/int64"
}
},
"required": [
"compressed_state",
"inbox_level",
"predecessor",
"number_of_ticks"
]
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup",
"commitment"
]
},
{
"title": "Sc_rollup_refute",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"sc_rollup_refute"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.rollup_address"
},
"opponent": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"refutation": {
"type": "object",
"properties": {
"choice": {
"$ref": "#/components/schemas/positive_bignum"
},
"step": {
"oneOf": [
{
"title": "Dissection",
"type": "array",
"items": {
"type": "object",
"properties": {
"state": {
"$ref": "#/components/schemas/state_hash"
},
"tick": {
"$ref": "#/components/schemas/positive_bignum"
}
},
"required": [
"tick"
]
}
},
{
"title": "Proof",
"type": "object",
"properties": {
"pvm_step": {
"oneOf": [
{
"title": "Arithmetic PVM with proof",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"arith_pvm_kind"
]
},
"proof": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": -32768,
"maximum": 32767
},
"before": {
"oneOf": [
{
"title": "Value",
"type": "object",
"properties": {
"value": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"value"
]
},
{
"title": "Node",
"type": "object",
"properties": {
"node": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"node"
]
}
]
},
"after": {
"oneOf": [
{
"title": "Value",
"type": "object",
"properties": {
"value": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"value"
]
},
{
"title": "Node",
"type": "object",
"properties": {
"node": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"node"
]
}
]
},
"state": {
"$ref": "#/components/schemas/tree_encoding"
}
},
"required": [
"version",
"before",
"after",
"state"
]
}
},
"required": [
"kind",
"proof"
]
},
{
"title": "Wasm 2.0.0 PVM with proof",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"wasm_2_0_0_pvm_kind"
]
},
"proof": {
"type": "object",
"properties": {
"version": {
"type": "integer",
"minimum": -32768,
"maximum": 32767
},
"before": {
"oneOf": [
{
"title": "Value",
"type": "object",
"properties": {
"value": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"value"
]
},
{
"title": "Node",
"type": "object",
"properties": {
"node": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"node"
]
}
]
},
"after": {
"oneOf": [
{
"title": "Value",
"type": "object",
"properties": {
"value": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"value"
]
},
{
"title": "Node",
"type": "object",
"properties": {
"node": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"node"
]
}
]
},
"state": {
"$ref": "#/components/schemas/tree_encoding"
}
},
"required": [
"version",
"before",
"after",
"state"
]
}
},
"required": [
"kind",
"proof"
]
},
{
"title": "Unencodable",
"type": "object",
"properties": {}
}
]
},
"input_proof": {
"oneOf": [
{
"title": "inbox proof",
"type": "object",
"properties": {
"input_proof_kind": {
"type": "string",
"enum": [
"inbox_proof"
]
},
"level": {
"type": "integer",
"minimum": -2147483648,
"maximum": 2147483647
},
"message_counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"serialized_proof": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
"required": [
"input_proof_kind",
"level",
"message_counter",
"serialized_proof"
]
},
{
"title": "reveal proof",
"type": "object",
"properties": {
"input_proof_kind": {
"type": "string",
"enum": [
"reveal_proof"
]
},
"reveal_proof": {
"type": "object",
"properties": {
"reveal_proof_kind": {
"type": "string",
"enum": [
"raw_data_proof"
]
},
"raw_data": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
"required": [
"reveal_proof_kind",
"raw_data"
]
}
},
"required": [
"input_proof_kind",
"reveal_proof"
]
}
]
}
},
"required": [
"pvm_step"
]
}
]
}
},
"required": [
"choice",
"step"
]
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup",
"opponent"
]
},
{
"title": "Sc_rollup_timeout",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"sc_rollup_timeout"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.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",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup",
"stakers"
]
},
{
"title": "Sc_rollup_execute_outbox_message",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"sc_rollup_execute_outbox_message"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.rollup_address"
},
"cemented_commitment": {
"$ref": "#/components/schemas/commitment_hash"
},
"output_proof": {
"$ref": "#/components/schemas/unistring"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup",
"cemented_commitment",
"output_proof"
]
},
{
"title": "Sc_rollup_recover_bond",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"sc_rollup_recover_bond"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/Sc_rollup_hash"
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup"
]
},
{
"title": "Sc_rollup_dal_slot_subscribe",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"sc_rollup_dal_slot_subscribe"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"rollup": {
"$ref": "#/components/schemas/015-PtLimaPt.rollup_address"
},
"slot_index": {
"type": "integer",
"minimum": 0,
"maximum": 255
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"rollup",
"slot_index"
]
},
{
"title": "Zk_rollup_origination",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"zk_rollup_origination"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"public_parameters": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"common_pp": {
"type": "object",
"properties": {
"n": {
"type": "integer",
"minimum": -1073741824,
"maximum": 1073741823
},
"generator": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
"pp_public_parameters": {
"type": "object",
"properties": {
"pc_public_parameter": {
"type": "object",
"properties": {
"encoding_1": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
"encoding_x": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
"required": [
"encoding_1",
"encoding_x"
]
},
"subgroup_size": {
"type": "integer",
"minimum": -1073741824,
"maximum": 1073741823
},
"cm_g_map": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
},
{
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
]
}
}
}
},
"required": [
"pc_public_parameter",
"subgroup_size",
"cm_g_map"
]
},
"query": {
"type": "object",
"properties": {
"v_map": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
},
{
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
},
{
"$ref": "#/components/schemas/unistring"
}
]
}
}
]
}
}
},
"identities": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
},
{
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
},
{
"type": "integer",
"minimum": -1073741824,
"maximum": 1073741823
}
]
}
}
},
{
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
]
}
}
}
]
}
}
},
"not_committed": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
},
{
"oneOf": [
{
"title": "permutation",
"type": "object",
"properties": {
"permutation": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
"required": [
"permutation"
]
},
{
"title": "plookup",
"type": "object",
"properties": {
"plookup": {}
},
"required": [
"plookup"
]
},
{
"title": "public",
"type": "object",
"properties": {
"public": {
"type": "array",
"items": {
"oneOf": [
{
"type": "array",
"items": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
{
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
{
"type": "integer",
"minimum": -1073741824,
"maximum": 1073741823
}
]
}
}
},
"required": [
"public"
]
}
]
}
]
}
}
}
},
"required": [
"v_map",
"identities",
"not_committed"
]
},
"common_keys": {
"type": "array",
"items": {
"$ref": "#/components/schemas/unistring"
}
}
},
"required": [
"n",
"generator",
"pp_public_parameters",
"query",
"common_keys"
]
},
"circuits_map": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
},
{
"type": "object",
"properties": {
"gates": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
},
{}
]
}
}
},
"nb_wires": {
"type": "integer",
"minimum": -1073741824,
"maximum": 1073741823
},
"alpha": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
"ultra": {
"type": "boolean"
}
},
"required": [
"gates",
"nb_wires",
"alpha",
"ultra"
]
}
]
}
}
}
},
"required": [
"common_pp",
"circuits_map"
]
},
{
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
]
}
},
"circuits_info": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
},
{
"type": "boolean"
}
]
}
}
},
"init_state": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
"nb_ops": {
"type": "integer",
"minimum": -1073741824,
"maximum": 1073741823
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"public_parameters",
"circuits_info",
"init_state",
"nb_ops"
]
},
{
"title": "Zk_rollup_publish",
"type": "object",
"properties": {
"kind": {
"type": "string",
"enum": [
"zk_rollup_publish"
]
},
"source": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"fee": {
"$ref": "#/components/schemas/015-PtLimaPt.mutez"
},
"counter": {
"$ref": "#/components/schemas/positive_bignum"
},
"gas_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"storage_limit": {
"$ref": "#/components/schemas/positive_bignum"
},
"zk_rollup": {
"$ref": "#/components/schemas/Zk_rollup_hash"
},
"op": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "object",
"properties": {
"op_code": {
"type": "integer",
"minimum": -1073741824,
"maximum": 1073741823
},
"price": {
"type": "object",
"properties": {
"id": {
"$ref": "#/components/schemas/script_expr"
},
"amount": {
"$ref": "#/components/schemas/bignum"
}
},
"required": [
"id",
"amount"
]
},
"l1_dst": {
"$ref": "#/components/schemas/Signature.Public_key_hash"
},
"rollup_id": {
"$ref": "#/components/schemas/Zk_rollup_hash"
},
"payload": {
"type": "array",
"items": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
}
},
"required": [
"op_code",
"price",
"l1_dst",
"rollup_id",
"payload"
]
},
{
"nullable": true,
"oneOf": [
{
"title": "Some",
"type": "object",
"properties": {
"contents": {
"$ref": "#/components/schemas/micheline.015-PtLimaPt.michelson_v1.expression"
},
"ty": {
"$ref": "#/components/schemas/micheline.015-PtLimaPt.michelson_v1.expression"
},
"ticketer": {
"$ref": "#/components/schemas/015-PtLimaPt.contract_id"
}
},
"required": [
"contents",
"ty",
"ticketer"
]
}
]
}
]
}
}
}
},
"required": [
"kind",
"source",
"fee",
"counter",
"gas_limit",
"storage_limit",
"zk_rollup",
"op"
]
}
]
},
"015-PtLimaPt.rollup_address": {
"title": "A smart contract rollup address",
"description": "A smart contract rollup is identified by a base58 address starting with scr1",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"015-PtLimaPt.scripted.contracts": {
"type": "object",
"properties": {
"code": {},
"storage": {}
},
"required": [
"code",
"storage"
]
},
"015-PtLimaPt.tx_rollup_id": {
"title": "A tx rollup handle",
"description": "A tx rollup notation as given to an RPC or inside scripts, is a base58 tx rollup hash",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Bls12_381.Public_key_hash": {
"title": "A Bls12_381 public key hash (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Commitment_hash": {
"title": "A commitment ID (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Context_hash": {
"title": "A hash of context (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"DAL_commitment": {
"title": "Commitment representation for the DAL (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Ed25519.Public_key_hash": {
"title": "An Ed25519 public key hash (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Inbox_list_hash": {
"title": "A merkle root hash for inboxes (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Message_result_hash": {
"title": "A message result hash (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Message_result_list_hash": {
"title": "A merklised message result list hash (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Operation_hash": {
"title": "A Tezos operation ID (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Operation_list_list_hash": {
"title": "A list of list of operations (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Protocol_hash": {
"title": "A Tezos protocol ID (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Sc_rollup_hash": {
"title": "A smart contract rollup address (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Signature": {
"title": "A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Signature.Public_key": {
"title": "A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Signature.Public_key_hash": {
"title": "A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Withdraw_list_hash": {
"title": "A list of withdraw orders (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"Zk_rollup_hash": {
"title": "A zk rollup address (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"
}
]
},
"commitment_hash": {
"title": "The hash of a commitment of a smart contract rollup (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"cycle_nonce": {
"title": "A nonce hash (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"error": {
"description": "The full list of errors is available with the global RPC `GET errors`"
},
"error_opt": {
"description": "An optional error-trace (None indicates no error). The full list of errors is available with the global RPC `GET errors`"
},
"fitness": {
"title": "Block fitness",
"description": "The fitness, or score, of a block, that allow the Tezos to decide which chain is the best. A fitness value is a list of byte sequences. They are compared as follows: shortest lists are smaller; lists of the same length are compared according to the lexicographical order.",
"type": "array",
"items": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
},
"inode_tree": {
"oneOf": [
{
"title": "Inode_tree",
"type": "object",
"properties": {
"inode_tree": {
"type": "object",
"properties": {
"length": {
"$ref": "#/components/schemas/int64"
},
"proofs": {
"oneOf": [
{
"title": "sparse_proof",
"type": "object",
"properties": {
"sparse_proof": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 255
},
{
"$ref": "#/components/schemas/inode_tree"
}
]
}
}
}
},
"required": [
"sparse_proof"
]
},
{
"title": "dense_proof",
"type": "object",
"properties": {
"dense_proof": {
"type": "array",
"items": {
"$ref": "#/components/schemas/inode_tree"
}
}
},
"required": [
"dense_proof"
]
}
]
}
},
"required": [
"length",
"proofs"
]
}
},
"required": [
"inode_tree"
]
},
{
"title": "other_inode_trees",
"type": "object",
"properties": {
"other_inode_trees": {
"oneOf": [
{
"title": "Inode_values",
"type": "object",
"properties": {
"inode_values": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
{
"$ref": "#/components/schemas/tree_encoding"
}
]
}
}
}
},
"required": [
"inode_values"
]
},
{
"title": "other_inode_trees",
"type": "object",
"properties": {
"other_inode_trees": {
"oneOf": [
{
"title": "Blinded_inode",
"type": "object",
"properties": {
"blinded_inode": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"blinded_inode"
]
},
{
"title": "Inode_extender",
"type": "object",
"properties": {
"inode_extender": {
"type": "object",
"properties": {
"length": {
"$ref": "#/components/schemas/int64"
},
"segment": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
"proof": {
"$ref": "#/components/schemas/inode_tree"
}
},
"required": [
"length",
"segment",
"proof"
]
}
},
"required": [
"inode_extender"
]
},
{
"title": "None",
"type": "object",
"properties": {
"none": {}
},
"required": [
"none"
]
}
]
}
},
"required": [
"other_inode_trees"
]
}
]
}
},
"required": [
"other_inode_trees"
]
}
]
},
"int64": {
"title": "64 bit integers",
"description": "Decimal representation of 64 bit integers",
"type": "string"
},
"micheline.015-PtLimaPt.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.015-PtLimaPt.michelson_v1.expression"
}
},
{
"title": "Prim__generic",
"description": "Generic primitive (any number of args with or without annotations)",
"type": "object",
"properties": {
"prim": {
"$ref": "#/components/schemas/015-PtLimaPt.michelson.v1.primitives"
},
"args": {
"type": "array",
"items": {
"$ref": "#/components/schemas/micheline.015-PtLimaPt.michelson_v1.expression"
}
},
"annots": {
"type": "array",
"items": {
"type": "string"
}
}
},
"required": [
"prim"
]
}
]
},
"next_operation": {
"description": "An operation's shell header.",
"type": "object",
"properties": {
"protocol": {
"type": "string",
"enum": [
"PtLimaPtLMwfNinJi9rCfDPWea8dFgTZ1MeJ9f1m2SRic6ayiwW"
]
},
"branch": {
"$ref": "#/components/schemas/block_hash"
},
"contents": {
"type": "array",
"items": {
"$ref": "#/components/schemas/015-PtLimaPt.operation.alpha.contents"
}
},
"signature": {
"$ref": "#/components/schemas/Signature"
}
},
"required": [
"protocol",
"branch",
"contents",
"signature"
]
},
"positive_bignum": {
"title": "Positive big number",
"description": "Decimal representation of a positive big number",
"type": "string"
},
"script_expr": {
"title": "A script expression ID (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
},
"state_hash": {
"title": "The hash of the VM state of a smart contract 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"
}
]
},
"tree_encoding": {
"oneOf": [
{
"title": "Inode",
"type": "object",
"properties": {
"inode": {
"type": "object",
"properties": {
"length": {
"$ref": "#/components/schemas/int64"
},
"proofs": {
"oneOf": [
{
"title": "sparse_proof",
"type": "object",
"properties": {
"sparse_proof": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "integer",
"minimum": 0,
"maximum": 255
},
{
"$ref": "#/components/schemas/inode_tree"
}
]
}
}
}
},
"required": [
"sparse_proof"
]
},
{
"title": "dense_proof",
"type": "object",
"properties": {
"dense_proof": {
"type": "array",
"items": {
"$ref": "#/components/schemas/inode_tree"
}
}
},
"required": [
"dense_proof"
]
}
]
}
},
"required": [
"length",
"proofs"
]
}
},
"required": [
"inode"
]
},
{
"title": "other_trees",
"type": "object",
"properties": {
"other_trees": {
"oneOf": [
{
"title": "Node",
"type": "object",
"properties": {
"node": {
"type": "array",
"items": {
"type": "array",
"items": {
"oneOf": [
{
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
{
"$ref": "#/components/schemas/tree_encoding"
}
]
}
}
}
},
"required": [
"node"
]
},
{
"title": "other_trees",
"type": "object",
"properties": {
"other_trees": {
"oneOf": [
{
"title": "Value",
"type": "object",
"properties": {
"value": {
"oneOf": [
{
"title": "short_bytes",
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
{
"title": "medium_bytes",
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
{
"title": "long_bytes",
"description": "This case is void. No data is accepted."
},
{
"title": "unlimited_bytes",
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
}
]
}
},
"required": [
"value"
]
},
{
"title": "Blinded_value",
"type": "object",
"properties": {
"blinded_value": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"blinded_value"
]
},
{
"title": "Blinded_node",
"type": "object",
"properties": {
"blinded_node": {
"$ref": "#/components/schemas/Context_hash"
}
},
"required": [
"blinded_node"
]
},
{
"title": "Extender",
"type": "object",
"properties": {
"extender": {
"type": "object",
"properties": {
"length": {
"$ref": "#/components/schemas/int64"
},
"segment": {
"type": "string",
"pattern": "^([a-zA-Z0-9][a-zA-Z0-9])*$"
},
"proof": {
"$ref": "#/components/schemas/inode_tree"
}
},
"required": [
"length",
"segment",
"proof"
]
}
},
"required": [
"extender"
]
},
{
"title": "None",
"type": "object",
"properties": {
"none": {}
},
"required": [
"none"
]
}
]
}
},
"required": [
"other_trees"
]
}
]
}
},
"required": [
"other_trees"
]
}
]
},
"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"
]
}
]
},
"value_hash": {
"title": "Hash of a consensus value (Base58Check-encoded)",
"oneOf": [
{
"$ref": "#/components/schemas/unistring"
}
]
}
}
}
}