From df85aab3f3ff057d560ff29c6f9616029ddf6ccb Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Wed, 4 Aug 2021 16:29:19 +0200 Subject: [PATCH 01/13] doc: eliminate old mentions to Edo --- docs/user/multinetwork.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/user/multinetwork.rst b/docs/user/multinetwork.rst index 77647490489d..e7e0d118b30b 100644 --- a/docs/user/multinetwork.rst +++ b/docs/user/multinetwork.rst @@ -36,9 +36,9 @@ Built-In Networks The simplest way to select the network to connect to is to use the ``--network`` option when you initialize your :doc:`node configuration <./node-configuration>`. For instance, to run on Granadanet:: - tezos-node config init --data-dir ~/tezos-edonet --network granadanet - tezos-node identity generate --data-dir ~/tezos-edonet - tezos-node run --data-dir ~/tezos-edonet + tezos-node config init --data-dir ~/tezos-florencenet --network florencenet + tezos-node identity generate --data-dir ~/tezos-florencenet + tezos-node run --data-dir ~/tezos-florencenet .. note:: Once initialized, the node remembers its network settings on subsequent runs @@ -64,7 +64,7 @@ You can use the ``--network`` option with ``tezos-node run`` to make sure your node runs on the expected network. For instance, to make sure that it runs on Granadanet:: - tezos-node run --data-dir ~/tezos-edonet --network granadanet + tezos-node run --data-dir ~/tezos-florencenet --network florencenet This command will fail with an error if the configured network is not Granadanet. The node also displays the chain name (such as ``TEZOS_MAINNET``) when it starts. -- GitLab From 1fe7350caaadfccbbc39a5cfe90e8a4cfea57d89 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Fri, 6 Aug 2021 16:17:16 +0200 Subject: [PATCH 02/13] doc: fix consensus+() ad consensus^+() --- docs/010/consensus.rst | 2 +- docs/alpha/consensus.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/010/consensus.rst b/docs/010/consensus.rst index 4525a109a364..b644239bc787 100644 --- a/docs/010/consensus.rst +++ b/docs/010/consensus.rst @@ -79,7 +79,7 @@ minimal block delay function as follows: .. math:: delay^*(p, e) = \begin{cases} md & \text{ if } p = 0 \wedge w \geq \frac{3}{5} te\\ - delay+(p, e) & \text{ otherwise} + delay^+(p, e) & \text{ otherwise} \end{cases} where diff --git a/docs/alpha/consensus.rst b/docs/alpha/consensus.rst index e2988cfe1fe9..afa4113405cb 100644 --- a/docs/alpha/consensus.rst +++ b/docs/alpha/consensus.rst @@ -78,7 +78,7 @@ minimal block delay function as follows: .. math:: delay^*(p, e) = \begin{cases} md & \text{ if } p = 0 \wedge w \geq \frac{3}{5} te\\ - delay+(p, e) & \text{ otherwise} + delay^+(p, e) & \text{ otherwise} \end{cases} where -- GitLab From f69d5ae41241833c9a6ba574f51b8d1c24ab5012 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Fri, 6 Aug 2021 16:18:16 +0200 Subject: [PATCH 03/13] doc: fix consensus() as consensus^+() --- docs/010/consensus.rst | 2 +- docs/alpha/consensus.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/010/consensus.rst b/docs/010/consensus.rst index b644239bc787..bf669c3d460a 100644 --- a/docs/010/consensus.rst +++ b/docs/010/consensus.rst @@ -109,7 +109,7 @@ endorsing power :math:`e` is *valid* at level :math:`\ell` if: - the endorsements in the block are valid for level :math:`\ell-1`, - it is signed by the baker that has baking slot :math:`p`, and -- :math:`t' \geq t + delay(p,e)`, where :math:`t` is the timestamp of the +- :math:`t' \geq t + delay^+(p,e)`, where :math:`t` is the timestamp of the previous block. We note that, by the definition of the delay function, the higher the priority diff --git a/docs/alpha/consensus.rst b/docs/alpha/consensus.rst index afa4113405cb..d827b3a7751a 100644 --- a/docs/alpha/consensus.rst +++ b/docs/alpha/consensus.rst @@ -108,7 +108,7 @@ endorsing power :math:`e` is *valid* at level :math:`\ell` if: - the endorsements in the block are valid for level :math:`\ell-1`, - it is signed by the baker that has baking slot :math:`p`, and -- :math:`t' \geq t + delay(p,e)`, where :math:`t` is the timestamp of the +- :math:`t' \geq t + delay^+(p,e)`, where :math:`t` is the timestamp of the previous block. We note that, by the definition of the delay function, the higher the priority -- GitLab From f5ec1e95fbd22c911e57de539eacf2cd7cbce538 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Germ=C3=A1n=20Delbianco?= Date: Fri, 27 Aug 2021 12:44:11 +0200 Subject: [PATCH 04/13] Proto plugin: fix typo in outdated endorsement error declaration Reported by @tzs1 on the doc typo train (tezos/tezos!3317). --- src/proto_009_PsFLoren/lib_plugin/plugin.ml | 2 +- src/proto_010_PtGRANAD/lib_plugin/plugin.ml | 2 +- src/proto_alpha/lib_plugin/plugin.ml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/proto_009_PsFLoren/lib_plugin/plugin.ml b/src/proto_009_PsFLoren/lib_plugin/plugin.ml index 7a284ca7f43c..7c259b004a27 100644 --- a/src/proto_009_PsFLoren/lib_plugin/plugin.ml +++ b/src/proto_009_PsFLoren/lib_plugin/plugin.ml @@ -173,7 +173,7 @@ module Mempool = struct let () = Environment.Error_monad.register_error_kind `Temporary - ~id:"prefilter.outdated_endorement" + ~id:"prefilter.outdated_endorsement" ~title:"Endorsement is outdated" ~description:"Endorsement is outdated" ~pp:(fun ppf () -> Format.fprintf ppf "Endorsement is outdated") diff --git a/src/proto_010_PtGRANAD/lib_plugin/plugin.ml b/src/proto_010_PtGRANAD/lib_plugin/plugin.ml index dafd8726fa30..64d25a1106b0 100644 --- a/src/proto_010_PtGRANAD/lib_plugin/plugin.ml +++ b/src/proto_010_PtGRANAD/lib_plugin/plugin.ml @@ -199,7 +199,7 @@ module Mempool = struct let () = Environment.Error_monad.register_error_kind `Temporary - ~id:"prefilter.outdated_endorement" + ~id:"prefilter.outdated_endorsement" ~title:"Endorsement is outdated" ~description:"Endorsement is outdated" ~pp:(fun ppf () -> Format.fprintf ppf "Endorsement is outdated") diff --git a/src/proto_alpha/lib_plugin/plugin.ml b/src/proto_alpha/lib_plugin/plugin.ml index fe26c2473834..9f302b5774d4 100644 --- a/src/proto_alpha/lib_plugin/plugin.ml +++ b/src/proto_alpha/lib_plugin/plugin.ml @@ -203,7 +203,7 @@ module Mempool = struct let () = Environment.Error_monad.register_error_kind `Temporary - ~id:"prefilter.outdated_endorement" + ~id:"prefilter.outdated_endorsement" ~title:"Endorsement is outdated" ~description:"Endorsement is outdated" ~pp:(fun ppf () -> Format.fprintf ppf "Endorsement is outdated") -- GitLab From b0bce3694982a2da891fb99b956e359bbc6a3a80 Mon Sep 17 00:00:00 2001 From: Lacramioara Astefanoaei Date: Tue, 31 Aug 2021 11:10:14 +0200 Subject: [PATCH 05/13] doc: correct 8 to 4 for de in emmy* --- docs/010/consensus.rst | 2 +- docs/alpha/consensus.rst | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/010/consensus.rst b/docs/010/consensus.rst index bf669c3d460a..9c619867def7 100644 --- a/docs/010/consensus.rst +++ b/docs/010/consensus.rst @@ -297,7 +297,7 @@ Note that these parameters are part of the larger set of :ref:`protocol constant - 40 seconds * - :math:`de` - ``DELAY_PER_MISSING_ENDORSEMENT`` - - 8 seconds + - 4 seconds * - :math:`ie` - ``INITIAL_ENDORSERS`` - 192 diff --git a/docs/alpha/consensus.rst b/docs/alpha/consensus.rst index d827b3a7751a..6f1d6e219fcf 100644 --- a/docs/alpha/consensus.rst +++ b/docs/alpha/consensus.rst @@ -293,7 +293,7 @@ Note that these parameters are part of the larger set of :ref:`protocol constant - 40 seconds * - :math:`de` - ``DELAY_PER_MISSING_ENDORSEMENT`` - - 8 seconds + - 4 seconds * - :math:`ie` - ``INITIAL_ENDORSERS`` - 192 -- GitLab From 6fdbb89a8474211bcd3ff1302ac56d9398271555 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Thu, 2 Sep 2021 20:21:38 +0200 Subject: [PATCH 06/13] doc: refer public issue in smart contract --- tests_python/contracts_alpha/ill_typed/failwith_big_map.tz | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests_python/contracts_alpha/ill_typed/failwith_big_map.tz b/tests_python/contracts_alpha/ill_typed/failwith_big_map.tz index dba12309038c..33d73c26123c 100644 --- a/tests_python/contracts_alpha/ill_typed/failwith_big_map.tz +++ b/tests_python/contracts_alpha/ill_typed/failwith_big_map.tz @@ -1,5 +1,5 @@ # This contract uses FAILWITH to expose a big map diff -# See https://gitlab.com/nomadic-labs/tezos/-/issues/27#note_271401078 +# See https://gitlab.com/tezos/tezos/-/issues/1708#note_667884499 parameter (big_map int int); -- GitLab From 3867b00efda498862d6768ee706454baf955a648 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Fri, 3 Sep 2021 13:15:12 +0200 Subject: [PATCH 07/13] doc: fix 5 sphinx warnings --- docs/alpha/michelson.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/alpha/michelson.rst b/docs/alpha/michelson.rst index 9ab1a1d19b91..32f921009ab0 100644 --- a/docs/alpha/michelson.rst +++ b/docs/alpha/michelson.rst @@ -1726,10 +1726,10 @@ Domain specific data types - ``ticket (t)``: A ticket used to authenticate information of type ``(t)`` on-chain. -- ``chest ``: a timelocked chest containing bytes and information to open it. +- ``chest``: a timelocked chest containing bytes and information to open it. see :doc:`Timelock ` . -- ``chest_key ``: used to open a chest, also contains a proof +- ``chest_key``: used to open a chest, also contains a proof to check the correctness of the opening. see :doc:`Timelock ` . @@ -2303,7 +2303,7 @@ Operations on timelock - ``OPEN_CHEST``: opens a timelocked chest given its key and the time. The results can be bytes if the opening is correct, or a boolean indicating whether the chest was incorrect, - or its opening was. See :doc:`Timelock `for more information. + or its opening was. See :doc:`Timelock ` for more information. :: -- GitLab From b0f842ccbfe58b89cc86397ab75a1d32ac17f325 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Fri, 3 Sep 2021 17:28:07 +0200 Subject: [PATCH 08/13] doc: fix display of sidebars in alpha/voting.rst --- docs/alpha/voting.rst | 19 +++++++++---------- 1 file changed, 9 insertions(+), 10 deletions(-) diff --git a/docs/alpha/voting.rst b/docs/alpha/voting.rst index 4e955bd22a8b..d6304eeecf0a 100644 --- a/docs/alpha/voting.rst +++ b/docs/alpha/voting.rst @@ -159,16 +159,6 @@ activation step works on the protocol itself. Consequently, if a protocol hash is voted in and the protocol it identifies is invalid, the activation step fails. -A protocol is *invalid* if its code cannot be compiled (e.g., if the code is not -valid source code), if its code uses functions not present in the -:ref:`protocol environment `, or if it downgrades the -:ref:`protocol environment ` version. - -If an invalid protocol is voted in, then the activation fails for all the nodes, -and then the chain becomes stuck. This is why it is important to vote for hashes -that designate valid protocols: ones with sources that are available and that -can be compiled. - .. sidebar:: Checking a hash is of a valid protocol When a hash is proposed by a delegate, it is usually accompanied by some @@ -187,6 +177,15 @@ can be compiled. If your node becomes stuck, you should start a fresh up-to-date node. +A protocol is *invalid* if its code cannot be compiled (e.g., if the code is not +valid source code), if its code uses functions not present in the +:ref:`protocol environment `, or if it downgrades the +:ref:`protocol environment ` version. + +If an invalid protocol is voted in, then the activation fails for all the nodes, +and then the chain becomes stuck. This is why it is important to vote for hashes +that designate valid protocols: ones with sources that are available and that +can be compiled. Operations ---------- -- GitLab From a5a0be78107de6bd5d60e612496233f26cebf814 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Tue, 7 Sep 2021 21:35:35 +0200 Subject: [PATCH 09/13] doc: explain "no longer maintained" in test networks --- docs/introduction/test_networks.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/docs/introduction/test_networks.rst b/docs/introduction/test_networks.rst index 50e65ec75c7a..95ea5b4de67f 100644 --- a/docs/introduction/test_networks.rst +++ b/docs/introduction/test_networks.rst @@ -72,14 +72,16 @@ Edo2net Edo2net was a test network running the Edo protocol. Following the activation of the Florence protocol replacing Edo on Mainnet, -Edo2net stopped being maintained on May 11th, 2021. +Edo2net stopped being maintained on May 11th, 2021 (the bootstrap baker will +no longer be producing blocks). Delphinet --------- Delphinet was a test network running the Delphi protocol. Following the activation of the Edo protocol replacing Delphi on Mainnet, -Delphinet stopped being maintained on Febuary 28th, 2021. +Delphinet stopped being maintained on Febuary 28th, 2021 (the bootstrap baker +will no longer be producing blocks). Dalphanet --------- @@ -94,7 +96,8 @@ Carthagenet Carthagenet was a test network running the Carthage protocol. Following the activation of the Delphi protocol replacing Carthage on Mainnet, -Carthagenet stopped being maintained on December 12th, 2020. +Carthagenet stopped being maintained on December 12th, 2020 (the bootstrap +baker will no longer be producing blocks). Babylonnet ---------- -- GitLab From 2bebc3d548ea5aabdf67637bccb700b52ef14ca0 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Wed, 8 Sep 2021 10:20:05 +0200 Subject: [PATCH 10/13] doc: eliminate mentions of old florencenet --- docs/user/multinetwork.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/user/multinetwork.rst b/docs/user/multinetwork.rst index e7e0d118b30b..99e94240604e 100644 --- a/docs/user/multinetwork.rst +++ b/docs/user/multinetwork.rst @@ -36,9 +36,9 @@ Built-In Networks The simplest way to select the network to connect to is to use the ``--network`` option when you initialize your :doc:`node configuration <./node-configuration>`. For instance, to run on Granadanet:: - tezos-node config init --data-dir ~/tezos-florencenet --network florencenet - tezos-node identity generate --data-dir ~/tezos-florencenet - tezos-node run --data-dir ~/tezos-florencenet + tezos-node config init --data-dir ~/tezos-granadanet --network granadanet + tezos-node identity generate --data-dir ~/tezos-granadanet + tezos-node run --data-dir ~/tezos-granadanet .. note:: Once initialized, the node remembers its network settings on subsequent runs @@ -64,7 +64,7 @@ You can use the ``--network`` option with ``tezos-node run`` to make sure your node runs on the expected network. For instance, to make sure that it runs on Granadanet:: - tezos-node run --data-dir ~/tezos-florencenet --network florencenet + tezos-node run --data-dir ~/tezos-granadanet --network granadanet This command will fail with an error if the configured network is not Granadanet. The node also displays the chain name (such as ``TEZOS_MAINNET``) when it starts. -- GitLab From 74665a084950fc4228bd17c89703622e47ebab86 Mon Sep 17 00:00:00 2001 From: Lacramioara Astefanoaei Date: Thu, 9 Sep 2021 12:45:36 +0200 Subject: [PATCH 11/13] doc: correct deposit values in the howtorun entry --- docs/introduction/howtorun.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/introduction/howtorun.rst b/docs/introduction/howtorun.rst index 6541ea46bba0..3b57203ffc42 100644 --- a/docs/introduction/howtorun.rst +++ b/docs/introduction/howtorun.rst @@ -97,7 +97,7 @@ delegate. Hence a delegate must have enough funds to be able to pay security deposits for all the blocks it can potentially bake/endorse during ``preserved_cycles``. -The current deposits are *512ꜩ* for baked block and *64ꜩ* for +The current deposits are *640ꜩ* for baked block and *2.5ꜩ* for endorsement. Note that delegating coins doesn't mean that a delegate can spend them, they only add up to its rolls count while all the deposits must -- GitLab From 114ff93d811629e27694818f73a1a62506045f17 Mon Sep 17 00:00:00 2001 From: Nic Volanschi Date: Thu, 9 Sep 2021 17:16:50 +0200 Subject: [PATCH 12/13] doc: 010 is not a "development protocol" --- docs/protocols/010_granada.rst | 3 +-- docs/protocols/alpha.rst | 4 ++-- docs/protocols/naming.rst | 2 ++ 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs/protocols/010_granada.rst b/docs/protocols/010_granada.rst index a493b4f661a6..7447a8bada14 100644 --- a/docs/protocols/010_granada.rst +++ b/docs/protocols/010_granada.rst @@ -1,8 +1,7 @@ Protocol Granada ================ -This page contains all the relevant information for protocol Granada, a -development version of the Tezos protocol. +This page contains all the relevant information for protocol Granada. The code can be found in the ``src/proto_010_PtGRANAD`` directory of the ``master`` branch of Tezos. diff --git a/docs/protocols/alpha.rst b/docs/protocols/alpha.rst index af8e7722b532..fd1f284ac076 100644 --- a/docs/protocols/alpha.rst +++ b/docs/protocols/alpha.rst @@ -1,8 +1,8 @@ Protocol Alpha ============== -This page contains all the relevant information for protocol Alpha, a -development version of the Tezos protocol. +This page contains all the relevant information for protocol Alpha +(see :ref:`naming_convention`). The code can be found in the :src:`src/proto_alpha` directory of the ``master`` branch of Tezos. diff --git a/docs/protocols/naming.rst b/docs/protocols/naming.rst index 204ef49261da..897648704ac1 100644 --- a/docs/protocols/naming.rst +++ b/docs/protocols/naming.rst @@ -32,6 +32,8 @@ sequence: * 006 Carthage * 007 Delphi * 008 Edo +* 009 Florence +* 010 Granada * ... Due to the evolving nature of the in-use protocols, the above absolute protocol -- GitLab From ae93226354934fc8d25fe8d77a874f00d0a3daa6 Mon Sep 17 00:00:00 2001 From: Eugen Zalinescu Date: Fri, 10 Sep 2021 10:32:38 +0200 Subject: [PATCH 13/13] Tezt: update regression output --- tezt/_regressions/rpc/alpha.client.mempool.out | 4 ++-- tezt/_regressions/rpc/alpha.proxy.mempool.out | 4 ++-- tezt/_regressions/rpc/current.client.mempool.out | 4 ++-- tezt/_regressions/rpc/current.proxy.mempool.out | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/tezt/_regressions/rpc/alpha.client.mempool.out b/tezt/_regressions/rpc/alpha.client.mempool.out index d44bbd767f7e..bc3a0629e04a 100644 --- a/tezt/_regressions/rpc/alpha.client.mempool.out +++ b/tezt/_regressions/rpc/alpha.client.mempool.out @@ -68,11 +68,11 @@ curl -s 'http://localhost:16385/chains/main/mempool/monitor_operations?applied=t "[SIGNATURE]", "error": [ { "kind": "temporary", - "id": "proto.alpha.prefilter.outdated_endorement" } ] } ] ], + "id": "proto.alpha.prefilter.outdated_endorsement" } ] } ] ], "unprocessed": [] } curl -s 'http://localhost:16385/chains/main/mempool/monitor_operations?applied=true&branch_delayed=true&refused=true&branch_refused=true' -[{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]"},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"10","counter":"1","gas_limit":"1040","storage_limit":"0","amount":"1000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"permanent","id":"proto.alpha.prefilter.fees_too_low"}]},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"branch","id":"proto.alpha.contract.counter_in_the_past","contract":"[PUBLIC_KEY_HASH]","expected":"2","found":"1"}]},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"endorsement_with_slot","endorsement":{"branch":"[BRANCH_HASH]","operations":{"kind":"endorsement","level":2},"signature":"[SIGNATURE]"},"slot":10}],"signature":"[SIGNATURE]","error":[{"kind":"temporary","id":"proto.alpha.prefilter.outdated_endorement"}]}] +[{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]"},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"10","counter":"1","gas_limit":"1040","storage_limit":"0","amount":"1000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"permanent","id":"proto.alpha.prefilter.fees_too_low"}]},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"branch","id":"proto.alpha.contract.counter_in_the_past","contract":"[PUBLIC_KEY_HASH]","expected":"2","found":"1"}]},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"endorsement_with_slot","endorsement":{"branch":"[BRANCH_HASH]","operations":{"kind":"endorsement","level":2},"signature":"[SIGNATURE]"},"slot":10}],"signature":"[SIGNATURE]","error":[{"kind":"temporary","id":"proto.alpha.prefilter.outdated_endorsement"}]}] curl -s 'http://localhost:16385/describe/chains/main/mempool?recurse=yes' {"static":{"subdirs":{"suffixes":[{"name":"ban_operation","tree":{"static":{"post_service":{"meth":"POST","path":["ban_operation"],"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.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/Operation_hash","definitions":{"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"name":"Operation_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"filter","tree":{"static":{"get_service":{"meth":"GET","path":["filter"],"description":"Get the configuration of the mempool filter.","query":[],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}},"post_service":{"meth":"POST","path":["filter"],"description":"Set the configuration of the mempool filter.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"monitor_operations","tree":{"static":{"get_service":{"meth":"GET","path":["monitor_operations"],"description":"Monitor the mempool operations.","query":[{"name":"applied","description":"Include applied operations (set by default)","kind":{"single":{"id":"single","name":"bool"}}},{"name":"refused","description":"Include refused operations","kind":{"single":{"id":"single","name":"bool"}}},{"name":"branch_refused","description":"Include branch refused operations","kind":{"single":{"id":"single","name":"bool"}}},{"name":"branch_delayed","description":"Include branch delayed operations (set by default)","kind":{"single":{"id":"single","name":"bool"}}}],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"array","items":{"description":"An operation's shell header.","type":"object","properties":{"hash":{"$ref":"#/definitions/Operation_hash"},"protocol":{"type":"string","enum":["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["signature","contents","branch","protocol","hash"],"additionalProperties":false},"definitions":{"Context_hash":{"title":"A hash of context (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Ed25519.Public_key_hash":{"title":"An Ed25519 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_list_list_hash":{"title":"A list of list of operations (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Protocol_hash":{"title":"A Tezos protocol ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature":{"title":"A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key":{"title":"A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"alpha.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":"#/definitions/block_hash"},"timestamp":{"$ref":"#/definitions/timestamp.protocol"},"validation_pass":{"type":"integer","minimum":0,"maximum":255},"operations_hash":{"$ref":"#/definitions/Operation_list_list_hash"},"fitness":{"$ref":"#/definitions/fitness"},"context":{"$ref":"#/definitions/Context_hash"},"priority":{"type":"integer","minimum":0,"maximum":65535},"proof_of_work_nonce":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"seed_nonce_hash":{"$ref":"#/definitions/cycle_nonce"},"liquidity_baking_escape_vote":{"type":"boolean"},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","liquidity_baking_escape_vote","proof_of_work_nonce","priority","context","fitness","operations_hash","validation_pass","timestamp","predecessor","proto","level"],"additionalProperties":false},"alpha.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.","$ref":"#/definitions/unistring"},"alpha.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":"named","type":"string"}]},"alpha.inlined.endorsement":{"description":"An operation's shell header.","type":"object","properties":{"branch":{"$ref":"#/definitions/block_hash"},"operations":{"$ref":"#/definitions/alpha.inlined.endorsement.contents"},"signature":{"$ref":"#/definitions/Signature"}},"required":["operations","branch"],"additionalProperties":false},"alpha.inlined.endorsement.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false}]},"alpha.michelson.v1.primitives":{"type":"string","enum":["ABS","IF","SENDER","VOTING_POWER","False","NEVER","DUG","chest","BLAKE2B","map","bls12_381_g2","Pair","INT","option","bls12_381_g1","storage","SIZE","view","SHA256","AND","VIEW","mutez","NIL","big_map","SUB","SAPLING_VERIFY_UPDATE","CHECK_SIGNATURE","TOTAL_VOTING_POWER","address","MAP","or","ticket","ADD","IMPLICIT_ACCOUNT","SHA512","key","LSL","bls12_381_fr","chest_key","sapling_state","COMPARE","TRANSFER_TOKENS","STEPS_TO_QUOTA","DROP","set","BALANCE","CONCAT","MUL","FAILWITH","Elt","list","OR","DIP","MEM","LOOP_LEFT","lambda","ITER","Some","parameter","sapling_transaction","EMPTY_MAP","None","SET_DELEGATE","pair","AMOUNT","string","PAIRING_CHECK","bytes","CHAIN_ID","HASH_KEY","IF_LEFT","CREATE_ACCOUNT","LT","KECCAK","UNPACK","SPLIT_TICKET","SELF_ADDRESS","unit","UNIT","LE","SOURCE","CREATE_CONTRACT","Unit","DIG","NONE","ISNAT","GE","SOME","key_hash","SELF","signature","CAR","NOT","operation","CDR","ADDRESS","TICKET","RIGHT","LEFT","RENAME","True","Right","PACK","IF_CONS","SHA3","constant","UPDATE","EMPTY_SET","NEQ","LAMBDA","timestamp","READ_TICKET","LOOP","Left","int","LSR","EMPTY_BIG_MAP","chain_id","OPEN_CHEST","LEVEL","UNPAIR","JOIN_TICKETS","PUSH","nat","GT","never","NOW","IF_NONE","PAIR","GET_AND_UPDATE","XOR","CAST","bool","SAPLING_EMPTY_STATE","EDIV","EQ","CONTRACT","contract","EXEC","GET","NEG","SLICE","DUP","CONS","SWAP","APPLY","code"]},"alpha.mutez":{"$ref":"#/definitions/positive_bignum"},"alpha.operation.alpha.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false},{"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":["nonce","level","kind"],"additionalProperties":false},{"title":"Endorsement_with_slot","type":"object","properties":{"kind":{"type":"string","enum":["endorsement_with_slot"]},"endorsement":{"$ref":"#/definitions/alpha.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","endorsement","kind"],"additionalProperties":false},{"title":"Double_endorsement_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_endorsement_evidence"]},"op1":{"$ref":"#/definitions/alpha.inlined.endorsement"},"op2":{"$ref":"#/definitions/alpha.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","op2","op1","kind"],"additionalProperties":false},{"title":"Double_baking_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_baking_evidence"]},"bh1":{"$ref":"#/definitions/alpha.block_header.alpha.full_header"},"bh2":{"$ref":"#/definitions/alpha.block_header.alpha.full_header"}},"required":["bh2","bh1","kind"],"additionalProperties":false},{"title":"Activate_account","type":"object","properties":{"kind":{"type":"string","enum":["activate_account"]},"pkh":{"$ref":"#/definitions/Ed25519.Public_key_hash"},"secret":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["secret","pkh","kind"],"additionalProperties":false},{"title":"Proposals","type":"object","properties":{"kind":{"type":"string","enum":["proposals"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposals":{"type":"array","items":{"$ref":"#/definitions/Protocol_hash"}}},"required":["proposals","period","source","kind"],"additionalProperties":false},{"title":"Ballot","type":"object","properties":{"kind":{"type":"string","enum":["ballot"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposal":{"$ref":"#/definitions/Protocol_hash"},"ballot":{"type":"string","enum":["nay","yay","pass"]}},"required":["ballot","proposal","period","source","kind"],"additionalProperties":false},{"title":"Reveal","type":"object","properties":{"kind":{"type":"string","enum":["reveal"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"public_key":{"$ref":"#/definitions/Signature.Public_key"}},"required":["public_key","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Transaction","type":"object","properties":{"kind":{"type":"string","enum":["transaction"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"amount":{"$ref":"#/definitions/alpha.mutez"},"destination":{"$ref":"#/definitions/alpha.contract_id"},"parameters":{"type":"object","properties":{"entrypoint":{"$ref":"#/definitions/alpha.entrypoint"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","entrypoint"],"additionalProperties":false}},"required":["destination","amount","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Origination","type":"object","properties":{"kind":{"type":"string","enum":["origination"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"balance":{"$ref":"#/definitions/alpha.mutez"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"},"script":{"$ref":"#/definitions/alpha.scripted.contracts"}},"required":["script","balance","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Delegation","type":"object","properties":{"kind":{"type":"string","enum":["delegation"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"}},"required":["storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Failing_noop","type":"object","properties":{"kind":{"type":"string","enum":["failing_noop"]},"arbitrary":{"$ref":"#/definitions/unistring"}},"required":["arbitrary","kind"],"additionalProperties":false},{"title":"Register_global_constant","type":"object","properties":{"kind":{"type":"string","enum":["register_global_constant"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false}]},"alpha.scripted.contracts":{"type":"object","properties":{"code":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"storage":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["storage","code"],"additionalProperties":false},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","$ref":"#/definitions/unistring"},"cycle_nonce":{"title":"A nonce hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"error":{"description":"The full list of error 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])*$"}},"micheline.alpha.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"layout":{"name":"X_0","kind":"Ref"},"kind":"Seq"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[{"description":{"title":"alpha.scripted.contracts"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"code","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"storage","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"alpha.contract_id"},"encoding":{"tag_size":"Uint8","kind":{"size":22,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Signature.Public_key_hash","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Implicit"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Contract_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"padding","layout":{"kind":"Padding"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Originated"}]}},{"description":{"title":"alpha.entrypoint"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"default"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"root"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"do"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"set_delegate"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"remove_delegate"},{"tag":255,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint8"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}],"name":"named"}]}},{"description":{"title":"X_1"},"encoding":{"fields":[{"name":"entrypoint","layout":{"name":"alpha.entrypoint","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"N.t","description":"A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order."},"encoding":{"fields":[{"name":"N.t","layout":{"kind":"Bytes"},"data_kind":{"kind":"Dynamic"},"kind":"named"}]}},{"description":{"title":"public_key"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"public_key_hash"},"encoding":{"tag_size":"Uint8","kind":{"size":21,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"fitness.elem"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"kind":"Variable"}}]}},{"description":{"title":"alpha.block_header.alpha.full_header"},"encoding":{"fields":[{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proto","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"predecessor","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"timestamp","layout":{"size":"Int64","kind":"Int"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"name":"validation_pass","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"operations_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"fitness","num_fields":1,"size":"Uint30"},{"name":"fitness","layout":{"layout":{"name":"fitness.elem","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"context","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"priority","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"},{"name":"proof_of_work_nonce","layout":{"kind":"Bytes"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"seed_nonce_hash"},{"name":"seed_nonce_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"liquidity_baking_escape_vote","layout":{"kind":"Bool"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"alpha.inlined.endorsement.contents"},"encoding":{"tag_size":"Uint8","kind":{"size":5,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"}]}},{"description":{"title":"alpha.inlined.endorsement"},"encoding":{"fields":[{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"operations","layout":{"name":"alpha.inlined.endorsement.contents","kind":"Ref"},"data_kind":{"size":5,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"alpha.operation.alpha.contents"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"nonce","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Seed_nonce_revelation"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op1","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op2","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Double_endorsement_evidence"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh1","layout":{"name":"alpha.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh2","layout":{"name":"alpha.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Double_baking_evidence"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"pkh","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"secret","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Activate_account"},{"tag":5,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"proposals","layout":{"layout":{"kind":"Bytes"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Proposals"},{"tag":6,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proposal","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"ballot","layout":{"size":"Int8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Ballot"},{"tag":10,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"endorsement","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Endorsement_with_slot"},{"tag":17,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"arbitrary","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Failing_noop"},{"tag":107,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"public_key","layout":{"name":"public_key","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Reveal"},{"tag":108,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"amount","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"destination","layout":{"name":"alpha.contract_id","kind":"Ref"},"data_kind":{"size":22,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"parameters"},{"name":"parameters","layout":{"name":"X_1","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Transaction"},{"tag":109,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"balance","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"script","layout":{"name":"alpha.scripted.contracts","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Origination"},{"tag":110,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Delegation"},{"tag":111,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Register_global_constant"}]}},{"description":{"title":"X_0"},"encoding":{"fields":[{"name":"hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"alpha.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"error","num_fields":1,"size":"Uint30"},{"name":"error","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}]}}]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"pending_operations","tree":{"static":{"get_service":{"meth":"GET","path":["pending_operations"],"description":"List the prevalidated operations.","query":[],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"applied":{"type":"array","items":{"description":"An operation's shell header.","type":"object","properties":{"hash":{"$ref":"#/definitions/Operation_hash"},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","contents","branch","hash"],"additionalProperties":false}},"refused":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"branch_refused":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"branch_delayed":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"unprocessed":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"$ref":"#/definitions/next_operation"}],"additionalItems":false}}},"required":["unprocessed","branch_delayed","branch_refused","refused","applied"],"additionalProperties":false,"definitions":{"Context_hash":{"title":"A hash of context (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Ed25519.Public_key_hash":{"title":"An Ed25519 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_list_list_hash":{"title":"A list of list of operations (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Protocol_hash":{"title":"A Tezos protocol ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature":{"title":"A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key":{"title":"A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"alpha.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":"#/definitions/block_hash"},"timestamp":{"$ref":"#/definitions/timestamp.protocol"},"validation_pass":{"type":"integer","minimum":0,"maximum":255},"operations_hash":{"$ref":"#/definitions/Operation_list_list_hash"},"fitness":{"$ref":"#/definitions/fitness"},"context":{"$ref":"#/definitions/Context_hash"},"priority":{"type":"integer","minimum":0,"maximum":65535},"proof_of_work_nonce":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"seed_nonce_hash":{"$ref":"#/definitions/cycle_nonce"},"liquidity_baking_escape_vote":{"type":"boolean"},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","liquidity_baking_escape_vote","proof_of_work_nonce","priority","context","fitness","operations_hash","validation_pass","timestamp","predecessor","proto","level"],"additionalProperties":false},"alpha.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.","$ref":"#/definitions/unistring"},"alpha.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":"named","type":"string"}]},"alpha.inlined.endorsement":{"description":"An operation's shell header.","type":"object","properties":{"branch":{"$ref":"#/definitions/block_hash"},"operations":{"$ref":"#/definitions/alpha.inlined.endorsement.contents"},"signature":{"$ref":"#/definitions/Signature"}},"required":["operations","branch"],"additionalProperties":false},"alpha.inlined.endorsement.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false}]},"alpha.michelson.v1.primitives":{"type":"string","enum":["ABS","IF","SENDER","VOTING_POWER","False","NEVER","DUG","chest","BLAKE2B","map","bls12_381_g2","Pair","INT","option","bls12_381_g1","storage","SIZE","view","SHA256","AND","VIEW","mutez","NIL","big_map","SUB","SAPLING_VERIFY_UPDATE","CHECK_SIGNATURE","TOTAL_VOTING_POWER","address","MAP","or","ticket","ADD","IMPLICIT_ACCOUNT","SHA512","key","LSL","bls12_381_fr","chest_key","sapling_state","COMPARE","TRANSFER_TOKENS","STEPS_TO_QUOTA","DROP","set","BALANCE","CONCAT","MUL","FAILWITH","Elt","list","OR","DIP","MEM","LOOP_LEFT","lambda","ITER","Some","parameter","sapling_transaction","EMPTY_MAP","None","SET_DELEGATE","pair","AMOUNT","string","PAIRING_CHECK","bytes","CHAIN_ID","HASH_KEY","IF_LEFT","CREATE_ACCOUNT","LT","KECCAK","UNPACK","SPLIT_TICKET","SELF_ADDRESS","unit","UNIT","LE","SOURCE","CREATE_CONTRACT","Unit","DIG","NONE","ISNAT","GE","SOME","key_hash","SELF","signature","CAR","NOT","operation","CDR","ADDRESS","TICKET","RIGHT","LEFT","RENAME","True","Right","PACK","IF_CONS","SHA3","constant","UPDATE","EMPTY_SET","NEQ","LAMBDA","timestamp","READ_TICKET","LOOP","Left","int","LSR","EMPTY_BIG_MAP","chain_id","OPEN_CHEST","LEVEL","UNPAIR","JOIN_TICKETS","PUSH","nat","GT","never","NOW","IF_NONE","PAIR","GET_AND_UPDATE","XOR","CAST","bool","SAPLING_EMPTY_STATE","EDIV","EQ","CONTRACT","contract","EXEC","GET","NEG","SLICE","DUP","CONS","SWAP","APPLY","code"]},"alpha.mutez":{"$ref":"#/definitions/positive_bignum"},"alpha.operation.alpha.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false},{"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":["nonce","level","kind"],"additionalProperties":false},{"title":"Endorsement_with_slot","type":"object","properties":{"kind":{"type":"string","enum":["endorsement_with_slot"]},"endorsement":{"$ref":"#/definitions/alpha.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","endorsement","kind"],"additionalProperties":false},{"title":"Double_endorsement_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_endorsement_evidence"]},"op1":{"$ref":"#/definitions/alpha.inlined.endorsement"},"op2":{"$ref":"#/definitions/alpha.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","op2","op1","kind"],"additionalProperties":false},{"title":"Double_baking_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_baking_evidence"]},"bh1":{"$ref":"#/definitions/alpha.block_header.alpha.full_header"},"bh2":{"$ref":"#/definitions/alpha.block_header.alpha.full_header"}},"required":["bh2","bh1","kind"],"additionalProperties":false},{"title":"Activate_account","type":"object","properties":{"kind":{"type":"string","enum":["activate_account"]},"pkh":{"$ref":"#/definitions/Ed25519.Public_key_hash"},"secret":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["secret","pkh","kind"],"additionalProperties":false},{"title":"Proposals","type":"object","properties":{"kind":{"type":"string","enum":["proposals"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposals":{"type":"array","items":{"$ref":"#/definitions/Protocol_hash"}}},"required":["proposals","period","source","kind"],"additionalProperties":false},{"title":"Ballot","type":"object","properties":{"kind":{"type":"string","enum":["ballot"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposal":{"$ref":"#/definitions/Protocol_hash"},"ballot":{"type":"string","enum":["nay","yay","pass"]}},"required":["ballot","proposal","period","source","kind"],"additionalProperties":false},{"title":"Reveal","type":"object","properties":{"kind":{"type":"string","enum":["reveal"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"public_key":{"$ref":"#/definitions/Signature.Public_key"}},"required":["public_key","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Transaction","type":"object","properties":{"kind":{"type":"string","enum":["transaction"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"amount":{"$ref":"#/definitions/alpha.mutez"},"destination":{"$ref":"#/definitions/alpha.contract_id"},"parameters":{"type":"object","properties":{"entrypoint":{"$ref":"#/definitions/alpha.entrypoint"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","entrypoint"],"additionalProperties":false}},"required":["destination","amount","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Origination","type":"object","properties":{"kind":{"type":"string","enum":["origination"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"balance":{"$ref":"#/definitions/alpha.mutez"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"},"script":{"$ref":"#/definitions/alpha.scripted.contracts"}},"required":["script","balance","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Delegation","type":"object","properties":{"kind":{"type":"string","enum":["delegation"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"}},"required":["storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Failing_noop","type":"object","properties":{"kind":{"type":"string","enum":["failing_noop"]},"arbitrary":{"$ref":"#/definitions/unistring"}},"required":["arbitrary","kind"],"additionalProperties":false},{"title":"Register_global_constant","type":"object","properties":{"kind":{"type":"string","enum":["register_global_constant"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false}]},"alpha.scripted.contracts":{"type":"object","properties":{"code":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"storage":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["storage","code"],"additionalProperties":false},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","$ref":"#/definitions/unistring"},"cycle_nonce":{"title":"A nonce hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"error":{"description":"The full list of error 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])*$"}},"micheline.alpha.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"next_operation":{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","contents","branch","protocol"],"additionalProperties":false},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"applied","layout":{"layout":{"name":"X_0","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"refused","layout":{"layout":{"name":"X_2","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch_refused","layout":{"layout":{"name":"X_5","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch_delayed","layout":{"layout":{"name":"X_8","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"unprocessed","layout":{"layout":{"name":"X_11","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}]},"fields":[{"description":{"title":"X_11"},"encoding":{"fields":[{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"size":32,"kind":"Float"}},{"layout":{"name":"X_12","kind":"Ref"},"kind":"anon","data_kind":{"kind":"Dynamic"}}]}},{"description":{"title":"X_12"},"encoding":{"fields":[{"kind":"dyn","num_fields":5,"size":"Uint30"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"alpha.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"alpha.inlined.endorsement"},"encoding":{"fields":[{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"operations","layout":{"name":"alpha.inlined.endorsement.contents","kind":"Ref"},"data_kind":{"size":5,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"alpha.inlined.endorsement.contents"},"encoding":{"tag_size":"Uint8","kind":{"size":5,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"}]}},{"description":{"title":"alpha.block_header.alpha.full_header"},"encoding":{"fields":[{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proto","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"predecessor","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"timestamp","layout":{"size":"Int64","kind":"Int"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"name":"validation_pass","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"operations_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"fitness","num_fields":1,"size":"Uint30"},{"name":"fitness","layout":{"layout":{"name":"fitness.elem","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"context","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"priority","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"},{"name":"proof_of_work_nonce","layout":{"kind":"Bytes"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"seed_nonce_hash"},{"name":"seed_nonce_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"liquidity_baking_escape_vote","layout":{"kind":"Bool"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"fitness.elem"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"kind":"Variable"}}]}},{"description":{"title":"public_key_hash"},"encoding":{"tag_size":"Uint8","kind":{"size":21,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"public_key"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"N.t","description":"A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order."},"encoding":{"fields":[{"name":"N.t","layout":{"kind":"Bytes"},"data_kind":{"kind":"Dynamic"},"kind":"named"}]}},{"description":{"title":"X_13"},"encoding":{"fields":[{"name":"entrypoint","layout":{"name":"alpha.entrypoint","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"alpha.entrypoint"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"default"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"root"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"do"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"set_delegate"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"remove_delegate"},{"tag":255,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint8"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}],"name":"named"}]}},{"description":{"title":"alpha.contract_id"},"encoding":{"tag_size":"Uint8","kind":{"size":22,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Signature.Public_key_hash","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Implicit"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Contract_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"padding","layout":{"kind":"Padding"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Originated"}]}},{"description":{"title":"alpha.scripted.contracts"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"code","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"storage","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"X_9"},"encoding":{"fields":[{"kind":"dyn","num_fields":5,"size":"Uint30"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"alpha.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"error","num_fields":1,"size":"Uint30"},{"name":"error","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"X_2"},"encoding":{"fields":[{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"size":32,"kind":"Float"}},{"layout":{"name":"X_9","kind":"Ref"},"kind":"anon","data_kind":{"kind":"Dynamic"}}]}},{"description":{"title":"X_0"},"encoding":{"fields":[{"name":"hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"alpha.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"alpha.operation.alpha.contents"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"nonce","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Seed_nonce_revelation"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op1","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op2","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Double_endorsement_evidence"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh1","layout":{"name":"alpha.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh2","layout":{"name":"alpha.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Double_baking_evidence"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"pkh","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"secret","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Activate_account"},{"tag":5,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"proposals","layout":{"layout":{"kind":"Bytes"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Proposals"},{"tag":6,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proposal","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"ballot","layout":{"size":"Int8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Ballot"},{"tag":10,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"endorsement","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Endorsement_with_slot"},{"tag":17,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"arbitrary","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Failing_noop"},{"tag":107,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"public_key","layout":{"name":"public_key","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Reveal"},{"tag":108,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"amount","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"destination","layout":{"name":"alpha.contract_id","kind":"Ref"},"data_kind":{"size":22,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"parameters"},{"name":"parameters","layout":{"name":"X_13","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Transaction"},{"tag":109,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"balance","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"script","layout":{"name":"alpha.scripted.contracts","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Origination"},{"tag":110,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Delegation"},{"tag":111,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Register_global_constant"}]}}]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"request_operations","tree":{"static":{"post_service":{"meth":"POST","path":["request_operations"],"description":"Request the operations of your peers.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"unban_all_operations","tree":{"static":{"post_service":{"meth":"POST","path":["unban_all_operations"],"description":"Clear the set of banned operations.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"unban_operation","tree":{"static":{"post_service":{"meth":"POST","path":["unban_operation"],"description":"Remove an operation from the set of banned operations (nothing happens if it was not banned).","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/Operation_hash","definitions":{"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"name":"Operation_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}}]}}} diff --git a/tezt/_regressions/rpc/alpha.proxy.mempool.out b/tezt/_regressions/rpc/alpha.proxy.mempool.out index aa57c1cae1ae..689c5f603fe1 100644 --- a/tezt/_regressions/rpc/alpha.proxy.mempool.out +++ b/tezt/_regressions/rpc/alpha.proxy.mempool.out @@ -69,11 +69,11 @@ protocol of proxy unspecified, using the node's protocol: ProtoALphaALphaALphaAL "[SIGNATURE]", "error": [ { "kind": "temporary", - "id": "proto.alpha.prefilter.outdated_endorement" } ] } ] ], + "id": "proto.alpha.prefilter.outdated_endorsement" } ] } ] ], "unprocessed": [] } curl -s 'http://localhost:16385/chains/main/mempool/monitor_operations?applied=true&branch_delayed=true&refused=true&branch_refused=true' -[{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]"},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"10","counter":"1","gas_limit":"1040","storage_limit":"0","amount":"1000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"permanent","id":"proto.alpha.prefilter.fees_too_low"}]},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"branch","id":"proto.alpha.contract.counter_in_the_past","contract":"[PUBLIC_KEY_HASH]","expected":"2","found":"1"}]},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"endorsement_with_slot","endorsement":{"branch":"[BRANCH_HASH]","operations":{"kind":"endorsement","level":2},"signature":"[SIGNATURE]"},"slot":10}],"signature":"[SIGNATURE]","error":[{"kind":"temporary","id":"proto.alpha.prefilter.outdated_endorement"}]}] +[{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]"},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"10","counter":"1","gas_limit":"1040","storage_limit":"0","amount":"1000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"permanent","id":"proto.alpha.prefilter.fees_too_low"}]},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"branch","id":"proto.alpha.contract.counter_in_the_past","contract":"[PUBLIC_KEY_HASH]","expected":"2","found":"1"}]},{"hash":"[OPERATION_HASH]","protocol":"ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK","branch":"[BRANCH_HASH]","contents":[{"kind":"endorsement_with_slot","endorsement":{"branch":"[BRANCH_HASH]","operations":{"kind":"endorsement","level":2},"signature":"[SIGNATURE]"},"slot":10}],"signature":"[SIGNATURE]","error":[{"kind":"temporary","id":"proto.alpha.prefilter.outdated_endorsement"}]}] curl -s 'http://localhost:16385/describe/chains/main/mempool?recurse=yes' {"static":{"subdirs":{"suffixes":[{"name":"ban_operation","tree":{"static":{"post_service":{"meth":"POST","path":["ban_operation"],"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.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/Operation_hash","definitions":{"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"name":"Operation_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"filter","tree":{"static":{"get_service":{"meth":"GET","path":["filter"],"description":"Get the configuration of the mempool filter.","query":[],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}},"post_service":{"meth":"POST","path":["filter"],"description":"Set the configuration of the mempool filter.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"monitor_operations","tree":{"static":{"get_service":{"meth":"GET","path":["monitor_operations"],"description":"Monitor the mempool operations.","query":[{"name":"applied","description":"Include applied operations (set by default)","kind":{"single":{"id":"single","name":"bool"}}},{"name":"refused","description":"Include refused operations","kind":{"single":{"id":"single","name":"bool"}}},{"name":"branch_refused","description":"Include branch refused operations","kind":{"single":{"id":"single","name":"bool"}}},{"name":"branch_delayed","description":"Include branch delayed operations (set by default)","kind":{"single":{"id":"single","name":"bool"}}}],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"array","items":{"description":"An operation's shell header.","type":"object","properties":{"hash":{"$ref":"#/definitions/Operation_hash"},"protocol":{"type":"string","enum":["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["signature","contents","branch","protocol","hash"],"additionalProperties":false},"definitions":{"Context_hash":{"title":"A hash of context (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Ed25519.Public_key_hash":{"title":"An Ed25519 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_list_list_hash":{"title":"A list of list of operations (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Protocol_hash":{"title":"A Tezos protocol ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature":{"title":"A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key":{"title":"A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"alpha.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":"#/definitions/block_hash"},"timestamp":{"$ref":"#/definitions/timestamp.protocol"},"validation_pass":{"type":"integer","minimum":0,"maximum":255},"operations_hash":{"$ref":"#/definitions/Operation_list_list_hash"},"fitness":{"$ref":"#/definitions/fitness"},"context":{"$ref":"#/definitions/Context_hash"},"priority":{"type":"integer","minimum":0,"maximum":65535},"proof_of_work_nonce":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"seed_nonce_hash":{"$ref":"#/definitions/cycle_nonce"},"liquidity_baking_escape_vote":{"type":"boolean"},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","liquidity_baking_escape_vote","proof_of_work_nonce","priority","context","fitness","operations_hash","validation_pass","timestamp","predecessor","proto","level"],"additionalProperties":false},"alpha.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.","$ref":"#/definitions/unistring"},"alpha.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":"named","type":"string"}]},"alpha.inlined.endorsement":{"description":"An operation's shell header.","type":"object","properties":{"branch":{"$ref":"#/definitions/block_hash"},"operations":{"$ref":"#/definitions/alpha.inlined.endorsement.contents"},"signature":{"$ref":"#/definitions/Signature"}},"required":["operations","branch"],"additionalProperties":false},"alpha.inlined.endorsement.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false}]},"alpha.michelson.v1.primitives":{"type":"string","enum":["ABS","IF","SENDER","VOTING_POWER","False","NEVER","DUG","chest","BLAKE2B","map","bls12_381_g2","Pair","INT","option","bls12_381_g1","storage","SIZE","view","SHA256","AND","VIEW","mutez","NIL","big_map","SUB","SAPLING_VERIFY_UPDATE","CHECK_SIGNATURE","TOTAL_VOTING_POWER","address","MAP","or","ticket","ADD","IMPLICIT_ACCOUNT","SHA512","key","LSL","bls12_381_fr","chest_key","sapling_state","COMPARE","TRANSFER_TOKENS","STEPS_TO_QUOTA","DROP","set","BALANCE","CONCAT","MUL","FAILWITH","Elt","list","OR","DIP","MEM","LOOP_LEFT","lambda","ITER","Some","parameter","sapling_transaction","EMPTY_MAP","None","SET_DELEGATE","pair","AMOUNT","string","PAIRING_CHECK","bytes","CHAIN_ID","HASH_KEY","IF_LEFT","CREATE_ACCOUNT","LT","KECCAK","UNPACK","SPLIT_TICKET","SELF_ADDRESS","unit","UNIT","LE","SOURCE","CREATE_CONTRACT","Unit","DIG","NONE","ISNAT","GE","SOME","key_hash","SELF","signature","CAR","NOT","operation","CDR","ADDRESS","TICKET","RIGHT","LEFT","RENAME","True","Right","PACK","IF_CONS","SHA3","constant","UPDATE","EMPTY_SET","NEQ","LAMBDA","timestamp","READ_TICKET","LOOP","Left","int","LSR","EMPTY_BIG_MAP","chain_id","OPEN_CHEST","LEVEL","UNPAIR","JOIN_TICKETS","PUSH","nat","GT","never","NOW","IF_NONE","PAIR","GET_AND_UPDATE","XOR","CAST","bool","SAPLING_EMPTY_STATE","EDIV","EQ","CONTRACT","contract","EXEC","GET","NEG","SLICE","DUP","CONS","SWAP","APPLY","code"]},"alpha.mutez":{"$ref":"#/definitions/positive_bignum"},"alpha.operation.alpha.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false},{"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":["nonce","level","kind"],"additionalProperties":false},{"title":"Endorsement_with_slot","type":"object","properties":{"kind":{"type":"string","enum":["endorsement_with_slot"]},"endorsement":{"$ref":"#/definitions/alpha.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","endorsement","kind"],"additionalProperties":false},{"title":"Double_endorsement_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_endorsement_evidence"]},"op1":{"$ref":"#/definitions/alpha.inlined.endorsement"},"op2":{"$ref":"#/definitions/alpha.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","op2","op1","kind"],"additionalProperties":false},{"title":"Double_baking_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_baking_evidence"]},"bh1":{"$ref":"#/definitions/alpha.block_header.alpha.full_header"},"bh2":{"$ref":"#/definitions/alpha.block_header.alpha.full_header"}},"required":["bh2","bh1","kind"],"additionalProperties":false},{"title":"Activate_account","type":"object","properties":{"kind":{"type":"string","enum":["activate_account"]},"pkh":{"$ref":"#/definitions/Ed25519.Public_key_hash"},"secret":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["secret","pkh","kind"],"additionalProperties":false},{"title":"Proposals","type":"object","properties":{"kind":{"type":"string","enum":["proposals"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposals":{"type":"array","items":{"$ref":"#/definitions/Protocol_hash"}}},"required":["proposals","period","source","kind"],"additionalProperties":false},{"title":"Ballot","type":"object","properties":{"kind":{"type":"string","enum":["ballot"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposal":{"$ref":"#/definitions/Protocol_hash"},"ballot":{"type":"string","enum":["nay","yay","pass"]}},"required":["ballot","proposal","period","source","kind"],"additionalProperties":false},{"title":"Reveal","type":"object","properties":{"kind":{"type":"string","enum":["reveal"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"public_key":{"$ref":"#/definitions/Signature.Public_key"}},"required":["public_key","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Transaction","type":"object","properties":{"kind":{"type":"string","enum":["transaction"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"amount":{"$ref":"#/definitions/alpha.mutez"},"destination":{"$ref":"#/definitions/alpha.contract_id"},"parameters":{"type":"object","properties":{"entrypoint":{"$ref":"#/definitions/alpha.entrypoint"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","entrypoint"],"additionalProperties":false}},"required":["destination","amount","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Origination","type":"object","properties":{"kind":{"type":"string","enum":["origination"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"balance":{"$ref":"#/definitions/alpha.mutez"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"},"script":{"$ref":"#/definitions/alpha.scripted.contracts"}},"required":["script","balance","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Delegation","type":"object","properties":{"kind":{"type":"string","enum":["delegation"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"}},"required":["storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Failing_noop","type":"object","properties":{"kind":{"type":"string","enum":["failing_noop"]},"arbitrary":{"$ref":"#/definitions/unistring"}},"required":["arbitrary","kind"],"additionalProperties":false},{"title":"Register_global_constant","type":"object","properties":{"kind":{"type":"string","enum":["register_global_constant"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false}]},"alpha.scripted.contracts":{"type":"object","properties":{"code":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"storage":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["storage","code"],"additionalProperties":false},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","$ref":"#/definitions/unistring"},"cycle_nonce":{"title":"A nonce hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"error":{"description":"The full list of error 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])*$"}},"micheline.alpha.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"layout":{"name":"X_0","kind":"Ref"},"kind":"Seq"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[{"description":{"title":"alpha.scripted.contracts"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"code","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"storage","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"alpha.contract_id"},"encoding":{"tag_size":"Uint8","kind":{"size":22,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Signature.Public_key_hash","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Implicit"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Contract_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"padding","layout":{"kind":"Padding"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Originated"}]}},{"description":{"title":"alpha.entrypoint"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"default"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"root"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"do"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"set_delegate"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"remove_delegate"},{"tag":255,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint8"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}],"name":"named"}]}},{"description":{"title":"X_1"},"encoding":{"fields":[{"name":"entrypoint","layout":{"name":"alpha.entrypoint","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"N.t","description":"A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order."},"encoding":{"fields":[{"name":"N.t","layout":{"kind":"Bytes"},"data_kind":{"kind":"Dynamic"},"kind":"named"}]}},{"description":{"title":"public_key"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"public_key_hash"},"encoding":{"tag_size":"Uint8","kind":{"size":21,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"fitness.elem"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"kind":"Variable"}}]}},{"description":{"title":"alpha.block_header.alpha.full_header"},"encoding":{"fields":[{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proto","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"predecessor","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"timestamp","layout":{"size":"Int64","kind":"Int"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"name":"validation_pass","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"operations_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"fitness","num_fields":1,"size":"Uint30"},{"name":"fitness","layout":{"layout":{"name":"fitness.elem","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"context","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"priority","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"},{"name":"proof_of_work_nonce","layout":{"kind":"Bytes"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"seed_nonce_hash"},{"name":"seed_nonce_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"liquidity_baking_escape_vote","layout":{"kind":"Bool"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"alpha.inlined.endorsement.contents"},"encoding":{"tag_size":"Uint8","kind":{"size":5,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"}]}},{"description":{"title":"alpha.inlined.endorsement"},"encoding":{"fields":[{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"operations","layout":{"name":"alpha.inlined.endorsement.contents","kind":"Ref"},"data_kind":{"size":5,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"alpha.operation.alpha.contents"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"nonce","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Seed_nonce_revelation"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op1","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op2","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Double_endorsement_evidence"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh1","layout":{"name":"alpha.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh2","layout":{"name":"alpha.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Double_baking_evidence"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"pkh","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"secret","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Activate_account"},{"tag":5,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"proposals","layout":{"layout":{"kind":"Bytes"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Proposals"},{"tag":6,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proposal","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"ballot","layout":{"size":"Int8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Ballot"},{"tag":10,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"endorsement","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Endorsement_with_slot"},{"tag":17,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"arbitrary","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Failing_noop"},{"tag":107,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"public_key","layout":{"name":"public_key","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Reveal"},{"tag":108,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"amount","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"destination","layout":{"name":"alpha.contract_id","kind":"Ref"},"data_kind":{"size":22,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"parameters"},{"name":"parameters","layout":{"name":"X_1","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Transaction"},{"tag":109,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"balance","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"script","layout":{"name":"alpha.scripted.contracts","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Origination"},{"tag":110,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Delegation"},{"tag":111,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Register_global_constant"}]}},{"description":{"title":"X_0"},"encoding":{"fields":[{"name":"hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"alpha.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"error","num_fields":1,"size":"Uint30"},{"name":"error","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}]}}]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"pending_operations","tree":{"static":{"get_service":{"meth":"GET","path":["pending_operations"],"description":"List the prevalidated operations.","query":[],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"applied":{"type":"array","items":{"description":"An operation's shell header.","type":"object","properties":{"hash":{"$ref":"#/definitions/Operation_hash"},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","contents","branch","hash"],"additionalProperties":false}},"refused":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"branch_refused":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"branch_delayed":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"unprocessed":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"$ref":"#/definitions/next_operation"}],"additionalItems":false}}},"required":["unprocessed","branch_delayed","branch_refused","refused","applied"],"additionalProperties":false,"definitions":{"Context_hash":{"title":"A hash of context (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Ed25519.Public_key_hash":{"title":"An Ed25519 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_list_list_hash":{"title":"A list of list of operations (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Protocol_hash":{"title":"A Tezos protocol ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature":{"title":"A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key":{"title":"A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"alpha.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":"#/definitions/block_hash"},"timestamp":{"$ref":"#/definitions/timestamp.protocol"},"validation_pass":{"type":"integer","minimum":0,"maximum":255},"operations_hash":{"$ref":"#/definitions/Operation_list_list_hash"},"fitness":{"$ref":"#/definitions/fitness"},"context":{"$ref":"#/definitions/Context_hash"},"priority":{"type":"integer","minimum":0,"maximum":65535},"proof_of_work_nonce":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"seed_nonce_hash":{"$ref":"#/definitions/cycle_nonce"},"liquidity_baking_escape_vote":{"type":"boolean"},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","liquidity_baking_escape_vote","proof_of_work_nonce","priority","context","fitness","operations_hash","validation_pass","timestamp","predecessor","proto","level"],"additionalProperties":false},"alpha.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.","$ref":"#/definitions/unistring"},"alpha.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":"named","type":"string"}]},"alpha.inlined.endorsement":{"description":"An operation's shell header.","type":"object","properties":{"branch":{"$ref":"#/definitions/block_hash"},"operations":{"$ref":"#/definitions/alpha.inlined.endorsement.contents"},"signature":{"$ref":"#/definitions/Signature"}},"required":["operations","branch"],"additionalProperties":false},"alpha.inlined.endorsement.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false}]},"alpha.michelson.v1.primitives":{"type":"string","enum":["ABS","IF","SENDER","VOTING_POWER","False","NEVER","DUG","chest","BLAKE2B","map","bls12_381_g2","Pair","INT","option","bls12_381_g1","storage","SIZE","view","SHA256","AND","VIEW","mutez","NIL","big_map","SUB","SAPLING_VERIFY_UPDATE","CHECK_SIGNATURE","TOTAL_VOTING_POWER","address","MAP","or","ticket","ADD","IMPLICIT_ACCOUNT","SHA512","key","LSL","bls12_381_fr","chest_key","sapling_state","COMPARE","TRANSFER_TOKENS","STEPS_TO_QUOTA","DROP","set","BALANCE","CONCAT","MUL","FAILWITH","Elt","list","OR","DIP","MEM","LOOP_LEFT","lambda","ITER","Some","parameter","sapling_transaction","EMPTY_MAP","None","SET_DELEGATE","pair","AMOUNT","string","PAIRING_CHECK","bytes","CHAIN_ID","HASH_KEY","IF_LEFT","CREATE_ACCOUNT","LT","KECCAK","UNPACK","SPLIT_TICKET","SELF_ADDRESS","unit","UNIT","LE","SOURCE","CREATE_CONTRACT","Unit","DIG","NONE","ISNAT","GE","SOME","key_hash","SELF","signature","CAR","NOT","operation","CDR","ADDRESS","TICKET","RIGHT","LEFT","RENAME","True","Right","PACK","IF_CONS","SHA3","constant","UPDATE","EMPTY_SET","NEQ","LAMBDA","timestamp","READ_TICKET","LOOP","Left","int","LSR","EMPTY_BIG_MAP","chain_id","OPEN_CHEST","LEVEL","UNPAIR","JOIN_TICKETS","PUSH","nat","GT","never","NOW","IF_NONE","PAIR","GET_AND_UPDATE","XOR","CAST","bool","SAPLING_EMPTY_STATE","EDIV","EQ","CONTRACT","contract","EXEC","GET","NEG","SLICE","DUP","CONS","SWAP","APPLY","code"]},"alpha.mutez":{"$ref":"#/definitions/positive_bignum"},"alpha.operation.alpha.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false},{"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":["nonce","level","kind"],"additionalProperties":false},{"title":"Endorsement_with_slot","type":"object","properties":{"kind":{"type":"string","enum":["endorsement_with_slot"]},"endorsement":{"$ref":"#/definitions/alpha.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","endorsement","kind"],"additionalProperties":false},{"title":"Double_endorsement_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_endorsement_evidence"]},"op1":{"$ref":"#/definitions/alpha.inlined.endorsement"},"op2":{"$ref":"#/definitions/alpha.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","op2","op1","kind"],"additionalProperties":false},{"title":"Double_baking_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_baking_evidence"]},"bh1":{"$ref":"#/definitions/alpha.block_header.alpha.full_header"},"bh2":{"$ref":"#/definitions/alpha.block_header.alpha.full_header"}},"required":["bh2","bh1","kind"],"additionalProperties":false},{"title":"Activate_account","type":"object","properties":{"kind":{"type":"string","enum":["activate_account"]},"pkh":{"$ref":"#/definitions/Ed25519.Public_key_hash"},"secret":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["secret","pkh","kind"],"additionalProperties":false},{"title":"Proposals","type":"object","properties":{"kind":{"type":"string","enum":["proposals"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposals":{"type":"array","items":{"$ref":"#/definitions/Protocol_hash"}}},"required":["proposals","period","source","kind"],"additionalProperties":false},{"title":"Ballot","type":"object","properties":{"kind":{"type":"string","enum":["ballot"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposal":{"$ref":"#/definitions/Protocol_hash"},"ballot":{"type":"string","enum":["nay","yay","pass"]}},"required":["ballot","proposal","period","source","kind"],"additionalProperties":false},{"title":"Reveal","type":"object","properties":{"kind":{"type":"string","enum":["reveal"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"public_key":{"$ref":"#/definitions/Signature.Public_key"}},"required":["public_key","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Transaction","type":"object","properties":{"kind":{"type":"string","enum":["transaction"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"amount":{"$ref":"#/definitions/alpha.mutez"},"destination":{"$ref":"#/definitions/alpha.contract_id"},"parameters":{"type":"object","properties":{"entrypoint":{"$ref":"#/definitions/alpha.entrypoint"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","entrypoint"],"additionalProperties":false}},"required":["destination","amount","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Origination","type":"object","properties":{"kind":{"type":"string","enum":["origination"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"balance":{"$ref":"#/definitions/alpha.mutez"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"},"script":{"$ref":"#/definitions/alpha.scripted.contracts"}},"required":["script","balance","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Delegation","type":"object","properties":{"kind":{"type":"string","enum":["delegation"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"}},"required":["storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Failing_noop","type":"object","properties":{"kind":{"type":"string","enum":["failing_noop"]},"arbitrary":{"$ref":"#/definitions/unistring"}},"required":["arbitrary","kind"],"additionalProperties":false},{"title":"Register_global_constant","type":"object","properties":{"kind":{"type":"string","enum":["register_global_constant"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/alpha.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false}]},"alpha.scripted.contracts":{"type":"object","properties":{"code":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"storage":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["storage","code"],"additionalProperties":false},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","$ref":"#/definitions/unistring"},"cycle_nonce":{"title":"A nonce hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"error":{"description":"The full list of error 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])*$"}},"micheline.alpha.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/alpha.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.alpha.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"next_operation":{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/alpha.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","contents","branch","protocol"],"additionalProperties":false},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"applied","layout":{"layout":{"name":"X_0","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"refused","layout":{"layout":{"name":"X_2","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch_refused","layout":{"layout":{"name":"X_5","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch_delayed","layout":{"layout":{"name":"X_8","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"unprocessed","layout":{"layout":{"name":"X_11","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}]},"fields":[{"description":{"title":"X_11"},"encoding":{"fields":[{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"size":32,"kind":"Float"}},{"layout":{"name":"X_12","kind":"Ref"},"kind":"anon","data_kind":{"kind":"Dynamic"}}]}},{"description":{"title":"X_12"},"encoding":{"fields":[{"kind":"dyn","num_fields":5,"size":"Uint30"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"alpha.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"alpha.inlined.endorsement"},"encoding":{"fields":[{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"operations","layout":{"name":"alpha.inlined.endorsement.contents","kind":"Ref"},"data_kind":{"size":5,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"alpha.inlined.endorsement.contents"},"encoding":{"tag_size":"Uint8","kind":{"size":5,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"}]}},{"description":{"title":"alpha.block_header.alpha.full_header"},"encoding":{"fields":[{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proto","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"predecessor","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"timestamp","layout":{"size":"Int64","kind":"Int"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"name":"validation_pass","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"operations_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"fitness","num_fields":1,"size":"Uint30"},{"name":"fitness","layout":{"layout":{"name":"fitness.elem","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"context","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"priority","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"},{"name":"proof_of_work_nonce","layout":{"kind":"Bytes"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"seed_nonce_hash"},{"name":"seed_nonce_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"liquidity_baking_escape_vote","layout":{"kind":"Bool"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"fitness.elem"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"kind":"Variable"}}]}},{"description":{"title":"public_key_hash"},"encoding":{"tag_size":"Uint8","kind":{"size":21,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"public_key"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"N.t","description":"A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order."},"encoding":{"fields":[{"name":"N.t","layout":{"kind":"Bytes"},"data_kind":{"kind":"Dynamic"},"kind":"named"}]}},{"description":{"title":"X_13"},"encoding":{"fields":[{"name":"entrypoint","layout":{"name":"alpha.entrypoint","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"alpha.entrypoint"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"default"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"root"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"do"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"set_delegate"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"remove_delegate"},{"tag":255,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint8"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}],"name":"named"}]}},{"description":{"title":"alpha.contract_id"},"encoding":{"tag_size":"Uint8","kind":{"size":22,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Signature.Public_key_hash","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Implicit"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Contract_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"padding","layout":{"kind":"Padding"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Originated"}]}},{"description":{"title":"alpha.scripted.contracts"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"code","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"storage","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"X_9"},"encoding":{"fields":[{"kind":"dyn","num_fields":5,"size":"Uint30"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"alpha.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"error","num_fields":1,"size":"Uint30"},{"name":"error","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"X_2"},"encoding":{"fields":[{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"size":32,"kind":"Float"}},{"layout":{"name":"X_9","kind":"Ref"},"kind":"anon","data_kind":{"kind":"Dynamic"}}]}},{"description":{"title":"X_0"},"encoding":{"fields":[{"name":"hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"alpha.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"alpha.operation.alpha.contents"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"nonce","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Seed_nonce_revelation"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op1","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op2","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Double_endorsement_evidence"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh1","layout":{"name":"alpha.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh2","layout":{"name":"alpha.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Double_baking_evidence"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"pkh","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"secret","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Activate_account"},{"tag":5,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"proposals","layout":{"layout":{"kind":"Bytes"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Proposals"},{"tag":6,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proposal","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"ballot","layout":{"size":"Int8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Ballot"},{"tag":10,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"endorsement","layout":{"name":"alpha.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Endorsement_with_slot"},{"tag":17,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"arbitrary","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Failing_noop"},{"tag":107,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"public_key","layout":{"name":"public_key","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Reveal"},{"tag":108,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"amount","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"destination","layout":{"name":"alpha.contract_id","kind":"Ref"},"data_kind":{"size":22,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"parameters"},{"name":"parameters","layout":{"name":"X_13","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Transaction"},{"tag":109,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"balance","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"script","layout":{"name":"alpha.scripted.contracts","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Origination"},{"tag":110,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Delegation"},{"tag":111,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Register_global_constant"}]}}]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"request_operations","tree":{"static":{"post_service":{"meth":"POST","path":["request_operations"],"description":"Request the operations of your peers.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"unban_all_operations","tree":{"static":{"post_service":{"meth":"POST","path":["unban_all_operations"],"description":"Clear the set of banned operations.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"unban_operation","tree":{"static":{"post_service":{"meth":"POST","path":["unban_operation"],"description":"Remove an operation from the set of banned operations (nothing happens if it was not banned).","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/Operation_hash","definitions":{"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"name":"Operation_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}}]}}} diff --git a/tezt/_regressions/rpc/current.client.mempool.out b/tezt/_regressions/rpc/current.client.mempool.out index 74a84de2d8ba..bdf39ea67e52 100644 --- a/tezt/_regressions/rpc/current.client.mempool.out +++ b/tezt/_regressions/rpc/current.client.mempool.out @@ -68,11 +68,11 @@ curl -s 'http://localhost:16385/chains/main/mempool/monitor_operations?applied=t "[SIGNATURE]", "error": [ { "kind": "temporary", - "id": "proto.010-PtGRANAD.prefilter.outdated_endorement" } ] } ] ], + "id": "proto.010-PtGRANAD.prefilter.outdated_endorsement" } ] } ] ], "unprocessed": [] } curl -s 'http://localhost:16385/chains/main/mempool/monitor_operations?applied=true&branch_delayed=true&refused=true&branch_refused=true' -[{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]"},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"10","counter":"1","gas_limit":"1040","storage_limit":"0","amount":"1000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"permanent","id":"proto.010-PtGRANAD.prefilter.fees_too_low"}]},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"branch","id":"proto.010-PtGRANAD.contract.counter_in_the_past","contract":"[PUBLIC_KEY_HASH]","expected":"2","found":"1"}]},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"endorsement_with_slot","endorsement":{"branch":"[BRANCH_HASH]","operations":{"kind":"endorsement","level":2},"signature":"[SIGNATURE]"},"slot":10}],"signature":"[SIGNATURE]","error":[{"kind":"temporary","id":"proto.010-PtGRANAD.prefilter.outdated_endorement"}]}] +[{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]"},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"10","counter":"1","gas_limit":"1040","storage_limit":"0","amount":"1000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"permanent","id":"proto.010-PtGRANAD.prefilter.fees_too_low"}]},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"branch","id":"proto.010-PtGRANAD.contract.counter_in_the_past","contract":"[PUBLIC_KEY_HASH]","expected":"2","found":"1"}]},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"endorsement_with_slot","endorsement":{"branch":"[BRANCH_HASH]","operations":{"kind":"endorsement","level":2},"signature":"[SIGNATURE]"},"slot":10}],"signature":"[SIGNATURE]","error":[{"kind":"temporary","id":"proto.010-PtGRANAD.prefilter.outdated_endorsement"}]}] curl -s 'http://localhost:16385/describe/chains/main/mempool?recurse=yes' {"static":{"subdirs":{"suffixes":[{"name":"ban_operation","tree":{"static":{"post_service":{"meth":"POST","path":["ban_operation"],"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.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/Operation_hash","definitions":{"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"name":"Operation_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"filter","tree":{"static":{"get_service":{"meth":"GET","path":["filter"],"description":"Get the configuration of the mempool filter.","query":[],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}},"post_service":{"meth":"POST","path":["filter"],"description":"Set the configuration of the mempool filter.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"monitor_operations","tree":{"static":{"get_service":{"meth":"GET","path":["monitor_operations"],"description":"Monitor the mempool operations.","query":[{"name":"applied","description":"Include applied operations (set by default)","kind":{"single":{"id":"single","name":"bool"}}},{"name":"refused","description":"Include refused operations","kind":{"single":{"id":"single","name":"bool"}}},{"name":"branch_refused","description":"Include branch refused operations","kind":{"single":{"id":"single","name":"bool"}}},{"name":"branch_delayed","description":"Include branch delayed operations (set by default)","kind":{"single":{"id":"single","name":"bool"}}}],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"array","items":{"description":"An operation's shell header.","type":"object","properties":{"hash":{"$ref":"#/definitions/Operation_hash"},"protocol":{"type":"string","enum":["PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["signature","contents","branch","protocol","hash"],"additionalProperties":false},"definitions":{"010-PtGRANAD.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":"#/definitions/block_hash"},"timestamp":{"$ref":"#/definitions/timestamp.protocol"},"validation_pass":{"type":"integer","minimum":0,"maximum":255},"operations_hash":{"$ref":"#/definitions/Operation_list_list_hash"},"fitness":{"$ref":"#/definitions/fitness"},"context":{"$ref":"#/definitions/Context_hash"},"priority":{"type":"integer","minimum":0,"maximum":65535},"proof_of_work_nonce":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"seed_nonce_hash":{"$ref":"#/definitions/cycle_nonce"},"liquidity_baking_escape_vote":{"type":"boolean"},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","liquidity_baking_escape_vote","proof_of_work_nonce","priority","context","fitness","operations_hash","validation_pass","timestamp","predecessor","proto","level"],"additionalProperties":false},"010-PtGRANAD.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.","$ref":"#/definitions/unistring"},"010-PtGRANAD.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":"named","type":"string"}]},"010-PtGRANAD.inlined.endorsement":{"description":"An operation's shell header.","type":"object","properties":{"branch":{"$ref":"#/definitions/block_hash"},"operations":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement.contents"},"signature":{"$ref":"#/definitions/Signature"}},"required":["operations","branch"],"additionalProperties":false},"010-PtGRANAD.inlined.endorsement.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false}]},"010-PtGRANAD.michelson.v1.primitives":{"type":"string","enum":["ADD","IF_LEFT","SELF_ADDRESS","KECCAK","Elt","TOTAL_VOTING_POWER","VOTING_POWER","SHA256","option","Right","LE","set","ticket","storage","SOURCE","False","SHA512","BALANCE","EMPTY_BIG_MAP","operation","NOT","or","TRANSFER_TOKENS","DUG","COMPARE","SHA3","chain_id","MUL","signature","AMOUNT","DIP","ABS","list","LT","bls12_381_g1","CONCAT","UNIT","SWAP","DUP","bytes","CAR","CONS","NEQ","GET","Left","nat","UNPAIR","DROP","NEG","CONTRACT","big_map","ADDRESS","True","parameter","never","EQ","Pair","UPDATE","string","AND","timestamp","READ_TICKET","unit","CHECK_SIGNATURE","IF_CONS","INT","CREATE_CONTRACT","MEM","PAIRING_CHECK","BLAKE2B","bool","STEPS_TO_QUOTA","sapling_transaction","XOR","SELF","LEVEL","IMPLICIT_ACCOUNT","PACK","NEVER","NOW","RENAME","GET_AND_UPDATE","SENDER","map","mutez","SLICE","CDR","OR","sapling_state","CHAIN_ID","ISNAT","SPLIT_TICKET","SOME","LOOP","SAPLING_VERIFY_UPDATE","Unit","Some","UNPACK","IF_NONE","TICKET","ITER","EXEC","NONE","LEFT","address","JOIN_TICKETS","LSR","None","lambda","EMPTY_SET","MAP","int","bls12_381_g2","LSL","RIGHT","contract","SIZE","pair","IF","bls12_381_fr","PAIR","LAMBDA","HASH_KEY","PUSH","LOOP_LEFT","SAPLING_EMPTY_STATE","key","DIG","EMPTY_MAP","APPLY","CAST","key_hash","FAILWITH","GT","NIL","SUB","EDIV","CREATE_ACCOUNT","GE","SET_DELEGATE","code"]},"010-PtGRANAD.mutez":{"$ref":"#/definitions/positive_bignum"},"010-PtGRANAD.operation.alpha.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false},{"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":["nonce","level","kind"],"additionalProperties":false},{"title":"Endorsement_with_slot","type":"object","properties":{"kind":{"type":"string","enum":["endorsement_with_slot"]},"endorsement":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","endorsement","kind"],"additionalProperties":false},{"title":"Double_endorsement_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_endorsement_evidence"]},"op1":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"op2":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","op2","op1","kind"],"additionalProperties":false},{"title":"Double_baking_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_baking_evidence"]},"bh1":{"$ref":"#/definitions/010-PtGRANAD.block_header.alpha.full_header"},"bh2":{"$ref":"#/definitions/010-PtGRANAD.block_header.alpha.full_header"}},"required":["bh2","bh1","kind"],"additionalProperties":false},{"title":"Activate_account","type":"object","properties":{"kind":{"type":"string","enum":["activate_account"]},"pkh":{"$ref":"#/definitions/Ed25519.Public_key_hash"},"secret":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["secret","pkh","kind"],"additionalProperties":false},{"title":"Proposals","type":"object","properties":{"kind":{"type":"string","enum":["proposals"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposals":{"type":"array","items":{"$ref":"#/definitions/Protocol_hash"}}},"required":["proposals","period","source","kind"],"additionalProperties":false},{"title":"Ballot","type":"object","properties":{"kind":{"type":"string","enum":["ballot"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposal":{"$ref":"#/definitions/Protocol_hash"},"ballot":{"type":"string","enum":["nay","yay","pass"]}},"required":["ballot","proposal","period","source","kind"],"additionalProperties":false},{"title":"Reveal","type":"object","properties":{"kind":{"type":"string","enum":["reveal"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"public_key":{"$ref":"#/definitions/Signature.Public_key"}},"required":["public_key","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Transaction","type":"object","properties":{"kind":{"type":"string","enum":["transaction"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"amount":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"destination":{"$ref":"#/definitions/010-PtGRANAD.contract_id"},"parameters":{"type":"object","properties":{"entrypoint":{"$ref":"#/definitions/010-PtGRANAD.entrypoint"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","entrypoint"],"additionalProperties":false}},"required":["destination","amount","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Origination","type":"object","properties":{"kind":{"type":"string","enum":["origination"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"balance":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"},"script":{"$ref":"#/definitions/010-PtGRANAD.scripted.contracts"}},"required":["script","balance","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Delegation","type":"object","properties":{"kind":{"type":"string","enum":["delegation"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"}},"required":["storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Failing_noop","type":"object","properties":{"kind":{"type":"string","enum":["failing_noop"]},"arbitrary":{"$ref":"#/definitions/unistring"}},"required":["arbitrary","kind"],"additionalProperties":false}]},"010-PtGRANAD.scripted.contracts":{"type":"object","properties":{"code":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"storage":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["storage","code"],"additionalProperties":false},"Context_hash":{"title":"A hash of context (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Ed25519.Public_key_hash":{"title":"An Ed25519 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_list_list_hash":{"title":"A list of list of operations (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Protocol_hash":{"title":"A Tezos protocol ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature":{"title":"A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key":{"title":"A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","$ref":"#/definitions/unistring"},"cycle_nonce":{"title":"A nonce hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"error":{"description":"The full list of error 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])*$"}},"micheline.010-PtGRANAD.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"layout":{"name":"X_0","kind":"Ref"},"kind":"Seq"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[{"description":{"title":"010-PtGRANAD.scripted.contracts"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"code","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"storage","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.contract_id"},"encoding":{"tag_size":"Uint8","kind":{"size":22,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Signature.Public_key_hash","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Implicit"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Contract_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"padding","layout":{"kind":"Padding"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Originated"}]}},{"description":{"title":"010-PtGRANAD.entrypoint"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"default"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"root"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"do"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"set_delegate"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"remove_delegate"},{"tag":255,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint8"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}],"name":"named"}]}},{"description":{"title":"X_1"},"encoding":{"fields":[{"name":"entrypoint","layout":{"name":"010-PtGRANAD.entrypoint","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"N.t","description":"A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order."},"encoding":{"fields":[{"name":"N.t","layout":{"kind":"Bytes"},"data_kind":{"kind":"Dynamic"},"kind":"named"}]}},{"description":{"title":"public_key"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"public_key_hash"},"encoding":{"tag_size":"Uint8","kind":{"size":21,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"fitness.elem"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"kind":"Variable"}}]}},{"description":{"title":"010-PtGRANAD.block_header.alpha.full_header"},"encoding":{"fields":[{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proto","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"predecessor","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"timestamp","layout":{"size":"Int64","kind":"Int"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"name":"validation_pass","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"operations_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"fitness","num_fields":1,"size":"Uint30"},{"name":"fitness","layout":{"layout":{"name":"fitness.elem","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"context","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"priority","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"},{"name":"proof_of_work_nonce","layout":{"kind":"Bytes"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"seed_nonce_hash"},{"name":"seed_nonce_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"liquidity_baking_escape_vote","layout":{"kind":"Bool"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.inlined.endorsement.contents"},"encoding":{"tag_size":"Uint8","kind":{"size":5,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"}]}},{"description":{"title":"010-PtGRANAD.inlined.endorsement"},"encoding":{"fields":[{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"operations","layout":{"name":"010-PtGRANAD.inlined.endorsement.contents","kind":"Ref"},"data_kind":{"size":5,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.operation.alpha.contents"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"nonce","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Seed_nonce_revelation"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op1","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op2","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Double_endorsement_evidence"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh1","layout":{"name":"010-PtGRANAD.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh2","layout":{"name":"010-PtGRANAD.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Double_baking_evidence"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"pkh","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"secret","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Activate_account"},{"tag":5,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"proposals","layout":{"layout":{"kind":"Bytes"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Proposals"},{"tag":6,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proposal","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"ballot","layout":{"size":"Int8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Ballot"},{"tag":10,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"endorsement","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Endorsement_with_slot"},{"tag":17,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"arbitrary","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Failing_noop"},{"tag":107,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"public_key","layout":{"name":"public_key","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Reveal"},{"tag":108,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"amount","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"destination","layout":{"name":"010-PtGRANAD.contract_id","kind":"Ref"},"data_kind":{"size":22,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"parameters"},{"name":"parameters","layout":{"name":"X_1","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Transaction"},{"tag":109,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"balance","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"script","layout":{"name":"010-PtGRANAD.scripted.contracts","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Origination"},{"tag":110,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Delegation"}]}},{"description":{"title":"X_0"},"encoding":{"fields":[{"name":"hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"010-PtGRANAD.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"error","num_fields":1,"size":"Uint30"},{"name":"error","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}]}}]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"pending_operations","tree":{"static":{"get_service":{"meth":"GET","path":["pending_operations"],"description":"List the prevalidated operations.","query":[],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"applied":{"type":"array","items":{"description":"An operation's shell header.","type":"object","properties":{"hash":{"$ref":"#/definitions/Operation_hash"},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","contents","branch","hash"],"additionalProperties":false}},"refused":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"branch_refused":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"branch_delayed":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"unprocessed":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"$ref":"#/definitions/next_operation"}],"additionalItems":false}}},"required":["unprocessed","branch_delayed","branch_refused","refused","applied"],"additionalProperties":false,"definitions":{"010-PtGRANAD.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":"#/definitions/block_hash"},"timestamp":{"$ref":"#/definitions/timestamp.protocol"},"validation_pass":{"type":"integer","minimum":0,"maximum":255},"operations_hash":{"$ref":"#/definitions/Operation_list_list_hash"},"fitness":{"$ref":"#/definitions/fitness"},"context":{"$ref":"#/definitions/Context_hash"},"priority":{"type":"integer","minimum":0,"maximum":65535},"proof_of_work_nonce":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"seed_nonce_hash":{"$ref":"#/definitions/cycle_nonce"},"liquidity_baking_escape_vote":{"type":"boolean"},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","liquidity_baking_escape_vote","proof_of_work_nonce","priority","context","fitness","operations_hash","validation_pass","timestamp","predecessor","proto","level"],"additionalProperties":false},"010-PtGRANAD.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.","$ref":"#/definitions/unistring"},"010-PtGRANAD.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":"named","type":"string"}]},"010-PtGRANAD.inlined.endorsement":{"description":"An operation's shell header.","type":"object","properties":{"branch":{"$ref":"#/definitions/block_hash"},"operations":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement.contents"},"signature":{"$ref":"#/definitions/Signature"}},"required":["operations","branch"],"additionalProperties":false},"010-PtGRANAD.inlined.endorsement.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false}]},"010-PtGRANAD.michelson.v1.primitives":{"type":"string","enum":["ADD","IF_LEFT","SELF_ADDRESS","KECCAK","Elt","TOTAL_VOTING_POWER","VOTING_POWER","SHA256","option","Right","LE","set","ticket","storage","SOURCE","False","SHA512","BALANCE","EMPTY_BIG_MAP","operation","NOT","or","TRANSFER_TOKENS","DUG","COMPARE","SHA3","chain_id","MUL","signature","AMOUNT","DIP","ABS","list","LT","bls12_381_g1","CONCAT","UNIT","SWAP","DUP","bytes","CAR","CONS","NEQ","GET","Left","nat","UNPAIR","DROP","NEG","CONTRACT","big_map","ADDRESS","True","parameter","never","EQ","Pair","UPDATE","string","AND","timestamp","READ_TICKET","unit","CHECK_SIGNATURE","IF_CONS","INT","CREATE_CONTRACT","MEM","PAIRING_CHECK","BLAKE2B","bool","STEPS_TO_QUOTA","sapling_transaction","XOR","SELF","LEVEL","IMPLICIT_ACCOUNT","PACK","NEVER","NOW","RENAME","GET_AND_UPDATE","SENDER","map","mutez","SLICE","CDR","OR","sapling_state","CHAIN_ID","ISNAT","SPLIT_TICKET","SOME","LOOP","SAPLING_VERIFY_UPDATE","Unit","Some","UNPACK","IF_NONE","TICKET","ITER","EXEC","NONE","LEFT","address","JOIN_TICKETS","LSR","None","lambda","EMPTY_SET","MAP","int","bls12_381_g2","LSL","RIGHT","contract","SIZE","pair","IF","bls12_381_fr","PAIR","LAMBDA","HASH_KEY","PUSH","LOOP_LEFT","SAPLING_EMPTY_STATE","key","DIG","EMPTY_MAP","APPLY","CAST","key_hash","FAILWITH","GT","NIL","SUB","EDIV","CREATE_ACCOUNT","GE","SET_DELEGATE","code"]},"010-PtGRANAD.mutez":{"$ref":"#/definitions/positive_bignum"},"010-PtGRANAD.operation.alpha.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false},{"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":["nonce","level","kind"],"additionalProperties":false},{"title":"Endorsement_with_slot","type":"object","properties":{"kind":{"type":"string","enum":["endorsement_with_slot"]},"endorsement":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","endorsement","kind"],"additionalProperties":false},{"title":"Double_endorsement_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_endorsement_evidence"]},"op1":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"op2":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","op2","op1","kind"],"additionalProperties":false},{"title":"Double_baking_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_baking_evidence"]},"bh1":{"$ref":"#/definitions/010-PtGRANAD.block_header.alpha.full_header"},"bh2":{"$ref":"#/definitions/010-PtGRANAD.block_header.alpha.full_header"}},"required":["bh2","bh1","kind"],"additionalProperties":false},{"title":"Activate_account","type":"object","properties":{"kind":{"type":"string","enum":["activate_account"]},"pkh":{"$ref":"#/definitions/Ed25519.Public_key_hash"},"secret":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["secret","pkh","kind"],"additionalProperties":false},{"title":"Proposals","type":"object","properties":{"kind":{"type":"string","enum":["proposals"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposals":{"type":"array","items":{"$ref":"#/definitions/Protocol_hash"}}},"required":["proposals","period","source","kind"],"additionalProperties":false},{"title":"Ballot","type":"object","properties":{"kind":{"type":"string","enum":["ballot"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposal":{"$ref":"#/definitions/Protocol_hash"},"ballot":{"type":"string","enum":["nay","yay","pass"]}},"required":["ballot","proposal","period","source","kind"],"additionalProperties":false},{"title":"Reveal","type":"object","properties":{"kind":{"type":"string","enum":["reveal"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"public_key":{"$ref":"#/definitions/Signature.Public_key"}},"required":["public_key","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Transaction","type":"object","properties":{"kind":{"type":"string","enum":["transaction"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"amount":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"destination":{"$ref":"#/definitions/010-PtGRANAD.contract_id"},"parameters":{"type":"object","properties":{"entrypoint":{"$ref":"#/definitions/010-PtGRANAD.entrypoint"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","entrypoint"],"additionalProperties":false}},"required":["destination","amount","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Origination","type":"object","properties":{"kind":{"type":"string","enum":["origination"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"balance":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"},"script":{"$ref":"#/definitions/010-PtGRANAD.scripted.contracts"}},"required":["script","balance","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Delegation","type":"object","properties":{"kind":{"type":"string","enum":["delegation"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"}},"required":["storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Failing_noop","type":"object","properties":{"kind":{"type":"string","enum":["failing_noop"]},"arbitrary":{"$ref":"#/definitions/unistring"}},"required":["arbitrary","kind"],"additionalProperties":false}]},"010-PtGRANAD.scripted.contracts":{"type":"object","properties":{"code":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"storage":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["storage","code"],"additionalProperties":false},"Context_hash":{"title":"A hash of context (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Ed25519.Public_key_hash":{"title":"An Ed25519 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_list_list_hash":{"title":"A list of list of operations (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Protocol_hash":{"title":"A Tezos protocol ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature":{"title":"A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key":{"title":"A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","$ref":"#/definitions/unistring"},"cycle_nonce":{"title":"A nonce hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"error":{"description":"The full list of error 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])*$"}},"micheline.010-PtGRANAD.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"next_operation":{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","contents","branch","protocol"],"additionalProperties":false},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"applied","layout":{"layout":{"name":"X_0","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"refused","layout":{"layout":{"name":"X_2","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch_refused","layout":{"layout":{"name":"X_5","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch_delayed","layout":{"layout":{"name":"X_8","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"unprocessed","layout":{"layout":{"name":"X_11","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}]},"fields":[{"description":{"title":"X_11"},"encoding":{"fields":[{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"size":32,"kind":"Float"}},{"layout":{"name":"X_12","kind":"Ref"},"kind":"anon","data_kind":{"kind":"Dynamic"}}]}},{"description":{"title":"X_12"},"encoding":{"fields":[{"kind":"dyn","num_fields":5,"size":"Uint30"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"010-PtGRANAD.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.inlined.endorsement"},"encoding":{"fields":[{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"operations","layout":{"name":"010-PtGRANAD.inlined.endorsement.contents","kind":"Ref"},"data_kind":{"size":5,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.inlined.endorsement.contents"},"encoding":{"tag_size":"Uint8","kind":{"size":5,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"}]}},{"description":{"title":"010-PtGRANAD.block_header.alpha.full_header"},"encoding":{"fields":[{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proto","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"predecessor","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"timestamp","layout":{"size":"Int64","kind":"Int"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"name":"validation_pass","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"operations_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"fitness","num_fields":1,"size":"Uint30"},{"name":"fitness","layout":{"layout":{"name":"fitness.elem","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"context","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"priority","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"},{"name":"proof_of_work_nonce","layout":{"kind":"Bytes"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"seed_nonce_hash"},{"name":"seed_nonce_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"liquidity_baking_escape_vote","layout":{"kind":"Bool"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"fitness.elem"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"kind":"Variable"}}]}},{"description":{"title":"public_key_hash"},"encoding":{"tag_size":"Uint8","kind":{"size":21,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"public_key"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"N.t","description":"A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order."},"encoding":{"fields":[{"name":"N.t","layout":{"kind":"Bytes"},"data_kind":{"kind":"Dynamic"},"kind":"named"}]}},{"description":{"title":"X_13"},"encoding":{"fields":[{"name":"entrypoint","layout":{"name":"010-PtGRANAD.entrypoint","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.entrypoint"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"default"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"root"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"do"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"set_delegate"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"remove_delegate"},{"tag":255,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint8"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}],"name":"named"}]}},{"description":{"title":"010-PtGRANAD.contract_id"},"encoding":{"tag_size":"Uint8","kind":{"size":22,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Signature.Public_key_hash","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Implicit"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Contract_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"padding","layout":{"kind":"Padding"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Originated"}]}},{"description":{"title":"010-PtGRANAD.scripted.contracts"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"code","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"storage","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"X_9"},"encoding":{"fields":[{"kind":"dyn","num_fields":5,"size":"Uint30"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"010-PtGRANAD.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"error","num_fields":1,"size":"Uint30"},{"name":"error","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"X_2"},"encoding":{"fields":[{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"size":32,"kind":"Float"}},{"layout":{"name":"X_9","kind":"Ref"},"kind":"anon","data_kind":{"kind":"Dynamic"}}]}},{"description":{"title":"X_0"},"encoding":{"fields":[{"name":"hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"010-PtGRANAD.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.operation.alpha.contents"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"nonce","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Seed_nonce_revelation"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op1","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op2","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Double_endorsement_evidence"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh1","layout":{"name":"010-PtGRANAD.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh2","layout":{"name":"010-PtGRANAD.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Double_baking_evidence"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"pkh","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"secret","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Activate_account"},{"tag":5,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"proposals","layout":{"layout":{"kind":"Bytes"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Proposals"},{"tag":6,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proposal","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"ballot","layout":{"size":"Int8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Ballot"},{"tag":10,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"endorsement","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Endorsement_with_slot"},{"tag":17,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"arbitrary","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Failing_noop"},{"tag":107,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"public_key","layout":{"name":"public_key","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Reveal"},{"tag":108,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"amount","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"destination","layout":{"name":"010-PtGRANAD.contract_id","kind":"Ref"},"data_kind":{"size":22,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"parameters"},{"name":"parameters","layout":{"name":"X_13","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Transaction"},{"tag":109,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"balance","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"script","layout":{"name":"010-PtGRANAD.scripted.contracts","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Origination"},{"tag":110,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Delegation"}]}}]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"request_operations","tree":{"static":{"post_service":{"meth":"POST","path":["request_operations"],"description":"Request the operations of your peers.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"unban_all_operations","tree":{"static":{"post_service":{"meth":"POST","path":["unban_all_operations"],"description":"Clear the set of banned operations.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"unban_operation","tree":{"static":{"post_service":{"meth":"POST","path":["unban_operation"],"description":"Remove an operation from the set of banned operations (nothing happens if it was not banned).","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/Operation_hash","definitions":{"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"name":"Operation_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}}]}}} diff --git a/tezt/_regressions/rpc/current.proxy.mempool.out b/tezt/_regressions/rpc/current.proxy.mempool.out index 50b6058e777b..49dc2923246a 100644 --- a/tezt/_regressions/rpc/current.proxy.mempool.out +++ b/tezt/_regressions/rpc/current.proxy.mempool.out @@ -69,11 +69,11 @@ protocol of proxy unspecified, using the node's protocol: PtGRANADsDU8R9daYKAgWn "[SIGNATURE]", "error": [ { "kind": "temporary", - "id": "proto.010-PtGRANAD.prefilter.outdated_endorement" } ] } ] ], + "id": "proto.010-PtGRANAD.prefilter.outdated_endorsement" } ] } ] ], "unprocessed": [] } curl -s 'http://localhost:16385/chains/main/mempool/monitor_operations?applied=true&branch_delayed=true&refused=true&branch_refused=true' -[{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]"},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"10","counter":"1","gas_limit":"1040","storage_limit":"0","amount":"1000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"permanent","id":"proto.010-PtGRANAD.prefilter.fees_too_low"}]},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"branch","id":"proto.010-PtGRANAD.contract.counter_in_the_past","contract":"[PUBLIC_KEY_HASH]","expected":"2","found":"1"}]},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"endorsement_with_slot","endorsement":{"branch":"[BRANCH_HASH]","operations":{"kind":"endorsement","level":2},"signature":"[SIGNATURE]"},"slot":10}],"signature":"[SIGNATURE]","error":[{"kind":"temporary","id":"proto.010-PtGRANAD.prefilter.outdated_endorement"}]}] +[{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]"},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"10","counter":"1","gas_limit":"1040","storage_limit":"0","amount":"1000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"permanent","id":"proto.010-PtGRANAD.prefilter.fees_too_low"}]},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"transaction","source":"[PUBLIC_KEY_HASH]","fee":"402","counter":"1","gas_limit":"1520","storage_limit":"0","amount":"2000000","destination":"[PUBLIC_KEY_HASH]"}],"signature":"[SIGNATURE]","error":[{"kind":"branch","id":"proto.010-PtGRANAD.contract.counter_in_the_past","contract":"[PUBLIC_KEY_HASH]","expected":"2","found":"1"}]},{"hash":"[OPERATION_HASH]","protocol":"PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV","branch":"[BRANCH_HASH]","contents":[{"kind":"endorsement_with_slot","endorsement":{"branch":"[BRANCH_HASH]","operations":{"kind":"endorsement","level":2},"signature":"[SIGNATURE]"},"slot":10}],"signature":"[SIGNATURE]","error":[{"kind":"temporary","id":"proto.010-PtGRANAD.prefilter.outdated_endorsement"}]}] curl -s 'http://localhost:16385/describe/chains/main/mempool?recurse=yes' {"static":{"subdirs":{"suffixes":[{"name":"ban_operation","tree":{"static":{"post_service":{"meth":"POST","path":["ban_operation"],"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.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/Operation_hash","definitions":{"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"name":"Operation_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"filter","tree":{"static":{"get_service":{"meth":"GET","path":["filter"],"description":"Get the configuration of the mempool filter.","query":[],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}},"post_service":{"meth":"POST","path":["filter"],"description":"Set the configuration of the mempool filter.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"monitor_operations","tree":{"static":{"get_service":{"meth":"GET","path":["monitor_operations"],"description":"Monitor the mempool operations.","query":[{"name":"applied","description":"Include applied operations (set by default)","kind":{"single":{"id":"single","name":"bool"}}},{"name":"refused","description":"Include refused operations","kind":{"single":{"id":"single","name":"bool"}}},{"name":"branch_refused","description":"Include branch refused operations","kind":{"single":{"id":"single","name":"bool"}}},{"name":"branch_delayed","description":"Include branch delayed operations (set by default)","kind":{"single":{"id":"single","name":"bool"}}}],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"array","items":{"description":"An operation's shell header.","type":"object","properties":{"hash":{"$ref":"#/definitions/Operation_hash"},"protocol":{"type":"string","enum":["PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["signature","contents","branch","protocol","hash"],"additionalProperties":false},"definitions":{"010-PtGRANAD.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":"#/definitions/block_hash"},"timestamp":{"$ref":"#/definitions/timestamp.protocol"},"validation_pass":{"type":"integer","minimum":0,"maximum":255},"operations_hash":{"$ref":"#/definitions/Operation_list_list_hash"},"fitness":{"$ref":"#/definitions/fitness"},"context":{"$ref":"#/definitions/Context_hash"},"priority":{"type":"integer","minimum":0,"maximum":65535},"proof_of_work_nonce":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"seed_nonce_hash":{"$ref":"#/definitions/cycle_nonce"},"liquidity_baking_escape_vote":{"type":"boolean"},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","liquidity_baking_escape_vote","proof_of_work_nonce","priority","context","fitness","operations_hash","validation_pass","timestamp","predecessor","proto","level"],"additionalProperties":false},"010-PtGRANAD.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.","$ref":"#/definitions/unistring"},"010-PtGRANAD.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":"named","type":"string"}]},"010-PtGRANAD.inlined.endorsement":{"description":"An operation's shell header.","type":"object","properties":{"branch":{"$ref":"#/definitions/block_hash"},"operations":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement.contents"},"signature":{"$ref":"#/definitions/Signature"}},"required":["operations","branch"],"additionalProperties":false},"010-PtGRANAD.inlined.endorsement.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false}]},"010-PtGRANAD.michelson.v1.primitives":{"type":"string","enum":["ADD","IF_LEFT","SELF_ADDRESS","KECCAK","Elt","TOTAL_VOTING_POWER","VOTING_POWER","SHA256","option","Right","LE","set","ticket","storage","SOURCE","False","SHA512","BALANCE","EMPTY_BIG_MAP","operation","NOT","or","TRANSFER_TOKENS","DUG","COMPARE","SHA3","chain_id","MUL","signature","AMOUNT","DIP","ABS","list","LT","bls12_381_g1","CONCAT","UNIT","SWAP","DUP","bytes","CAR","CONS","NEQ","GET","Left","nat","UNPAIR","DROP","NEG","CONTRACT","big_map","ADDRESS","True","parameter","never","EQ","Pair","UPDATE","string","AND","timestamp","READ_TICKET","unit","CHECK_SIGNATURE","IF_CONS","INT","CREATE_CONTRACT","MEM","PAIRING_CHECK","BLAKE2B","bool","STEPS_TO_QUOTA","sapling_transaction","XOR","SELF","LEVEL","IMPLICIT_ACCOUNT","PACK","NEVER","NOW","RENAME","GET_AND_UPDATE","SENDER","map","mutez","SLICE","CDR","OR","sapling_state","CHAIN_ID","ISNAT","SPLIT_TICKET","SOME","LOOP","SAPLING_VERIFY_UPDATE","Unit","Some","UNPACK","IF_NONE","TICKET","ITER","EXEC","NONE","LEFT","address","JOIN_TICKETS","LSR","None","lambda","EMPTY_SET","MAP","int","bls12_381_g2","LSL","RIGHT","contract","SIZE","pair","IF","bls12_381_fr","PAIR","LAMBDA","HASH_KEY","PUSH","LOOP_LEFT","SAPLING_EMPTY_STATE","key","DIG","EMPTY_MAP","APPLY","CAST","key_hash","FAILWITH","GT","NIL","SUB","EDIV","CREATE_ACCOUNT","GE","SET_DELEGATE","code"]},"010-PtGRANAD.mutez":{"$ref":"#/definitions/positive_bignum"},"010-PtGRANAD.operation.alpha.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false},{"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":["nonce","level","kind"],"additionalProperties":false},{"title":"Endorsement_with_slot","type":"object","properties":{"kind":{"type":"string","enum":["endorsement_with_slot"]},"endorsement":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","endorsement","kind"],"additionalProperties":false},{"title":"Double_endorsement_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_endorsement_evidence"]},"op1":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"op2":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","op2","op1","kind"],"additionalProperties":false},{"title":"Double_baking_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_baking_evidence"]},"bh1":{"$ref":"#/definitions/010-PtGRANAD.block_header.alpha.full_header"},"bh2":{"$ref":"#/definitions/010-PtGRANAD.block_header.alpha.full_header"}},"required":["bh2","bh1","kind"],"additionalProperties":false},{"title":"Activate_account","type":"object","properties":{"kind":{"type":"string","enum":["activate_account"]},"pkh":{"$ref":"#/definitions/Ed25519.Public_key_hash"},"secret":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["secret","pkh","kind"],"additionalProperties":false},{"title":"Proposals","type":"object","properties":{"kind":{"type":"string","enum":["proposals"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposals":{"type":"array","items":{"$ref":"#/definitions/Protocol_hash"}}},"required":["proposals","period","source","kind"],"additionalProperties":false},{"title":"Ballot","type":"object","properties":{"kind":{"type":"string","enum":["ballot"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposal":{"$ref":"#/definitions/Protocol_hash"},"ballot":{"type":"string","enum":["nay","yay","pass"]}},"required":["ballot","proposal","period","source","kind"],"additionalProperties":false},{"title":"Reveal","type":"object","properties":{"kind":{"type":"string","enum":["reveal"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"public_key":{"$ref":"#/definitions/Signature.Public_key"}},"required":["public_key","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Transaction","type":"object","properties":{"kind":{"type":"string","enum":["transaction"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"amount":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"destination":{"$ref":"#/definitions/010-PtGRANAD.contract_id"},"parameters":{"type":"object","properties":{"entrypoint":{"$ref":"#/definitions/010-PtGRANAD.entrypoint"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","entrypoint"],"additionalProperties":false}},"required":["destination","amount","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Origination","type":"object","properties":{"kind":{"type":"string","enum":["origination"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"balance":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"},"script":{"$ref":"#/definitions/010-PtGRANAD.scripted.contracts"}},"required":["script","balance","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Delegation","type":"object","properties":{"kind":{"type":"string","enum":["delegation"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"}},"required":["storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Failing_noop","type":"object","properties":{"kind":{"type":"string","enum":["failing_noop"]},"arbitrary":{"$ref":"#/definitions/unistring"}},"required":["arbitrary","kind"],"additionalProperties":false}]},"010-PtGRANAD.scripted.contracts":{"type":"object","properties":{"code":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"storage":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["storage","code"],"additionalProperties":false},"Context_hash":{"title":"A hash of context (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Ed25519.Public_key_hash":{"title":"An Ed25519 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_list_list_hash":{"title":"A list of list of operations (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Protocol_hash":{"title":"A Tezos protocol ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature":{"title":"A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key":{"title":"A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","$ref":"#/definitions/unistring"},"cycle_nonce":{"title":"A nonce hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"error":{"description":"The full list of error 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])*$"}},"micheline.010-PtGRANAD.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"layout":{"name":"X_0","kind":"Ref"},"kind":"Seq"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[{"description":{"title":"010-PtGRANAD.scripted.contracts"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"code","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"storage","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.contract_id"},"encoding":{"tag_size":"Uint8","kind":{"size":22,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Signature.Public_key_hash","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Implicit"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Contract_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"padding","layout":{"kind":"Padding"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Originated"}]}},{"description":{"title":"010-PtGRANAD.entrypoint"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"default"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"root"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"do"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"set_delegate"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"remove_delegate"},{"tag":255,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint8"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}],"name":"named"}]}},{"description":{"title":"X_1"},"encoding":{"fields":[{"name":"entrypoint","layout":{"name":"010-PtGRANAD.entrypoint","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"N.t","description":"A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order."},"encoding":{"fields":[{"name":"N.t","layout":{"kind":"Bytes"},"data_kind":{"kind":"Dynamic"},"kind":"named"}]}},{"description":{"title":"public_key"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"public_key_hash"},"encoding":{"tag_size":"Uint8","kind":{"size":21,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"fitness.elem"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"kind":"Variable"}}]}},{"description":{"title":"010-PtGRANAD.block_header.alpha.full_header"},"encoding":{"fields":[{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proto","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"predecessor","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"timestamp","layout":{"size":"Int64","kind":"Int"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"name":"validation_pass","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"operations_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"fitness","num_fields":1,"size":"Uint30"},{"name":"fitness","layout":{"layout":{"name":"fitness.elem","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"context","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"priority","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"},{"name":"proof_of_work_nonce","layout":{"kind":"Bytes"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"seed_nonce_hash"},{"name":"seed_nonce_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"liquidity_baking_escape_vote","layout":{"kind":"Bool"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.inlined.endorsement.contents"},"encoding":{"tag_size":"Uint8","kind":{"size":5,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"}]}},{"description":{"title":"010-PtGRANAD.inlined.endorsement"},"encoding":{"fields":[{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"operations","layout":{"name":"010-PtGRANAD.inlined.endorsement.contents","kind":"Ref"},"data_kind":{"size":5,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.operation.alpha.contents"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"nonce","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Seed_nonce_revelation"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op1","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op2","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Double_endorsement_evidence"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh1","layout":{"name":"010-PtGRANAD.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh2","layout":{"name":"010-PtGRANAD.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Double_baking_evidence"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"pkh","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"secret","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Activate_account"},{"tag":5,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"proposals","layout":{"layout":{"kind":"Bytes"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Proposals"},{"tag":6,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proposal","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"ballot","layout":{"size":"Int8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Ballot"},{"tag":10,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"endorsement","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Endorsement_with_slot"},{"tag":17,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"arbitrary","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Failing_noop"},{"tag":107,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"public_key","layout":{"name":"public_key","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Reveal"},{"tag":108,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"amount","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"destination","layout":{"name":"010-PtGRANAD.contract_id","kind":"Ref"},"data_kind":{"size":22,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"parameters"},{"name":"parameters","layout":{"name":"X_1","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Transaction"},{"tag":109,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"balance","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"script","layout":{"name":"010-PtGRANAD.scripted.contracts","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Origination"},{"tag":110,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Delegation"}]}},{"description":{"title":"X_0"},"encoding":{"fields":[{"name":"hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"010-PtGRANAD.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"error","num_fields":1,"size":"Uint30"},{"name":"error","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}]}}]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"pending_operations","tree":{"static":{"get_service":{"meth":"GET","path":["pending_operations"],"description":"List the prevalidated operations.","query":[],"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{"applied":{"type":"array","items":{"description":"An operation's shell header.","type":"object","properties":{"hash":{"$ref":"#/definitions/Operation_hash"},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","contents","branch","hash"],"additionalProperties":false}},"refused":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"branch_refused":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"branch_delayed":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"},"error":{"$ref":"#/definitions/error"}},"required":["error","signature","contents","branch","protocol"],"additionalProperties":false}],"additionalItems":false}},"unprocessed":{"type":"array","items":{"type":"array","items":[{"$ref":"#/definitions/Operation_hash"},{"$ref":"#/definitions/next_operation"}],"additionalItems":false}}},"required":["unprocessed","branch_delayed","branch_refused","refused","applied"],"additionalProperties":false,"definitions":{"010-PtGRANAD.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":"#/definitions/block_hash"},"timestamp":{"$ref":"#/definitions/timestamp.protocol"},"validation_pass":{"type":"integer","minimum":0,"maximum":255},"operations_hash":{"$ref":"#/definitions/Operation_list_list_hash"},"fitness":{"$ref":"#/definitions/fitness"},"context":{"$ref":"#/definitions/Context_hash"},"priority":{"type":"integer","minimum":0,"maximum":65535},"proof_of_work_nonce":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"},"seed_nonce_hash":{"$ref":"#/definitions/cycle_nonce"},"liquidity_baking_escape_vote":{"type":"boolean"},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","liquidity_baking_escape_vote","proof_of_work_nonce","priority","context","fitness","operations_hash","validation_pass","timestamp","predecessor","proto","level"],"additionalProperties":false},"010-PtGRANAD.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.","$ref":"#/definitions/unistring"},"010-PtGRANAD.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":"named","type":"string"}]},"010-PtGRANAD.inlined.endorsement":{"description":"An operation's shell header.","type":"object","properties":{"branch":{"$ref":"#/definitions/block_hash"},"operations":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement.contents"},"signature":{"$ref":"#/definitions/Signature"}},"required":["operations","branch"],"additionalProperties":false},"010-PtGRANAD.inlined.endorsement.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false}]},"010-PtGRANAD.michelson.v1.primitives":{"type":"string","enum":["ADD","IF_LEFT","SELF_ADDRESS","KECCAK","Elt","TOTAL_VOTING_POWER","VOTING_POWER","SHA256","option","Right","LE","set","ticket","storage","SOURCE","False","SHA512","BALANCE","EMPTY_BIG_MAP","operation","NOT","or","TRANSFER_TOKENS","DUG","COMPARE","SHA3","chain_id","MUL","signature","AMOUNT","DIP","ABS","list","LT","bls12_381_g1","CONCAT","UNIT","SWAP","DUP","bytes","CAR","CONS","NEQ","GET","Left","nat","UNPAIR","DROP","NEG","CONTRACT","big_map","ADDRESS","True","parameter","never","EQ","Pair","UPDATE","string","AND","timestamp","READ_TICKET","unit","CHECK_SIGNATURE","IF_CONS","INT","CREATE_CONTRACT","MEM","PAIRING_CHECK","BLAKE2B","bool","STEPS_TO_QUOTA","sapling_transaction","XOR","SELF","LEVEL","IMPLICIT_ACCOUNT","PACK","NEVER","NOW","RENAME","GET_AND_UPDATE","SENDER","map","mutez","SLICE","CDR","OR","sapling_state","CHAIN_ID","ISNAT","SPLIT_TICKET","SOME","LOOP","SAPLING_VERIFY_UPDATE","Unit","Some","UNPACK","IF_NONE","TICKET","ITER","EXEC","NONE","LEFT","address","JOIN_TICKETS","LSR","None","lambda","EMPTY_SET","MAP","int","bls12_381_g2","LSL","RIGHT","contract","SIZE","pair","IF","bls12_381_fr","PAIR","LAMBDA","HASH_KEY","PUSH","LOOP_LEFT","SAPLING_EMPTY_STATE","key","DIG","EMPTY_MAP","APPLY","CAST","key_hash","FAILWITH","GT","NIL","SUB","EDIV","CREATE_ACCOUNT","GE","SET_DELEGATE","code"]},"010-PtGRANAD.mutez":{"$ref":"#/definitions/positive_bignum"},"010-PtGRANAD.operation.alpha.contents":{"oneOf":[{"title":"Endorsement","type":"object","properties":{"kind":{"type":"string","enum":["endorsement"]},"level":{"type":"integer","minimum":-2147483648,"maximum":2147483647}},"required":["level","kind"],"additionalProperties":false},{"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":["nonce","level","kind"],"additionalProperties":false},{"title":"Endorsement_with_slot","type":"object","properties":{"kind":{"type":"string","enum":["endorsement_with_slot"]},"endorsement":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","endorsement","kind"],"additionalProperties":false},{"title":"Double_endorsement_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_endorsement_evidence"]},"op1":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"op2":{"$ref":"#/definitions/010-PtGRANAD.inlined.endorsement"},"slot":{"type":"integer","minimum":0,"maximum":65535}},"required":["slot","op2","op1","kind"],"additionalProperties":false},{"title":"Double_baking_evidence","type":"object","properties":{"kind":{"type":"string","enum":["double_baking_evidence"]},"bh1":{"$ref":"#/definitions/010-PtGRANAD.block_header.alpha.full_header"},"bh2":{"$ref":"#/definitions/010-PtGRANAD.block_header.alpha.full_header"}},"required":["bh2","bh1","kind"],"additionalProperties":false},{"title":"Activate_account","type":"object","properties":{"kind":{"type":"string","enum":["activate_account"]},"pkh":{"$ref":"#/definitions/Ed25519.Public_key_hash"},"secret":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["secret","pkh","kind"],"additionalProperties":false},{"title":"Proposals","type":"object","properties":{"kind":{"type":"string","enum":["proposals"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposals":{"type":"array","items":{"$ref":"#/definitions/Protocol_hash"}}},"required":["proposals","period","source","kind"],"additionalProperties":false},{"title":"Ballot","type":"object","properties":{"kind":{"type":"string","enum":["ballot"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"period":{"type":"integer","minimum":-2147483648,"maximum":2147483647},"proposal":{"$ref":"#/definitions/Protocol_hash"},"ballot":{"type":"string","enum":["nay","yay","pass"]}},"required":["ballot","proposal","period","source","kind"],"additionalProperties":false},{"title":"Reveal","type":"object","properties":{"kind":{"type":"string","enum":["reveal"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"public_key":{"$ref":"#/definitions/Signature.Public_key"}},"required":["public_key","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Transaction","type":"object","properties":{"kind":{"type":"string","enum":["transaction"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"amount":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"destination":{"$ref":"#/definitions/010-PtGRANAD.contract_id"},"parameters":{"type":"object","properties":{"entrypoint":{"$ref":"#/definitions/010-PtGRANAD.entrypoint"},"value":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["value","entrypoint"],"additionalProperties":false}},"required":["destination","amount","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Origination","type":"object","properties":{"kind":{"type":"string","enum":["origination"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"balance":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"},"script":{"$ref":"#/definitions/010-PtGRANAD.scripted.contracts"}},"required":["script","balance","storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Delegation","type":"object","properties":{"kind":{"type":"string","enum":["delegation"]},"source":{"$ref":"#/definitions/Signature.Public_key_hash"},"fee":{"$ref":"#/definitions/010-PtGRANAD.mutez"},"counter":{"$ref":"#/definitions/positive_bignum"},"gas_limit":{"$ref":"#/definitions/positive_bignum"},"storage_limit":{"$ref":"#/definitions/positive_bignum"},"delegate":{"$ref":"#/definitions/Signature.Public_key_hash"}},"required":["storage_limit","gas_limit","counter","fee","source","kind"],"additionalProperties":false},{"title":"Failing_noop","type":"object","properties":{"kind":{"type":"string","enum":["failing_noop"]},"arbitrary":{"$ref":"#/definitions/unistring"}},"required":["arbitrary","kind"],"additionalProperties":false}]},"010-PtGRANAD.scripted.contracts":{"type":"object","properties":{"code":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"storage":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]}},"required":["storage","code"],"additionalProperties":false},"Context_hash":{"title":"A hash of context (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Ed25519.Public_key_hash":{"title":"An Ed25519 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Operation_list_list_hash":{"title":"A list of list of operations (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Protocol_hash":{"title":"A Tezos protocol ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature":{"title":"A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key":{"title":"A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded)","$ref":"#/definitions/unistring"},"Signature.Public_key_hash":{"title":"A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"bignum":{"title":"Big number","description":"Decimal representation of a big number","type":"string"},"block_hash":{"title":"A block identifier (Base58Check-encoded)","$ref":"#/definitions/unistring"},"cycle_nonce":{"title":"A nonce hash (Base58Check-encoded)","$ref":"#/definitions/unistring"},"error":{"description":"The full list of error 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])*$"}},"micheline.010-PtGRANAD.michelson_v1.expression":{"oneOf":[{"title":"Int","type":"object","properties":{"int":{"$ref":"#/definitions/bignum"}},"required":["int"],"additionalProperties":false},{"title":"String","type":"object","properties":{"string":{"$ref":"#/definitions/unistring"}},"required":["string"],"additionalProperties":false},{"title":"Bytes","type":"object","properties":{"bytes":{"type":"string","pattern":"^([a-zA-Z0-9][a-zA-Z0-9])*$"}},"required":["bytes"],"additionalProperties":false},{"title":"Sequence","type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},{"title":"Generic prim (any number of args with or without annot)","type":"object","properties":{"prim":{"$ref":"#/definitions/010-PtGRANAD.michelson.v1.primitives"},"args":{"type":"array","items":{"$ref":"#/definitions/micheline.010-PtGRANAD.michelson_v1.expression"}},"annots":{"type":"array","items":{"type":"string"}}},"required":["prim"],"additionalProperties":false}]},"next_operation":{"description":"An operation's shell header.","type":"object","properties":{"protocol":{"type":"string","enum":["PtGRANADsDU8R9daYKAgWnQYAJ64omN1o3KMGVCykShA97vQbvV"]},"branch":{"$ref":"#/definitions/block_hash"},"contents":{"type":"array","items":{"$ref":"#/definitions/010-PtGRANAD.operation.alpha.contents"}},"signature":{"$ref":"#/definitions/Signature"}},"required":["signature","contents","branch","protocol"],"additionalProperties":false},"positive_bignum":{"title":"Positive big number","description":"Decimal representation of a positive big number","type":"string"},"timestamp.protocol":{"description":"A timestamp as seen by the protocol: second-level precision, epoch based.","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"applied","layout":{"layout":{"name":"X_0","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"refused","layout":{"layout":{"name":"X_2","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch_refused","layout":{"layout":{"name":"X_5","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch_delayed","layout":{"layout":{"name":"X_8","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"unprocessed","layout":{"layout":{"name":"X_11","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}]},"fields":[{"description":{"title":"X_11"},"encoding":{"fields":[{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"size":32,"kind":"Float"}},{"layout":{"name":"X_12","kind":"Ref"},"kind":"anon","data_kind":{"kind":"Dynamic"}}]}},{"description":{"title":"X_12"},"encoding":{"fields":[{"kind":"dyn","num_fields":5,"size":"Uint30"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"010-PtGRANAD.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.inlined.endorsement"},"encoding":{"fields":[{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"operations","layout":{"name":"010-PtGRANAD.inlined.endorsement.contents","kind":"Ref"},"data_kind":{"size":5,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.inlined.endorsement.contents"},"encoding":{"tag_size":"Uint8","kind":{"size":5,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"}]}},{"description":{"title":"010-PtGRANAD.block_header.alpha.full_header"},"encoding":{"fields":[{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proto","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"predecessor","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"timestamp","layout":{"size":"Int64","kind":"Int"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"name":"validation_pass","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"operations_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"fitness","num_fields":1,"size":"Uint30"},{"name":"fitness","layout":{"layout":{"name":"fitness.elem","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"context","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"priority","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"},{"name":"proof_of_work_nonce","layout":{"kind":"Bytes"},"data_kind":{"size":8,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"seed_nonce_hash"},{"name":"seed_nonce_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"liquidity_baking_escape_vote","layout":{"kind":"Bool"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"fitness.elem"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"kind":"Variable"}}]}},{"description":{"title":"public_key_hash"},"encoding":{"tag_size":"Uint8","kind":{"size":21,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"public_key"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Ed25519.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Ed25519"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Secp256k1.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"Secp256k1"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"P256.Public_key","layout":{"kind":"Bytes"},"data_kind":{"size":33,"kind":"Float"},"kind":"named"}],"name":"P256"}]}},{"description":{"title":"N.t","description":"A variable-length sequence of bytes encoding a Zarith natural number. Each byte has a running unary size bit: the most significant bit of each byte indicates whether this is the last byte in the sequence (0) or whether the sequence continues (1). Size bits ignored, the data is the binary representation of the number in little-endian order."},"encoding":{"fields":[{"name":"N.t","layout":{"kind":"Bytes"},"data_kind":{"kind":"Dynamic"},"kind":"named"}]}},{"description":{"title":"X_13"},"encoding":{"fields":[{"name":"entrypoint","layout":{"name":"010-PtGRANAD.entrypoint","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"value","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.entrypoint"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"default"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"root"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"do"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"set_delegate"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}],"name":"remove_delegate"},{"tag":255,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint8"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}],"name":"named"}]}},{"description":{"title":"010-PtGRANAD.contract_id"},"encoding":{"tag_size":"Uint8","kind":{"size":22,"kind":"Float"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Signature.Public_key_hash","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Implicit"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"Contract_hash","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"padding","layout":{"kind":"Padding"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Originated"}]}},{"description":{"title":"010-PtGRANAD.scripted.contracts"},"encoding":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"code","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"storage","layout":{"kind":"Bytes"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"X_9"},"encoding":{"fields":[{"kind":"dyn","num_fields":5,"size":"Uint30"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"010-PtGRANAD.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"},{"kind":"dyn","name":"error","num_fields":1,"size":"Uint30"},{"name":"error","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}]}},{"description":{"title":"X_2"},"encoding":{"fields":[{"layout":{"kind":"Bytes"},"kind":"anon","data_kind":{"size":32,"kind":"Float"}},{"layout":{"name":"X_9","kind":"Ref"},"kind":"anon","data_kind":{"kind":"Dynamic"}}]}},{"description":{"title":"X_0"},"encoding":{"fields":[{"name":"hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"branch","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":2,"size":"Uint30"},{"name":"contents","layout":{"layout":{"name":"010-PtGRANAD.operation.alpha.contents","kind":"Ref"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"signature","layout":{"kind":"Bytes"},"data_kind":{"size":64,"kind":"Float"},"kind":"named"}]}},{"description":{"title":"010-PtGRANAD.operation.alpha.contents"},"encoding":{"tag_size":"Uint8","kind":{"kind":"Dynamic"},"cases":[{"tag":0,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"}],"name":"Endorsement"},{"tag":1,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"level","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"nonce","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}],"name":"Seed_nonce_revelation"},{"tag":2,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op1","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"op2","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Double_endorsement_evidence"},{"tag":3,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh1","layout":{"name":"010-PtGRANAD.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"bh2","layout":{"name":"010-PtGRANAD.block_header.alpha.full_header","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Double_baking_evidence"},{"tag":4,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"pkh","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"},{"name":"secret","layout":{"kind":"Bytes"},"data_kind":{"size":20,"kind":"Float"},"kind":"named"}],"name":"Activate_account"},{"tag":5,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"proposals","layout":{"layout":{"kind":"Bytes"},"kind":"Seq"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Proposals"},{"tag":6,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"period","layout":{"size":"Int32","kind":"Int"},"data_kind":{"size":4,"kind":"Float"},"kind":"named"},{"name":"proposal","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"},{"name":"ballot","layout":{"size":"Int8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"}],"name":"Ballot"},{"tag":10,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"endorsement","layout":{"name":"010-PtGRANAD.inlined.endorsement","kind":"Ref"},"data_kind":{"kind":"Variable"},"kind":"named"},{"name":"slot","layout":{"size":"Uint16","kind":"Int"},"data_kind":{"size":2,"kind":"Float"},"kind":"named"}],"name":"Endorsement_with_slot"},{"tag":17,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"kind":"dyn","num_fields":1,"size":"Uint30"},{"name":"arbitrary","layout":{"kind":"String"},"data_kind":{"kind":"Variable"},"kind":"named"}],"name":"Failing_noop"},{"tag":107,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"public_key","layout":{"name":"public_key","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Reveal"},{"tag":108,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"amount","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"destination","layout":{"name":"010-PtGRANAD.contract_id","kind":"Ref"},"data_kind":{"size":22,"kind":"Float"},"kind":"named"},{"kind":"option_indicator","name":"parameters"},{"name":"parameters","layout":{"name":"X_13","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Transaction"},{"tag":109,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"balance","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"script","layout":{"name":"010-PtGRANAD.scripted.contracts","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"}],"name":"Origination"},{"tag":110,"fields":[{"name":"Tag","layout":{"size":"Uint8","kind":"Int"},"data_kind":{"size":1,"kind":"Float"},"kind":"named"},{"name":"source","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"},{"name":"fee","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"counter","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"gas_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"name":"storage_limit","layout":{"name":"N.t","kind":"Ref"},"data_kind":{"kind":"Dynamic"},"kind":"named"},{"kind":"option_indicator","name":"delegate"},{"name":"delegate","layout":{"name":"public_key_hash","kind":"Ref"},"data_kind":{"size":21,"kind":"Float"},"kind":"named"}],"name":"Delegation"}]}}]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"request_operations","tree":{"static":{"post_service":{"meth":"POST","path":["request_operations"],"description":"Request the operations of your peers.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"unban_all_operations","tree":{"static":{"post_service":{"meth":"POST","path":["unban_all_operations"],"description":"Clear the set of banned operations.","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","type":"object","properties":{},"additionalProperties":false},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}},{"name":"unban_operation","tree":{"static":{"post_service":{"meth":"POST","path":["unban_operation"],"description":"Remove an operation from the set of banned operations (nothing happens if it was not banned).","query":[],"input":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/Operation_hash","definitions":{"Operation_hash":{"title":"A Tezos operation ID (Base58Check-encoded)","$ref":"#/definitions/unistring"},"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"],"additionalProperties":false}]}}},"binary_schema":{"toplevel":{"fields":[{"name":"Operation_hash","layout":{"kind":"Bytes"},"data_kind":{"size":32,"kind":"Float"},"kind":"named"}]},"fields":[]}},"output":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#"},"binary_schema":{"toplevel":{"fields":[{"layout":{"kind":"Zero_width"},"kind":"anon","data_kind":{"size":0,"kind":"Float"}}]},"fields":[]}},"error":{"json_schema":{"$schema":"http://json-schema.org/draft-04/schema#","$ref":"#/definitions/error","definitions":{"error":{"description":"The full list of error is available with the global RPC `GET errors`"}}},"binary_schema":{"toplevel":{"fields":[{"kind":"dyn","num_fields":1,"size":"Uint30"},{"layout":{"kind":"String"},"kind":"anon","data_kind":{"kind":"Variable"}}]},"fields":[]}}}}}}]}}} -- GitLab