diff --git a/docs/010/consensus.rst b/docs/010/consensus.rst index 4525a109a3644eb6e3b8e73cdcf2f6b8d93a178b..9c619867def7f589f193aa0ac349b476770b0c14 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 @@ -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 @@ -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 e2988cfe1fe9551c7246d6f156db35dba7343bf8..6f1d6e219fcf06f899112501d9a3b66ef818507d 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 @@ -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 @@ -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 diff --git a/docs/alpha/michelson.rst b/docs/alpha/michelson.rst index 9ab1a1d19b91f77b09455265a36c41c49d0a17eb..32f921009ab05b7f55046317ad6607b6a0b33c3f 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. :: diff --git a/docs/alpha/voting.rst b/docs/alpha/voting.rst index 4e955bd22a8b79639001ba7ffafd49b3d52d7e1f..d6304eeecf0a3b36ea4735f07df05a90cd8d1f84 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 ---------- diff --git a/docs/introduction/howtorun.rst b/docs/introduction/howtorun.rst index 6541ea46bba0a3fa5e84c3ad7a61f330ae29bb4c..3b57203ffc425b411be74d0accd8320a3ecf5057 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 diff --git a/docs/introduction/test_networks.rst b/docs/introduction/test_networks.rst index 50e65ec75c7a700c09babbd468885a02eb55c44d..95ea5b4de67fad73c2bb8b7882a65009c60f9ed1 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 ---------- diff --git a/docs/protocols/010_granada.rst b/docs/protocols/010_granada.rst index a493b4f661a6cc1de7497f65b7da06901bf9bae7..7447a8bada14a00232cae4da9ee4e296efb0a6fe 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 af8e7722b532e9968d0a63f742748d8c4cd5b66f..fd1f284ac076059492acc7013326a64d92a0e73b 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 204ef49261daca4b7ebb97c1efd26a79ba5aa3ad..897648704ac1240d83a22bbebcf6c2e5e61e0af1 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 diff --git a/docs/user/multinetwork.rst b/docs/user/multinetwork.rst index 77647490489d7f2f958afb7d2963acecdf657bae..99e94240604e9061fe6c55f3f71dd4bb8f4f160d 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-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-edonet --network granadanet + 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. diff --git a/src/proto_009_PsFLoren/lib_plugin/plugin.ml b/src/proto_009_PsFLoren/lib_plugin/plugin.ml index 7a284ca7f43c6c809c9d935bbab3c4946b542c14..7c259b004a27262d2dfd25564b1b0bfc938c8ff7 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 dafd8726fa30b937aef0dd191d8143ff18dbe6a7..64d25a1106b0b6913b3fa11dc28040a08b68ceef 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 fe26c2473834c91fba065d9d5feb9a40d03b6ce2..9f302b5774d43ac9fbe361cf29736bb71e32c0a8 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") 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 dba12309038cc0b6e74b184b69db38039fd5557c..33d73c26123cb17a4a3a1685772199e2921c39f6 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); diff --git a/tezt/_regressions/rpc/alpha.client.mempool.out b/tezt/_regressions/rpc/alpha.client.mempool.out index d44bbd767f7e87c7e66588dd81716af6cf1766aa..bc3a0629e04afba7b28a3fc8b7630fbbeb24974f 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 aa57c1cae1ae29cb374ae2884c64d67c0b84faef..689c5f603fe1cb8b065165006bc81f690232fab8 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 74a84de2d8ba53d7ad7108d4d34bca07515886e0..bdf39ea67e52694b394849f01c982cbfd37e0e20 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 50b6058e777b7ede1caba783b3f2ea5984030196..49dc2923246ab108384f93951277c614c1d04bef 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":[]}}}}}}]}}}