RPCs - Reference

This page describes the RPCs specific to a particular version of the Tezos protocol (specified below).

Note

They are all served under the prefix /chains/<chain_id>/blocks/<block_id>/. To make the RPC reference more readable, this prefix is not repeated every time below, but instead shortened as ../.

RPCs - Index

Note that the RPCs served under a given prefix can also be listed using the client, e.g.:

tezos-client rpc list /chains/main/blocks/head/context/constants

Shell

The protocol-independent RPCs are described in this other page.

Protocol Jakarta

  • ../<block_id> (GET)

    • ../<block_id>/context

      • ../<block_id>/context/big_maps

        • ../<block_id>/context/big_maps/<big_map_id> (GET)

          • ../<block_id>/context/big_maps/<big_map_id>/<script_expr> (GET)

      • ../<block_id>/context/cache

        • ../<block_id>/context/cache/contracts

          • ../<block_id>/context/cache/contracts/all (GET)

          • ../<block_id>/context/cache/contracts/rank (POST)

          • ../<block_id>/context/cache/contracts/size (GET)

          • ../<block_id>/context/cache/contracts/size_limit (GET)

      • ../<block_id>/context/constants (GET)

        • ../<block_id>/context/constants/errors (GET)

      • ../<block_id>/context/contracts (GET)

        • ../<block_id>/context/contracts/<contract_id> (GET)

          • ../<block_id>/context/contracts/<contract_id>/balance (GET)

          • ../<block_id>/context/contracts/<contract_id>/balance_and_frozen_bonds (GET)

          • ../<block_id>/context/contracts/<contract_id>/big_map_get (POST)

          • ../<block_id>/context/contracts/<contract_id>/counter (GET)

          • ../<block_id>/context/contracts/<contract_id>/delegate (GET)

          • ../<block_id>/context/contracts/<contract_id>/entrypoints (GET)

            • ../<block_id>/context/contracts/<contract_id>/entrypoints/<entrypoint> (GET)

          • ../<block_id>/context/contracts/<contract_id>/frozen_bonds (GET)

          • ../<block_id>/context/contracts/<contract_id>/manager_key (GET)

          • ../<block_id>/context/contracts/<contract_id>/script (GET)

          • ../<block_id>/context/contracts/<contract_id>/single_sapling_get_diff (GET)

          • ../<block_id>/context/contracts/<contract_id>/storage (GET)

      • ../<block_id>/context/delegates (GET)

        • ../<block_id>/context/delegates/<pkh> (GET)

          • ../<block_id>/context/delegates/<pkh>/current_frozen_deposits (GET)

          • ../<block_id>/context/delegates/<pkh>/deactivated (GET)

          • ../<block_id>/context/delegates/<pkh>/delegated_balance (GET)

          • ../<block_id>/context/delegates/<pkh>/delegated_contracts (GET)

          • ../<block_id>/context/delegates/<pkh>/frozen_deposits (GET)

          • ../<block_id>/context/delegates/<pkh>/frozen_deposits_limit (GET)

          • ../<block_id>/context/delegates/<pkh>/full_balance (GET)

          • ../<block_id>/context/delegates/<pkh>/grace_period (GET)

          • ../<block_id>/context/delegates/<pkh>/participation (GET)

          • ../<block_id>/context/delegates/<pkh>/staking_balance (GET)

          • ../<block_id>/context/delegates/<pkh>/voting_power (GET)

      • ../<block_id>/context/liquidity_baking

        • ../<block_id>/context/liquidity_baking/cpmm_address (GET)

      • ../<block_id>/context/merkle_tree (GET)

      • ../<block_id>/context/nonces

        • ../<block_id>/context/nonces/<block_level> (GET)

      • ../<block_id>/context/raw

        • ../<block_id>/context/raw/bytes (GET)

        • ../<block_id>/context/raw/json (<dyn>)

      • ../<block_id>/context/sapling

        • ../<block_id>/context/sapling/<sapling_state_id>

          • ../<block_id>/context/sapling/<sapling_state_id>/get_diff (GET)

      • ../<block_id>/context/seed (POST)

      • ../<block_id>/context/selected_snapshot (GET)

      • ../<block_id>/context/tx_rollup

        • ../<block_id>/context/tx_rollup/<tx_rollup_id>

          • ../<block_id>/context/tx_rollup/<tx_rollup_id>/commitment

            • ../<block_id>/context/tx_rollup/<tx_rollup_id>/commitment/<block_level> (GET)

          • ../<block_id>/context/tx_rollup/<tx_rollup_id>/inbox

            • ../<block_id>/context/tx_rollup/<tx_rollup_id>/inbox/<block_level> (GET)

          • ../<block_id>/context/tx_rollup/<tx_rollup_id>/pending_bonded_commitments

            • ../<block_id>/context/tx_rollup/<tx_rollup_id>/pending_bonded_commitments/<pkh> (GET)

          • ../<block_id>/context/tx_rollup/<tx_rollup_id>/state (GET)

    • ../<block_id>/hash (GET)

    • ../<block_id>/header (GET)

      • ../<block_id>/header/protocol_data (GET)

        • ../<block_id>/header/protocol_data/raw (GET)

      • ../<block_id>/header/raw (GET)

      • ../<block_id>/header/shell (GET)

    • ../<block_id>/helpers

      • ../<block_id>/helpers/complete

        • ../<block_id>/helpers/complete/<prefix> (GET)

      • ../<block_id>/helpers/forge_block_header (POST)

      • ../<block_id>/helpers/preapply

        • ../<block_id>/helpers/preapply/block (POST)

        • ../<block_id>/helpers/preapply/operations (POST)

    • ../<block_id>/live_blocks (GET)

    • ../<block_id>/metadata (GET)

    • ../<block_id>/metadata_hash (GET)

    • ../<block_id>/operation_hashes (GET)

      • ../<block_id>/operation_hashes/<list_offset> (GET)

        • ../<block_id>/operation_hashes/<list_offset>/<operation_offset> (GET)

    • ../<block_id>/operation_metadata_hashes (GET)

      • ../<block_id>/operation_metadata_hashes/<list_offset> (GET)

        • ../<block_id>/operation_metadata_hashes/<list_offset>/<operation_offset> (GET)

    • ../<block_id>/operations (GET)

      • ../<block_id>/operations/<list_offset> (GET)

        • ../<block_id>/operations/<list_offset>/<operation_offset> (GET)

    • ../<block_id>/operations_metadata_hash (GET)

    • ../<block_id>/protocols (GET)

    • ../<block_id>/votes

      • ../<block_id>/votes/ballot_list (GET)

      • ../<block_id>/votes/ballots (GET)

      • ../<block_id>/votes/current_period (GET)

      • ../<block_id>/votes/current_proposal (GET)

      • ../<block_id>/votes/current_quorum (GET)

      • ../<block_id>/votes/listings (GET)

      • ../<block_id>/votes/proposals (GET)

      • ../<block_id>/votes/successor_period (GET)

      • ../<block_id>/votes/total_voting_power (GET)

RPCs - Full description

Protocol Jakarta

GET ../<block_id>?[force_metadata]&[metadata=<metadata_rpc_arg>]

All the information about a block. The associated metadata may not be present depending on the history mode and block's distance from the head.

Optional query arguments :

  • force_metadata : DEPRECATED: Forces to recompute the operations metadata if it was considered as too large.
  • metadata = <metadata_rpc_arg> : Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use "always". To avoid getting the metadata, use "never". By default, the metadata will be returned depending on the node's metadata size limit policy.

  { "protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
    "chain_id": $Chain_id,
    "hash": $block_hash,
    "header": $raw_block_header,
    "metadata"?: $block_header_metadata,
    "operations": [ [ $operation ... ] ... ] }
  $013-PtJakart.apply_results.alpha.operation_result:
    { /* transaction */
      "kind": "transaction",
      "source": $013-PtJakart.contract_id,
      "nonce": integer ∈ [0, 2^16-1],
      "amount": $013-PtJakart.mutez,
      "destination": $013-PtJakart.transaction_destination,
      "parameters"?:
        { "entrypoint": $013-PtJakart.entrypoint,
          "value":
            { /* Int */
              "int": $bignum }
            || { /* String */
                 "string": $unistring }
            || { /* Bytes */
                 "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
            || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
            /* Sequence */
            || { /* Prim__generic
                    Generic primitive (any number of args with or without
                    annotations) */
                 "prim": $013-PtJakart.michelson.v1.primitives,
                 "args"?:
                   [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                 "annots"?: [ string ... ] } },
      "result": $013-PtJakart.operation.alpha.operation_result.transaction }
    || { /* origination */
         "kind": "origination",
         "source": $013-PtJakart.contract_id,
         "nonce": integer ∈ [0, 2^16-1],
         "balance": $013-PtJakart.mutez,
         "delegate"?: $Signature.Public_key_hash,
         "script": $013-PtJakart.scripted.contracts,
         "result": $013-PtJakart.operation.alpha.operation_result.origination }
    || { /* delegation */
         "kind": "delegation",
         "source": $013-PtJakart.contract_id,
         "nonce": integer ∈ [0, 2^16-1],
         "delegate"?: $Signature.Public_key_hash,
         "result": $013-PtJakart.operation.alpha.operation_result.delegation }
  $013-PtJakart.big_map_id:
    /* Big map identifier
       A big map identifier */
    $bignum
  $013-PtJakart.block_header.alpha.full_header:
    /* Shell header
       Block header's shell-related content. It contains information such as
       the block level, its predecessor and timestamp. */
    { "level": integer ∈ [-2^31-1, 2^31],
      "proto": integer ∈ [0, 255],
      "predecessor": $block_hash,
      "timestamp": $timestamp.protocol,
      "validation_pass": integer ∈ [0, 255],
      "operations_hash": $Operation_list_list_hash,
      "fitness": $fitness,
      "context": $Context_hash,
      "payload_hash": $value_hash,
      "payload_round": integer ∈ [-2^31-1, 2^31],
      "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "seed_nonce_hash"?: $cycle_nonce,
      "liquidity_baking_toggle_vote":
        $013-PtJakart.liquidity_baking_toggle_vote,
      "signature": $Signature }
  $013-PtJakart.bond_id:
    { /* Tx_rollup_bond_id */
      "tx_rollup": $013-PtJakart.tx_rollup_id }
  $013-PtJakart.contract_id:
    /* A contract handle
       A contract notation as given to an RPC or inside scripts. Can be a
       base58 implicit contract hash or a base58 originated contract hash. */
    $unistring
  $013-PtJakart.entrypoint:
    /* entrypoint
       Named entrypoint to a Michelson smart contract */
    "default"
    || "root"
    || "do"
    || "set_delegate"
    || "remove_delegate"
    || string
    /* named */
  $013-PtJakart.error:
    /* The full list of RPC errors would be too long to include.
       It is available at RPC `/errors` (GET).
       Errors specific to protocol Alpha have an id that starts with
       `proto.alpha`. */
    any
  $013-PtJakart.inlined.endorsement:
    /* An operation's shell header. */
    { "branch": $block_hash,
      "operations": $013-PtJakart.inlined.endorsement_mempool.contents,
      "signature"?: $Signature }
  $013-PtJakart.inlined.endorsement_mempool.contents:
    { /* Endorsement */
      "kind": "endorsement",
      "slot": integer ∈ [0, 2^16-1],
      "level": integer ∈ [-2^31-1, 2^31],
      "round": integer ∈ [-2^31-1, 2^31],
      "block_payload_hash": $value_hash }
  $013-PtJakart.inlined.preendorsement:
    /* An operation's shell header. */
    { "branch": $block_hash,
      "operations": $013-PtJakart.inlined.preendorsement.contents,
      "signature"?: $Signature }
  $013-PtJakart.inlined.preendorsement.contents:
    { /* Preendorsement */
      "kind": "preendorsement",
      "slot": integer ∈ [0, 2^16-1],
      "level": integer ∈ [-2^31-1, 2^31],
      "round": integer ∈ [-2^31-1, 2^31],
      "block_payload_hash": $value_hash }
  $013-PtJakart.lazy_storage_diff:
    [ { /* big_map */
        "kind": "big_map",
        "id": $013-PtJakart.big_map_id,
        "diff":
          { /* update */
            "action": "update",
            "updates":
              [ { "key_hash": $script_expr,
                  "key":
                    { /* Int */
                      "int": $bignum }
                    || { /* String */
                         "string": $unistring }
                    || { /* Bytes */
                         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                    /* Sequence */
                    || { /* Prim__generic
                            Generic primitive (any number of args with or
                            without annotations) */
                         "prim": $013-PtJakart.michelson.v1.primitives,
                         "args"?:
                           [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                         "annots"?: [ string ... ] },
                  "value"?:
                    { /* Int */
                      "int": $bignum }
                    || { /* String */
                         "string": $unistring }
                    || { /* Bytes */
                         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                    /* Sequence */
                    || { /* Prim__generic
                            Generic primitive (any number of args with or
                            without annotations) */
                         "prim": $013-PtJakart.michelson.v1.primitives,
                         "args"?:
                           [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                         "annots"?: [ string ... ] } } ... ] }
          || { /* remove */
               "action": "remove" }
          || { /* copy */
               "action": "copy",
               "source": $013-PtJakart.big_map_id,
               "updates":
                 [ { "key_hash": $script_expr,
                     "key":
                       { /* Int */
                         "int": $bignum }
                       || { /* String */
                            "string": $unistring }
                       || { /* Bytes */
                            "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                       || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                       /* Sequence */
                       || { /* Prim__generic
                               Generic primitive (any number of args with or
                               without annotations) */
                            "prim": $013-PtJakart.michelson.v1.primitives,
                            "args"?:
                              [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                            "annots"?: [ string ... ] },
                     "value"?:
                       { /* Int */
                         "int": $bignum }
                       || { /* String */
                            "string": $unistring }
                       || { /* Bytes */
                            "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                       || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                       /* Sequence */
                       || { /* Prim__generic
                               Generic primitive (any number of args with or
                               without annotations) */
                            "prim": $013-PtJakart.michelson.v1.primitives,
                            "args"?:
                              [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                            "annots"?: [ string ... ] } } ... ] }
          || { /* alloc */
               "action": "alloc",
               "updates":
                 [ { "key_hash": $script_expr,
                     "key":
                       { /* Int */
                         "int": $bignum }
                       || { /* String */
                            "string": $unistring }
                       || { /* Bytes */
                            "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                       || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                       /* Sequence */
                       || { /* Prim__generic
                               Generic primitive (any number of args with or
                               without annotations) */
                            "prim": $013-PtJakart.michelson.v1.primitives,
                            "args"?:
                              [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                            "annots"?: [ string ... ] },
                     "value"?:
                       { /* Int */
                         "int": $bignum }
                       || { /* String */
                            "string": $unistring }
                       || { /* Bytes */
                            "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                       || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                       /* Sequence */
                       || { /* Prim__generic
                               Generic primitive (any number of args with or
                               without annotations) */
                            "prim": $013-PtJakart.michelson.v1.primitives,
                            "args"?:
                              [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                            "annots"?: [ string ... ] } } ... ],
               "key_type":
                 { /* Int */
                   "int": $bignum }
                 || { /* String */
                      "string": $unistring }
                 || { /* Bytes */
                      "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                 || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                 /* Sequence */
                 || { /* Prim__generic
                         Generic primitive (any number of args with or
                         without annotations) */
                      "prim": $013-PtJakart.michelson.v1.primitives,
                      "args"?:
                        [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                      "annots"?: [ string ... ] },
               "value_type":
                 { /* Int */
                   "int": $bignum }
                 || { /* String */
                      "string": $unistring }
                 || { /* Bytes */
                      "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                 || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                 /* Sequence */
                 || { /* Prim__generic
                         Generic primitive (any number of args with or
                         without annotations) */
                      "prim": $013-PtJakart.michelson.v1.primitives,
                      "args"?:
                        [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                      "annots"?: [ string ... ] } } }
      || { /* sapling_state */
           "kind": "sapling_state",
           "id": $013-PtJakart.sapling_state_id,
           "diff":
             { /* update */
               "action": "update",
               "updates":
                 { "commitments_and_ciphertexts":
                     [ [ $sapling.transaction.commitment,
                         $sapling.transaction.ciphertext ] ... ],
                   "nullifiers": [ $sapling.transaction.nullifier ... ] } }
             || { /* remove */
                  "action": "remove" }
             || { /* copy */
                  "action": "copy",
                  "source": $013-PtJakart.sapling_state_id,
                  "updates":
                    { "commitments_and_ciphertexts":
                        [ [ $sapling.transaction.commitment,
                            $sapling.transaction.ciphertext ] ... ],
                      "nullifiers": [ $sapling.transaction.nullifier ... ] } }
             || { /* alloc */
                  "action": "alloc",
                  "updates":
                    { "commitments_and_ciphertexts":
                        [ [ $sapling.transaction.commitment,
                            $sapling.transaction.ciphertext ] ... ],
                      "nullifiers": [ $sapling.transaction.nullifier ... ] },
                  "memo_size": integer ∈ [0, 2^16-1] } } ... ]
  $013-PtJakart.liquidity_baking_toggle_vote: "off" | "on" | "pass"
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $013-PtJakart.mutez: $positive_bignum
  $013-PtJakart.operation.alpha.contents:
    { /* Endorsement */
      "kind": "endorsement",
      "slot": integer ∈ [0, 2^16-1],
      "level": integer ∈ [-2^31-1, 2^31],
      "round": integer ∈ [-2^31-1, 2^31],
      "block_payload_hash": $value_hash }
    || { /* Preendorsement */
         "kind": "preendorsement",
         "slot": integer ∈ [0, 2^16-1],
         "level": integer ∈ [-2^31-1, 2^31],
         "round": integer ∈ [-2^31-1, 2^31],
         "block_payload_hash": $value_hash }
    || { /* Seed_nonce_revelation */
         "kind": "seed_nonce_revelation",
         "level": integer ∈ [-2^31-1, 2^31],
         "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || { /* Double_endorsement_evidence */
         "kind": "double_endorsement_evidence",
         "op1": $013-PtJakart.inlined.endorsement,
         "op2": $013-PtJakart.inlined.endorsement }
    || { /* Double_preendorsement_evidence */
         "kind": "double_preendorsement_evidence",
         "op1": $013-PtJakart.inlined.preendorsement,
         "op2": $013-PtJakart.inlined.preendorsement }
    || { /* Double_baking_evidence */
         "kind": "double_baking_evidence",
         "bh1": $013-PtJakart.block_header.alpha.full_header,
         "bh2": $013-PtJakart.block_header.alpha.full_header }
    || { /* Activate_account */
         "kind": "activate_account",
         "pkh": $Ed25519.Public_key_hash,
         "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || { /* Proposals */
         "kind": "proposals",
         "source": $Signature.Public_key_hash,
         "period": integer ∈ [-2^31-1, 2^31],
         "proposals": [ $Protocol_hash ... ] }
    || { /* Ballot */
         "kind": "ballot",
         "source": $Signature.Public_key_hash,
         "period": integer ∈ [-2^31-1, 2^31],
         "proposal": $Protocol_hash,
         "ballot": "nay" | "yay" | "pass" }
    || { /* Reveal */
         "kind": "reveal",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "public_key": $Signature.Public_key }
    || { /* Transaction */
         "kind": "transaction",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "amount": $013-PtJakart.mutez,
         "destination": $013-PtJakart.transaction_destination,
         "parameters"?:
           { "entrypoint": $013-PtJakart.entrypoint,
             "value":
               { /* Int */
                 "int": $bignum }
               || { /* String */
                    "string": $unistring }
               || { /* Bytes */
                    "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
               || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
               /* Sequence */
               || { /* Prim__generic
                       Generic primitive (any number of args with or without
                       annotations) */
                    "prim": $013-PtJakart.michelson.v1.primitives,
                    "args"?:
                      [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                    "annots"?: [ string ... ] } } }
    || { /* Origination */
         "kind": "origination",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "balance": $013-PtJakart.mutez,
         "delegate"?: $Signature.Public_key_hash,
         "script": $013-PtJakart.scripted.contracts }
    || { /* Delegation */
         "kind": "delegation",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "delegate"?: $Signature.Public_key_hash }
    || { /* Set_deposits_limit */
         "kind": "set_deposits_limit",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "limit"?: $013-PtJakart.mutez }
    || { /* Failing_noop */
         "kind": "failing_noop",
         "arbitrary": $unistring }
    || { /* Register_global_constant */
         "kind": "register_global_constant",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "value":
           { /* Int */
             "int": $bignum }
           || { /* String */
                "string": $unistring }
           || { /* Bytes */
                "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
           /* Sequence */
           || { /* Prim__generic
                   Generic primitive (any number of args with or without
                   annotations) */
                "prim": $013-PtJakart.michelson.v1.primitives,
                "args"?:
                  [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                "annots"?: [ string ... ] } }
    || { /* Tx_rollup_origination */
         "kind": "tx_rollup_origination",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "tx_rollup_origination": any }
    || { /* Tx_rollup_submit_batch */
         "kind": "tx_rollup_submit_batch",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "content": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
         "burn_limit"?: $013-PtJakart.mutez }
    || { /* Tx_rollup_commit */
         "kind": "tx_rollup_commit",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "commitment":
           { "level": integer ∈ [-2^31-1, 2^31],
             "messages": [ $Message_result_hash ... ],
             "predecessor": $Commitment_hash /* Some */ || null /* None */,
             "inbox_merkle_root": $Inbox_list_hash } }
    || { /* Tx_rollup_return_bond */
         "kind": "tx_rollup_return_bond",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id }
    || { /* Tx_rollup_finalize_commitment */
         "kind": "tx_rollup_finalize_commitment",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id }
    || { /* Tx_rollup_remove_commitment */
         "kind": "tx_rollup_remove_commitment",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id }
    || { /* Tx_rollup_rejection */
         "kind": "tx_rollup_rejection",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "level": integer ∈ [-2^31-1, 2^31],
         "message":
           { /* Batch */
             "batch": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || { /* Deposit */
                "deposit":
                  { "sender": $Signature.Public_key_hash,
                    "destination": $Tx_rollup_l2_address,
                    "ticket_hash": $script_expr,
                    "amount": $int64 } },
         "message_position": $positive_bignum,
         "message_path": [ $Inbox_list_hash ... ],
         "message_result_hash": $Message_result_hash,
         "message_result_path": [ $Message_result_list_hash ... ],
         "previous_message_result":
           { "context_hash": $Context_hash,
             "withdraw_list_hash": $Withdraw_list_hash },
         "previous_message_result_path": [ $Message_result_list_hash ... ],
         "proof":
           { "version": integer ∈ [-2^15, 2^15-1],
             "before":
               { /* Value */
                 "value": $Context_hash }
               || { /* Node */
                    "node": $Context_hash },
             "after":
               { /* Value */
                 "value": $Context_hash }
               || { /* Node */
                    "node": $Context_hash },
             "state":
               [ { /* Inode */
                   "inode":
                     { "length": $int64,
                       "proofs":
                         [ null /* none */ || $Context_hash /* some */,
                           null /* none */ || $Context_hash /* some */ ] } }
                 || { /* other_elts */
                      "other_elts":
                        { /* Node */
                          "node":
                            [ [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
                                { /* Value */
                                  "value": $Context_hash }
                                || { /* Node */
                                     "node": $Context_hash } ] ... ] }
                        || { /* other_elts */
                             "other_elts":
                               { /* Value */
                                 "value":
                                   /^([a-zA-Z0-9][a-zA-Z0-9])*$/
                                   /* short_bytes */
                                   || /^([a-zA-Z0-9][a-zA-Z0-9])*$/
                                   /* medium_bytes */
                                   || any
                                   /* long_bytes
                                      This case is void. No data is accepted. */
                                   || /^([a-zA-Z0-9][a-zA-Z0-9])*$/
                                   /* unlimited_bytes */ }
                               || { /* Inode_extender */
                                    "inode_extender":
                                      { "length": $int64,
                                        "segment":
                                          /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
                                        "proof": $Context_hash } } } } ... ] } }
    || { /* Tx_rollup_dispatch_tickets */
         "kind": "tx_rollup_dispatch_tickets",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "tx_rollup": $013-PtJakart.tx_rollup_id,
         "level": integer ∈ [-2^31-1, 2^31],
         "context_hash": $Context_hash,
         "message_index": integer ∈ [-2^30, 2^30],
         "message_result_path": [ $Message_result_list_hash ... ],
         "tickets_info":
           [ { "contents":
                 { /* Int */
                   "int": $bignum }
                 || { /* String */
                      "string": $unistring }
                 || { /* Bytes */
                      "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                 || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                 /* Sequence */
                 || { /* Prim__generic
                         Generic primitive (any number of args with or
                         without annotations) */
                      "prim": $013-PtJakart.michelson.v1.primitives,
                      "args"?:
                        [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                      "annots"?: [ string ... ] },
               "ty":
                 { /* Int */
                   "int": $bignum }
                 || { /* String */
                      "string": $unistring }
                 || { /* Bytes */
                      "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                 || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                 /* Sequence */
                 || { /* Prim__generic
                         Generic primitive (any number of args with or
                         without annotations) */
                      "prim": $013-PtJakart.michelson.v1.primitives,
                      "args"?:
                        [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                      "annots"?: [ string ... ] },
               "ticketer": $013-PtJakart.contract_id,
               "amount": $int64,
               "claimer": $Signature.Public_key_hash } ... ] }
    || { /* Transfer_ticket */
         "kind": "transfer_ticket",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "ticket_contents":
           { /* Int */
             "int": $bignum }
           || { /* String */
                "string": $unistring }
           || { /* Bytes */
                "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
           /* Sequence */
           || { /* Prim__generic
                   Generic primitive (any number of args with or without
                   annotations) */
                "prim": $013-PtJakart.michelson.v1.primitives,
                "args"?:
                  [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                "annots"?: [ string ... ] },
         "ticket_ty":
           { /* Int */
             "int": $bignum }
           || { /* String */
                "string": $unistring }
           || { /* Bytes */
                "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
           /* Sequence */
           || { /* Prim__generic
                   Generic primitive (any number of args with or without
                   annotations) */
                "prim": $013-PtJakart.michelson.v1.primitives,
                "args"?:
                  [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                "annots"?: [ string ... ] },
         "ticket_ticketer": $013-PtJakart.contract_id,
         "ticket_amount": $positive_bignum,
         "destination": $013-PtJakart.contract_id,
         "entrypoint": $unistring }
    || { /* Sc_rollup_originate */
         "kind": "sc_rollup_originate",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "kind": any /* Example_arith smart contract rollup kind */,
         "boot_sector": $unistring }
    || { /* Sc_rollup_add_messages */
         "kind": "sc_rollup_add_messages",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.rollup_address,
         "message": [ $unistring ... ] }
    || { /* Sc_rollup_cement */
         "kind": "sc_rollup_cement",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.rollup_address,
         "commitment": $commitment_hash }
    || { /* Sc_rollup_publish */
         "kind": "sc_rollup_publish",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.rollup_address,
         "commitment":
           { "compressed_state": $state_hash,
             "inbox_level": integer ∈ [-2^31-1, 2^31],
             "predecessor": $commitment_hash,
             "number_of_messages": integer ∈ [-2^31-1, 2^31],
             "number_of_ticks": integer ∈ [-2^31-1, 2^31] } }
  $013-PtJakart.operation.alpha.contents_and_signature:
    { "contents": [ $013-PtJakart.operation.alpha.contents ... ],
      "signature": $Signature }
  $013-PtJakart.operation.alpha.operation_contents_and_result:
    { /* Seed_nonce_revelation */
      "kind": "seed_nonce_revelation",
      "level": integer ∈ [-2^31-1, 2^31],
      "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "metadata":
        { "balance_updates"?:
            $013-PtJakart.operation_metadata.alpha.balance_updates } }
    || { /* Endorsement */
         "kind": "endorsement",
         "slot": integer ∈ [0, 2^16-1],
         "level": integer ∈ [-2^31-1, 2^31],
         "round": integer ∈ [-2^31-1, 2^31],
         "block_payload_hash": $value_hash,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "delegate": $Signature.Public_key_hash,
             "endorsement_power": integer ∈ [-2^30, 2^30] } }
    || { /* Preendorsement */
         "kind": "preendorsement",
         "slot": integer ∈ [0, 2^16-1],
         "level": integer ∈ [-2^31-1, 2^31],
         "round": integer ∈ [-2^31-1, 2^31],
         "block_payload_hash": $value_hash,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "delegate": $Signature.Public_key_hash,
             "preendorsement_power": integer ∈ [-2^30, 2^30] } }
    || { /* Double_preendorsement_evidence */
         "kind": "double_preendorsement_evidence",
         "op1": $013-PtJakart.inlined.preendorsement,
         "op2": $013-PtJakart.inlined.preendorsement,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates } }
    || { /* Double_endorsement_evidence */
         "kind": "double_endorsement_evidence",
         "op1": $013-PtJakart.inlined.endorsement,
         "op2": $013-PtJakart.inlined.endorsement,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates } }
    || { /* Double_baking_evidence */
         "kind": "double_baking_evidence",
         "bh1": $013-PtJakart.block_header.alpha.full_header,
         "bh2": $013-PtJakart.block_header.alpha.full_header,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates } }
    || { /* Activate_account */
         "kind": "activate_account",
         "pkh": $Ed25519.Public_key_hash,
         "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates } }
    || { /* Proposals */
         "kind": "proposals",
         "source": $Signature.Public_key_hash,
         "period": integer ∈ [-2^31-1, 2^31],
         "proposals": [ $Protocol_hash ... ],
         "metadata": {  } }
    || { /* Ballot */
         "kind": "ballot",
         "source": $Signature.Public_key_hash,
         "period": integer ∈ [-2^31-1, 2^31],
         "proposal": $Protocol_hash,
         "ballot": "nay" | "yay" | "pass",
         "metadata": {  } }
    || { /* Reveal */
         "kind": "reveal",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "public_key": $Signature.Public_key,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.reveal,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Transaction */
         "kind": "transaction",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "amount": $013-PtJakart.mutez,
         "destination": $013-PtJakart.transaction_destination,
         "parameters"?:
           { "entrypoint": $013-PtJakart.entrypoint,
             "value":
               { /* Int */
                 "int": $bignum }
               || { /* String */
                    "string": $unistring }
               || { /* Bytes */
                    "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
               || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
               /* Sequence */
               || { /* Prim__generic
                       Generic primitive (any number of args with or without
                       annotations) */
                    "prim": $013-PtJakart.michelson.v1.primitives,
                    "args"?:
                      [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                    "annots"?: [ string ... ] } },
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.transaction,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Origination */
         "kind": "origination",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "balance": $013-PtJakart.mutez,
         "delegate"?: $Signature.Public_key_hash,
         "script": $013-PtJakart.scripted.contracts,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.origination,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Delegation */
         "kind": "delegation",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "delegate"?: $Signature.Public_key_hash,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.delegation,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Register_global_constant */
         "kind": "register_global_constant",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "value":
           { /* Int */
             "int": $bignum }
           || { /* String */
                "string": $unistring }
           || { /* Bytes */
                "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
           /* Sequence */
           || { /* Prim__generic
                   Generic primitive (any number of args with or without
                   annotations) */
                "prim": $013-PtJakart.michelson.v1.primitives,
                "args"?:
                  [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                "annots"?: [ string ... ] },
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.register_global_constant,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Set_deposits_limit */
         "kind": "set_deposits_limit",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "limit"?: $013-PtJakart.mutez,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.set_deposits_limit,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Tx_rollup_origination */
         "kind": "tx_rollup_origination",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "tx_rollup_origination": any,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.tx_rollup_origination,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Tx_rollup_submit_batch */
         "kind": "tx_rollup_submit_batch",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "content": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
         "burn_limit"?: $013-PtJakart.mutez,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.tx_rollup_submit_batch,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Tx_rollup_commit */
         "kind": "tx_rollup_commit",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "commitment":
           { "level": integer ∈ [-2^31-1, 2^31],
             "messages": [ $Message_result_hash ... ],
             "predecessor": $Commitment_hash /* Some */ || null /* None */,
             "inbox_merkle_root": $Inbox_list_hash },
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.tx_rollup_commit,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Tx_rollup_return_bond */
         "kind": "tx_rollup_return_bond",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.tx_rollup_return_bond,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Tx_rollup_finalize_commitment */
         "kind": "tx_rollup_finalize_commitment",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.tx_rollup_finalize_commitment,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Tx_rollup_remove_commitment */
         "kind": "tx_rollup_remove_commitment",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.tx_rollup_remove_commitment,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Tx_rollup_rejection */
         "kind": "tx_rollup_rejection",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "level": integer ∈ [-2^31-1, 2^31],
         "message":
           { /* Batch */
             "batch": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || { /* Deposit */
                "deposit":
                  { "sender": $Signature.Public_key_hash,
                    "destination": $Tx_rollup_l2_address,
                    "ticket_hash": $script_expr,
                    "amount": $int64 } },
         "message_position": $positive_bignum,
         "message_path": [ $Inbox_list_hash ... ],
         "message_result_hash": $Message_result_hash,
         "message_result_path": [ $Message_result_list_hash ... ],
         "previous_message_result":
           { "context_hash": $Context_hash,
             "withdraw_list_hash": $Withdraw_list_hash },
         "previous_message_result_path": [ $Message_result_list_hash ... ],
         "proof":
           { "version": integer ∈ [-2^15, 2^15-1],
             "before":
               { /* Value */
                 "value": $Context_hash }
               || { /* Node */
                    "node": $Context_hash },
             "after":
               { /* Value */
                 "value": $Context_hash }
               || { /* Node */
                    "node": $Context_hash },
             "state":
               [ { /* Inode */
                   "inode":
                     { "length": $int64,
                       "proofs":
                         [ null /* none */ || $Context_hash /* some */,
                           null /* none */ || $Context_hash /* some */ ] } }
                 || { /* other_elts */
                      "other_elts":
                        { /* Node */
                          "node":
                            [ [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
                                { /* Value */
                                  "value": $Context_hash }
                                || { /* Node */
                                     "node": $Context_hash } ] ... ] }
                        || { /* other_elts */
                             "other_elts":
                               { /* Value */
                                 "value":
                                   /^([a-zA-Z0-9][a-zA-Z0-9])*$/
                                   /* short_bytes */
                                   || /^([a-zA-Z0-9][a-zA-Z0-9])*$/
                                   /* medium_bytes */
                                   || any
                                   /* long_bytes
                                      This case is void. No data is accepted. */
                                   || /^([a-zA-Z0-9][a-zA-Z0-9])*$/
                                   /* unlimited_bytes */ }
                               || { /* Inode_extender */
                                    "inode_extender":
                                      { "length": $int64,
                                        "segment":
                                          /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
                                        "proof": $Context_hash } } } } ... ] },
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.tx_rollup_rejection,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Transfer_ticket */
         "kind": "transfer_ticket",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "ticket_contents":
           { /* Int */
             "int": $bignum }
           || { /* String */
                "string": $unistring }
           || { /* Bytes */
                "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
           /* Sequence */
           || { /* Prim__generic
                   Generic primitive (any number of args with or without
                   annotations) */
                "prim": $013-PtJakart.michelson.v1.primitives,
                "args"?:
                  [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                "annots"?: [ string ... ] },
         "ticket_ty":
           { /* Int */
             "int": $bignum }
           || { /* String */
                "string": $unistring }
           || { /* Bytes */
                "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
           /* Sequence */
           || { /* Prim__generic
                   Generic primitive (any number of args with or without
                   annotations) */
                "prim": $013-PtJakart.michelson.v1.primitives,
                "args"?:
                  [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                "annots"?: [ string ... ] },
         "ticket_ticketer": $013-PtJakart.contract_id,
         "ticket_amount": $positive_bignum,
         "destination": $013-PtJakart.contract_id,
         "entrypoint": $unistring,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.transfer_ticket,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Tx_rollup_dispatch_tickets */
         "kind": "tx_rollup_dispatch_tickets",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "tx_rollup": $013-PtJakart.tx_rollup_id,
         "level": integer ∈ [-2^31-1, 2^31],
         "context_hash": $Context_hash,
         "message_index": integer ∈ [-2^30, 2^30],
         "message_result_path": [ $Message_result_list_hash ... ],
         "tickets_info":
           [ { "contents":
                 { /* Int */
                   "int": $bignum }
                 || { /* String */
                      "string": $unistring }
                 || { /* Bytes */
                      "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                 || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                 /* Sequence */
                 || { /* Prim__generic
                         Generic primitive (any number of args with or
                         without annotations) */
                      "prim": $013-PtJakart.michelson.v1.primitives,
                      "args"?:
                        [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                      "annots"?: [ string ... ] },
               "ty":
                 { /* Int */
                   "int": $bignum }
                 || { /* String */
                      "string": $unistring }
                 || { /* Bytes */
                      "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                 || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                 /* Sequence */
                 || { /* Prim__generic
                         Generic primitive (any number of args with or
                         without annotations) */
                      "prim": $013-PtJakart.michelson.v1.primitives,
                      "args"?:
                        [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                      "annots"?: [ string ... ] },
               "ticketer": $013-PtJakart.contract_id,
               "amount": $int64,
               "claimer": $Signature.Public_key_hash } ... ],
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.tx_rollup_dispatch_tickets,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Sc_rollup_originate */
         "kind": "sc_rollup_originate",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "kind": any /* Example_arith smart contract rollup kind */,
         "boot_sector": $unistring,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.sc_rollup_originate,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Sc_rollup_add_messages */
         "kind": "sc_rollup_add_messages",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.rollup_address,
         "message": [ $unistring ... ],
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.sc_rollup_add_messages,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Sc_rollup_cement */
         "kind": "sc_rollup_cement",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.rollup_address,
         "commitment": $commitment_hash,
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.sc_rollup_cement,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
    || { /* Sc_rollup_publish */
         "kind": "sc_rollup_publish",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.rollup_address,
         "commitment":
           { "compressed_state": $state_hash,
             "inbox_level": integer ∈ [-2^31-1, 2^31],
             "predecessor": $commitment_hash,
             "number_of_messages": integer ∈ [-2^31-1, 2^31],
             "number_of_ticks": integer ∈ [-2^31-1, 2^31] },
         "metadata":
           { "balance_updates"?:
               $013-PtJakart.operation_metadata.alpha.balance_updates,
             "operation_result":
               $013-PtJakart.operation.alpha.operation_result.sc_rollup_publish,
             "internal_operation_results"?:
               [ $013-PtJakart.apply_results.alpha.operation_result ... ] } }
  $013-PtJakart.operation.alpha.operation_result.delegation:
    { /* Applied */
      "status": "applied",
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum }
  $013-PtJakart.operation.alpha.operation_result.origination:
    { /* Applied */
      "status": "applied",
      "balance_updates"?:
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "originated_contracts"?: [ $013-PtJakart.contract_id ... ],
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "storage_size"?: $bignum,
      "paid_storage_size_diff"?: $bignum,
      "lazy_storage_diff"?: $013-PtJakart.lazy_storage_diff }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates"?:
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "originated_contracts"?: [ $013-PtJakart.contract_id ... ],
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "storage_size"?: $bignum,
         "paid_storage_size_diff"?: $bignum,
         "lazy_storage_diff"?: $013-PtJakart.lazy_storage_diff }
  $013-PtJakart.operation.alpha.operation_result.register_global_constant:
    { /* Applied */
      "status": "applied",
      "balance_updates"?:
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "storage_size"?: $bignum,
      "global_address": $script_expr }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates"?:
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "storage_size"?: $bignum,
         "global_address": $script_expr }
  $013-PtJakart.operation.alpha.operation_result.reveal:
    { /* Applied */
      "status": "applied",
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum }
  $013-PtJakart.operation.alpha.operation_result.sc_rollup_add_messages:
    { /* Applied */
      "status": "applied",
      "consumed_gas": $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "inbox_after":
        { "rollup": $013-PtJakart.rollup_address,
          "message_counter": $positive_bignum,
          "nb_available_messages": $int64,
          "level": integer ∈ [-2^31-1, 2^31],
          "current_messages_hash": $Context_hash,
          "old_levels_messages":
            { "index": integer ∈ [-2^30, 2^30],
              "content": $Context_hash,
              "back_pointers": [ $Context_hash ... ] } } }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "consumed_gas": $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "inbox_after":
           { "rollup": $013-PtJakart.rollup_address,
             "message_counter": $positive_bignum,
             "nb_available_messages": $int64,
             "level": integer ∈ [-2^31-1, 2^31],
             "current_messages_hash": $Context_hash,
             "old_levels_messages":
               { "index": integer ∈ [-2^30, 2^30],
                 "content": $Context_hash,
                 "back_pointers": [ $Context_hash ... ] } } }
  $013-PtJakart.operation.alpha.operation_result.sc_rollup_cement:
    { /* Applied */
      "status": "applied",
      "consumed_gas": $positive_bignum,
      "consumed_milligas"?: $positive_bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "consumed_gas": $positive_bignum,
         "consumed_milligas"?: $positive_bignum }
  $013-PtJakart.operation.alpha.operation_result.sc_rollup_originate:
    { /* Applied */
      "status": "applied",
      "balance_updates":
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "address": $Sc_rollup_hash,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "size": $bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "address": $Sc_rollup_hash,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "size": $bignum }
  $013-PtJakart.operation.alpha.operation_result.sc_rollup_publish:
    { /* Applied */
      "status": "applied",
      "consumed_gas": $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "staked_hash": $commitment_hash }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "consumed_gas": $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "staked_hash": $commitment_hash }
  $013-PtJakart.operation.alpha.operation_result.set_deposits_limit:
    { /* Applied */
      "status": "applied",
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum }
  $013-PtJakart.operation.alpha.operation_result.transaction:
    /* Applied */
    { /* To_contract */
      "status": "applied",
      "storage"?:
        { /* Int */
          "int": $bignum }
        || { /* String */
             "string": $unistring }
        || { /* Bytes */
             "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
        || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
        /* Sequence */
        || { /* Prim__generic
                Generic primitive (any number of args with or without
                annotations) */
             "prim": $013-PtJakart.michelson.v1.primitives,
             "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
             "annots"?: [ string ... ] },
      "balance_updates"?:
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "originated_contracts"?: [ $013-PtJakart.contract_id ... ],
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "storage_size"?: $bignum,
      "paid_storage_size_diff"?: $bignum,
      "allocated_destination_contract"?: boolean,
      "lazy_storage_diff"?: $013-PtJakart.lazy_storage_diff }
    || { /* To_tx_rollup */
         "status": "applied",
         "balance_updates"?:
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "ticket_hash": $script_expr,
         "paid_storage_size_diff": $positive_bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || /* Backtracked */
    { /* To_contract */
      "status": "backtracked",
      "errors"?: [ $013-PtJakart.error ... ],
      "storage"?:
        { /* Int */
          "int": $bignum }
        || { /* String */
             "string": $unistring }
        || { /* Bytes */
             "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
        || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
        /* Sequence */
        || { /* Prim__generic
                Generic primitive (any number of args with or without
                annotations) */
             "prim": $013-PtJakart.michelson.v1.primitives,
             "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
             "annots"?: [ string ... ] },
      "balance_updates"?:
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "originated_contracts"?: [ $013-PtJakart.contract_id ... ],
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "storage_size"?: $bignum,
      "paid_storage_size_diff"?: $bignum,
      "allocated_destination_contract"?: boolean,
      "lazy_storage_diff"?: $013-PtJakart.lazy_storage_diff }
    || { /* To_tx_rollup */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates"?:
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "ticket_hash": $script_expr,
         "paid_storage_size_diff": $positive_bignum }
  $013-PtJakart.operation.alpha.operation_result.transfer_ticket:
    { /* Applied */
      "status": "applied",
      "balance_updates":
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "paid_storage_size_diff"?: $bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "paid_storage_size_diff"?: $bignum }
  $013-PtJakart.operation.alpha.operation_result.tx_rollup_commit:
    { /* Applied */
      "status": "applied",
      "balance_updates":
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum }
  $013-PtJakart.operation.alpha.operation_result.tx_rollup_dispatch_tickets:
    { /* Applied */
      "status": "applied",
      "balance_updates":
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "paid_storage_size_diff"?: $bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "paid_storage_size_diff"?: $bignum }
  $013-PtJakart.operation.alpha.operation_result.tx_rollup_finalize_commitment:
    { /* Applied */
      "status": "applied",
      "balance_updates":
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "level": integer ∈ [-2^31-1, 2^31] }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "level": integer ∈ [-2^31-1, 2^31] }
  $013-PtJakart.operation.alpha.operation_result.tx_rollup_origination:
    { /* Applied */
      "status": "applied",
      "balance_updates":
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "originated_rollup": $013-PtJakart.tx_rollup_id }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "originated_rollup": $013-PtJakart.tx_rollup_id }
  $013-PtJakart.operation.alpha.operation_result.tx_rollup_rejection:
    { /* Applied */
      "status": "applied",
      "balance_updates":
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum }
  $013-PtJakart.operation.alpha.operation_result.tx_rollup_remove_commitment:
    { /* Applied */
      "status": "applied",
      "balance_updates":
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "level": integer ∈ [-2^31-1, 2^31] }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "level": integer ∈ [-2^31-1, 2^31] }
  $013-PtJakart.operation.alpha.operation_result.tx_rollup_return_bond:
    { /* Applied */
      "status": "applied",
      "balance_updates":
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum }
  $013-PtJakart.operation.alpha.operation_result.tx_rollup_submit_batch:
    { /* Applied */
      "status": "applied",
      "balance_updates":
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "paid_storage_size_diff": $positive_bignum }
    || { /* Failed */
         "status": "failed",
         "errors": [ $013-PtJakart.error ... ] }
    || { /* Skipped */
         "status": "skipped" }
    || { /* Backtracked */
         "status": "backtracked",
         "errors"?: [ $013-PtJakart.error ... ],
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "paid_storage_size_diff": $positive_bignum }
  $013-PtJakart.operation.alpha.operation_with_metadata:
    { /* Operation_with_metadata */
      "contents":
        [ $013-PtJakart.operation.alpha.operation_contents_and_result ... ],
      "signature"?: $Signature }
    || { /* Operation_without_metadata */
         "contents": [ $013-PtJakart.operation.alpha.contents ... ],
         "signature"?: $Signature }
  $013-PtJakart.operation.alpha.successful_manager_operation_result:
    { /* reveal */
      "kind": "reveal",
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum }
    || /* transaction */
    { /* To_contract */
      "kind": "transaction",
      "storage"?:
        { /* Int */
          "int": $bignum }
        || { /* String */
             "string": $unistring }
        || { /* Bytes */
             "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
        || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
        /* Sequence */
        || { /* Prim__generic
                Generic primitive (any number of args with or without
                annotations) */
             "prim": $013-PtJakart.michelson.v1.primitives,
             "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
             "annots"?: [ string ... ] },
      "balance_updates"?:
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "originated_contracts"?: [ $013-PtJakart.contract_id ... ],
      "consumed_gas"?: $positive_bignum,
      "consumed_milligas"?: $positive_bignum,
      "storage_size"?: $bignum,
      "paid_storage_size_diff"?: $bignum,
      "allocated_destination_contract"?: boolean,
      "lazy_storage_diff"?: $013-PtJakart.lazy_storage_diff }
    || { /* To_tx_rollup */
         "kind": "transaction",
         "balance_updates"?:
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "ticket_hash": $script_expr,
         "paid_storage_size_diff": $positive_bignum }
    || { /* origination */
         "kind": "origination",
         "balance_updates"?:
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "originated_contracts"?: [ $013-PtJakart.contract_id ... ],
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "storage_size"?: $bignum,
         "paid_storage_size_diff"?: $bignum,
         "lazy_storage_diff"?: $013-PtJakart.lazy_storage_diff }
    || { /* delegation */
         "kind": "delegation",
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum }
    || { /* set_deposits_limit */
         "kind": "set_deposits_limit",
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum }
    || { /* sc_rollup_originate */
         "kind": "sc_rollup_originate",
         "balance_updates":
           $013-PtJakart.operation_metadata.alpha.balance_updates,
         "address": $Sc_rollup_hash,
         "consumed_gas"?: $positive_bignum,
         "consumed_milligas"?: $positive_bignum,
         "size": $bignum }
  $013-PtJakart.operation_metadata.alpha.balance_updates:
    [ { /* Contract */
        "kind": "contract",
        "contract": $013-PtJakart.contract_id,
        "change": $int64,
        "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Block_fees */
           "kind": "accumulator",
           "category": "block fees",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Deposits */
           "kind": "freezer",
           "category": "deposits",
           "delegate": $Signature.Public_key_hash,
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Nonce_revelation_rewards */
           "kind": "minted",
           "category": "nonce revelation rewards",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Double_signing_evidence_rewards */
           "kind": "minted",
           "category": "double signing evidence rewards",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Endorsing_rewards */
           "kind": "minted",
           "category": "endorsing rewards",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Baking_rewards */
           "kind": "minted",
           "category": "baking rewards",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Baking_bonuses */
           "kind": "minted",
           "category": "baking bonuses",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Storage_fees */
           "kind": "burned",
           "category": "storage fees",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Double_signing_punishments */
           "kind": "burned",
           "category": "punishments",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Lost_endorsing_rewards */
           "kind": "burned",
           "category": "lost endorsing rewards",
           "delegate": $Signature.Public_key_hash,
           "participation": boolean,
           "revelation": boolean,
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Liquidity_baking_subsidies */
           "kind": "minted",
           "category": "subsidy",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Burned */
           "kind": "burned",
           "category": "burned",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Commitments */
           "kind": "commitment",
           "category": "commitment",
           "committer": $Blinded public key hash,
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Bootstrap */
           "kind": "minted",
           "category": "bootstrap",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Invoice */
           "kind": "minted",
           "category": "invoice",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Initial_commitments */
           "kind": "minted",
           "category": "commitment",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Minted */
           "kind": "minted",
           "category": "minted",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Frozen_bonds */
           "kind": "freezer",
           "category": "bonds",
           "contract": $013-PtJakart.contract_id,
           "bond_id": $013-PtJakart.bond_id,
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Tx_rollup_rejection_rewards */
           "kind": "minted",
           "category": "tx_rollup_rejection_rewards",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" }
      || { /* Tx_rollup_rejection_punishments */
           "kind": "burned",
           "category": "tx_rollup_rejection_punishments",
           "change": $int64,
           "origin": "block" || "migration" || "subsidy" || "simulation" } ... ]
  $013-PtJakart.rollup_address:
    /* A smart contract rollup address
       A smart contract rollup is identified by a base58 address starting
       with scr1 */
    $unistring
  $013-PtJakart.sapling_state_id:
    /* Sapling state identifier
       A sapling state identifier */
    $bignum
  $013-PtJakart.scripted.contracts:
    { "code":
        { /* Int */
          "int": $bignum }
        || { /* String */
             "string": $unistring }
        || { /* Bytes */
             "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
        || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
        /* Sequence */
        || { /* Prim__generic
                Generic primitive (any number of args with or without
                annotations) */
             "prim": $013-PtJakart.michelson.v1.primitives,
             "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
             "annots"?: [ string ... ] },
      "storage":
        { /* Int */
          "int": $bignum }
        || { /* String */
             "string": $unistring }
        || { /* Bytes */
             "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
        || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
        /* Sequence */
        || { /* Prim__generic
                Generic primitive (any number of args with or without
                annotations) */
             "prim": $013-PtJakart.michelson.v1.primitives,
             "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
             "annots"?: [ string ... ] } }
  $013-PtJakart.transaction_destination:
    /* A destination of a transaction
       A destination notation compatible with the contract notation as given
       to an RPC or inside scripts. Can be a base58 implicit contract hash, a
       base58 originated contract hash, or a base58 originated transaction
       rollup. */
    $unistring
  $013-PtJakart.tx_rollup_id:
    /* A tx rollup handle
       A tx rollup notation as given to an RPC or inside scripts, is a base58
       tx rollup hash */
    $unistring
  $Blinded public key hash:
    /* A blinded public key hash (Base58Check-encoded) */
    $unistring
  $Chain_id:
    /* Network identifier (Base58Check-encoded) */
    $unistring
  $Commitment_hash:
    /* A commitment ID (Base58Check-encoded) */
    $unistring
  $Context_hash:
    /* A hash of context (Base58Check-encoded) */
    $unistring
  $Ed25519.Public_key_hash:
    /* An Ed25519 public key hash (Base58Check-encoded) */
    $unistring
  $Inbox_list_hash:
    /* A merkle root hash for inboxes (Base58Check-encoded) */
    $unistring
  $Message_result_hash:
    /* A message result hash (Base58Check-encoded) */
    $unistring
  $Message_result_list_hash:
    /* A merklised message result list hash (Base58Check-encoded) */
    $unistring
  $Operation_hash:
    /* A Tezos operation ID (Base58Check-encoded) */
    $unistring
  $Operation_list_list_hash:
    /* A list of list of operations (Base58Check-encoded) */
    $unistring
  $Protocol_hash:
    /* A Tezos protocol ID (Base58Check-encoded) */
    $unistring
  $Sc_rollup_hash:
    /* A smart contract rollup address (Base58Check-encoded) */
    $unistring
  $Signature:
    /* A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded) */
    $unistring
  $Signature.Public_key:
    /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
    $unistring
  $Signature.Public_key_hash:
    /* A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded) */
    $unistring
  $Tx_rollup_l2_address:
    /* The hash of a BLS public key used to identify a L2 ticket holders
       (Base58Check-encoded) */
    $unistring
  $Withdraw_list_hash:
    /* A list of withdraw orders (Base58Check-encoded) */
    $unistring
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $block_hash:
    /* A block identifier (Base58Check-encoded) */
    $unistring
  $block_header_metadata:
    { "protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
      "next_protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
      "test_chain_status": $test_chain_status,
      "max_operations_ttl": integer ∈ [-2^30, 2^30],
      "max_operation_data_length": integer ∈ [-2^30, 2^30],
      "max_block_header_length": integer ∈ [-2^30, 2^30],
      "max_operation_list_length":
        [ { "max_size": integer ∈ [-2^30, 2^30],
            "max_op"?: integer ∈ [-2^30, 2^30] } ... ],
      "proposer": $Signature.Public_key_hash,
      "baker": $Signature.Public_key_hash,
      "level_info":
        { "level":
            integer ∈ [-2^31-1, 2^31]
            /* The level of the block relative to genesis. This is also the
               Shell's notion of level. */,
          "level_position":
            integer ∈ [-2^31-1, 2^31]
            /* The level of the block relative to the successor of the
               genesis block. More precisely, it is the position of the block
               relative to the block that starts the "Alpha family" of
               protocols, which includes all protocols except Genesis (that
               is, from 001 onwards). */,
          "cycle":
            integer ∈ [-2^31-1, 2^31]
            /* The current cycle's number. Note that cycles are a
               protocol-specific notion. As a result, the cycle number starts
               at 0 with the first block of the Alpha family of protocols. */,
          "cycle_position":
            integer ∈ [-2^31-1, 2^31]
            /* The current level of the block relative to the first block of
               the current cycle. */,
          "expected_commitment":
            boolean
            /* Tells whether the baker of this block has to commit a seed
               nonce hash. */ },
      "voting_period_info":
        { "voting_period":
            { /* The voting period to which the block belongs. */
              "index":
                integer ∈ [-2^31-1, 2^31]
                /* The voting period's index. Starts at 0 with the first
                   block of the Alpha family of protocols. */,
              "kind":
                /* One of the several kinds of periods in the voting
                   procedure. */
                "proposal"
                || "exploration"
                || "cooldown"
                || "promotion"
                || "adoption",
              "start_position":
                integer ∈ [-2^31-1, 2^31]
                /* The relative position of the first level of the period
                   with respect to the first level of the Alpha family of
                   protocols. */ },
          "position":
            integer ∈ [-2^31-1, 2^31]
            /* The position of the block within the voting period. */,
          "remaining":
            integer ∈ [-2^31-1, 2^31]
            /* The number of blocks remaining till the end of the voting
               period. */ },
      "nonce_hash": $cycle_nonce /* Some */ || null /* None */,
      "consumed_gas": $positive_bignum,
      "deactivated": [ $Signature.Public_key_hash ... ],
      "balance_updates"?:
        $013-PtJakart.operation_metadata.alpha.balance_updates,
      "liquidity_baking_toggle_ema": integer ∈ [-2^31-1, 2^31],
      "implicit_operations_results":
        [ $013-PtJakart.operation.alpha.successful_manager_operation_result ... ],
      "consumed_milligas": $positive_bignum }
  $commitment_hash:
    /* The hash of a commitment of a smart contract rollup
       (Base58Check-encoded) */
    $unistring
  $cycle_nonce:
    /* A nonce hash (Base58Check-encoded) */
    $unistring
  $fitness:
    /* Block fitness
       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. */
    [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
  $int64:
    /* 64 bit integers
       Decimal representation of 64 bit integers */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $operation:
    { /* An operation's shell header. */
      "protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
      "chain_id": $Chain_id,
      "hash": $Operation_hash,
      "branch": $block_hash,
      "contents": [ $013-PtJakart.operation.alpha.contents ... ],
      "signature": $Signature,
      "metadata": "too large" }
    || { /* An operation's shell header. */
         "protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
         "chain_id": $Chain_id,
         "hash": $Operation_hash,
         "branch": $block_hash,
         "contents": [ $013-PtJakart.operation.alpha.contents ... ],
         "signature": $Signature }
    || { /* An operation's shell header. */
         "protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
         "chain_id": $Chain_id,
         "hash": $Operation_hash,
         "branch": $block_hash,
         "contents":
           [ $013-PtJakart.operation.alpha.operation_contents_and_result ... ],
         "signature"?: $Signature }
    || { /* An operation's shell header. */
         "protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
         "chain_id": $Chain_id,
         "hash": $Operation_hash,
         "branch": $block_hash,
         "contents": [ $013-PtJakart.operation.alpha.contents ... ],
         "signature"?: $Signature }
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  $raw_block_header:
    /* Shell header
       Block header's shell-related content. It contains information such as
       the block level, its predecessor and timestamp. */
    { "level": integer ∈ [-2^31-1, 2^31],
      "proto": integer ∈ [0, 255],
      "predecessor": $block_hash,
      "timestamp": $timestamp.protocol,
      "validation_pass": integer ∈ [0, 255],
      "operations_hash": $Operation_list_list_hash,
      "fitness": $fitness,
      "context": $Context_hash,
      "payload_hash": $value_hash,
      "payload_round": integer ∈ [-2^31-1, 2^31],
      "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "seed_nonce_hash"?: $cycle_nonce,
      "liquidity_baking_toggle_vote":
        $013-PtJakart.liquidity_baking_toggle_vote,
      "signature": $Signature }
  $sapling.DH.epk: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.ciphertext:
    { "cv": $sapling.transaction.commitment_value,
      "epk": $sapling.DH.epk,
      "payload_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "nonce_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "payload_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "nonce_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
  $sapling.transaction.commitment: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.commitment_value: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.nullifier: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $script_expr:
    /* A script expression ID (Base58Check-encoded) */
    $unistring
  $state_hash:
    /* The hash of the VM state of a smart contract rollup
       (Base58Check-encoded) */
    $unistring
  $test_chain_status:
    /* The status of the test chain: not_running (there is no test chain at
       the moment), forking (the test chain is being setup), running (the
       test chain is running). */
    { /* Not_running */
      "status": "not_running" }
    || { /* Forking */
         "status": "forking",
         "protocol": $Protocol_hash,
         "expiration": $timestamp.protocol }
    || { /* Running */
         "status": "running",
         "chain_id": $Chain_id,
         "genesis": $block_hash,
         "protocol": $Protocol_hash,
         "expiration": $timestamp.protocol }
  $timestamp.protocol:
    /* A timestamp as seen by the protocol: second-level precision, epoch
       based. */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  $value_hash:
    /* Hash of a consensus value (Base58Check-encoded) */
    $unistring
  +--------------------------------+----------------------+----------------------------------------------+
  | Name                           | Size                 | Contents                                     |
  +================================+======================+==============================================+
  | chain_id                       | 4 bytes              | bytes                                        |
  +--------------------------------+----------------------+----------------------------------------------+
  | hash                           | 32 bytes             | bytes                                        |
  +--------------------------------+----------------------+----------------------------------------------+
  | # bytes in next field          | 4 bytes              | unsigned 30-bit integer                      |
  +--------------------------------+----------------------+----------------------------------------------+
  | header                         | Determined from data | $013-PtJakart.block_header.alpha.full_header |
  +--------------------------------+----------------------+----------------------------------------------+
  | ? presence of field "metadata" | 1 byte               | boolean (0 for false, 255 for true)          |
  +--------------------------------+----------------------+----------------------------------------------+
  | metadata                       | Determined from data | $X_0                                         |
  +--------------------------------+----------------------+----------------------------------------------+
  | # bytes in next field          | 4 bytes              | unsigned 30-bit integer                      |
  +--------------------------------+----------------------+----------------------------------------------+
  | operations                     | Variable             | sequence of $X_201                           |
  +--------------------------------+----------------------+----------------------------------------------+


  X_201
  *****

  +--------------------------+----------+-------------------------+
  | Name                     | Size     | Contents                |
  +==========================+==========+=========================+
  | # bytes in next 2 fields | 4 bytes  | unsigned 30-bit integer |
  +--------------------------+----------+-------------------------+
  | # bytes in next field    | 4 bytes  | unsigned 30-bit integer |
  +--------------------------+----------+-------------------------+
  | Unnamed field 0          | Variable | sequence of $operation  |
  +--------------------------+----------+-------------------------+


  operation
  *********

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | chain_id              | 4 bytes  | bytes                   |
  +-----------------------+----------+-------------------------+
  | hash                  | 32 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | branch                | 32 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | $X_8495                 |
  +-----------------------+----------+-------------------------+


  X_8495 (Variable, 8-bit tag)
  ****************************

  Operation with too large metadata (tag 0)
  =========================================

  +-----------+----------+----------------------------------------------------+
  | Name      | Size     | Contents                                           |
  +===========+==========+====================================================+
  | Tag       | 1 byte   | unsigned 8-bit integer                             |
  +-----------+----------+----------------------------------------------------+
  | contents  | Variable | sequence of $013-PtJakart.operation.alpha.contents |
  +-----------+----------+----------------------------------------------------+
  | signature | 64 bytes | bytes                                              |
  +-----------+----------+----------------------------------------------------+


  Operation without metadata (tag 1)
  ==================================

  +-----------+----------+----------------------------------------------------+
  | Name      | Size     | Contents                                           |
  +===========+==========+====================================================+
  | Tag       | 1 byte   | unsigned 8-bit integer                             |
  +-----------+----------+----------------------------------------------------+
  | contents  | Variable | sequence of $013-PtJakart.operation.alpha.contents |
  +-----------+----------+----------------------------------------------------+
  | signature | 64 bytes | bytes                                              |
  +-----------+----------+----------------------------------------------------+


  Operation with metadata (tag 2)
  ===============================

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | Determined from data | $X_8220                |
  +-----------------+----------------------+------------------------+


  013-PtJakart.inlined.endorsement
  ********************************

  +------------+----------+----------------------------------------------------+
  | Name       | Size     | Contents                                           |
  +============+==========+====================================================+
  | branch     | 32 bytes | bytes                                              |
  +------------+----------+----------------------------------------------------+
  | operations | 43 bytes | $013-PtJakart.inlined.endorsement_mempool.contents |
  +------------+----------+----------------------------------------------------+
  | signature  | Variable | bytes                                              |
  +------------+----------+----------------------------------------------------+


  013-PtJakart.inlined.endorsement_mempool.contents (43 bytes, 8-bit tag)
  ***********************************************************************

  Endorsement (tag 21)
  ====================

  +--------------------+----------+-------------------------+
  | Name               | Size     | Contents                |
  +====================+==========+=========================+
  | Tag                | 1 byte   | unsigned 8-bit integer  |
  +--------------------+----------+-------------------------+
  | slot               | 2 bytes  | unsigned 16-bit integer |
  +--------------------+----------+-------------------------+
  | level              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | round              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | block_payload_hash | 32 bytes | bytes                   |
  +--------------------+----------+-------------------------+


  013-PtJakart.block_header.alpha.full_header
  *******************************************

  +---------------------------------------+----------+-------------------------------------+
  | Name                                  | Size     | Contents                            |
  +=======================================+==========+=====================================+
  | level                                 | 4 bytes  | signed 32-bit integer               |
  +---------------------------------------+----------+-------------------------------------+
  | proto                                 | 1 byte   | unsigned 8-bit integer              |
  +---------------------------------------+----------+-------------------------------------+
  | predecessor                           | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | timestamp                             | 8 bytes  | signed 64-bit integer               |
  +---------------------------------------+----------+-------------------------------------+
  | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
  +---------------------------------------+----------+-------------------------------------+
  | operations_hash                       | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
  +---------------------------------------+----------+-------------------------------------+
  | fitness                               | Variable | sequence of $fitness.elem           |
  +---------------------------------------+----------+-------------------------------------+
  | context                               | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | payload_hash                          | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | payload_round                         | 4 bytes  | signed 32-bit integer               |
  +---------------------------------------+----------+-------------------------------------+
  | proof_of_work_nonce                   | 8 bytes  | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
  +---------------------------------------+----------+-------------------------------------+
  | seed_nonce_hash                       | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
  +---------------------------------------+----------+-------------------------------------+
  | signature                             | 64 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+


  fitness.elem
  ************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+


  013-PtJakart.inlined.preendorsement
  ***********************************

  +------------+----------+-----------------------------------------------+
  | Name       | Size     | Contents                                      |
  +============+==========+===============================================+
  | branch     | 32 bytes | bytes                                         |
  +------------+----------+-----------------------------------------------+
  | operations | 43 bytes | $013-PtJakart.inlined.preendorsement.contents |
  +------------+----------+-----------------------------------------------+
  | signature  | Variable | bytes                                         |
  +------------+----------+-----------------------------------------------+


  013-PtJakart.inlined.preendorsement.contents (43 bytes, 8-bit tag)
  ******************************************************************

  Preendorsement (tag 20)
  =======================

  +--------------------+----------+-------------------------+
  | Name               | Size     | Contents                |
  +====================+==========+=========================+
  | Tag                | 1 byte   | unsigned 8-bit integer  |
  +--------------------+----------+-------------------------+
  | slot               | 2 bytes  | unsigned 16-bit integer |
  +--------------------+----------+-------------------------+
  | level              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | round              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | block_payload_hash | 32 bytes | bytes                   |
  +--------------------+----------+-------------------------+


  public_key (Determined from data, 8-bit tag)
  ********************************************

  Ed25519 (tag 0)
  ===============

  +--------------------+----------+------------------------+
  | Name               | Size     | Contents               |
  +====================+==========+========================+
  | Tag                | 1 byte   | unsigned 8-bit integer |
  +--------------------+----------+------------------------+
  | Ed25519.Public_key | 32 bytes | bytes                  |
  +--------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | Secp256k1.Public_key | 33 bytes | bytes                  |
  +----------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | P256.Public_key | 33 bytes | bytes                  |
  +-----------------+----------+------------------------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  X_8494
  ******

  +-----------------------+----------------------+--------------------------+
  | Name                  | Size                 | Contents                 |
  +=======================+======================+==========================+
  | entrypoint            | Determined from data | $013-PtJakart.entrypoint |
  +-----------------------+----------------------+--------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer  |
  +-----------------------+----------------------+--------------------------+
  | value                 | Variable             | bytes                    |
  +-----------------------+----------------------+--------------------------+


  013-PtJakart.entrypoint (Determined from data, 8-bit tag)
  *********************************************************

  default (tag 0)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  root (tag 1)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  do (tag 2)
  ==========

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  set_delegate (tag 3)
  ====================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  remove_delegate (tag 4)
  =======================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  named (tag 255)
  ===============

  +-----------------------+----------+------------------------+
  | Name                  | Size     | Contents               |
  +=======================+==========+========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer |
  +-----------------------+----------+------------------------+
  | # bytes in next field | 1 byte   | unsigned 8-bit integer |
  +-----------------------+----------+------------------------+
  | Unnamed field 0       | Variable | bytes                  |
  +-----------------------+----------+------------------------+


  013-PtJakart.transaction_destination (22 bytes, 8-bit tag)
  **********************************************************

  Implicit (tag 0)
  ================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
  +---------------------------+----------+------------------------+


  Originated (tag 1)
  ==================

  +---------------+----------+------------------------+
  | Name          | Size     | Contents               |
  +===============+==========+========================+
  | Tag           | 1 byte   | unsigned 8-bit integer |
  +---------------+----------+------------------------+
  | Contract_hash | 20 bytes | bytes                  |
  +---------------+----------+------------------------+
  | padding       | 1 byte   | padding                |
  +---------------+----------+------------------------+


  Tx_rollup (tag 2)
  =================

  +-------------+----------+------------------------+
  | Name        | Size     | Contents               |
  +=============+==========+========================+
  | Tag         | 1 byte   | unsigned 8-bit integer |
  +-------------+----------+------------------------+
  | Rollup_hash | 20 bytes | bytes                  |
  +-------------+----------+------------------------+
  | padding     | 1 byte   | padding                |
  +-------------+----------+------------------------+


  013-PtJakart.scripted.contracts
  *******************************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | code                  | Variable | bytes                   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | storage               | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  X_8493 (Determined from data, 8-bit tag)
  ****************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Commitment_hash | 32 bytes | bytes                  |
  +-----------------+----------+------------------------+


  X_8491 (Determined from data, 8-bit tag)
  ****************************************

  case 0 (tag 0)
  ==============

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | 2 bytes              | signed 16-bit integer  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 1 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 2 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 3 | Determined from data | $X_211                 |
  +-----------------+----------------------+------------------------+


  case 1 (tag 1)
  ==============

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | 2 bytes              | signed 16-bit integer  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 1 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 2 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 3 | Determined from data | $X_211                 |
  +-----------------+----------------------+------------------------+


  case 2 (tag 2)
  ==============

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | 2 bytes              | signed 16-bit integer  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 1 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 2 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 3 | Determined from data | $X_211                 |
  +-----------------+----------------------+------------------------+


  case 3 (tag 3)
  ==============

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | 2 bytes              | signed 16-bit integer  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 1 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 2 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 3 | Determined from data | $X_211                 |
  +-----------------+----------------------+------------------------+


  X_8490 (Determined from data, 8-bit tag)
  ****************************************

  case 0 (tag 0)
  ==============

  +-----------------+--------+------------------------+
  | Name            | Size   | Contents               |
  +=================+========+========================+
  | Tag             | 1 byte | unsigned 8-bit integer |
  +-----------------+--------+------------------------+
  | Unnamed field 0 | 1 byte | unsigned 8-bit integer |
  +-----------------+--------+------------------------+


  case 1 (tag 1)
  ==============

  +-----------------+---------+-------------------------+
  | Name            | Size    | Contents                |
  +=================+=========+=========================+
  | Tag             | 1 byte  | unsigned 8-bit integer  |
  +-----------------+---------+-------------------------+
  | Unnamed field 0 | 2 bytes | unsigned 16-bit integer |
  +-----------------+---------+-------------------------+


  case 2 (tag 2)
  ==============

  +-----------------+---------+------------------------+
  | Name            | Size    | Contents               |
  +=================+=========+========================+
  | Tag             | 1 byte  | unsigned 8-bit integer |
  +-----------------+---------+------------------------+
  | Unnamed field 0 | 4 bytes | signed 32-bit integer  |
  +-----------------+---------+------------------------+


  case 3 (tag 3)
  ==============

  +-----------------+---------+------------------------+
  | Name            | Size    | Contents               |
  +=================+=========+========================+
  | Tag             | 1 byte  | unsigned 8-bit integer |
  +-----------------+---------+------------------------+
  | Unnamed field 0 | 8 bytes | signed 64-bit integer  |
  +-----------------+---------+------------------------+


  case 4 (tag 4)
  ==============

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 0 | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 1 | 32 bytes | $X_8485                |
  +-----------------+----------+------------------------+


  case 5 (tag 5)
  ==============

  +-----------------+----------+-------------------------+
  | Name            | Size     | Contents                |
  +=================+==========+=========================+
  | Tag             | 1 byte   | unsigned 8-bit integer  |
  +-----------------+----------+-------------------------+
  | Unnamed field 0 | 2 bytes  | unsigned 16-bit integer |
  +-----------------+----------+-------------------------+
  | Unnamed field 1 | 32 bytes | $X_8485                 |
  +-----------------+----------+-------------------------+


  case 6 (tag 6)
  ==============

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 0 | 4 bytes  | signed 32-bit integer  |
  +-----------------+----------+------------------------+
  | Unnamed field 1 | 32 bytes | $X_8485                |
  +-----------------+----------+------------------------+


  case 7 (tag 7)
  ==============

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 0 | 8 bytes  | signed 64-bit integer  |
  +-----------------+----------+------------------------+
  | Unnamed field 1 | 32 bytes | $X_8485                |
  +-----------------+----------+------------------------+


  case 8 (tag 8)
  ==============

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 0 | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 1 | 32 bytes | $X_8485                |
  +-----------------+----------+------------------------+


  case 9 (tag 9)
  ==============

  +-----------------+----------+-------------------------+
  | Name            | Size     | Contents                |
  +=================+==========+=========================+
  | Tag             | 1 byte   | unsigned 8-bit integer  |
  +-----------------+----------+-------------------------+
  | Unnamed field 0 | 2 bytes  | unsigned 16-bit integer |
  +-----------------+----------+-------------------------+
  | Unnamed field 1 | 32 bytes | $X_8485                 |
  +-----------------+----------+-------------------------+


  case 10 (tag 10)
  ================

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 0 | 4 bytes  | signed 32-bit integer  |
  +-----------------+----------+------------------------+
  | Unnamed field 1 | 32 bytes | $X_8485                |
  +-----------------+----------+------------------------+


  case 11 (tag 11)
  ================

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 0 | 8 bytes  | signed 64-bit integer  |
  +-----------------+----------+------------------------+
  | Unnamed field 1 | 32 bytes | $X_8485                |
  +-----------------+----------+------------------------+


  case 12 (tag 12)
  ================

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 0 | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 1 | 64 bytes | $X_8477                |
  +-----------------+----------+------------------------+


  case 13 (tag 13)
  ================

  +-----------------+----------+-------------------------+
  | Name            | Size     | Contents                |
  +=================+==========+=========================+
  | Tag             | 1 byte   | unsigned 8-bit integer  |
  +-----------------+----------+-------------------------+
  | Unnamed field 0 | 2 bytes  | unsigned 16-bit integer |
  +-----------------+----------+-------------------------+
  | Unnamed field 1 | 64 bytes | $X_8477                 |
  +-----------------+----------+-------------------------+


  case 14 (tag 14)
  ================

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 0 | 4 bytes  | signed 32-bit integer  |
  +-----------------+----------+------------------------+
  | Unnamed field 1 | 64 bytes | $X_8477                |
  +-----------------+----------+------------------------+


  case 15 (tag 15)
  ================

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Unnamed field 0 | 8 bytes  | signed 64-bit integer  |
  +-----------------+----------+------------------------+
  | Unnamed field 1 | 64 bytes | $X_8477                |
  +-----------------+----------+------------------------+


  case 128 (tag 128)
  ==================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  case 129 (tag 129)
  ==================

  +-----------------+----------+------------------------------+
  | Name            | Size     | Contents                     |
  +=================+==========+==============================+
  | Tag             | 1 byte   | unsigned 8-bit integer       |
  +-----------------+----------+------------------------------+
  | Unnamed field 0 | Variable | sequence of exactly 1 $X_216 |
  +-----------------+----------+------------------------------+


  case 130 (tag 130)
  ==================

  +-----------------+----------+------------------------------+
  | Name            | Size     | Contents                     |
  +=================+==========+==============================+
  | Tag             | 1 byte   | unsigned 8-bit integer       |
  +-----------------+----------+------------------------------+
  | Unnamed field 0 | Variable | sequence of exactly 2 $X_216 |
  +-----------------+----------+------------------------------+


  case 131 (tag 131)
  ==================

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_216      |
  +-----------------------+----------+-------------------------+


  case 192 (tag 192)
  ==================

  +-----------------------+----------+------------------------+
  | Name                  | Size     | Contents               |
  +=======================+==========+========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer |
  +-----------------------+----------+------------------------+
  | # bytes in next field | 1 byte   | unsigned 8-bit integer |
  +-----------------------+----------+------------------------+
  | Unnamed field 0       | Variable | bytes                  |
  +-----------------------+----------+------------------------+


  case 193 (tag 193)
  ==================

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 2 bytes  | unsigned 16-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  case 195 (tag 195)
  ==================

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  case 224 (tag 224)
  ==================

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 1 | Determined from data | $X_8472                |
  +-----------------+----------------------+------------------------+
  | Unnamed field 2 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+


  case 225 (tag 225)
  ==================

  +-----------------+----------------------+-------------------------+
  | Name            | Size                 | Contents                |
  +=================+======================+=========================+
  | Tag             | 1 byte               | unsigned 8-bit integer  |
  +-----------------+----------------------+-------------------------+
  | Unnamed field 0 | 2 bytes              | unsigned 16-bit integer |
  +-----------------+----------------------+-------------------------+
  | Unnamed field 1 | Determined from data | $X_8472                 |
  +-----------------+----------------------+-------------------------+
  | Unnamed field 2 | 32 bytes             | bytes                   |
  +-----------------+----------------------+-------------------------+


  case 226 (tag 226)
  ==================

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | 4 bytes              | signed 32-bit integer  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 1 | Determined from data | $X_8472                |
  +-----------------+----------------------+------------------------+
  | Unnamed field 2 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+


  case 227 (tag 227)
  ==================

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | 8 bytes              | signed 64-bit integer  |
  +-----------------+----------------------+------------------------+
  | Unnamed field 1 | Determined from data | $X_8472                |
  +-----------------+----------------------+------------------------+
  | Unnamed field 2 | 32 bytes             | bytes                  |
  +-----------------+----------------------+------------------------+


  X_8489
  ******

  This value's binary representation is empty. It takes zero (0) bytes of output.
  X_8485
  ******

  +-----------------+----------+----------+
  | Name            | Size     | Contents |
  +=================+==========+==========+
  | Unnamed field 0 | 32 bytes | bytes    |
  +-----------------+----------+----------+


  X_8477
  ******

  +-----------------+----------+----------+
  | Name            | Size     | Contents |
  +=================+==========+==========+
  | Unnamed field 0 | 32 bytes | bytes    |
  +-----------------+----------+----------+
  | Unnamed field 1 | 32 bytes | bytes    |
  +-----------------+----------+----------+


  X_8473 (33 bytes, 8-bit tag)
  ****************************

  case 0 (tag 0)
  ==============

  +--------------+----------+------------------------+
  | Name         | Size     | Contents               |
  +==============+==========+========================+
  | Tag          | 1 byte   | unsigned 8-bit integer |
  +--------------+----------+------------------------+
  | Context_hash | 32 bytes | bytes                  |
  +--------------+----------+------------------------+


  case 1 (tag 1)
  ==============

  +--------------+----------+------------------------+
  | Name         | Size     | Contents               |
  +==============+==========+========================+
  | Tag          | 1 byte   | unsigned 8-bit integer |
  +--------------+----------+------------------------+
  | Context_hash | 32 bytes | bytes                  |
  +--------------+----------+------------------------+


  X_8472
  ******

  +-----------------------+----------+------------------------+
  | Name                  | Size     | Contents               |
  +=======================+==========+========================+
  | # bytes in next field | 1 byte   | unsigned 8-bit integer |
  +-----------------------+----------+------------------------+
  | Unnamed field 0       | Variable | bytes                  |
  +-----------------------+----------+------------------------+


  X_8366
  ******

  +--------------------+----------+----------+
  | Name               | Size     | Contents |
  +====================+==========+==========+
  | context_hash       | 32 bytes | bytes    |
  +--------------------+----------+----------+
  | withdraw_list_hash | 32 bytes | bytes    |
  +--------------------+----------+----------+


  X_8365 (Determined from data, 8-bit tag)
  ****************************************

  Batch (tag 0)
  =============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | batch                 | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Deposit (tag 1)
  ===============

  +---------+----------------------+------------------------+
  | Name    | Size                 | Contents               |
  +=========+======================+========================+
  | Tag     | 1 byte               | unsigned 8-bit integer |
  +---------+----------------------+------------------------+
  | deposit | Determined from data | $X_207                 |
  +---------+----------------------+------------------------+


  X_8364 (Determined from data, 8-bit tag)
  ****************************************

  case 0 (tag 0)
  ==============

  +-----------------+--------+------------------------+
  | Name            | Size   | Contents               |
  +=================+========+========================+
  | Tag             | 1 byte | unsigned 8-bit integer |
  +-----------------+--------+------------------------+
  | Unnamed field 0 | 1 byte | unsigned 8-bit integer |
  +-----------------+--------+------------------------+


  case 1 (tag 1)
  ==============

  +-----------------+---------+-------------------------+
  | Name            | Size    | Contents                |
  +=================+=========+=========================+
  | Tag             | 1 byte  | unsigned 8-bit integer  |
  +-----------------+---------+-------------------------+
  | Unnamed field 0 | 2 bytes | unsigned 16-bit integer |
  +-----------------+---------+-------------------------+


  case 2 (tag 2)
  ==============

  +-----------------+---------+------------------------+
  | Name            | Size    | Contents               |
  +=================+=========+========================+
  | Tag             | 1 byte  | unsigned 8-bit integer |
  +-----------------+---------+------------------------+
  | Unnamed field 0 | 4 bytes | signed 32-bit integer  |
  +-----------------+---------+------------------------+


  case 3 (tag 3)
  ==============

  +-----------------+---------+------------------------+
  | Name            | Size    | Contents               |
  +=================+=========+========================+
  | Tag             | 1 byte  | unsigned 8-bit integer |
  +-----------------+---------+------------------------+
  | Unnamed field 0 | 8 bytes | signed 64-bit integer  |
  +-----------------+---------+------------------------+


  013-PtJakart.contract_id (22 bytes, 8-bit tag)
  **********************************************

  Implicit (tag 0)
  ================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
  +---------------------------+----------+------------------------+


  Originated (tag 1)
  ==================

  +---------------+----------+------------------------+
  | Name          | Size     | Contents               |
  +===============+==========+========================+
  | Tag           | 1 byte   | unsigned 8-bit integer |
  +---------------+----------+------------------------+
  | Contract_hash | 20 bytes | bytes                  |
  +---------------+----------+------------------------+
  | padding       | 1 byte   | padding                |
  +---------------+----------+------------------------+


  X_8360 (2 bytes, 16-bit tag)
  ****************************

  Example_arith smart contract rollup kind (tag 0)
  ================================================

  +------+---------+-------------------------+
  | Name | Size    | Contents                |
  +======+=========+=========================+
  | Tag  | 2 bytes | unsigned 16-bit integer |
  +------+---------+-------------------------+


  X_8359
  ******

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  X_8358
  ******

  +--------------------+----------+-----------------------+
  | Name               | Size     | Contents              |
  +====================+==========+=======================+
  | compressed_state   | 32 bytes | bytes                 |
  +--------------------+----------+-----------------------+
  | inbox_level        | 4 bytes  | signed 32-bit integer |
  +--------------------+----------+-----------------------+
  | predecessor        | 32 bytes | bytes                 |
  +--------------------+----------+-----------------------+
  | number_of_messages | 4 bytes  | signed 32-bit integer |
  +--------------------+----------+-----------------------+
  | number_of_ticks    | 4 bytes  | signed 32-bit integer |
  +--------------------+----------+-----------------------+


  X_8220 (Determined from data, 8-bit tag)
  ****************************************

  Operation_with_metadata (tag 0)
  ===============================

  +---------------------------------+----------+-------------------------------------------------------------------------+
  | Name                            | Size     | Contents                                                                |
  +=================================+==========+=========================================================================+
  | Tag                             | 1 byte   | unsigned 8-bit integer                                                  |
  +---------------------------------+----------+-------------------------------------------------------------------------+
  | # bytes in next field           | 4 bytes  | unsigned 30-bit integer                                                 |
  +---------------------------------+----------+-------------------------------------------------------------------------+
  | contents                        | Variable | sequence of $013-PtJakart.operation.alpha.operation_contents_and_result |
  +---------------------------------+----------+-------------------------------------------------------------------------+
  | ? presence of field "signature" | 1 byte   | boolean (0 for false, 255 for true)                                     |
  +---------------------------------+----------+-------------------------------------------------------------------------+
  | signature                       | 64 bytes | bytes                                                                   |
  +---------------------------------+----------+-------------------------------------------------------------------------+


  Operation_without_metadata (tag 1)
  ==================================

  +---------------------------------+----------+----------------------------------------------------+
  | Name                            | Size     | Contents                                           |
  +=================================+==========+====================================================+
  | Tag                             | 1 byte   | unsigned 8-bit integer                             |
  +---------------------------------+----------+----------------------------------------------------+
  | # bytes in next field           | 4 bytes  | unsigned 30-bit integer                            |
  +---------------------------------+----------+----------------------------------------------------+
  | contents                        | Variable | sequence of $013-PtJakart.operation.alpha.contents |
  +---------------------------------+----------+----------------------------------------------------+
  | ? presence of field "signature" | 1 byte   | boolean (0 for false, 255 for true)                |
  +---------------------------------+----------+----------------------------------------------------+
  | signature                       | 64 bytes | bytes                                              |
  +---------------------------------+----------+----------------------------------------------------+


  013-PtJakart.operation.alpha.operation_contents_and_result (Determined from data, 8-bit tag)
  ********************************************************************************************

  Seed_nonce_revelation (tag 1)
  =============================

  +----------+----------------------+--------------------------------------------------------+
  | Name     | Size                 | Contents                                               |
  +==========+======================+========================================================+
  | Tag      | 1 byte               | unsigned 8-bit integer                                 |
  +----------+----------------------+--------------------------------------------------------+
  | level    | 4 bytes              | signed 32-bit integer                                  |
  +----------+----------------------+--------------------------------------------------------+
  | nonce    | 32 bytes             | bytes                                                  |
  +----------+----------------------+--------------------------------------------------------+
  | metadata | Determined from data | $013-PtJakart.operation_metadata.alpha.balance_updates |
  +----------+----------------------+--------------------------------------------------------+


  Double_endorsement_evidence (tag 2)
  ===================================

  +-----------------------+----------------------+--------------------------------------------------------+
  | Name                  | Size                 | Contents                                               |
  +=======================+======================+========================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
  +-----------------------+----------------------+--------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
  +-----------------------+----------------------+--------------------------------------------------------+
  | op1                   | Variable             | $013-PtJakart.inlined.endorsement                      |
  +-----------------------+----------------------+--------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
  +-----------------------+----------------------+--------------------------------------------------------+
  | op2                   | Variable             | $013-PtJakart.inlined.endorsement                      |
  +-----------------------+----------------------+--------------------------------------------------------+
  | metadata              | Determined from data | $013-PtJakart.operation_metadata.alpha.balance_updates |
  +-----------------------+----------------------+--------------------------------------------------------+


  Double_baking_evidence (tag 3)
  ==============================

  +-----------------------+----------------------+--------------------------------------------------------+
  | Name                  | Size                 | Contents                                               |
  +=======================+======================+========================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
  +-----------------------+----------------------+--------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
  +-----------------------+----------------------+--------------------------------------------------------+
  | bh1                   | Determined from data | $013-PtJakart.block_header.alpha.full_header           |
  +-----------------------+----------------------+--------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
  +-----------------------+----------------------+--------------------------------------------------------+
  | bh2                   | Determined from data | $013-PtJakart.block_header.alpha.full_header           |
  +-----------------------+----------------------+--------------------------------------------------------+
  | metadata              | Determined from data | $013-PtJakart.operation_metadata.alpha.balance_updates |
  +-----------------------+----------------------+--------------------------------------------------------+


  Activate_account (tag 4)
  ========================

  +----------+----------------------+--------------------------------------------------------+
  | Name     | Size                 | Contents                                               |
  +==========+======================+========================================================+
  | Tag      | 1 byte               | unsigned 8-bit integer                                 |
  +----------+----------------------+--------------------------------------------------------+
  | pkh      | 20 bytes             | bytes                                                  |
  +----------+----------------------+--------------------------------------------------------+
  | secret   | 20 bytes             | bytes                                                  |
  +----------+----------------------+--------------------------------------------------------+
  | metadata | Determined from data | $013-PtJakart.operation_metadata.alpha.balance_updates |
  +----------+----------------------+--------------------------------------------------------+


  Proposals (tag 5)
  =================

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | source                | 21 bytes | $public_key_hash        |
  +-----------------------+----------+-------------------------+
  | period                | 4 bytes  | signed 32-bit integer   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | proposals             | Variable | sequence of bytes       |
  +-----------------------+----------+-------------------------+


  Ballot (tag 6)
  ==============

  +----------+----------+------------------------+
  | Name     | Size     | Contents               |
  +==========+==========+========================+
  | Tag      | 1 byte   | unsigned 8-bit integer |
  +----------+----------+------------------------+
  | source   | 21 bytes | $public_key_hash       |
  +----------+----------+------------------------+
  | period   | 4 bytes  | signed 32-bit integer  |
  +----------+----------+------------------------+
  | proposal | 32 bytes | bytes                  |
  +----------+----------+------------------------+
  | ballot   | 1 byte   | signed 8-bit integer   |
  +----------+----------+------------------------+


  Double_preendorsement_evidence (tag 7)
  ======================================

  +-----------------------+----------------------+--------------------------------------------------------+
  | Name                  | Size                 | Contents                                               |
  +=======================+======================+========================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                 |
  +-----------------------+----------------------+--------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
  +-----------------------+----------------------+--------------------------------------------------------+
  | op1                   | Variable             | $013-PtJakart.inlined.preendorsement                   |
  +-----------------------+----------------------+--------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                |
  +-----------------------+----------------------+--------------------------------------------------------+
  | op2                   | Variable             | $013-PtJakart.inlined.preendorsement                   |
  +-----------------------+----------------------+--------------------------------------------------------+
  | metadata              | Determined from data | $013-PtJakart.operation_metadata.alpha.balance_updates |
  +-----------------------+----------------------+--------------------------------------------------------+


  Preendorsement (tag 20)
  =======================

  +--------------------+----------------------+-------------------------+
  | Name               | Size                 | Contents                |
  +====================+======================+=========================+
  | Tag                | 1 byte               | unsigned 8-bit integer  |
  +--------------------+----------------------+-------------------------+
  | slot               | 2 bytes              | unsigned 16-bit integer |
  +--------------------+----------------------+-------------------------+
  | level              | 4 bytes              | signed 32-bit integer   |
  +--------------------+----------------------+-------------------------+
  | round              | 4 bytes              | signed 32-bit integer   |
  +--------------------+----------------------+-------------------------+
  | block_payload_hash | 32 bytes             | bytes                   |
  +--------------------+----------------------+-------------------------+
  | metadata           | Determined from data | $X_8201                 |
  +--------------------+----------------------+-------------------------+


  Endorsement (tag 21)
  ====================

  +--------------------+----------------------+-------------------------+
  | Name               | Size                 | Contents                |
  +====================+======================+=========================+
  | Tag                | 1 byte               | unsigned 8-bit integer  |
  +--------------------+----------------------+-------------------------+
  | slot               | 2 bytes              | unsigned 16-bit integer |
  +--------------------+----------------------+-------------------------+
  | level              | 4 bytes              | signed 32-bit integer   |
  +--------------------+----------------------+-------------------------+
  | round              | 4 bytes              | signed 32-bit integer   |
  +--------------------+----------------------+-------------------------+
  | block_payload_hash | 32 bytes             | bytes                   |
  +--------------------+----------------------+-------------------------+
  | metadata           | Determined from data | $X_8197                 |
  +--------------------+----------------------+-------------------------+


  Reveal (tag 107)
  ================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | public_key    | Determined from data | $public_key            |
  +---------------+----------------------+------------------------+
  | metadata      | Determined from data | $X_7814                |
  +---------------+----------------------+------------------------+


  Transaction (tag 108)
  =====================

  +----------------------------------+----------------------+---------------------------------------+
  | Name                             | Size                 | Contents                              |
  +==================================+======================+=======================================+
  | Tag                              | 1 byte               | unsigned 8-bit integer                |
  +----------------------------------+----------------------+---------------------------------------+
  | source                           | 21 bytes             | $public_key_hash                      |
  +----------------------------------+----------------------+---------------------------------------+
  | fee                              | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | counter                          | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | gas_limit                        | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | storage_limit                    | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | amount                           | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | destination                      | 22 bytes             | $013-PtJakart.transaction_destination |
  +----------------------------------+----------------------+---------------------------------------+
  | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true)   |
  +----------------------------------+----------------------+---------------------------------------+
  | parameters                       | Determined from data | $X_8494                               |
  +----------------------------------+----------------------+---------------------------------------+
  | metadata                         | Determined from data | $X_7231                               |
  +----------------------------------+----------------------+---------------------------------------+


  Origination (tag 109)
  =====================

  +--------------------------------+----------------------+-------------------------------------+
  | Name                           | Size                 | Contents                            |
  +================================+======================+=====================================+
  | Tag                            | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------+----------------------+-------------------------------------+
  | source                         | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | fee                            | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | counter                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | gas_limit                      | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | storage_limit                  | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | balance                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------+----------------------+-------------------------------------+
  | delegate                       | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | script                         | Determined from data | $013-PtJakart.scripted.contracts    |
  +--------------------------------+----------------------+-------------------------------------+
  | metadata                       | Determined from data | $X_6673                             |
  +--------------------------------+----------------------+-------------------------------------+


  Delegation (tag 110)
  ====================

  +--------------------------------+----------------------+-------------------------------------+
  | Name                           | Size                 | Contents                            |
  +================================+======================+=====================================+
  | Tag                            | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------+----------------------+-------------------------------------+
  | source                         | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | fee                            | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | counter                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | gas_limit                      | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | storage_limit                  | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------+----------------------+-------------------------------------+
  | delegate                       | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | metadata                       | Determined from data | $X_7814                             |
  +--------------------------------+----------------------+-------------------------------------+


  Register_global_constant (tag 111)
  ==================================

  +-----------------------+----------------------+-------------------------+
  | Name                  | Size                 | Contents                |
  +=======================+======================+=========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer  |
  +-----------------------+----------------------+-------------------------+
  | source                | 21 bytes             | $public_key_hash        |
  +-----------------------+----------------------+-------------------------+
  | fee                   | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | counter               | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | gas_limit             | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | storage_limit         | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
  +-----------------------+----------------------+-------------------------+
  | value                 | Variable             | bytes                   |
  +-----------------------+----------------------+-------------------------+
  | metadata              | Determined from data | $X_5901                 |
  +-----------------------+----------------------+-------------------------+


  Set_deposits_limit (tag 112)
  ============================

  +-----------------------------+----------------------+-------------------------------------+
  | Name                        | Size                 | Contents                            |
  +=============================+======================+=====================================+
  | Tag                         | 1 byte               | unsigned 8-bit integer              |
  +-----------------------------+----------------------+-------------------------------------+
  | source                      | 21 bytes             | $public_key_hash                    |
  +-----------------------------+----------------------+-------------------------------------+
  | fee                         | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | counter                     | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | gas_limit                   | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | storage_limit               | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
  +-----------------------------+----------------------+-------------------------------------+
  | limit                       | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | metadata                    | Determined from data | $X_7814                             |
  +-----------------------------+----------------------+-------------------------------------+


  Tx_rollup_origination (tag 150)
  ===============================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | metadata      | Determined from data | $X_5129                |
  +---------------+----------------------+------------------------+


  Tx_rollup_submit_batch (tag 151)
  ================================

  +----------------------------------+----------------------+-------------------------------------+
  | Name                             | Size                 | Contents                            |
  +==================================+======================+=====================================+
  | Tag                              | 1 byte               | unsigned 8-bit integer              |
  +----------------------------------+----------------------+-------------------------------------+
  | source                           | 21 bytes             | $public_key_hash                    |
  +----------------------------------+----------------------+-------------------------------------+
  | fee                              | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | counter                          | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | gas_limit                        | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | storage_limit                    | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | rollup                           | 20 bytes             | bytes                               |
  +----------------------------------+----------------------+-------------------------------------+
  | # bytes in next field            | 4 bytes              | unsigned 30-bit integer             |
  +----------------------------------+----------------------+-------------------------------------+
  | content                          | Variable             | bytes                               |
  +----------------------------------+----------------------+-------------------------------------+
  | ? presence of field "burn_limit" | 1 byte               | boolean (0 for false, 255 for true) |
  +----------------------------------+----------------------+-------------------------------------+
  | burn_limit                       | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | metadata                         | Determined from data | $X_4740                             |
  +----------------------------------+----------------------+-------------------------------------+


  Tx_rollup_commit (tag 152)
  ==========================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+
  | commitment    | Determined from data | $X_336                 |
  +---------------+----------------------+------------------------+
  | metadata      | Determined from data | $X_2793                |
  +---------------+----------------------+------------------------+


  Tx_rollup_return_bond (tag 153)
  ===============================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+
  | metadata      | Determined from data | $X_2793                |
  +---------------+----------------------+------------------------+


  Tx_rollup_finalize_commitment (tag 154)
  =======================================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+
  | metadata      | Determined from data | $X_3182                |
  +---------------+----------------------+------------------------+


  Tx_rollup_remove_commitment (tag 155)
  =====================================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+
  | metadata      | Determined from data | $X_3182                |
  +---------------+----------------------+------------------------+


  Tx_rollup_rejection (tag 156)
  =============================

  +------------------------------+----------------------+-------------------------+
  | Name                         | Size                 | Contents                |
  +==============================+======================+=========================+
  | Tag                          | 1 byte               | unsigned 8-bit integer  |
  +------------------------------+----------------------+-------------------------+
  | source                       | 21 bytes             | $public_key_hash        |
  +------------------------------+----------------------+-------------------------+
  | fee                          | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | counter                      | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | gas_limit                    | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | storage_limit                | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | rollup                       | 20 bytes             | bytes                   |
  +------------------------------+----------------------+-------------------------+
  | level                        | 4 bytes              | signed 32-bit integer   |
  +------------------------------+----------------------+-------------------------+
  | message                      | Determined from data | $X_8365                 |
  +------------------------------+----------------------+-------------------------+
  | message_position             | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | # bytes in next field        | 4 bytes              | unsigned 30-bit integer |
  +------------------------------+----------------------+-------------------------+
  | message_path                 | Variable             | sequence of bytes       |
  +------------------------------+----------------------+-------------------------+
  | message_result_hash          | 32 bytes             | bytes                   |
  +------------------------------+----------------------+-------------------------+
  | # bytes in next field        | 4 bytes              | unsigned 30-bit integer |
  +------------------------------+----------------------+-------------------------+
  | message_result_path          | Variable             | sequence of bytes       |
  +------------------------------+----------------------+-------------------------+
  | previous_message_result      | 64 bytes             | $X_8366                 |
  +------------------------------+----------------------+-------------------------+
  | # bytes in next field        | 4 bytes              | unsigned 30-bit integer |
  +------------------------------+----------------------+-------------------------+
  | previous_message_result_path | Variable             | sequence of bytes       |
  +------------------------------+----------------------+-------------------------+
  | proof                        | Determined from data | $X_8491                 |
  +------------------------------+----------------------+-------------------------+
  | metadata                     | Determined from data | $X_2793                 |
  +------------------------------+----------------------+-------------------------+


  Tx_rollup_dispatch_tickets (tag 157)
  ====================================

  +-----------------------+----------------------+--------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                     |
  +=======================+======================+==============================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | source                | 21 bytes             | $public_key_hash                                             |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | fee                   | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | counter               | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | gas_limit             | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | storage_limit         | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup             | 20 bytes             | bytes                                                        |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | level                 | 4 bytes              | signed 32-bit integer                                        |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | context_hash          | 32 bytes             | bytes                                                        |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | message_index         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | message_result_path   | Variable             | sequence of bytes                                            |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | tickets_info          | Variable             | sequence of $X_205                                           |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | metadata              | Determined from data | $X_1884                                                      |
  +-----------------------+----------------------+--------------------------------------------------------------+


  Transfer_ticket (tag 158)
  =========================

  +-----------------------+----------------------+---------------------------+
  | Name                  | Size                 | Contents                  |
  +=======================+======================+===========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer    |
  +-----------------------+----------------------+---------------------------+
  | source                | 21 bytes             | $public_key_hash          |
  +-----------------------+----------------------+---------------------------+
  | fee                   | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | counter               | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | gas_limit             | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | storage_limit         | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | ticket_contents       | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | ticket_ty             | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+
  | ticket_ticketer       | 22 bytes             | $013-PtJakart.contract_id |
  +-----------------------+----------------------+---------------------------+
  | ticket_amount         | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | destination           | 22 bytes             | $013-PtJakart.contract_id |
  +-----------------------+----------------------+---------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | entrypoint            | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+
  | metadata              | Determined from data | $X_1884                   |
  +-----------------------+----------------------+---------------------------+


  Sc_rollup_originate (tag 200)
  =============================

  +-----------------------+----------------------+-------------------------+
  | Name                  | Size                 | Contents                |
  +=======================+======================+=========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer  |
  +-----------------------+----------------------+-------------------------+
  | source                | 21 bytes             | $public_key_hash        |
  +-----------------------+----------------------+-------------------------+
  | fee                   | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | counter               | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | gas_limit             | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | storage_limit         | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | kind                  | 2 bytes              | $X_8360                 |
  +-----------------------+----------------------+-------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
  +-----------------------+----------------------+-------------------------+
  | boot_sector           | Variable             | bytes                   |
  +-----------------------+----------------------+-------------------------+
  | metadata              | Determined from data | $X_1495                 |
  +-----------------------+----------------------+-------------------------+


  Sc_rollup_add_messages (tag 201)
  ================================

  +------------------------------------------------+----------------------+-------------------------+
  | Name                                           | Size                 | Contents                |
  +================================================+======================+=========================+
  | Tag                                            | 1 byte               | unsigned 8-bit integer  |
  +------------------------------------------------+----------------------+-------------------------+
  | source                                         | 21 bytes             | $public_key_hash        |
  +------------------------------------------------+----------------------+-------------------------+
  | fee                                            | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | counter                                        | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | gas_limit                                      | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | storage_limit                                  | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.rollup_address" | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | rollup                                         | Variable             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in next field                          | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | message                                        | Variable             | sequence of $X_8359     |
  +------------------------------------------------+----------------------+-------------------------+
  | metadata                                       | Determined from data | $X_1107                 |
  +------------------------------------------------+----------------------+-------------------------+


  Sc_rollup_cement (tag 202)
  ==========================

  +------------------------------------------------+----------------------+-------------------------+
  | Name                                           | Size                 | Contents                |
  +================================================+======================+=========================+
  | Tag                                            | 1 byte               | unsigned 8-bit integer  |
  +------------------------------------------------+----------------------+-------------------------+
  | source                                         | 21 bytes             | $public_key_hash        |
  +------------------------------------------------+----------------------+-------------------------+
  | fee                                            | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | counter                                        | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | gas_limit                                      | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | storage_limit                                  | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.rollup_address" | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | rollup                                         | Variable             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | commitment                                     | 32 bytes             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | metadata                                       | Determined from data | $X_7814                 |
  +------------------------------------------------+----------------------+-------------------------+


  Sc_rollup_publish (tag 203)
  ===========================

  +------------------------------------------------+----------------------+-------------------------+
  | Name                                           | Size                 | Contents                |
  +================================================+======================+=========================+
  | Tag                                            | 1 byte               | unsigned 8-bit integer  |
  +------------------------------------------------+----------------------+-------------------------+
  | source                                         | 21 bytes             | $public_key_hash        |
  +------------------------------------------------+----------------------+-------------------------+
  | fee                                            | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | counter                                        | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | gas_limit                                      | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | storage_limit                                  | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.rollup_address" | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | rollup                                         | Variable             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | commitment                                     | 76 bytes             | $X_8358                 |
  +------------------------------------------------+----------------------+-------------------------+
  | metadata                                       | Determined from data | $X_340                  |
  +------------------------------------------------+----------------------+-------------------------+


  013-PtJakart.operation_metadata.alpha.balance_updates
  *****************************************************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_8        |
  +-----------------------+----------+-------------------------+


  X_8219 (1 byte, 8-bit tag)
  **************************

  Block_application (tag 0)
  =========================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Protocol_migration (tag 1)
  ==========================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Subsidy (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Simulation (tag 3)
  ==================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  X_8218 (Determined from data, 8-bit tag)
  ****************************************

  Contract (tag 0)
  ================

  +----------+----------+---------------------------+
  | Name     | Size     | Contents                  |
  +==========+==========+===========================+
  | Tag      | 1 byte   | unsigned 8-bit integer    |
  +----------+----------+---------------------------+
  | contract | 22 bytes | $013-PtJakart.contract_id |
  +----------+----------+---------------------------+


  Block_fees (tag 2)
  ==================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Deposits (tag 4)
  ================

  +----------+----------+------------------------+
  | Name     | Size     | Contents               |
  +==========+==========+========================+
  | Tag      | 1 byte   | unsigned 8-bit integer |
  +----------+----------+------------------------+
  | delegate | 21 bytes | $public_key_hash       |
  +----------+----------+------------------------+


  Nonce_revelation_rewards (tag 5)
  ================================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Double_signing_evidence_rewards (tag 6)
  =======================================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Endorsing_rewards (tag 7)
  =========================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Baking_rewards (tag 8)
  ======================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Baking_bonuses (tag 9)
  ======================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Storage_fees (tag 11)
  =====================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Double_signing_punishments (tag 12)
  ===================================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Lost_endorsing_rewards (tag 13)
  ===============================

  +---------------+----------+-------------------------------------+
  | Name          | Size     | Contents                            |
  +===============+==========+=====================================+
  | Tag           | 1 byte   | unsigned 8-bit integer              |
  +---------------+----------+-------------------------------------+
  | delegate      | 21 bytes | $public_key_hash                    |
  +---------------+----------+-------------------------------------+
  | participation | 1 byte   | boolean (0 for false, 255 for true) |
  +---------------+----------+-------------------------------------+
  | revelation    | 1 byte   | boolean (0 for false, 255 for true) |
  +---------------+----------+-------------------------------------+


  Liquidity_baking_subsidies (tag 14)
  ===================================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Burned (tag 15)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Commitments (tag 16)
  ====================

  +-----------+----------+------------------------+
  | Name      | Size     | Contents               |
  +===========+==========+========================+
  | Tag       | 1 byte   | unsigned 8-bit integer |
  +-----------+----------+------------------------+
  | committer | 20 bytes | bytes                  |
  +-----------+----------+------------------------+


  Bootstrap (tag 17)
  ==================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Invoice (tag 18)
  ================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Initial_commitments (tag 19)
  ============================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Minted (tag 20)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Frozen_bonds (tag 21)
  =====================

  +----------+----------+---------------------------+
  | Name     | Size     | Contents                  |
  +==========+==========+===========================+
  | Tag      | 1 byte   | unsigned 8-bit integer    |
  +----------+----------+---------------------------+
  | contract | 22 bytes | $013-PtJakart.contract_id |
  +----------+----------+---------------------------+
  | bond_id  | 21 bytes | $013-PtJakart.bond_id     |
  +----------+----------+---------------------------+


  Tx_rollup_rejection_rewards (tag 22)
  ====================================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Tx_rollup_rejection_punishments (tag 23)
  ========================================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  013-PtJakart.bond_id (21 bytes, 8-bit tag)
  ******************************************

  Tx_rollup_bond_id (tag 0)
  =========================

  +-----------+----------+------------------------+
  | Name      | Size     | Contents               |
  +===========+==========+========================+
  | Tag       | 1 byte   | unsigned 8-bit integer |
  +-----------+----------+------------------------+
  | tx_rollup | 20 bytes | bytes                  |
  +-----------+----------+------------------------+


  X_8201
  ******

  +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
  | Name                                                                     | Size     | Contents                                                     |
  +==========================================================================+==========+==============================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
  +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
  | balance_updates                                                          | Variable | sequence of $X_8                                             |
  +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
  | delegate                                                                 | 21 bytes | $public_key_hash                                             |
  +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
  | preendorsement_power                                                     | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+


  X_8197
  ******

  +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
  | Name                                                                     | Size     | Contents                                                     |
  +==========================================================================+==========+==============================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes  | unsigned 30-bit integer                                      |
  +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
  | balance_updates                                                          | Variable | sequence of $X_8                                             |
  +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
  | delegate                                                                 | 21 bytes | $public_key_hash                                             |
  +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+
  | endorsement_power                                                        | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +--------------------------------------------------------------------------+----------+--------------------------------------------------------------+


  X_7814
  ******

  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                       |
  +==========================================================================+======================+================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                        |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                               |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.delegation      |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                        |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+


  X_8196 (Determined from data, 8-bit tag)
  ****************************************

  To_contract (tag 0)
  ===================

  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | Name                                                                     | Size                 | Contents                              |
  +==========================================================================+======================+=======================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer                |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | ? presence of field "storage"                                            | 1 byte               | boolean (0 for false, 255 for true)   |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | storage                                                                  | Determined from data | $X_33                                 |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer               |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                      |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer               |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | originated_contracts                                                     | Variable             | sequence of $013-PtJakart.contract_id |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | storage_size                                                             | Determined from data | $Z.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | paid_storage_size_diff                                                   | Determined from data | $Z.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | allocated_destination_contract                                           | 1 byte               | boolean (0 for false, 255 for true)   |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)   |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | lazy_storage_diff                                                        | Determined from data | $013-PtJakart.lazy_storage_diff       |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+


  To_tx_rollup (tag 1)
  ====================

  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | Name                                                                     | Size                 | Contents                |
  +==========================================================================+======================+=========================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8        |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | ticket_hash                                                              | 32 bytes             | bytes                   |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+


  X_8195 (Determined from data, 8-bit tag)
  ****************************************

  big_map (tag 0)
  ===============

  +------+----------------------+------------------------+
  | Name | Size                 | Contents               |
  +======+======================+========================+
  | Tag  | 1 byte               | unsigned 8-bit integer |
  +------+----------------------+------------------------+
  | id   | Determined from data | $Z.t                   |
  +------+----------------------+------------------------+
  | diff | Determined from data | $X_99                  |
  +------+----------------------+------------------------+


  sapling_state (tag 1)
  =====================

  +------+----------------------+------------------------+
  | Name | Size                 | Contents               |
  +======+======================+========================+
  | Tag  | 1 byte               | unsigned 8-bit integer |
  +------+----------------------+------------------------+
  | id   | Determined from data | $Z.t                   |
  +------+----------------------+------------------------+
  | diff | Determined from data | $X_8118                |
  +------+----------------------+------------------------+


  X_8175
  ******

  +-----------------------------+----------------------+-------------------------------------+
  | Name                        | Size                 | Contents                            |
  +=============================+======================+=====================================+
  | key_hash                    | 32 bytes             | bytes                               |
  +-----------------------------+----------------------+-------------------------------------+
  | key                         | Determined from data | $X_33                               |
  +-----------------------------+----------------------+-------------------------------------+
  | ? presence of field "value" | 1 byte               | boolean (0 for false, 255 for true) |
  +-----------------------------+----------------------+-------------------------------------+
  | value                       | Determined from data | $X_33                               |
  +-----------------------------+----------------------+-------------------------------------+


  Z.t
  ***

  A variable-length sequence of bytes encoding a Zarith integer. 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). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | Z.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  013-PtJakart.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
  ***************************************************************************

  +-------------+--------------------------------+
  | Case number | Encoded string                 |
  +=============+================================+
  | 0           | parameter                      |
  +-------------+--------------------------------+
  | 1           | storage                        |
  +-------------+--------------------------------+
  | 2           | code                           |
  +-------------+--------------------------------+
  | 3           | False                          |
  +-------------+--------------------------------+
  | 4           | Elt                            |
  +-------------+--------------------------------+
  | 5           | Left                           |
  +-------------+--------------------------------+
  | 6           | None                           |
  +-------------+--------------------------------+
  | 7           | Pair                           |
  +-------------+--------------------------------+
  | 8           | Right                          |
  +-------------+--------------------------------+
  | 9           | Some                           |
  +-------------+--------------------------------+
  | 10          | True                           |
  +-------------+--------------------------------+
  | 11          | Unit                           |
  +-------------+--------------------------------+
  | 12          | PACK                           |
  +-------------+--------------------------------+
  | 13          | UNPACK                         |
  +-------------+--------------------------------+
  | 14          | BLAKE2B                        |
  +-------------+--------------------------------+
  | 15          | SHA256                         |
  +-------------+--------------------------------+
  | 16          | SHA512                         |
  +-------------+--------------------------------+
  | 17          | ABS                            |
  +-------------+--------------------------------+
  | 18          | ADD                            |
  +-------------+--------------------------------+
  | 19          | AMOUNT                         |
  +-------------+--------------------------------+
  | 20          | AND                            |
  +-------------+--------------------------------+
  | 21          | BALANCE                        |
  +-------------+--------------------------------+
  | 22          | CAR                            |
  +-------------+--------------------------------+
  | 23          | CDR                            |
  +-------------+--------------------------------+
  | 24          | CHECK_SIGNATURE                |
  +-------------+--------------------------------+
  | 25          | COMPARE                        |
  +-------------+--------------------------------+
  | 26          | CONCAT                         |
  +-------------+--------------------------------+
  | 27          | CONS                           |
  +-------------+--------------------------------+
  | 28          | CREATE_ACCOUNT                 |
  +-------------+--------------------------------+
  | 29          | CREATE_CONTRACT                |
  +-------------+--------------------------------+
  | 30          | IMPLICIT_ACCOUNT               |
  +-------------+--------------------------------+
  | 31          | DIP                            |
  +-------------+--------------------------------+
  | 32          | DROP                           |
  +-------------+--------------------------------+
  | 33          | DUP                            |
  +-------------+--------------------------------+
  | 34          | EDIV                           |
  +-------------+--------------------------------+
  | 35          | EMPTY_MAP                      |
  +-------------+--------------------------------+
  | 36          | EMPTY_SET                      |
  +-------------+--------------------------------+
  | 37          | EQ                             |
  +-------------+--------------------------------+
  | 38          | EXEC                           |
  +-------------+--------------------------------+
  | 39          | FAILWITH                       |
  +-------------+--------------------------------+
  | 40          | GE                             |
  +-------------+--------------------------------+
  | 41          | GET                            |
  +-------------+--------------------------------+
  | 42          | GT                             |
  +-------------+--------------------------------+
  | 43          | HASH_KEY                       |
  +-------------+--------------------------------+
  | 44          | IF                             |
  +-------------+--------------------------------+
  | 45          | IF_CONS                        |
  +-------------+--------------------------------+
  | 46          | IF_LEFT                        |
  +-------------+--------------------------------+
  | 47          | IF_NONE                        |
  +-------------+--------------------------------+
  | 48          | INT                            |
  +-------------+--------------------------------+
  | 49          | LAMBDA                         |
  +-------------+--------------------------------+
  | 50          | LE                             |
  +-------------+--------------------------------+
  | 51          | LEFT                           |
  +-------------+--------------------------------+
  | 52          | LOOP                           |
  +-------------+--------------------------------+
  | 53          | LSL                            |
  +-------------+--------------------------------+
  | 54          | LSR                            |
  +-------------+--------------------------------+
  | 55          | LT                             |
  +-------------+--------------------------------+
  | 56          | MAP                            |
  +-------------+--------------------------------+
  | 57          | MEM                            |
  +-------------+--------------------------------+
  | 58          | MUL                            |
  +-------------+--------------------------------+
  | 59          | NEG                            |
  +-------------+--------------------------------+
  | 60          | NEQ                            |
  +-------------+--------------------------------+
  | 61          | NIL                            |
  +-------------+--------------------------------+
  | 62          | NONE                           |
  +-------------+--------------------------------+
  | 63          | NOT                            |
  +-------------+--------------------------------+
  | 64          | NOW                            |
  +-------------+--------------------------------+
  | 65          | OR                             |
  +-------------+--------------------------------+
  | 66          | PAIR                           |
  +-------------+--------------------------------+
  | 67          | PUSH                           |
  +-------------+--------------------------------+
  | 68          | RIGHT                          |
  +-------------+--------------------------------+
  | 69          | SIZE                           |
  +-------------+--------------------------------+
  | 70          | SOME                           |
  +-------------+--------------------------------+
  | 71          | SOURCE                         |
  +-------------+--------------------------------+
  | 72          | SENDER                         |
  +-------------+--------------------------------+
  | 73          | SELF                           |
  +-------------+--------------------------------+
  | 74          | STEPS_TO_QUOTA                 |
  +-------------+--------------------------------+
  | 75          | SUB                            |
  +-------------+--------------------------------+
  | 76          | SWAP                           |
  +-------------+--------------------------------+
  | 77          | TRANSFER_TOKENS                |
  +-------------+--------------------------------+
  | 78          | SET_DELEGATE                   |
  +-------------+--------------------------------+
  | 79          | UNIT                           |
  +-------------+--------------------------------+
  | 80          | UPDATE                         |
  +-------------+--------------------------------+
  | 81          | XOR                            |
  +-------------+--------------------------------+
  | 82          | ITER                           |
  +-------------+--------------------------------+
  | 83          | LOOP_LEFT                      |
  +-------------+--------------------------------+
  | 84          | ADDRESS                        |
  +-------------+--------------------------------+
  | 85          | CONTRACT                       |
  +-------------+--------------------------------+
  | 86          | ISNAT                          |
  +-------------+--------------------------------+
  | 87          | CAST                           |
  +-------------+--------------------------------+
  | 88          | RENAME                         |
  +-------------+--------------------------------+
  | 89          | bool                           |
  +-------------+--------------------------------+
  | 90          | contract                       |
  +-------------+--------------------------------+
  | 91          | int                            |
  +-------------+--------------------------------+
  | 92          | key                            |
  +-------------+--------------------------------+
  | 93          | key_hash                       |
  +-------------+--------------------------------+
  | 94          | lambda                         |
  +-------------+--------------------------------+
  | 95          | list                           |
  +-------------+--------------------------------+
  | 96          | map                            |
  +-------------+--------------------------------+
  | 97          | big_map                        |
  +-------------+--------------------------------+
  | 98          | nat                            |
  +-------------+--------------------------------+
  | 99          | option                         |
  +-------------+--------------------------------+
  | 100         | or                             |
  +-------------+--------------------------------+
  | 101         | pair                           |
  +-------------+--------------------------------+
  | 102         | set                            |
  +-------------+--------------------------------+
  | 103         | signature                      |
  +-------------+--------------------------------+
  | 104         | string                         |
  +-------------+--------------------------------+
  | 105         | bytes                          |
  +-------------+--------------------------------+
  | 106         | mutez                          |
  +-------------+--------------------------------+
  | 107         | timestamp                      |
  +-------------+--------------------------------+
  | 108         | unit                           |
  +-------------+--------------------------------+
  | 109         | operation                      |
  +-------------+--------------------------------+
  | 110         | address                        |
  +-------------+--------------------------------+
  | 111         | SLICE                          |
  +-------------+--------------------------------+
  | 112         | DIG                            |
  +-------------+--------------------------------+
  | 113         | DUG                            |
  +-------------+--------------------------------+
  | 114         | EMPTY_BIG_MAP                  |
  +-------------+--------------------------------+
  | 115         | APPLY                          |
  +-------------+--------------------------------+
  | 116         | chain_id                       |
  +-------------+--------------------------------+
  | 117         | CHAIN_ID                       |
  +-------------+--------------------------------+
  | 118         | LEVEL                          |
  +-------------+--------------------------------+
  | 119         | SELF_ADDRESS                   |
  +-------------+--------------------------------+
  | 120         | never                          |
  +-------------+--------------------------------+
  | 121         | NEVER                          |
  +-------------+--------------------------------+
  | 122         | UNPAIR                         |
  +-------------+--------------------------------+
  | 123         | VOTING_POWER                   |
  +-------------+--------------------------------+
  | 124         | TOTAL_VOTING_POWER             |
  +-------------+--------------------------------+
  | 125         | KECCAK                         |
  +-------------+--------------------------------+
  | 126         | SHA3                           |
  +-------------+--------------------------------+
  | 127         | PAIRING_CHECK                  |
  +-------------+--------------------------------+
  | 128         | bls12_381_g1                   |
  +-------------+--------------------------------+
  | 129         | bls12_381_g2                   |
  +-------------+--------------------------------+
  | 130         | bls12_381_fr                   |
  +-------------+--------------------------------+
  | 131         | sapling_state                  |
  +-------------+--------------------------------+
  | 132         | sapling_transaction_deprecated |
  +-------------+--------------------------------+
  | 133         | SAPLING_EMPTY_STATE            |
  +-------------+--------------------------------+
  | 134         | SAPLING_VERIFY_UPDATE          |
  +-------------+--------------------------------+
  | 135         | ticket                         |
  +-------------+--------------------------------+
  | 136         | TICKET                         |
  +-------------+--------------------------------+
  | 137         | READ_TICKET                    |
  +-------------+--------------------------------+
  | 138         | SPLIT_TICKET                   |
  +-------------+--------------------------------+
  | 139         | JOIN_TICKETS                   |
  +-------------+--------------------------------+
  | 140         | GET_AND_UPDATE                 |
  +-------------+--------------------------------+
  | 141         | chest                          |
  +-------------+--------------------------------+
  | 142         | chest_key                      |
  +-------------+--------------------------------+
  | 143         | OPEN_CHEST                     |
  +-------------+--------------------------------+
  | 144         | VIEW                           |
  +-------------+--------------------------------+
  | 145         | view                           |
  +-------------+--------------------------------+
  | 146         | constant                       |
  +-------------+--------------------------------+
  | 147         | SUB_MUTEZ                      |
  +-------------+--------------------------------+
  | 148         | tx_rollup_l2_address           |
  +-------------+--------------------------------+
  | 149         | MIN_BLOCK_TIME                 |
  +-------------+--------------------------------+
  | 150         | sapling_transaction            |
  +-------------+--------------------------------+


  X_8118 (Determined from data, 8-bit tag)
  ****************************************

  update (tag 0)
  ==============

  +---------+----------------------+------------------------+
  | Name    | Size                 | Contents               |
  +=========+======================+========================+
  | Tag     | 1 byte               | unsigned 8-bit integer |
  +---------+----------------------+------------------------+
  | updates | Determined from data | $X_17                  |
  +---------+----------------------+------------------------+


  remove (tag 1)
  ==============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  copy (tag 2)
  ============

  +---------+----------------------+------------------------+
  | Name    | Size                 | Contents               |
  +=========+======================+========================+
  | Tag     | 1 byte               | unsigned 8-bit integer |
  +---------+----------------------+------------------------+
  | source  | Determined from data | $Z.t                   |
  +---------+----------------------+------------------------+
  | updates | Determined from data | $X_17                  |
  +---------+----------------------+------------------------+


  alloc (tag 3)
  =============

  +-----------+----------------------+-------------------------+
  | Name      | Size                 | Contents                |
  +===========+======================+=========================+
  | Tag       | 1 byte               | unsigned 8-bit integer  |
  +-----------+----------------------+-------------------------+
  | updates   | Determined from data | $X_17                   |
  +-----------+----------------------+-------------------------+
  | memo_size | 2 bytes              | unsigned 16-bit integer |
  +-----------+----------------------+-------------------------+


  X_8117
  ******

  +-----------------+----------------------+---------------------------------+
  | Name            | Size                 | Contents                        |
  +=================+======================+=================================+
  | Unnamed field 0 | 32 bytes             | bytes                           |
  +-----------------+----------------------+---------------------------------+
  | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext |
  +-----------------+----------------------+---------------------------------+


  sapling.transaction.ciphertext
  ******************************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | cv                    | 32 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | epk                   | 32 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | payload_enc           | Variable | bytes                   |
  +-----------------------+----------+-------------------------+
  | nonce_enc             | 24 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | payload_out           | 80 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | nonce_out             | 24 bytes | bytes                   |
  +-----------------------+----------+-------------------------+


  X_7996
  ******

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  013-PtJakart.operation.alpha.operation_result.origination (Determined from data, 8-bit tag)
  *******************************************************************************************

  Applied (tag 0)
  ===============

  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | Name                                                                     | Size                 | Contents                              |
  +==========================================================================+======================+=======================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer                |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer               |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                      |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer               |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | originated_contracts                                                     | Variable             | sequence of $013-PtJakart.contract_id |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | storage_size                                                             | Determined from data | $Z.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | paid_storage_size_diff                                                   | Determined from data | $Z.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)   |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | lazy_storage_diff                                                        | Determined from data | $013-PtJakart.lazy_storage_diff       |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | Name                                                                     | Size                 | Contents                              |
  +==========================================================================+======================+=======================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer                |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true)   |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | errors                                                                   | Determined from data | $X_7996                               |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer               |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                      |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer               |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | originated_contracts                                                     | Variable             | sequence of $013-PtJakart.contract_id |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | storage_size                                                             | Determined from data | $Z.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | paid_storage_size_diff                                                   | Determined from data | $Z.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)   |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | lazy_storage_diff                                                        | Determined from data | $013-PtJakart.lazy_storage_diff       |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+


  X_7231
  ******

  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                       |
  +==========================================================================+======================+================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                        |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                               |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.transaction     |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                        |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+


  X_6673
  ******

  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                       |
  +==========================================================================+======================+================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                        |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                               |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.origination     |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                        |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------+


  X_5901
  ******

  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                                |
  +==========================================================================+======================+=========================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                 |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                                        |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.register_global_constant |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                 |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result          |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+


  013-PtJakart.operation.alpha.operation_result.register_global_constant (Determined from data, 8-bit tag)
  ********************************************************************************************************

  Applied (tag 0)
  ===============

  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | Name                                                                     | Size                 | Contents                |
  +==========================================================================+======================+=========================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8        |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | storage_size                                                             | Determined from data | $Z.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | global_address                                                           | 32 bytes             | bytes                   |
  +--------------------------------------------------------------------------+----------------------+-------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | Name                                                                     | Size                 | Contents                            |
  +==========================================================================+======================+=====================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | errors                                                                   | Determined from data | $X_7996                             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | storage_size                                                             | Determined from data | $Z.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | global_address                                                           | 32 bytes             | bytes                               |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+


  X_5129
  ******

  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                             |
  +==========================================================================+======================+======================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                              |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                                     |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.tx_rollup_origination |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                              |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result       |
  +--------------------------------------------------------------------------+----------------------+----------------------------------------------------------------------+


  013-PtJakart.operation.alpha.operation_result.tx_rollup_origination (Determined from data, 8-bit tag)
  *****************************************************************************************************

  Applied (tag 0)
  ===============

  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | Name                                                                     | Size                 | Contents                |
  +==========================================================================+======================+=========================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8        |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | originated_rollup                                                        | 20 bytes             | bytes                   |
  +--------------------------------------------------------------------------+----------------------+-------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | Name                                                                     | Size                 | Contents                            |
  +==========================================================================+======================+=====================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | errors                                                                   | Determined from data | $X_7996                             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | originated_rollup                                                        | 20 bytes             | bytes                               |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+


  X_4740
  ******

  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                              |
  +==========================================================================+======================+=======================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                               |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                                      |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.tx_rollup_submit_batch |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                               |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result        |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+


  013-PtJakart.operation.alpha.operation_result.tx_rollup_submit_batch (Determined from data, 8-bit tag)
  ******************************************************************************************************

  Applied (tag 0)
  ===============

  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | Name                                                                     | Size                 | Contents                |
  +==========================================================================+======================+=========================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8        |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | paid_storage_size_diff                                                   | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | Name                                                                     | Size                 | Contents                            |
  +==========================================================================+======================+=====================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | errors                                                                   | Determined from data | $X_7996                             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | paid_storage_size_diff                                                   | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+


  013-PtJakart.operation.alpha.operation_result.tx_rollup_commit (Determined from data, 8-bit tag)
  ************************************************************************************************

  Applied (tag 0)
  ===============

  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | Name                                                                     | Size                 | Contents                |
  +==========================================================================+======================+=========================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8        |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | Name                                                                     | Size                 | Contents                            |
  +==========================================================================+======================+=====================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | errors                                                                   | Determined from data | $X_7996                             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+


  013-PtJakart.operation.alpha.operation_result.tx_rollup_finalize_commitment (Determined from data, 8-bit tag)
  *************************************************************************************************************

  Applied (tag 0)
  ===============

  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | Name                                                                     | Size                 | Contents                |
  +==========================================================================+======================+=========================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8        |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | level                                                                    | 4 bytes              | signed 32-bit integer   |
  +--------------------------------------------------------------------------+----------------------+-------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | Name                                                                     | Size                 | Contents                            |
  +==========================================================================+======================+=====================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | errors                                                                   | Determined from data | $X_7996                             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | level                                                                    | 4 bytes              | signed 32-bit integer               |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+


  X_3182
  ******

  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                                     |
  +==========================================================================+======================+==============================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                      |
  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                                             |
  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.tx_rollup_finalize_commitment |
  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                      |
  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result               |
  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------------------+


  X_2793
  ******

  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                        |
  +==========================================================================+======================+=================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                         |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                                |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.tx_rollup_commit |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                         |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result  |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------+


  013-PtJakart.operation.alpha.operation_result.tx_rollup_dispatch_tickets (Determined from data, 8-bit tag)
  **********************************************************************************************************

  Applied (tag 0)
  ===============

  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | Name                                                                     | Size                 | Contents                |
  +==========================================================================+======================+=========================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8        |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | paid_storage_size_diff                                                   | Determined from data | $Z.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | Name                                                                     | Size                 | Contents                            |
  +==========================================================================+======================+=====================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | errors                                                                   | Determined from data | $X_7996                             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | paid_storage_size_diff                                                   | Determined from data | $Z.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+


  X_1884
  ******

  +--------------------------------------------------------------------------+----------------------+---------------------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                                  |
  +==========================================================================+======================+===========================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                   |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                                          |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.tx_rollup_dispatch_tickets |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                   |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result            |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------------------------------------------+


  X_1495
  ******

  +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                           |
  +==========================================================================+======================+====================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                            |
  +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                                   |
  +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.sc_rollup_originate |
  +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                            |
  +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result     |
  +--------------------------------------------------------------------------+----------------------+--------------------------------------------------------------------+


  013-PtJakart.operation.alpha.operation_result.sc_rollup_originate (Determined from data, 8-bit tag)
  ***************************************************************************************************

  Applied (tag 0)
  ===============

  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | Name                                                                     | Size                 | Contents                |
  +==========================================================================+======================+=========================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8        |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | address                                                                  | 20 bytes             | bytes                   |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | size                                                                     | Determined from data | $Z.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | Name                                                                     | Size                 | Contents                            |
  +==========================================================================+======================+=====================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors"                                             | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | errors                                                                   | Determined from data | $X_7996                             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer             |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | address                                                                  | 20 bytes             | bytes                               |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+
  | size                                                                     | Determined from data | $Z.t                                |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------+


  X_1107
  ******

  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                              |
  +==========================================================================+======================+=======================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                               |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                                      |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.sc_rollup_add_messages |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                               |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result        |
  +--------------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------+


  013-PtJakart.operation.alpha.operation_result.sc_rollup_add_messages (Determined from data, 8-bit tag)
  ******************************************************************************************************

  Applied (tag 0)
  ===============

  +-------------------+----------------------+------------------------+
  | Name              | Size                 | Contents               |
  +===================+======================+========================+
  | Tag               | 1 byte               | unsigned 8-bit integer |
  +-------------------+----------------------+------------------------+
  | consumed_gas      | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+
  | consumed_milligas | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+
  | inbox_after       | Determined from data | $X_1112                |
  +-------------------+----------------------+------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +------------------------------+----------------------+-------------------------------------+
  | Name                         | Size                 | Contents                            |
  +==============================+======================+=====================================+
  | Tag                          | 1 byte               | unsigned 8-bit integer              |
  +------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
  +------------------------------+----------------------+-------------------------------------+
  | errors                       | Determined from data | $X_7996                             |
  +------------------------------+----------------------+-------------------------------------+
  | consumed_gas                 | Determined from data | $N.t                                |
  +------------------------------+----------------------+-------------------------------------+
  | consumed_milligas            | Determined from data | $N.t                                |
  +------------------------------+----------------------+-------------------------------------+
  | inbox_after                  | Determined from data | $X_1112                             |
  +------------------------------+----------------------+-------------------------------------+


  X_1115
  ******

  +-----------------------+----------+--------------------------------------------------------------+
  | Name                  | Size     | Contents                                                     |
  +=======================+==========+==============================================================+
  | index                 | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +-----------------------+----------+--------------------------------------------------------------+
  | content               | 32 bytes | bytes                                                        |
  +-----------------------+----------+--------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                      |
  +-----------------------+----------+--------------------------------------------------------------+
  | back_pointers         | Variable | sequence of bytes                                            |
  +-----------------------+----------+--------------------------------------------------------------+


  X_1112
  ******

  +------------------------------------------------+----------------------+-------------------------+
  | Name                                           | Size                 | Contents                |
  +================================================+======================+=========================+
  | # bytes in field "013-PtJakart.rollup_address" | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | rollup                                         | Variable             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | message_counter                                | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | nb_available_messages                          | 8 bytes              | signed 64-bit integer   |
  +------------------------------------------------+----------------------+-------------------------+
  | level                                          | 4 bytes              | signed 32-bit integer   |
  +------------------------------------------------+----------------------+-------------------------+
  | current_messages_hash                          | 32 bytes             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | old_levels_messages                            | Determined from data | $X_1115                 |
  +------------------------------------------------+----------------------+-------------------------+


  X_340
  *****

  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                         |
  +==========================================================================+======================+==================================================================+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                          |
  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                                 |
  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------+
  | operation_result                                                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.sc_rollup_publish |
  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                          |
  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------+
  | internal_operation_results                                               | Variable             | sequence of $013-PtJakart.apply_results.alpha.operation_result   |
  +--------------------------------------------------------------------------+----------------------+------------------------------------------------------------------+


  013-PtJakart.apply_results.alpha.operation_result (Determined from data, 8-bit tag)
  ***********************************************************************************

  transaction (tag 1)
  ===================

  +----------------------------------+----------------------+------------------------------------------------------------+
  | Name                             | Size                 | Contents                                                   |
  +==================================+======================+============================================================+
  | Tag                              | 1 byte               | unsigned 8-bit integer                                     |
  +----------------------------------+----------------------+------------------------------------------------------------+
  | source                           | 22 bytes             | $013-PtJakart.contract_id                                  |
  +----------------------------------+----------------------+------------------------------------------------------------+
  | nonce                            | 2 bytes              | unsigned 16-bit integer                                    |
  +----------------------------------+----------------------+------------------------------------------------------------+
  | amount                           | Determined from data | $N.t                                                       |
  +----------------------------------+----------------------+------------------------------------------------------------+
  | destination                      | 22 bytes             | $013-PtJakart.transaction_destination                      |
  +----------------------------------+----------------------+------------------------------------------------------------+
  | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true)                        |
  +----------------------------------+----------------------+------------------------------------------------------------+
  | parameters                       | Determined from data | $X_8494                                                    |
  +----------------------------------+----------------------+------------------------------------------------------------+
  | result                           | Determined from data | $013-PtJakart.operation.alpha.operation_result.transaction |
  +----------------------------------+----------------------+------------------------------------------------------------+


  origination (tag 2)
  ===================

  +--------------------------------+----------------------+------------------------------------------------------------+
  | Name                           | Size                 | Contents                                                   |
  +================================+======================+============================================================+
  | Tag                            | 1 byte               | unsigned 8-bit integer                                     |
  +--------------------------------+----------------------+------------------------------------------------------------+
  | source                         | 22 bytes             | $013-PtJakart.contract_id                                  |
  +--------------------------------+----------------------+------------------------------------------------------------+
  | nonce                          | 2 bytes              | unsigned 16-bit integer                                    |
  +--------------------------------+----------------------+------------------------------------------------------------+
  | balance                        | Determined from data | $N.t                                                       |
  +--------------------------------+----------------------+------------------------------------------------------------+
  | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                        |
  +--------------------------------+----------------------+------------------------------------------------------------+
  | delegate                       | 21 bytes             | $public_key_hash                                           |
  +--------------------------------+----------------------+------------------------------------------------------------+
  | script                         | Determined from data | $013-PtJakart.scripted.contracts                           |
  +--------------------------------+----------------------+------------------------------------------------------------+
  | result                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.origination |
  +--------------------------------+----------------------+------------------------------------------------------------+


  delegation (tag 3)
  ==================

  +--------------------------------+----------------------+-----------------------------------------------------------+
  | Name                           | Size                 | Contents                                                  |
  +================================+======================+===========================================================+
  | Tag                            | 1 byte               | unsigned 8-bit integer                                    |
  +--------------------------------+----------------------+-----------------------------------------------------------+
  | source                         | 22 bytes             | $013-PtJakart.contract_id                                 |
  +--------------------------------+----------------------+-----------------------------------------------------------+
  | nonce                          | 2 bytes              | unsigned 16-bit integer                                   |
  +--------------------------------+----------------------+-----------------------------------------------------------+
  | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true)                       |
  +--------------------------------+----------------------+-----------------------------------------------------------+
  | delegate                       | 21 bytes             | $public_key_hash                                          |
  +--------------------------------+----------------------+-----------------------------------------------------------+
  | result                         | Determined from data | $013-PtJakart.operation.alpha.operation_result.delegation |
  +--------------------------------+----------------------+-----------------------------------------------------------+


  013-PtJakart.operation.alpha.operation_result.transaction (Determined from data, 8-bit tag)
  *******************************************************************************************

  Applied (tag 0)
  ===============

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | Determined from data | $X_8196                |
  +-----------------+----------------------+------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +------------------------------+----------------------+-------------------------------------+
  | Name                         | Size                 | Contents                            |
  +==============================+======================+=====================================+
  | Tag                          | 1 byte               | unsigned 8-bit integer              |
  +------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
  +------------------------------+----------------------+-------------------------------------+
  | errors                       | Determined from data | $X_7996                             |
  +------------------------------+----------------------+-------------------------------------+
  | Unnamed field 0              | Determined from data | $X_8196                             |
  +------------------------------+----------------------+-------------------------------------+


  013-PtJakart.operation.alpha.operation_result.delegation (Determined from data, 8-bit tag)
  ******************************************************************************************

  Applied (tag 0)
  ===============

  +-------------------+----------------------+------------------------+
  | Name              | Size                 | Contents               |
  +===================+======================+========================+
  | Tag               | 1 byte               | unsigned 8-bit integer |
  +-------------------+----------------------+------------------------+
  | consumed_gas      | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+
  | consumed_milligas | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +------------------------------+----------------------+-------------------------------------+
  | Name                         | Size                 | Contents                            |
  +==============================+======================+=====================================+
  | Tag                          | 1 byte               | unsigned 8-bit integer              |
  +------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
  +------------------------------+----------------------+-------------------------------------+
  | errors                       | Determined from data | $X_7996                             |
  +------------------------------+----------------------+-------------------------------------+
  | consumed_gas                 | Determined from data | $N.t                                |
  +------------------------------+----------------------+-------------------------------------+
  | consumed_milligas            | Determined from data | $N.t                                |
  +------------------------------+----------------------+-------------------------------------+


  013-PtJakart.operation.alpha.operation_result.sc_rollup_publish (Determined from data, 8-bit tag)
  *************************************************************************************************

  Applied (tag 0)
  ===============

  +-------------------+----------------------+------------------------+
  | Name              | Size                 | Contents               |
  +===================+======================+========================+
  | Tag               | 1 byte               | unsigned 8-bit integer |
  +-------------------+----------------------+------------------------+
  | consumed_gas      | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+
  | consumed_milligas | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+
  | staked_hash       | 32 bytes             | bytes                  |
  +-------------------+----------------------+------------------------+


  Failed (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | errors                | Variable | sequence of $X_8359     |
  +-----------------------+----------+-------------------------+


  Skipped (tag 2)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Backtracked (tag 3)
  ===================

  +------------------------------+----------------------+-------------------------------------+
  | Name                         | Size                 | Contents                            |
  +==============================+======================+=====================================+
  | Tag                          | 1 byte               | unsigned 8-bit integer              |
  +------------------------------+----------------------+-------------------------------------+
  | ? presence of field "errors" | 1 byte               | boolean (0 for false, 255 for true) |
  +------------------------------+----------------------+-------------------------------------+
  | errors                       | Determined from data | $X_7996                             |
  +------------------------------+----------------------+-------------------------------------+
  | consumed_gas                 | Determined from data | $N.t                                |
  +------------------------------+----------------------+-------------------------------------+
  | consumed_milligas            | Determined from data | $N.t                                |
  +------------------------------+----------------------+-------------------------------------+
  | staked_hash                  | 32 bytes             | bytes                               |
  +------------------------------+----------------------+-------------------------------------+


  013-PtJakart.operation.alpha.contents (Determined from data, 8-bit tag)
  ***********************************************************************

  Seed_nonce_revelation (tag 1)
  =============================

  +-------+----------+------------------------+
  | Name  | Size     | Contents               |
  +=======+==========+========================+
  | Tag   | 1 byte   | unsigned 8-bit integer |
  +-------+----------+------------------------+
  | level | 4 bytes  | signed 32-bit integer  |
  +-------+----------+------------------------+
  | nonce | 32 bytes | bytes                  |
  +-------+----------+------------------------+


  Double_endorsement_evidence (tag 2)
  ===================================

  +-----------------------+----------+-----------------------------------+
  | Name                  | Size     | Contents                          |
  +=======================+==========+===================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer            |
  +-----------------------+----------+-----------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
  +-----------------------+----------+-----------------------------------+
  | op1                   | Variable | $013-PtJakart.inlined.endorsement |
  +-----------------------+----------+-----------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
  +-----------------------+----------+-----------------------------------+
  | op2                   | Variable | $013-PtJakart.inlined.endorsement |
  +-----------------------+----------+-----------------------------------+


  Double_baking_evidence (tag 3)
  ==============================

  +-----------------------+----------------------+----------------------------------------------+
  | Name                  | Size                 | Contents                                     |
  +=======================+======================+==============================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                       |
  +-----------------------+----------------------+----------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                      |
  +-----------------------+----------------------+----------------------------------------------+
  | bh1                   | Determined from data | $013-PtJakart.block_header.alpha.full_header |
  +-----------------------+----------------------+----------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                      |
  +-----------------------+----------------------+----------------------------------------------+
  | bh2                   | Determined from data | $013-PtJakart.block_header.alpha.full_header |
  +-----------------------+----------------------+----------------------------------------------+


  Activate_account (tag 4)
  ========================

  +--------+----------+------------------------+
  | Name   | Size     | Contents               |
  +========+==========+========================+
  | Tag    | 1 byte   | unsigned 8-bit integer |
  +--------+----------+------------------------+
  | pkh    | 20 bytes | bytes                  |
  +--------+----------+------------------------+
  | secret | 20 bytes | bytes                  |
  +--------+----------+------------------------+


  Proposals (tag 5)
  =================

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | source                | 21 bytes | $public_key_hash        |
  +-----------------------+----------+-------------------------+
  | period                | 4 bytes  | signed 32-bit integer   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | proposals             | Variable | sequence of bytes       |
  +-----------------------+----------+-------------------------+


  Ballot (tag 6)
  ==============

  +----------+----------+------------------------+
  | Name     | Size     | Contents               |
  +==========+==========+========================+
  | Tag      | 1 byte   | unsigned 8-bit integer |
  +----------+----------+------------------------+
  | source   | 21 bytes | $public_key_hash       |
  +----------+----------+------------------------+
  | period   | 4 bytes  | signed 32-bit integer  |
  +----------+----------+------------------------+
  | proposal | 32 bytes | bytes                  |
  +----------+----------+------------------------+
  | ballot   | 1 byte   | signed 8-bit integer   |
  +----------+----------+------------------------+


  Double_preendorsement_evidence (tag 7)
  ======================================

  +-----------------------+----------+--------------------------------------+
  | Name                  | Size     | Contents                             |
  +=======================+==========+======================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer               |
  +-----------------------+----------+--------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
  +-----------------------+----------+--------------------------------------+
  | op1                   | Variable | $013-PtJakart.inlined.preendorsement |
  +-----------------------+----------+--------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
  +-----------------------+----------+--------------------------------------+
  | op2                   | Variable | $013-PtJakart.inlined.preendorsement |
  +-----------------------+----------+--------------------------------------+


  Failing_noop (tag 17)
  =====================

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | arbitrary             | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Preendorsement (tag 20)
  =======================

  +--------------------+----------+-------------------------+
  | Name               | Size     | Contents                |
  +====================+==========+=========================+
  | Tag                | 1 byte   | unsigned 8-bit integer  |
  +--------------------+----------+-------------------------+
  | slot               | 2 bytes  | unsigned 16-bit integer |
  +--------------------+----------+-------------------------+
  | level              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | round              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | block_payload_hash | 32 bytes | bytes                   |
  +--------------------+----------+-------------------------+


  Endorsement (tag 21)
  ====================

  +--------------------+----------+-------------------------+
  | Name               | Size     | Contents                |
  +====================+==========+=========================+
  | Tag                | 1 byte   | unsigned 8-bit integer  |
  +--------------------+----------+-------------------------+
  | slot               | 2 bytes  | unsigned 16-bit integer |
  +--------------------+----------+-------------------------+
  | level              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | round              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | block_payload_hash | 32 bytes | bytes                   |
  +--------------------+----------+-------------------------+


  Reveal (tag 107)
  ================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | public_key    | Determined from data | $public_key            |
  +---------------+----------------------+------------------------+


  Transaction (tag 108)
  =====================

  +----------------------------------+----------------------+---------------------------------------+
  | Name                             | Size                 | Contents                              |
  +==================================+======================+=======================================+
  | Tag                              | 1 byte               | unsigned 8-bit integer                |
  +----------------------------------+----------------------+---------------------------------------+
  | source                           | 21 bytes             | $public_key_hash                      |
  +----------------------------------+----------------------+---------------------------------------+
  | fee                              | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | counter                          | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | gas_limit                        | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | storage_limit                    | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | amount                           | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | destination                      | 22 bytes             | $013-PtJakart.transaction_destination |
  +----------------------------------+----------------------+---------------------------------------+
  | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true)   |
  +----------------------------------+----------------------+---------------------------------------+
  | parameters                       | Determined from data | $X_8494                               |
  +----------------------------------+----------------------+---------------------------------------+


  Origination (tag 109)
  =====================

  +--------------------------------+----------------------+-------------------------------------+
  | Name                           | Size                 | Contents                            |
  +================================+======================+=====================================+
  | Tag                            | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------+----------------------+-------------------------------------+
  | source                         | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | fee                            | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | counter                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | gas_limit                      | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | storage_limit                  | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | balance                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------+----------------------+-------------------------------------+
  | delegate                       | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | script                         | Determined from data | $013-PtJakart.scripted.contracts    |
  +--------------------------------+----------------------+-------------------------------------+


  Delegation (tag 110)
  ====================

  +--------------------------------+----------------------+-------------------------------------+
  | Name                           | Size                 | Contents                            |
  +================================+======================+=====================================+
  | Tag                            | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------+----------------------+-------------------------------------+
  | source                         | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | fee                            | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | counter                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | gas_limit                      | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | storage_limit                  | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------+----------------------+-------------------------------------+
  | delegate                       | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+


  Register_global_constant (tag 111)
  ==================================

  +-----------------------+----------------------+-------------------------+
  | Name                  | Size                 | Contents                |
  +=======================+======================+=========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer  |
  +-----------------------+----------------------+-------------------------+
  | source                | 21 bytes             | $public_key_hash        |
  +-----------------------+----------------------+-------------------------+
  | fee                   | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | counter               | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | gas_limit             | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | storage_limit         | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
  +-----------------------+----------------------+-------------------------+
  | value                 | Variable             | bytes                   |
  +-----------------------+----------------------+-------------------------+


  Set_deposits_limit (tag 112)
  ============================

  +-----------------------------+----------------------+-------------------------------------+
  | Name                        | Size                 | Contents                            |
  +=============================+======================+=====================================+
  | Tag                         | 1 byte               | unsigned 8-bit integer              |
  +-----------------------------+----------------------+-------------------------------------+
  | source                      | 21 bytes             | $public_key_hash                    |
  +-----------------------------+----------------------+-------------------------------------+
  | fee                         | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | counter                     | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | gas_limit                   | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | storage_limit               | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
  +-----------------------------+----------------------+-------------------------------------+
  | limit                       | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+


  Tx_rollup_origination (tag 150)
  ===============================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+


  Tx_rollup_submit_batch (tag 151)
  ================================

  +----------------------------------+----------------------+-------------------------------------+
  | Name                             | Size                 | Contents                            |
  +==================================+======================+=====================================+
  | Tag                              | 1 byte               | unsigned 8-bit integer              |
  +----------------------------------+----------------------+-------------------------------------+
  | source                           | 21 bytes             | $public_key_hash                    |
  +----------------------------------+----------------------+-------------------------------------+
  | fee                              | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | counter                          | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | gas_limit                        | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | storage_limit                    | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | rollup                           | 20 bytes             | bytes                               |
  +----------------------------------+----------------------+-------------------------------------+
  | # bytes in next field            | 4 bytes              | unsigned 30-bit integer             |
  +----------------------------------+----------------------+-------------------------------------+
  | content                          | Variable             | bytes                               |
  +----------------------------------+----------------------+-------------------------------------+
  | ? presence of field "burn_limit" | 1 byte               | boolean (0 for false, 255 for true) |
  +----------------------------------+----------------------+-------------------------------------+
  | burn_limit                       | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+


  Tx_rollup_commit (tag 152)
  ==========================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+
  | commitment    | Determined from data | $X_336                 |
  +---------------+----------------------+------------------------+


  Tx_rollup_return_bond (tag 153)
  ===============================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+


  Tx_rollup_finalize_commitment (tag 154)
  =======================================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+


  Tx_rollup_remove_commitment (tag 155)
  =====================================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+


  Tx_rollup_rejection (tag 156)
  =============================

  +------------------------------+----------------------+-------------------------+
  | Name                         | Size                 | Contents                |
  +==============================+======================+=========================+
  | Tag                          | 1 byte               | unsigned 8-bit integer  |
  +------------------------------+----------------------+-------------------------+
  | source                       | 21 bytes             | $public_key_hash        |
  +------------------------------+----------------------+-------------------------+
  | fee                          | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | counter                      | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | gas_limit                    | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | storage_limit                | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | rollup                       | 20 bytes             | bytes                   |
  +------------------------------+----------------------+-------------------------+
  | level                        | 4 bytes              | signed 32-bit integer   |
  +------------------------------+----------------------+-------------------------+
  | message                      | Determined from data | $X_8365                 |
  +------------------------------+----------------------+-------------------------+
  | message_position             | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | # bytes in next field        | 4 bytes              | unsigned 30-bit integer |
  +------------------------------+----------------------+-------------------------+
  | message_path                 | Variable             | sequence of bytes       |
  +------------------------------+----------------------+-------------------------+
  | message_result_hash          | 32 bytes             | bytes                   |
  +------------------------------+----------------------+-------------------------+
  | # bytes in next field        | 4 bytes              | unsigned 30-bit integer |
  +------------------------------+----------------------+-------------------------+
  | message_result_path          | Variable             | sequence of bytes       |
  +------------------------------+----------------------+-------------------------+
  | previous_message_result      | 64 bytes             | $X_8366                 |
  +------------------------------+----------------------+-------------------------+
  | # bytes in next field        | 4 bytes              | unsigned 30-bit integer |
  +------------------------------+----------------------+-------------------------+
  | previous_message_result_path | Variable             | sequence of bytes       |
  +------------------------------+----------------------+-------------------------+
  | proof                        | Determined from data | $X_8491                 |
  +------------------------------+----------------------+-------------------------+


  Tx_rollup_dispatch_tickets (tag 157)
  ====================================

  +-----------------------+----------------------+--------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                     |
  +=======================+======================+==============================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | source                | 21 bytes             | $public_key_hash                                             |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | fee                   | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | counter               | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | gas_limit             | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | storage_limit         | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup             | 20 bytes             | bytes                                                        |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | level                 | 4 bytes              | signed 32-bit integer                                        |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | context_hash          | 32 bytes             | bytes                                                        |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | message_index         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | message_result_path   | Variable             | sequence of bytes                                            |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | tickets_info          | Variable             | sequence of $X_205                                           |
  +-----------------------+----------------------+--------------------------------------------------------------+


  Transfer_ticket (tag 158)
  =========================

  +-----------------------+----------------------+---------------------------+
  | Name                  | Size                 | Contents                  |
  +=======================+======================+===========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer    |
  +-----------------------+----------------------+---------------------------+
  | source                | 21 bytes             | $public_key_hash          |
  +-----------------------+----------------------+---------------------------+
  | fee                   | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | counter               | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | gas_limit             | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | storage_limit         | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | ticket_contents       | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | ticket_ty             | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+
  | ticket_ticketer       | 22 bytes             | $013-PtJakart.contract_id |
  +-----------------------+----------------------+---------------------------+
  | ticket_amount         | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | destination           | 22 bytes             | $013-PtJakart.contract_id |
  +-----------------------+----------------------+---------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | entrypoint            | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+


  Sc_rollup_originate (tag 200)
  =============================

  +-----------------------+----------------------+-------------------------+
  | Name                  | Size                 | Contents                |
  +=======================+======================+=========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer  |
  +-----------------------+----------------------+-------------------------+
  | source                | 21 bytes             | $public_key_hash        |
  +-----------------------+----------------------+-------------------------+
  | fee                   | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | counter               | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | gas_limit             | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | storage_limit         | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | kind                  | 2 bytes              | $X_8360                 |
  +-----------------------+----------------------+-------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
  +-----------------------+----------------------+-------------------------+
  | boot_sector           | Variable             | bytes                   |
  +-----------------------+----------------------+-------------------------+


  Sc_rollup_add_messages (tag 201)
  ================================

  +------------------------------------------------+----------------------+-------------------------+
  | Name                                           | Size                 | Contents                |
  +================================================+======================+=========================+
  | Tag                                            | 1 byte               | unsigned 8-bit integer  |
  +------------------------------------------------+----------------------+-------------------------+
  | source                                         | 21 bytes             | $public_key_hash        |
  +------------------------------------------------+----------------------+-------------------------+
  | fee                                            | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | counter                                        | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | gas_limit                                      | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | storage_limit                                  | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.rollup_address" | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | rollup                                         | Variable             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in next field                          | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | message                                        | Variable             | sequence of $X_8359     |
  +------------------------------------------------+----------------------+-------------------------+


  Sc_rollup_cement (tag 202)
  ==========================

  +------------------------------------------------+----------------------+-------------------------+
  | Name                                           | Size                 | Contents                |
  +================================================+======================+=========================+
  | Tag                                            | 1 byte               | unsigned 8-bit integer  |
  +------------------------------------------------+----------------------+-------------------------+
  | source                                         | 21 bytes             | $public_key_hash        |
  +------------------------------------------------+----------------------+-------------------------+
  | fee                                            | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | counter                                        | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | gas_limit                                      | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | storage_limit                                  | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.rollup_address" | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | rollup                                         | Variable             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | commitment                                     | 32 bytes             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+


  Sc_rollup_publish (tag 203)
  ===========================

  +------------------------------------------------+----------------------+-------------------------+
  | Name                                           | Size                 | Contents                |
  +================================================+======================+=========================+
  | Tag                                            | 1 byte               | unsigned 8-bit integer  |
  +------------------------------------------------+----------------------+-------------------------+
  | source                                         | 21 bytes             | $public_key_hash        |
  +------------------------------------------------+----------------------+-------------------------+
  | fee                                            | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | counter                                        | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | gas_limit                                      | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | storage_limit                                  | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.rollup_address" | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | rollup                                         | Variable             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | commitment                                     | 76 bytes             | $X_8358                 |
  +------------------------------------------------+----------------------+-------------------------+


  X_336
  *****

  +-----------------------+----------------------+-------------------------+
  | Name                  | Size                 | Contents                |
  +=======================+======================+=========================+
  | level                 | 4 bytes              | signed 32-bit integer   |
  +-----------------------+----------------------+-------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
  +-----------------------+----------------------+-------------------------+
  | messages              | Variable             | sequence of bytes       |
  +-----------------------+----------------------+-------------------------+
  | predecessor           | Determined from data | $X_8493                 |
  +-----------------------+----------------------+-------------------------+
  | inbox_merkle_root     | 32 bytes             | bytes                   |
  +-----------------------+----------------------+-------------------------+


  X_211
  *****

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_8490     |
  +-----------------------+----------+-------------------------+


  X_216
  *****

  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_8472  |
  +-----------------+----------------------+----------+
  | Unnamed field 1 | 33 bytes             | $X_8473  |
  +-----------------+----------------------+----------+


  X_207
  *****

  +-------------+----------------------+------------------+
  | Name        | Size                 | Contents         |
  +=============+======================+==================+
  | sender      | 21 bytes             | $public_key_hash |
  +-------------+----------------------+------------------+
  | destination | 20 bytes             | bytes            |
  +-------------+----------------------+------------------+
  | ticket_hash | 32 bytes             | bytes            |
  +-------------+----------------------+------------------+
  | amount      | Determined from data | $X_8364          |
  +-------------+----------------------+------------------+


  X_205
  *****

  +-----------------------+----------------------+---------------------------+
  | Name                  | Size                 | Contents                  |
  +=======================+======================+===========================+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | contents              | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | ty                    | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+
  | ticketer              | 22 bytes             | $013-PtJakart.contract_id |
  +-----------------------+----------------------+---------------------------+
  | amount                | Determined from data | $X_8364                   |
  +-----------------------+----------------------+---------------------------+
  | claimer               | 21 bytes             | $public_key_hash          |
  +-----------------------+----------------------+---------------------------+


  X_0
  ***

  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | Name                                                                     | Size                 | Contents                                                                      |
  +==========================================================================+======================+===============================================================================+
  | # bytes in next 20 fields                                                | 4 bytes              | unsigned 30-bit integer                                                       |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | test_chain_status                                                        | Determined from data | $test_chain_status                                                            |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | max_operations_ttl                                                       | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823                  |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | max_operation_data_length                                                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823                  |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | max_block_header_length                                                  | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823                  |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                       |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | max_operation_list_length                                                | Determined from data | $X_1                                                                          |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | proposer                                                                 | 21 bytes             | $public_key_hash                                                              |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | baker                                                                    | 21 bytes             | $public_key_hash                                                              |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | level_info                                                               | 17 bytes             | $X_3                                                                          |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | voting_period_info                                                       | 17 bytes             | $X_4                                                                          |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | nonce_hash                                                               | Determined from data | $X_7                                                                          |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                                                          |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                       |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | deactivated                                                              | Variable             | sequence of $public_key_hash                                                  |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer                                                       |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                                                              |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | liquidity_baking_toggle_ema                                              | 4 bytes              | signed 32-bit integer                                                         |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer                                                       |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | implicit_operations_results                                              | Variable             | sequence of $013-PtJakart.operation.alpha.successful_manager_operation_result |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                                                          |
  +--------------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------------+


  013-PtJakart.operation.alpha.successful_manager_operation_result (Determined from data, 8-bit tag)
  **************************************************************************************************

  reveal (tag 0)
  ==============

  +-------------------+----------------------+------------------------+
  | Name              | Size                 | Contents               |
  +===================+======================+========================+
  | Tag               | 1 byte               | unsigned 8-bit integer |
  +-------------------+----------------------+------------------------+
  | consumed_gas      | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+
  | consumed_milligas | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+


  transaction (tag 1)
  ===================

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | Determined from data | $X_8196                |
  +-----------------+----------------------+------------------------+


  origination (tag 2)
  ===================

  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | Name                                                                     | Size                 | Contents                              |
  +==========================================================================+======================+=======================================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer                |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer               |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8                      |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | # bytes in next field                                                    | 4 bytes              | unsigned 30-bit integer               |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | originated_contracts                                                     | Variable             | sequence of $013-PtJakart.contract_id |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | storage_size                                                             | Determined from data | $Z.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | paid_storage_size_diff                                                   | Determined from data | $Z.t                                  |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | ? presence of field "lazy_storage_diff"                                  | 1 byte               | boolean (0 for false, 255 for true)   |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+
  | lazy_storage_diff                                                        | Determined from data | $013-PtJakart.lazy_storage_diff       |
  +--------------------------------------------------------------------------+----------------------+---------------------------------------+


  delegation (tag 3)
  ==================

  +-------------------+----------------------+------------------------+
  | Name              | Size                 | Contents               |
  +===================+======================+========================+
  | Tag               | 1 byte               | unsigned 8-bit integer |
  +-------------------+----------------------+------------------------+
  | consumed_gas      | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+
  | consumed_milligas | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+


  set_deposits_limit (tag 5)
  ==========================

  +-------------------+----------------------+------------------------+
  | Name              | Size                 | Contents               |
  +===================+======================+========================+
  | Tag               | 1 byte               | unsigned 8-bit integer |
  +-------------------+----------------------+------------------------+
  | consumed_gas      | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+
  | consumed_milligas | Determined from data | $N.t                   |
  +-------------------+----------------------+------------------------+


  sc_rollup_originate (tag 200)
  =============================

  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | Name                                                                     | Size                 | Contents                |
  +==========================================================================+======================+=========================+
  | Tag                                                                      | 1 byte               | unsigned 8-bit integer  |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.operation_metadata.alpha.balance_updates" | 4 bytes              | unsigned 30-bit integer |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | balance_updates                                                          | Variable             | sequence of $X_8        |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | address                                                                  | 20 bytes             | bytes                   |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_gas                                                             | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | consumed_milligas                                                        | Determined from data | $N.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+
  | size                                                                     | Determined from data | $Z.t                    |
  +--------------------------------------------------------------------------+----------------------+-------------------------+


  013-PtJakart.lazy_storage_diff
  ******************************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_8195     |
  +-----------------------+----------+-------------------------+


  X_99 (Determined from data, 8-bit tag)
  **************************************

  update (tag 0)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | updates               | Variable | sequence of $X_8175     |
  +-----------------------+----------+-------------------------+


  remove (tag 1)
  ==============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  copy (tag 2)
  ============

  +-----------------------+----------------------+-------------------------+
  | Name                  | Size                 | Contents                |
  +=======================+======================+=========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer  |
  +-----------------------+----------------------+-------------------------+
  | source                | Determined from data | $Z.t                    |
  +-----------------------+----------------------+-------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
  +-----------------------+----------------------+-------------------------+
  | updates               | Variable             | sequence of $X_8175     |
  +-----------------------+----------------------+-------------------------+


  alloc (tag 3)
  =============

  +-----------------------+----------------------+-------------------------+
  | Name                  | Size                 | Contents                |
  +=======================+======================+=========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer  |
  +-----------------------+----------------------+-------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
  +-----------------------+----------------------+-------------------------+
  | updates               | Variable             | sequence of $X_8175     |
  +-----------------------+----------------------+-------------------------+
  | key_type              | Determined from data | $X_33                   |
  +-----------------------+----------------------+-------------------------+
  | value_type            | Determined from data | $X_33                   |
  +-----------------------+----------------------+-------------------------+


  X_33 (Determined from data, 8-bit tag)
  **************************************

  Int (tag 0)
  ===========

  +------+----------------------+------------------------+
  | Name | Size                 | Contents               |
  +======+======================+========================+
  | Tag  | 1 byte               | unsigned 8-bit integer |
  +------+----------------------+------------------------+
  | int  | Determined from data | $Z.t                   |
  +------+----------------------+------------------------+


  String (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | string                | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Sequence (tag 2)
  ================

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_33       |
  +-----------------------+----------+-------------------------+


  Prim__no_args__no_annots (tag 3)
  ================================

  +------+--------+-------------------------------------------------------------------------------------------+
  | Name | Size   | Contents                                                                                  |
  +======+========+===========================================================================================+
  | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
  +------+--------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+--------+-------------------------------------------------------------------------------------------+


  Prim__no_args__some_annots (tag 4)
  ==================================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__no_annots (tag 5)
  ==============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg  | Determined from data | $X_33                                                                                     |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__some_annots (tag 6)
  ================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg                   | Determined from data | $X_33                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__no_annots (tag 7)
  ===============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1 | Determined from data | $X_33                                                                                     |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2 | Determined from data | $X_33                                                                                     |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__some_annots (tag 8)
  =================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1                  | Determined from data | $X_33                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2                  | Determined from data | $X_33                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__generic (tag 9)
  =====================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | args                  | Variable | sequence of $X_33                                                                         |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Bytes (tag 10)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | bytes                 | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  X_17
  ****

  +-----------------------------+----------+-------------------------+
  | Name                        | Size     | Contents                |
  +=============================+==========+=========================+
  | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
  +-----------------------------+----------+-------------------------+
  | commitments_and_ciphertexts | Variable | sequence of $X_8117     |
  +-----------------------------+----------+-------------------------+
  | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
  +-----------------------------+----------+-------------------------+
  | nullifiers                  | Variable | sequence of bytes       |
  +-----------------------------+----------+-------------------------+


  X_8
  ***

  +-----------------+----------------------+-----------------------+
  | Name            | Size                 | Contents              |
  +=================+======================+=======================+
  | Unnamed field 0 | Determined from data | $X_8218               |
  +-----------------+----------------------+-----------------------+
  | change          | 8 bytes              | signed 64-bit integer |
  +-----------------+----------------------+-----------------------+
  | origin          | 1 byte               | $X_8219               |
  +-----------------+----------------------+-----------------------+


  X_7 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +-------------+----------+------------------------+
  | Name        | Size     | Contents               |
  +=============+==========+========================+
  | Tag         | 1 byte   | unsigned 8-bit integer |
  +-------------+----------+------------------------+
  | cycle_nonce | 32 bytes | bytes                  |
  +-------------+----------+------------------------+


  X_4
  ***

  +---------------+---------+-----------------------+
  | Name          | Size    | Contents              |
  +===============+=========+=======================+
  | voting_period | 9 bytes | $X_5                  |
  +---------------+---------+-----------------------+
  | position      | 4 bytes | signed 32-bit integer |
  +---------------+---------+-----------------------+
  | remaining     | 4 bytes | signed 32-bit integer |
  +---------------+---------+-----------------------+


  X_5
  ***

  +----------------+---------+-----------------------+
  | Name           | Size    | Contents              |
  +================+=========+=======================+
  | index          | 4 bytes | signed 32-bit integer |
  +----------------+---------+-----------------------+
  | kind           | 1 byte  | $X_6                  |
  +----------------+---------+-----------------------+
  | start_position | 4 bytes | signed 32-bit integer |
  +----------------+---------+-----------------------+


  X_6 (1 byte, 8-bit tag)
  ***********************

  Proposal (tag 0)
  ================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  exploration (tag 1)
  ===================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Cooldown (tag 2)
  ================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Promotion (tag 3)
  =================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Adoption (tag 4)
  ================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  X_3
  ***

  +---------------------+---------+-------------------------------------+
  | Name                | Size    | Contents                            |
  +=====================+=========+=====================================+
  | level               | 4 bytes | signed 32-bit integer               |
  +---------------------+---------+-------------------------------------+
  | level_position      | 4 bytes | signed 32-bit integer               |
  +---------------------+---------+-------------------------------------+
  | cycle               | 4 bytes | signed 32-bit integer               |
  +---------------------+---------+-------------------------------------+
  | cycle_position      | 4 bytes | signed 32-bit integer               |
  +---------------------+---------+-------------------------------------+
  | expected_commitment | 1 byte  | boolean (0 for false, 255 for true) |
  +---------------------+---------+-------------------------------------+


  X_1
  ***

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_2        |
  +-----------------------+----------+-------------------------+


  X_2
  ***

  +------------------------------+---------+--------------------------------------------------------------+
  | Name                         | Size    | Contents                                                     |
  +==============================+=========+==============================================================+
  | max_size                     | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +------------------------------+---------+--------------------------------------------------------------+
  | ? presence of field "max_op" | 1 byte  | boolean (0 for false, 255 for true)                          |
  +------------------------------+---------+--------------------------------------------------------------+
  | max_op                       | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +------------------------------+---------+--------------------------------------------------------------+


  test_chain_status (Determined from data, 8-bit tag)
  ***************************************************

  Not_running (tag 0)
  ===================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Forking (tag 1)
  ===============

  +------------+----------+------------------------+
  | Name       | Size     | Contents               |
  +============+==========+========================+
  | Tag        | 1 byte   | unsigned 8-bit integer |
  +------------+----------+------------------------+
  | protocol   | 32 bytes | bytes                  |
  +------------+----------+------------------------+
  | expiration | 8 bytes  | signed 64-bit integer  |
  +------------+----------+------------------------+


  Running (tag 2)
  ===============

  +------------+----------+------------------------+
  | Name       | Size     | Contents               |
  +============+==========+========================+
  | Tag        | 1 byte   | unsigned 8-bit integer |
  +------------+----------+------------------------+
  | chain_id   | 4 bytes  | bytes                  |
  +------------+----------+------------------------+
  | genesis    | 32 bytes | bytes                  |
  +------------+----------+------------------------+
  | protocol   | 32 bytes | bytes                  |
  +------------+----------+------------------------+
  | expiration | 8 bytes  | signed 64-bit integer  |
  +------------+----------+------------------------+

  

GET ../<block_id>/context/big_maps/<big_map_id>?[offset=<uint>]&[length=<uint>]

Get the (optionally paginated) list of values in a big map. Order of values is unspecified, but is guaranteed to be consistent.

Optional query arguments :

  • offset = <uint> : Skip the first [offset] values. Useful in combination with [length] for pagination.
  • length = <uint> : Only retrieve [length] values. Useful in combination with [offset] for pagination.

  [ { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] } ... ]
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------------+----------+-------------------------------------------------------------+
  | Name                  | Size     | Contents                                                    |
  +=======================+==========+=============================================================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
  +-----------------------+----------+-------------------------------------------------------------+
  | Unnamed field 0       | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------------+----------+-------------------------------------------------------------+


  Z.t
  ***

  A variable-length sequence of bytes encoding a Zarith integer. 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). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | Z.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  micheline.013-PtJakart.michelson_v1.expression (Determined from data, 8-bit tag)
  ********************************************************************************

  Int (tag 0)
  ===========

  +------+----------------------+------------------------+
  | Name | Size                 | Contents               |
  +======+======================+========================+
  | Tag  | 1 byte               | unsigned 8-bit integer |
  +------+----------------------+------------------------+
  | int  | Determined from data | $Z.t                   |
  +------+----------------------+------------------------+


  String (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | string                | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Sequence (tag 2)
  ================

  +-----------------------+----------+-------------------------------------------------------------+
  | Name                  | Size     | Contents                                                    |
  +=======================+==========+=============================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
  +-----------------------+----------+-------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
  +-----------------------+----------+-------------------------------------------------------------+
  | Unnamed field 0       | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------------+----------+-------------------------------------------------------------+


  Prim__no_args__no_annots (tag 3)
  ================================

  +------+--------+-------------------------------------------------------------------------------------------+
  | Name | Size   | Contents                                                                                  |
  +======+========+===========================================================================================+
  | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
  +------+--------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+--------+-------------------------------------------------------------------------------------------+


  Prim__no_args__some_annots (tag 4)
  ==================================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__no_annots (tag 5)
  ==============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__some_annots (tag 6)
  ================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg                   | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__no_annots (tag 7)
  ===============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__some_annots (tag 8)
  =================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__generic (tag 9)
  =====================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | args                  | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression                               |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Bytes (tag 10)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | bytes                 | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  013-PtJakart.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
  ***************************************************************************

  +-------------+--------------------------------+
  | Case number | Encoded string                 |
  +=============+================================+
  | 0           | parameter                      |
  +-------------+--------------------------------+
  | 1           | storage                        |
  +-------------+--------------------------------+
  | 2           | code                           |
  +-------------+--------------------------------+
  | 3           | False                          |
  +-------------+--------------------------------+
  | 4           | Elt                            |
  +-------------+--------------------------------+
  | 5           | Left                           |
  +-------------+--------------------------------+
  | 6           | None                           |
  +-------------+--------------------------------+
  | 7           | Pair                           |
  +-------------+--------------------------------+
  | 8           | Right                          |
  +-------------+--------------------------------+
  | 9           | Some                           |
  +-------------+--------------------------------+
  | 10          | True                           |
  +-------------+--------------------------------+
  | 11          | Unit                           |
  +-------------+--------------------------------+
  | 12          | PACK                           |
  +-------------+--------------------------------+
  | 13          | UNPACK                         |
  +-------------+--------------------------------+
  | 14          | BLAKE2B                        |
  +-------------+--------------------------------+
  | 15          | SHA256                         |
  +-------------+--------------------------------+
  | 16          | SHA512                         |
  +-------------+--------------------------------+
  | 17          | ABS                            |
  +-------------+--------------------------------+
  | 18          | ADD                            |
  +-------------+--------------------------------+
  | 19          | AMOUNT                         |
  +-------------+--------------------------------+
  | 20          | AND                            |
  +-------------+--------------------------------+
  | 21          | BALANCE                        |
  +-------------+--------------------------------+
  | 22          | CAR                            |
  +-------------+--------------------------------+
  | 23          | CDR                            |
  +-------------+--------------------------------+
  | 24          | CHECK_SIGNATURE                |
  +-------------+--------------------------------+
  | 25          | COMPARE                        |
  +-------------+--------------------------------+
  | 26          | CONCAT                         |
  +-------------+--------------------------------+
  | 27          | CONS                           |
  +-------------+--------------------------------+
  | 28          | CREATE_ACCOUNT                 |
  +-------------+--------------------------------+
  | 29          | CREATE_CONTRACT                |
  +-------------+--------------------------------+
  | 30          | IMPLICIT_ACCOUNT               |
  +-------------+--------------------------------+
  | 31          | DIP                            |
  +-------------+--------------------------------+
  | 32          | DROP                           |
  +-------------+--------------------------------+
  | 33          | DUP                            |
  +-------------+--------------------------------+
  | 34          | EDIV                           |
  +-------------+--------------------------------+
  | 35          | EMPTY_MAP                      |
  +-------------+--------------------------------+
  | 36          | EMPTY_SET                      |
  +-------------+--------------------------------+
  | 37          | EQ                             |
  +-------------+--------------------------------+
  | 38          | EXEC                           |
  +-------------+--------------------------------+
  | 39          | FAILWITH                       |
  +-------------+--------------------------------+
  | 40          | GE                             |
  +-------------+--------------------------------+
  | 41          | GET                            |
  +-------------+--------------------------------+
  | 42          | GT                             |
  +-------------+--------------------------------+
  | 43          | HASH_KEY                       |
  +-------------+--------------------------------+
  | 44          | IF                             |
  +-------------+--------------------------------+
  | 45          | IF_CONS                        |
  +-------------+--------------------------------+
  | 46          | IF_LEFT                        |
  +-------------+--------------------------------+
  | 47          | IF_NONE                        |
  +-------------+--------------------------------+
  | 48          | INT                            |
  +-------------+--------------------------------+
  | 49          | LAMBDA                         |
  +-------------+--------------------------------+
  | 50          | LE                             |
  +-------------+--------------------------------+
  | 51          | LEFT                           |
  +-------------+--------------------------------+
  | 52          | LOOP                           |
  +-------------+--------------------------------+
  | 53          | LSL                            |
  +-------------+--------------------------------+
  | 54          | LSR                            |
  +-------------+--------------------------------+
  | 55          | LT                             |
  +-------------+--------------------------------+
  | 56          | MAP                            |
  +-------------+--------------------------------+
  | 57          | MEM                            |
  +-------------+--------------------------------+
  | 58          | MUL                            |
  +-------------+--------------------------------+
  | 59          | NEG                            |
  +-------------+--------------------------------+
  | 60          | NEQ                            |
  +-------------+--------------------------------+
  | 61          | NIL                            |
  +-------------+--------------------------------+
  | 62          | NONE                           |
  +-------------+--------------------------------+
  | 63          | NOT                            |
  +-------------+--------------------------------+
  | 64          | NOW                            |
  +-------------+--------------------------------+
  | 65          | OR                             |
  +-------------+--------------------------------+
  | 66          | PAIR                           |
  +-------------+--------------------------------+
  | 67          | PUSH                           |
  +-------------+--------------------------------+
  | 68          | RIGHT                          |
  +-------------+--------------------------------+
  | 69          | SIZE                           |
  +-------------+--------------------------------+
  | 70          | SOME                           |
  +-------------+--------------------------------+
  | 71          | SOURCE                         |
  +-------------+--------------------------------+
  | 72          | SENDER                         |
  +-------------+--------------------------------+
  | 73          | SELF                           |
  +-------------+--------------------------------+
  | 74          | STEPS_TO_QUOTA                 |
  +-------------+--------------------------------+
  | 75          | SUB                            |
  +-------------+--------------------------------+
  | 76          | SWAP                           |
  +-------------+--------------------------------+
  | 77          | TRANSFER_TOKENS                |
  +-------------+--------------------------------+
  | 78          | SET_DELEGATE                   |
  +-------------+--------------------------------+
  | 79          | UNIT                           |
  +-------------+--------------------------------+
  | 80          | UPDATE                         |
  +-------------+--------------------------------+
  | 81          | XOR                            |
  +-------------+--------------------------------+
  | 82          | ITER                           |
  +-------------+--------------------------------+
  | 83          | LOOP_LEFT                      |
  +-------------+--------------------------------+
  | 84          | ADDRESS                        |
  +-------------+--------------------------------+
  | 85          | CONTRACT                       |
  +-------------+--------------------------------+
  | 86          | ISNAT                          |
  +-------------+--------------------------------+
  | 87          | CAST                           |
  +-------------+--------------------------------+
  | 88          | RENAME                         |
  +-------------+--------------------------------+
  | 89          | bool                           |
  +-------------+--------------------------------+
  | 90          | contract                       |
  +-------------+--------------------------------+
  | 91          | int                            |
  +-------------+--------------------------------+
  | 92          | key                            |
  +-------------+--------------------------------+
  | 93          | key_hash                       |
  +-------------+--------------------------------+
  | 94          | lambda                         |
  +-------------+--------------------------------+
  | 95          | list                           |
  +-------------+--------------------------------+
  | 96          | map                            |
  +-------------+--------------------------------+
  | 97          | big_map                        |
  +-------------+--------------------------------+
  | 98          | nat                            |
  +-------------+--------------------------------+
  | 99          | option                         |
  +-------------+--------------------------------+
  | 100         | or                             |
  +-------------+--------------------------------+
  | 101         | pair                           |
  +-------------+--------------------------------+
  | 102         | set                            |
  +-------------+--------------------------------+
  | 103         | signature                      |
  +-------------+--------------------------------+
  | 104         | string                         |
  +-------------+--------------------------------+
  | 105         | bytes                          |
  +-------------+--------------------------------+
  | 106         | mutez                          |
  +-------------+--------------------------------+
  | 107         | timestamp                      |
  +-------------+--------------------------------+
  | 108         | unit                           |
  +-------------+--------------------------------+
  | 109         | operation                      |
  +-------------+--------------------------------+
  | 110         | address                        |
  +-------------+--------------------------------+
  | 111         | SLICE                          |
  +-------------+--------------------------------+
  | 112         | DIG                            |
  +-------------+--------------------------------+
  | 113         | DUG                            |
  +-------------+--------------------------------+
  | 114         | EMPTY_BIG_MAP                  |
  +-------------+--------------------------------+
  | 115         | APPLY                          |
  +-------------+--------------------------------+
  | 116         | chain_id                       |
  +-------------+--------------------------------+
  | 117         | CHAIN_ID                       |
  +-------------+--------------------------------+
  | 118         | LEVEL                          |
  +-------------+--------------------------------+
  | 119         | SELF_ADDRESS                   |
  +-------------+--------------------------------+
  | 120         | never                          |
  +-------------+--------------------------------+
  | 121         | NEVER                          |
  +-------------+--------------------------------+
  | 122         | UNPAIR                         |
  +-------------+--------------------------------+
  | 123         | VOTING_POWER                   |
  +-------------+--------------------------------+
  | 124         | TOTAL_VOTING_POWER             |
  +-------------+--------------------------------+
  | 125         | KECCAK                         |
  +-------------+--------------------------------+
  | 126         | SHA3                           |
  +-------------+--------------------------------+
  | 127         | PAIRING_CHECK                  |
  +-------------+--------------------------------+
  | 128         | bls12_381_g1                   |
  +-------------+--------------------------------+
  | 129         | bls12_381_g2                   |
  +-------------+--------------------------------+
  | 130         | bls12_381_fr                   |
  +-------------+--------------------------------+
  | 131         | sapling_state                  |
  +-------------+--------------------------------+
  | 132         | sapling_transaction_deprecated |
  +-------------+--------------------------------+
  | 133         | SAPLING_EMPTY_STATE            |
  +-------------+--------------------------------+
  | 134         | SAPLING_VERIFY_UPDATE          |
  +-------------+--------------------------------+
  | 135         | ticket                         |
  +-------------+--------------------------------+
  | 136         | TICKET                         |
  +-------------+--------------------------------+
  | 137         | READ_TICKET                    |
  +-------------+--------------------------------+
  | 138         | SPLIT_TICKET                   |
  +-------------+--------------------------------+
  | 139         | JOIN_TICKETS                   |
  +-------------+--------------------------------+
  | 140         | GET_AND_UPDATE                 |
  +-------------+--------------------------------+
  | 141         | chest                          |
  +-------------+--------------------------------+
  | 142         | chest_key                      |
  +-------------+--------------------------------+
  | 143         | OPEN_CHEST                     |
  +-------------+--------------------------------+
  | 144         | VIEW                           |
  +-------------+--------------------------------+
  | 145         | view                           |
  +-------------+--------------------------------+
  | 146         | constant                       |
  +-------------+--------------------------------+
  | 147         | SUB_MUTEZ                      |
  +-------------+--------------------------------+
  | 148         | tx_rollup_l2_address           |
  +-------------+--------------------------------+
  | 149         | MIN_BLOCK_TIME                 |
  +-------------+--------------------------------+
  | 150         | sapling_transaction            |
  +-------------+--------------------------------+

  

GET ../<block_id>/context/big_maps/<big_map_id>/<script_expr>

Access the value associated with a key in a big map.

  { /* Int */
    "int": $bignum }
  || { /* String */
       "string": $unistring }
  || { /* Bytes */
       "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
  || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
  /* Sequence */
  || { /* Prim__generic
          Generic primitive (any number of args with or without annotations) */
       "prim": $013-PtJakart.michelson.v1.primitives,
       "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
       "annots"?: [ string ... ] }
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------------------+-------------------------------------------------+
  | Name            | Size                 | Contents                                        |
  +=================+======================+=================================================+
  | Unnamed field 0 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------+----------------------+-------------------------------------------------+


  Z.t
  ***

  A variable-length sequence of bytes encoding a Zarith integer. 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). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | Z.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  micheline.013-PtJakart.michelson_v1.expression (Determined from data, 8-bit tag)
  ********************************************************************************

  Int (tag 0)
  ===========

  +------+----------------------+------------------------+
  | Name | Size                 | Contents               |
  +======+======================+========================+
  | Tag  | 1 byte               | unsigned 8-bit integer |
  +------+----------------------+------------------------+
  | int  | Determined from data | $Z.t                   |
  +------+----------------------+------------------------+


  String (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | string                | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Sequence (tag 2)
  ================

  +-----------------------+----------+-------------------------------------------------------------+
  | Name                  | Size     | Contents                                                    |
  +=======================+==========+=============================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
  +-----------------------+----------+-------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
  +-----------------------+----------+-------------------------------------------------------------+
  | Unnamed field 0       | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------------+----------+-------------------------------------------------------------+


  Prim__no_args__no_annots (tag 3)
  ================================

  +------+--------+-------------------------------------------------------------------------------------------+
  | Name | Size   | Contents                                                                                  |
  +======+========+===========================================================================================+
  | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
  +------+--------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+--------+-------------------------------------------------------------------------------------------+


  Prim__no_args__some_annots (tag 4)
  ==================================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__no_annots (tag 5)
  ==============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__some_annots (tag 6)
  ================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg                   | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__no_annots (tag 7)
  ===============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__some_annots (tag 8)
  =================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__generic (tag 9)
  =====================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | args                  | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression                               |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Bytes (tag 10)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | bytes                 | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  013-PtJakart.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
  ***************************************************************************

  +-------------+--------------------------------+
  | Case number | Encoded string                 |
  +=============+================================+
  | 0           | parameter                      |
  +-------------+--------------------------------+
  | 1           | storage                        |
  +-------------+--------------------------------+
  | 2           | code                           |
  +-------------+--------------------------------+
  | 3           | False                          |
  +-------------+--------------------------------+
  | 4           | Elt                            |
  +-------------+--------------------------------+
  | 5           | Left                           |
  +-------------+--------------------------------+
  | 6           | None                           |
  +-------------+--------------------------------+
  | 7           | Pair                           |
  +-------------+--------------------------------+
  | 8           | Right                          |
  +-------------+--------------------------------+
  | 9           | Some                           |
  +-------------+--------------------------------+
  | 10          | True                           |
  +-------------+--------------------------------+
  | 11          | Unit                           |
  +-------------+--------------------------------+
  | 12          | PACK                           |
  +-------------+--------------------------------+
  | 13          | UNPACK                         |
  +-------------+--------------------------------+
  | 14          | BLAKE2B                        |
  +-------------+--------------------------------+
  | 15          | SHA256                         |
  +-------------+--------------------------------+
  | 16          | SHA512                         |
  +-------------+--------------------------------+
  | 17          | ABS                            |
  +-------------+--------------------------------+
  | 18          | ADD                            |
  +-------------+--------------------------------+
  | 19          | AMOUNT                         |
  +-------------+--------------------------------+
  | 20          | AND                            |
  +-------------+--------------------------------+
  | 21          | BALANCE                        |
  +-------------+--------------------------------+
  | 22          | CAR                            |
  +-------------+--------------------------------+
  | 23          | CDR                            |
  +-------------+--------------------------------+
  | 24          | CHECK_SIGNATURE                |
  +-------------+--------------------------------+
  | 25          | COMPARE                        |
  +-------------+--------------------------------+
  | 26          | CONCAT                         |
  +-------------+--------------------------------+
  | 27          | CONS                           |
  +-------------+--------------------------------+
  | 28          | CREATE_ACCOUNT                 |
  +-------------+--------------------------------+
  | 29          | CREATE_CONTRACT                |
  +-------------+--------------------------------+
  | 30          | IMPLICIT_ACCOUNT               |
  +-------------+--------------------------------+
  | 31          | DIP                            |
  +-------------+--------------------------------+
  | 32          | DROP                           |
  +-------------+--------------------------------+
  | 33          | DUP                            |
  +-------------+--------------------------------+
  | 34          | EDIV                           |
  +-------------+--------------------------------+
  | 35          | EMPTY_MAP                      |
  +-------------+--------------------------------+
  | 36          | EMPTY_SET                      |
  +-------------+--------------------------------+
  | 37          | EQ                             |
  +-------------+--------------------------------+
  | 38          | EXEC                           |
  +-------------+--------------------------------+
  | 39          | FAILWITH                       |
  +-------------+--------------------------------+
  | 40          | GE                             |
  +-------------+--------------------------------+
  | 41          | GET                            |
  +-------------+--------------------------------+
  | 42          | GT                             |
  +-------------+--------------------------------+
  | 43          | HASH_KEY                       |
  +-------------+--------------------------------+
  | 44          | IF                             |
  +-------------+--------------------------------+
  | 45          | IF_CONS                        |
  +-------------+--------------------------------+
  | 46          | IF_LEFT                        |
  +-------------+--------------------------------+
  | 47          | IF_NONE                        |
  +-------------+--------------------------------+
  | 48          | INT                            |
  +-------------+--------------------------------+
  | 49          | LAMBDA                         |
  +-------------+--------------------------------+
  | 50          | LE                             |
  +-------------+--------------------------------+
  | 51          | LEFT                           |
  +-------------+--------------------------------+
  | 52          | LOOP                           |
  +-------------+--------------------------------+
  | 53          | LSL                            |
  +-------------+--------------------------------+
  | 54          | LSR                            |
  +-------------+--------------------------------+
  | 55          | LT                             |
  +-------------+--------------------------------+
  | 56          | MAP                            |
  +-------------+--------------------------------+
  | 57          | MEM                            |
  +-------------+--------------------------------+
  | 58          | MUL                            |
  +-------------+--------------------------------+
  | 59          | NEG                            |
  +-------------+--------------------------------+
  | 60          | NEQ                            |
  +-------------+--------------------------------+
  | 61          | NIL                            |
  +-------------+--------------------------------+
  | 62          | NONE                           |
  +-------------+--------------------------------+
  | 63          | NOT                            |
  +-------------+--------------------------------+
  | 64          | NOW                            |
  +-------------+--------------------------------+
  | 65          | OR                             |
  +-------------+--------------------------------+
  | 66          | PAIR                           |
  +-------------+--------------------------------+
  | 67          | PUSH                           |
  +-------------+--------------------------------+
  | 68          | RIGHT                          |
  +-------------+--------------------------------+
  | 69          | SIZE                           |
  +-------------+--------------------------------+
  | 70          | SOME                           |
  +-------------+--------------------------------+
  | 71          | SOURCE                         |
  +-------------+--------------------------------+
  | 72          | SENDER                         |
  +-------------+--------------------------------+
  | 73          | SELF                           |
  +-------------+--------------------------------+
  | 74          | STEPS_TO_QUOTA                 |
  +-------------+--------------------------------+
  | 75          | SUB                            |
  +-------------+--------------------------------+
  | 76          | SWAP                           |
  +-------------+--------------------------------+
  | 77          | TRANSFER_TOKENS                |
  +-------------+--------------------------------+
  | 78          | SET_DELEGATE                   |
  +-------------+--------------------------------+
  | 79          | UNIT                           |
  +-------------+--------------------------------+
  | 80          | UPDATE                         |
  +-------------+--------------------------------+
  | 81          | XOR                            |
  +-------------+--------------------------------+
  | 82          | ITER                           |
  +-------------+--------------------------------+
  | 83          | LOOP_LEFT                      |
  +-------------+--------------------------------+
  | 84          | ADDRESS                        |
  +-------------+--------------------------------+
  | 85          | CONTRACT                       |
  +-------------+--------------------------------+
  | 86          | ISNAT                          |
  +-------------+--------------------------------+
  | 87          | CAST                           |
  +-------------+--------------------------------+
  | 88          | RENAME                         |
  +-------------+--------------------------------+
  | 89          | bool                           |
  +-------------+--------------------------------+
  | 90          | contract                       |
  +-------------+--------------------------------+
  | 91          | int                            |
  +-------------+--------------------------------+
  | 92          | key                            |
  +-------------+--------------------------------+
  | 93          | key_hash                       |
  +-------------+--------------------------------+
  | 94          | lambda                         |
  +-------------+--------------------------------+
  | 95          | list                           |
  +-------------+--------------------------------+
  | 96          | map                            |
  +-------------+--------------------------------+
  | 97          | big_map                        |
  +-------------+--------------------------------+
  | 98          | nat                            |
  +-------------+--------------------------------+
  | 99          | option                         |
  +-------------+--------------------------------+
  | 100         | or                             |
  +-------------+--------------------------------+
  | 101         | pair                           |
  +-------------+--------------------------------+
  | 102         | set                            |
  +-------------+--------------------------------+
  | 103         | signature                      |
  +-------------+--------------------------------+
  | 104         | string                         |
  +-------------+--------------------------------+
  | 105         | bytes                          |
  +-------------+--------------------------------+
  | 106         | mutez                          |
  +-------------+--------------------------------+
  | 107         | timestamp                      |
  +-------------+--------------------------------+
  | 108         | unit                           |
  +-------------+--------------------------------+
  | 109         | operation                      |
  +-------------+--------------------------------+
  | 110         | address                        |
  +-------------+--------------------------------+
  | 111         | SLICE                          |
  +-------------+--------------------------------+
  | 112         | DIG                            |
  +-------------+--------------------------------+
  | 113         | DUG                            |
  +-------------+--------------------------------+
  | 114         | EMPTY_BIG_MAP                  |
  +-------------+--------------------------------+
  | 115         | APPLY                          |
  +-------------+--------------------------------+
  | 116         | chain_id                       |
  +-------------+--------------------------------+
  | 117         | CHAIN_ID                       |
  +-------------+--------------------------------+
  | 118         | LEVEL                          |
  +-------------+--------------------------------+
  | 119         | SELF_ADDRESS                   |
  +-------------+--------------------------------+
  | 120         | never                          |
  +-------------+--------------------------------+
  | 121         | NEVER                          |
  +-------------+--------------------------------+
  | 122         | UNPAIR                         |
  +-------------+--------------------------------+
  | 123         | VOTING_POWER                   |
  +-------------+--------------------------------+
  | 124         | TOTAL_VOTING_POWER             |
  +-------------+--------------------------------+
  | 125         | KECCAK                         |
  +-------------+--------------------------------+
  | 126         | SHA3                           |
  +-------------+--------------------------------+
  | 127         | PAIRING_CHECK                  |
  +-------------+--------------------------------+
  | 128         | bls12_381_g1                   |
  +-------------+--------------------------------+
  | 129         | bls12_381_g2                   |
  +-------------+--------------------------------+
  | 130         | bls12_381_fr                   |
  +-------------+--------------------------------+
  | 131         | sapling_state                  |
  +-------------+--------------------------------+
  | 132         | sapling_transaction_deprecated |
  +-------------+--------------------------------+
  | 133         | SAPLING_EMPTY_STATE            |
  +-------------+--------------------------------+
  | 134         | SAPLING_VERIFY_UPDATE          |
  +-------------+--------------------------------+
  | 135         | ticket                         |
  +-------------+--------------------------------+
  | 136         | TICKET                         |
  +-------------+--------------------------------+
  | 137         | READ_TICKET                    |
  +-------------+--------------------------------+
  | 138         | SPLIT_TICKET                   |
  +-------------+--------------------------------+
  | 139         | JOIN_TICKETS                   |
  +-------------+--------------------------------+
  | 140         | GET_AND_UPDATE                 |
  +-------------+--------------------------------+
  | 141         | chest                          |
  +-------------+--------------------------------+
  | 142         | chest_key                      |
  +-------------+--------------------------------+
  | 143         | OPEN_CHEST                     |
  +-------------+--------------------------------+
  | 144         | VIEW                           |
  +-------------+--------------------------------+
  | 145         | view                           |
  +-------------+--------------------------------+
  | 146         | constant                       |
  +-------------+--------------------------------+
  | 147         | SUB_MUTEZ                      |
  +-------------+--------------------------------+
  | 148         | tx_rollup_l2_address           |
  +-------------+--------------------------------+
  | 149         | MIN_BLOCK_TIME                 |
  +-------------+--------------------------------+
  | 150         | sapling_transaction            |
  +-------------+--------------------------------+

  

GET ../<block_id>/context/cache/contracts/all

Return the list of cached contracts

  [ [ $013-PtJakart.contract_id, integer ∈ [-2^30, 2^30] ] ... ]
  $013-PtJakart.contract_id:
    /* A contract handle
       A contract notation as given to an RPC or inside scripts. Can be a
       base58 implicit contract hash or a base58 originated contract hash. */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_0        |
  +-----------------------+----------+-------------------------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+


  013-PtJakart.contract_id (22 bytes, 8-bit tag)
  **********************************************

  Implicit (tag 0)
  ================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
  +---------------------------+----------+------------------------+


  Originated (tag 1)
  ==================

  +---------------+----------+------------------------+
  | Name          | Size     | Contents               |
  +===============+==========+========================+
  | Tag           | 1 byte   | unsigned 8-bit integer |
  +---------------+----------+------------------------+
  | Contract_hash | 20 bytes | bytes                  |
  +---------------+----------+------------------------+
  | padding       | 1 byte   | padding                |
  +---------------+----------+------------------------+


  X_0
  ***

  +-----------------+----------+--------------------------------------------------------------+
  | Name            | Size     | Contents                                                     |
  +=================+==========+==============================================================+
  | Unnamed field 0 | 22 bytes | $013-PtJakart.contract_id                                    |
  +-----------------+----------+--------------------------------------------------------------+
  | Unnamed field 1 | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +-----------------+----------+--------------------------------------------------------------+

  

POST ../<block_id>/context/cache/contracts/rank

Return the number of cached contracts older than the provided contract

  $unistring
  /* A contract handle
     A contract notation as given to an RPC or inside scripts. Can be a
     base58 implicit contract hash or a base58 originated contract hash. */
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------+----------+
  | Name            | Size     | Contents |
  +=================+==========+==========+
  | Unnamed field 0 | 22 bytes | $X_0     |
  +-----------------+----------+----------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+


  X_0 (22 bytes, 8-bit tag)
  *************************

  Implicit (tag 0)
  ================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
  +---------------------------+----------+------------------------+


  Originated (tag 1)
  ==================

  +---------------+----------+------------------------+
  | Name          | Size     | Contents               |
  +===============+==========+========================+
  | Tag           | 1 byte   | unsigned 8-bit integer |
  +---------------+----------+------------------------+
  | Contract_hash | 20 bytes | bytes                  |
  +---------------+----------+------------------------+
  | padding       | 1 byte   | padding                |
  +---------------+----------+------------------------+

  
  integer ∈ [-2^30, 2^30] /* Some */ || null /* None */
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_0     |
  +-----------------+----------------------+----------+


  X_0 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +-----------------+---------+--------------------------------------------------------------+
  | Name            | Size    | Contents                                                     |
  +=================+=========+==============================================================+
  | Tag             | 1 byte  | unsigned 8-bit integer                                       |
  +-----------------+---------+--------------------------------------------------------------+
  | Unnamed field 0 | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +-----------------+---------+--------------------------------------------------------------+

  

GET ../<block_id>/context/cache/contracts/size

Return the size of the contract cache

  integer ∈ [-2^30, 2^30]
  +-----------------+---------+--------------------------------------------------------------+
  | Name            | Size    | Contents                                                     |
  +=================+=========+==============================================================+
  | Unnamed field 0 | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +-----------------+---------+--------------------------------------------------------------+


  

GET ../<block_id>/context/cache/contracts/size_limit

Return the size limit of the contract cache

  integer ∈ [-2^30, 2^30]
  +-----------------+---------+--------------------------------------------------------------+
  | Name            | Size    | Contents                                                     |
  +=================+=========+==============================================================+
  | Unnamed field 0 | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +-----------------+---------+--------------------------------------------------------------+


  

GET ../<block_id>/context/constants

All constants

  { "proof_of_work_nonce_size": integer ∈ [0, 255],
    "nonce_length": integer ∈ [0, 255],
    "max_anon_ops_per_block": integer ∈ [0, 255],
    "max_operation_data_length": integer ∈ [-2^30, 2^30],
    "max_proposals_per_delegate": integer ∈ [0, 255],
    "max_micheline_node_count": integer ∈ [-2^30, 2^30],
    "max_micheline_bytes_limit": integer ∈ [-2^30, 2^30],
    "max_allowed_global_constants_depth": integer ∈ [-2^30, 2^30],
    "cache_layout_size": integer ∈ [0, 255],
    "michelson_maximum_type_size": integer ∈ [0, 2^16-1],
    "preserved_cycles": integer ∈ [0, 255],
    "blocks_per_cycle": integer ∈ [-2^31-1, 2^31],
    "blocks_per_commitment": integer ∈ [-2^31-1, 2^31],
    "blocks_per_stake_snapshot": integer ∈ [-2^31-1, 2^31],
    "cycles_per_voting_period": integer ∈ [-2^31-1, 2^31],
    "hard_gas_limit_per_operation": $bignum,
    "hard_gas_limit_per_block": $bignum,
    "proof_of_work_threshold": $int64,
    "tokens_per_roll": $013-PtJakart.mutez,
    "seed_nonce_revelation_tip": $013-PtJakart.mutez,
    "origination_size": integer ∈ [-2^30, 2^30],
    "baking_reward_fixed_portion": $013-PtJakart.mutez,
    "baking_reward_bonus_per_slot": $013-PtJakart.mutez,
    "endorsing_reward_per_slot": $013-PtJakart.mutez,
    "cost_per_byte": $013-PtJakart.mutez,
    "hard_storage_limit_per_operation": $bignum,
    "quorum_min": integer ∈ [-2^31-1, 2^31],
    "quorum_max": integer ∈ [-2^31-1, 2^31],
    "min_proposal_quorum": integer ∈ [-2^31-1, 2^31],
    "liquidity_baking_subsidy": $013-PtJakart.mutez,
    "liquidity_baking_sunset_level": integer ∈ [-2^31-1, 2^31],
    "liquidity_baking_toggle_ema_threshold": integer ∈ [-2^31-1, 2^31],
    "max_operations_time_to_live": integer ∈ [-2^15, 2^15-1],
    "minimal_block_delay": $int64,
    "delay_increment_per_round": $int64,
    "consensus_committee_size": integer ∈ [-2^30, 2^30],
    "consensus_threshold": integer ∈ [-2^30, 2^30],
    "minimal_participation_ratio":
      { "numerator": integer ∈ [0, 2^16-1],
        "denominator": integer ∈ [0, 2^16-1] },
    "max_slashing_period": integer ∈ [-2^30, 2^30],
    "frozen_deposits_percentage": integer ∈ [-2^30, 2^30],
    "double_baking_punishment": $013-PtJakart.mutez,
    "ratio_of_frozen_deposits_slashed_per_double_endorsement":
      { "numerator": integer ∈ [0, 2^16-1],
        "denominator": integer ∈ [0, 2^16-1] },
    "initial_seed"?: $random,
    "cache_script_size": integer ∈ [-2^30, 2^30],
    "cache_stake_distribution_cycles": integer ∈ [-128, 127],
    "cache_sampler_state_cycles": integer ∈ [-128, 127],
    "tx_rollup_enable": boolean,
    "tx_rollup_origination_size": integer ∈ [-2^30, 2^30],
    "tx_rollup_hard_size_limit_per_inbox": integer ∈ [-2^30, 2^30],
    "tx_rollup_hard_size_limit_per_message": integer ∈ [-2^30, 2^30],
    "tx_rollup_max_withdrawals_per_batch": integer ∈ [-2^30, 2^30],
    "tx_rollup_commitment_bond": $013-PtJakart.mutez,
    "tx_rollup_finality_period": integer ∈ [-2^30, 2^30],
    "tx_rollup_withdraw_period": integer ∈ [-2^30, 2^30],
    "tx_rollup_max_inboxes_count": integer ∈ [-2^30, 2^30],
    "tx_rollup_max_messages_per_inbox": integer ∈ [-2^30, 2^30],
    "tx_rollup_max_commitments_count": integer ∈ [-2^30, 2^30],
    "tx_rollup_cost_per_byte_ema_factor": integer ∈ [-2^30, 2^30],
    "tx_rollup_max_ticket_payload_size": integer ∈ [-2^30, 2^30],
    "tx_rollup_rejection_max_proof_size": integer ∈ [-2^30, 2^30],
    "tx_rollup_sunset_level": integer ∈ [-2^31-1, 2^31],
    "sc_rollup_enable": boolean,
    "sc_rollup_origination_size": integer ∈ [-2^30, 2^30],
    "sc_rollup_challenge_window_in_blocks": integer ∈ [-2^30, 2^30],
    "sc_rollup_max_available_messages": integer ∈ [-2^30, 2^30] }
  $013-PtJakart.mutez: $positive_bignum
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $int64:
    /* 64 bit integers
       Decimal representation of 64 bit integers */
    string
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  $random:
    /* A random generation state (Base58Check-encoded) */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | Name                                                    | Size                 | Contents                                                     |
  +=========================================================+======================+==============================================================+
  | proof_of_work_nonce_size                                | 1 byte               | unsigned 8-bit integer                                       |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | nonce_length                                            | 1 byte               | unsigned 8-bit integer                                       |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | max_anon_ops_per_block                                  | 1 byte               | unsigned 8-bit integer                                       |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | max_operation_data_length                               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | max_proposals_per_delegate                              | 1 byte               | unsigned 8-bit integer                                       |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | max_micheline_node_count                                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | max_micheline_bytes_limit                               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | max_allowed_global_constants_depth                      | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | cache_layout_size                                       | 1 byte               | unsigned 8-bit integer                                       |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | michelson_maximum_type_size                             | 2 bytes              | unsigned 16-bit integer                                      |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | preserved_cycles                                        | 1 byte               | unsigned 8-bit integer                                       |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | blocks_per_cycle                                        | 4 bytes              | signed 32-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | blocks_per_commitment                                   | 4 bytes              | signed 32-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | blocks_per_stake_snapshot                               | 4 bytes              | signed 32-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | cycles_per_voting_period                                | 4 bytes              | signed 32-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | hard_gas_limit_per_operation                            | Determined from data | $Z.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | hard_gas_limit_per_block                                | Determined from data | $Z.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | proof_of_work_threshold                                 | 8 bytes              | signed 64-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tokens_per_roll                                         | Determined from data | $N.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | seed_nonce_revelation_tip                               | Determined from data | $N.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | origination_size                                        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | baking_reward_fixed_portion                             | Determined from data | $N.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | baking_reward_bonus_per_slot                            | Determined from data | $N.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | endorsing_reward_per_slot                               | Determined from data | $N.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | cost_per_byte                                           | Determined from data | $N.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | hard_storage_limit_per_operation                        | Determined from data | $Z.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | quorum_min                                              | 4 bytes              | signed 32-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | quorum_max                                              | 4 bytes              | signed 32-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | min_proposal_quorum                                     | 4 bytes              | signed 32-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | liquidity_baking_subsidy                                | Determined from data | $N.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | liquidity_baking_sunset_level                           | 4 bytes              | signed 32-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | liquidity_baking_toggle_ema_threshold                   | 4 bytes              | signed 32-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | max_operations_time_to_live                             | 2 bytes              | signed 16-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | minimal_block_delay                                     | 8 bytes              | signed 64-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | delay_increment_per_round                               | 8 bytes              | signed 64-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | consensus_committee_size                                | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | consensus_threshold                                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | minimal_participation_ratio                             | 4 bytes              | $X_1                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | max_slashing_period                                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | frozen_deposits_percentage                              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | double_baking_punishment                                | Determined from data | $N.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | ratio_of_frozen_deposits_slashed_per_double_endorsement | 4 bytes              | $X_1                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | ? presence of field "initial_seed"                      | 1 byte               | boolean (0 for false, 255 for true)                          |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | initial_seed                                            | 32 bytes             | bytes                                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | cache_script_size                                       | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | cache_stake_distribution_cycles                         | 1 byte               | signed 8-bit integer                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | cache_sampler_state_cycles                              | 1 byte               | signed 8-bit integer                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_enable                                        | 1 byte               | boolean (0 for false, 255 for true)                          |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_origination_size                              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_hard_size_limit_per_inbox                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_hard_size_limit_per_message                   | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_max_withdrawals_per_batch                     | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_commitment_bond                               | Determined from data | $N.t                                                         |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_finality_period                               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_withdraw_period                               | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_max_inboxes_count                             | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_max_messages_per_inbox                        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_max_commitments_count                         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_cost_per_byte_ema_factor                      | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_max_ticket_payload_size                       | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_rejection_max_proof_size                      | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup_sunset_level                                  | 4 bytes              | signed 32-bit integer                                        |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | sc_rollup_enable                                        | 1 byte               | boolean (0 for false, 255 for true)                          |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | sc_rollup_origination_size                              | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | sc_rollup_challenge_window_in_blocks                    | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+
  | sc_rollup_max_available_messages                        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +---------------------------------------------------------+----------------------+--------------------------------------------------------------+


  Z.t
  ***

  A variable-length sequence of bytes encoding a Zarith integer. 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). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | Z.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  X_1
  ***

  +-------------+---------+-------------------------+
  | Name        | Size    | Contents                |
  +=============+=========+=========================+
  | numerator   | 2 bytes | unsigned 16-bit integer |
  +-------------+---------+-------------------------+
  | denominator | 2 bytes | unsigned 16-bit integer |
  +-------------+---------+-------------------------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/constants/errors

Schema for all the RPC errors from this protocol version

  any
  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  

GET ../<block_id>/context/contracts

All existing contracts (including non-empty default contracts).

  [ $013-PtJakart.contract_id ... ]
  $013-PtJakart.contract_id:
    /* A contract handle
       A contract notation as given to an RPC or inside scripts. Can be a
       base58 implicit contract hash or a base58 originated contract hash. */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------------+----------+---------------------------------------+
  | Name                  | Size     | Contents                              |
  +=======================+==========+=======================================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer               |
  +-----------------------+----------+---------------------------------------+
  | Unnamed field 0       | Variable | sequence of $013-PtJakart.contract_id |
  +-----------------------+----------+---------------------------------------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+


  013-PtJakart.contract_id (22 bytes, 8-bit tag)
  **********************************************

  Implicit (tag 0)
  ================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
  +---------------------------+----------+------------------------+


  Originated (tag 1)
  ==================

  +---------------+----------+------------------------+
  | Name          | Size     | Contents               |
  +===============+==========+========================+
  | Tag           | 1 byte   | unsigned 8-bit integer |
  +---------------+----------+------------------------+
  | Contract_hash | 20 bytes | bytes                  |
  +---------------+----------+------------------------+
  | padding       | 1 byte   | padding                |
  +---------------+----------+------------------------+

  

GET ../<block_id>/context/contracts/<contract_id>?[normalize_types]

Access the complete status of a contract.

Optional query arguments :

  • normalize_types : Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script.

  { "balance": $013-PtJakart.mutez,
    "delegate"?: $Signature.Public_key_hash,
    "script"?: $013-PtJakart.scripted.contracts,
    "counter"?: $positive_bignum }
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $013-PtJakart.mutez: $positive_bignum
  $013-PtJakart.scripted.contracts:
    { "code":
        { /* Int */
          "int": $bignum }
        || { /* String */
             "string": $unistring }
        || { /* Bytes */
             "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
        || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
        /* Sequence */
        || { /* Prim__generic
                Generic primitive (any number of args with or without
                annotations) */
             "prim": $013-PtJakart.michelson.v1.primitives,
             "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
             "annots"?: [ string ... ] },
      "storage":
        { /* Int */
          "int": $bignum }
        || { /* String */
             "string": $unistring }
        || { /* Bytes */
             "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
        || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
        /* Sequence */
        || { /* Prim__generic
                Generic primitive (any number of args with or without
                annotations) */
             "prim": $013-PtJakart.michelson.v1.primitives,
             "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
             "annots"?: [ string ... ] } }
  $Signature.Public_key_hash:
    /* A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded) */
    $unistring
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +--------------------------------+----------------------+-------------------------------------+
  | Name                           | Size                 | Contents                            |
  +================================+======================+=====================================+
  | balance                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------+----------------------+-------------------------------------+
  | delegate                       | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | ? presence of field "script"   | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------+----------------------+-------------------------------------+
  | script                         | Determined from data | $013-PtJakart.scripted.contracts    |
  +--------------------------------+----------------------+-------------------------------------+
  | ? presence of field "counter"  | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------+----------------------+-------------------------------------+
  | counter                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+


  013-PtJakart.scripted.contracts
  *******************************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | code                  | Variable | bytes                   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | storage               | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/contracts/<contract_id>/balance

Access the spendable balance of a contract, excluding frozen bonds.

  $positive_bignum
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $N.t     |
  +-----------------+----------------------+----------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/contracts/<contract_id>/balance_and_frozen_bonds

Access the sum of the spendable balance and frozen bonds of a contract. This sum is part of the contract's stake, and it is exactly the contract's stake if the contract is not a delegate.

  $positive_bignum
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $N.t     |
  +-----------------+----------------------+----------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

POST ../<block_id>/context/contracts/<contract_id>/big_map_get

Access the value associated with a key in a big map of the contract (deprecated).

  { "key":
      { /* Int */
        "int": $bignum }
      || { /* String */
           "string": $unistring }
      || { /* Bytes */
           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
      || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
      /* Sequence */
      || { /* Prim__generic
              Generic primitive (any number of args with or without
              annotations) */
           "prim": $013-PtJakart.michelson.v1.primitives,
           "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
           "annots"?: [ string ... ] },
    "type":
      { /* Int */
        "int": $bignum }
      || { /* String */
           "string": $unistring }
      || { /* Bytes */
           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
      || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
      /* Sequence */
      || { /* Prim__generic
              Generic primitive (any number of args with or without
              annotations) */
           "prim": $013-PtJakart.michelson.v1.primitives,
           "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
           "annots"?: [ string ... ] } }
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | key  | Determined from data | $X_8     |
  +------+----------------------+----------+
  | type | Determined from data | $X_8     |
  +------+----------------------+----------+


  Z.t
  ***

  A variable-length sequence of bytes encoding a Zarith integer. 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). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | Z.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  013-PtJakart.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
  ***************************************************************************

  +-------------+--------------------------------+
  | Case number | Encoded string                 |
  +=============+================================+
  | 0           | parameter                      |
  +-------------+--------------------------------+
  | 1           | storage                        |
  +-------------+--------------------------------+
  | 2           | code                           |
  +-------------+--------------------------------+
  | 3           | False                          |
  +-------------+--------------------------------+
  | 4           | Elt                            |
  +-------------+--------------------------------+
  | 5           | Left                           |
  +-------------+--------------------------------+
  | 6           | None                           |
  +-------------+--------------------------------+
  | 7           | Pair                           |
  +-------------+--------------------------------+
  | 8           | Right                          |
  +-------------+--------------------------------+
  | 9           | Some                           |
  +-------------+--------------------------------+
  | 10          | True                           |
  +-------------+--------------------------------+
  | 11          | Unit                           |
  +-------------+--------------------------------+
  | 12          | PACK                           |
  +-------------+--------------------------------+
  | 13          | UNPACK                         |
  +-------------+--------------------------------+
  | 14          | BLAKE2B                        |
  +-------------+--------------------------------+
  | 15          | SHA256                         |
  +-------------+--------------------------------+
  | 16          | SHA512                         |
  +-------------+--------------------------------+
  | 17          | ABS                            |
  +-------------+--------------------------------+
  | 18          | ADD                            |
  +-------------+--------------------------------+
  | 19          | AMOUNT                         |
  +-------------+--------------------------------+
  | 20          | AND                            |
  +-------------+--------------------------------+
  | 21          | BALANCE                        |
  +-------------+--------------------------------+
  | 22          | CAR                            |
  +-------------+--------------------------------+
  | 23          | CDR                            |
  +-------------+--------------------------------+
  | 24          | CHECK_SIGNATURE                |
  +-------------+--------------------------------+
  | 25          | COMPARE                        |
  +-------------+--------------------------------+
  | 26          | CONCAT                         |
  +-------------+--------------------------------+
  | 27          | CONS                           |
  +-------------+--------------------------------+
  | 28          | CREATE_ACCOUNT                 |
  +-------------+--------------------------------+
  | 29          | CREATE_CONTRACT                |
  +-------------+--------------------------------+
  | 30          | IMPLICIT_ACCOUNT               |
  +-------------+--------------------------------+
  | 31          | DIP                            |
  +-------------+--------------------------------+
  | 32          | DROP                           |
  +-------------+--------------------------------+
  | 33          | DUP                            |
  +-------------+--------------------------------+
  | 34          | EDIV                           |
  +-------------+--------------------------------+
  | 35          | EMPTY_MAP                      |
  +-------------+--------------------------------+
  | 36          | EMPTY_SET                      |
  +-------------+--------------------------------+
  | 37          | EQ                             |
  +-------------+--------------------------------+
  | 38          | EXEC                           |
  +-------------+--------------------------------+
  | 39          | FAILWITH                       |
  +-------------+--------------------------------+
  | 40          | GE                             |
  +-------------+--------------------------------+
  | 41          | GET                            |
  +-------------+--------------------------------+
  | 42          | GT                             |
  +-------------+--------------------------------+
  | 43          | HASH_KEY                       |
  +-------------+--------------------------------+
  | 44          | IF                             |
  +-------------+--------------------------------+
  | 45          | IF_CONS                        |
  +-------------+--------------------------------+
  | 46          | IF_LEFT                        |
  +-------------+--------------------------------+
  | 47          | IF_NONE                        |
  +-------------+--------------------------------+
  | 48          | INT                            |
  +-------------+--------------------------------+
  | 49          | LAMBDA                         |
  +-------------+--------------------------------+
  | 50          | LE                             |
  +-------------+--------------------------------+
  | 51          | LEFT                           |
  +-------------+--------------------------------+
  | 52          | LOOP                           |
  +-------------+--------------------------------+
  | 53          | LSL                            |
  +-------------+--------------------------------+
  | 54          | LSR                            |
  +-------------+--------------------------------+
  | 55          | LT                             |
  +-------------+--------------------------------+
  | 56          | MAP                            |
  +-------------+--------------------------------+
  | 57          | MEM                            |
  +-------------+--------------------------------+
  | 58          | MUL                            |
  +-------------+--------------------------------+
  | 59          | NEG                            |
  +-------------+--------------------------------+
  | 60          | NEQ                            |
  +-------------+--------------------------------+
  | 61          | NIL                            |
  +-------------+--------------------------------+
  | 62          | NONE                           |
  +-------------+--------------------------------+
  | 63          | NOT                            |
  +-------------+--------------------------------+
  | 64          | NOW                            |
  +-------------+--------------------------------+
  | 65          | OR                             |
  +-------------+--------------------------------+
  | 66          | PAIR                           |
  +-------------+--------------------------------+
  | 67          | PUSH                           |
  +-------------+--------------------------------+
  | 68          | RIGHT                          |
  +-------------+--------------------------------+
  | 69          | SIZE                           |
  +-------------+--------------------------------+
  | 70          | SOME                           |
  +-------------+--------------------------------+
  | 71          | SOURCE                         |
  +-------------+--------------------------------+
  | 72          | SENDER                         |
  +-------------+--------------------------------+
  | 73          | SELF                           |
  +-------------+--------------------------------+
  | 74          | STEPS_TO_QUOTA                 |
  +-------------+--------------------------------+
  | 75          | SUB                            |
  +-------------+--------------------------------+
  | 76          | SWAP                           |
  +-------------+--------------------------------+
  | 77          | TRANSFER_TOKENS                |
  +-------------+--------------------------------+
  | 78          | SET_DELEGATE                   |
  +-------------+--------------------------------+
  | 79          | UNIT                           |
  +-------------+--------------------------------+
  | 80          | UPDATE                         |
  +-------------+--------------------------------+
  | 81          | XOR                            |
  +-------------+--------------------------------+
  | 82          | ITER                           |
  +-------------+--------------------------------+
  | 83          | LOOP_LEFT                      |
  +-------------+--------------------------------+
  | 84          | ADDRESS                        |
  +-------------+--------------------------------+
  | 85          | CONTRACT                       |
  +-------------+--------------------------------+
  | 86          | ISNAT                          |
  +-------------+--------------------------------+
  | 87          | CAST                           |
  +-------------+--------------------------------+
  | 88          | RENAME                         |
  +-------------+--------------------------------+
  | 89          | bool                           |
  +-------------+--------------------------------+
  | 90          | contract                       |
  +-------------+--------------------------------+
  | 91          | int                            |
  +-------------+--------------------------------+
  | 92          | key                            |
  +-------------+--------------------------------+
  | 93          | key_hash                       |
  +-------------+--------------------------------+
  | 94          | lambda                         |
  +-------------+--------------------------------+
  | 95          | list                           |
  +-------------+--------------------------------+
  | 96          | map                            |
  +-------------+--------------------------------+
  | 97          | big_map                        |
  +-------------+--------------------------------+
  | 98          | nat                            |
  +-------------+--------------------------------+
  | 99          | option                         |
  +-------------+--------------------------------+
  | 100         | or                             |
  +-------------+--------------------------------+
  | 101         | pair                           |
  +-------------+--------------------------------+
  | 102         | set                            |
  +-------------+--------------------------------+
  | 103         | signature                      |
  +-------------+--------------------------------+
  | 104         | string                         |
  +-------------+--------------------------------+
  | 105         | bytes                          |
  +-------------+--------------------------------+
  | 106         | mutez                          |
  +-------------+--------------------------------+
  | 107         | timestamp                      |
  +-------------+--------------------------------+
  | 108         | unit                           |
  +-------------+--------------------------------+
  | 109         | operation                      |
  +-------------+--------------------------------+
  | 110         | address                        |
  +-------------+--------------------------------+
  | 111         | SLICE                          |
  +-------------+--------------------------------+
  | 112         | DIG                            |
  +-------------+--------------------------------+
  | 113         | DUG                            |
  +-------------+--------------------------------+
  | 114         | EMPTY_BIG_MAP                  |
  +-------------+--------------------------------+
  | 115         | APPLY                          |
  +-------------+--------------------------------+
  | 116         | chain_id                       |
  +-------------+--------------------------------+
  | 117         | CHAIN_ID                       |
  +-------------+--------------------------------+
  | 118         | LEVEL                          |
  +-------------+--------------------------------+
  | 119         | SELF_ADDRESS                   |
  +-------------+--------------------------------+
  | 120         | never                          |
  +-------------+--------------------------------+
  | 121         | NEVER                          |
  +-------------+--------------------------------+
  | 122         | UNPAIR                         |
  +-------------+--------------------------------+
  | 123         | VOTING_POWER                   |
  +-------------+--------------------------------+
  | 124         | TOTAL_VOTING_POWER             |
  +-------------+--------------------------------+
  | 125         | KECCAK                         |
  +-------------+--------------------------------+
  | 126         | SHA3                           |
  +-------------+--------------------------------+
  | 127         | PAIRING_CHECK                  |
  +-------------+--------------------------------+
  | 128         | bls12_381_g1                   |
  +-------------+--------------------------------+
  | 129         | bls12_381_g2                   |
  +-------------+--------------------------------+
  | 130         | bls12_381_fr                   |
  +-------------+--------------------------------+
  | 131         | sapling_state                  |
  +-------------+--------------------------------+
  | 132         | sapling_transaction_deprecated |
  +-------------+--------------------------------+
  | 133         | SAPLING_EMPTY_STATE            |
  +-------------+--------------------------------+
  | 134         | SAPLING_VERIFY_UPDATE          |
  +-------------+--------------------------------+
  | 135         | ticket                         |
  +-------------+--------------------------------+
  | 136         | TICKET                         |
  +-------------+--------------------------------+
  | 137         | READ_TICKET                    |
  +-------------+--------------------------------+
  | 138         | SPLIT_TICKET                   |
  +-------------+--------------------------------+
  | 139         | JOIN_TICKETS                   |
  +-------------+--------------------------------+
  | 140         | GET_AND_UPDATE                 |
  +-------------+--------------------------------+
  | 141         | chest                          |
  +-------------+--------------------------------+
  | 142         | chest_key                      |
  +-------------+--------------------------------+
  | 143         | OPEN_CHEST                     |
  +-------------+--------------------------------+
  | 144         | VIEW                           |
  +-------------+--------------------------------+
  | 145         | view                           |
  +-------------+--------------------------------+
  | 146         | constant                       |
  +-------------+--------------------------------+
  | 147         | SUB_MUTEZ                      |
  +-------------+--------------------------------+
  | 148         | tx_rollup_l2_address           |
  +-------------+--------------------------------+
  | 149         | MIN_BLOCK_TIME                 |
  +-------------+--------------------------------+
  | 150         | sapling_transaction            |
  +-------------+--------------------------------+


  X_8 (Determined from data, 8-bit tag)
  *************************************

  Int (tag 0)
  ===========

  +------+----------------------+------------------------+
  | Name | Size                 | Contents               |
  +======+======================+========================+
  | Tag  | 1 byte               | unsigned 8-bit integer |
  +------+----------------------+------------------------+
  | int  | Determined from data | $Z.t                   |
  +------+----------------------+------------------------+


  String (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | string                | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Sequence (tag 2)
  ================

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_8        |
  +-----------------------+----------+-------------------------+


  Prim__no_args__no_annots (tag 3)
  ================================

  +------+--------+-------------------------------------------------------------------------------------------+
  | Name | Size   | Contents                                                                                  |
  +======+========+===========================================================================================+
  | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
  +------+--------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+--------+-------------------------------------------------------------------------------------------+


  Prim__no_args__some_annots (tag 4)
  ==================================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__no_annots (tag 5)
  ==============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg  | Determined from data | $X_8                                                                                      |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__some_annots (tag 6)
  ================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg                   | Determined from data | $X_8                                                                                      |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__no_annots (tag 7)
  ===============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1 | Determined from data | $X_8                                                                                      |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2 | Determined from data | $X_8                                                                                      |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__some_annots (tag 8)
  =================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1                  | Determined from data | $X_8                                                                                      |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2                  | Determined from data | $X_8                                                                                      |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__generic (tag 9)
  =====================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | args                  | Variable | sequence of $X_8                                                                          |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Bytes (tag 10)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | bytes                 | Variable | bytes                   |
  +-----------------------+----------+-------------------------+

  
  /* Some */
  { /* Int */
    "int": $bignum }
  || { /* String */
       "string": $unistring }
  || { /* Bytes */
       "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
  || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
  /* Sequence */
  || { /* Prim__generic
          Generic primitive (any number of args with or without annotations) */
       "prim": $013-PtJakart.michelson.v1.primitives,
       "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
       "annots"?: [ string ... ] }
  || null
  /* None */
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_9     |
  +-----------------+----------------------+----------+


  X_9 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +-----------------+----------------------+-------------------------------------------------+
  | Name            | Size                 | Contents                                        |
  +=================+======================+=================================================+
  | Tag             | 1 byte               | unsigned 8-bit integer                          |
  +-----------------+----------------------+-------------------------------------------------+
  | Unnamed field 0 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------+----------------------+-------------------------------------------------+


  Z.t
  ***

  A variable-length sequence of bytes encoding a Zarith integer. 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). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | Z.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  micheline.013-PtJakart.michelson_v1.expression (Determined from data, 8-bit tag)
  ********************************************************************************

  Int (tag 0)
  ===========

  +------+----------------------+------------------------+
  | Name | Size                 | Contents               |
  +======+======================+========================+
  | Tag  | 1 byte               | unsigned 8-bit integer |
  +------+----------------------+------------------------+
  | int  | Determined from data | $Z.t                   |
  +------+----------------------+------------------------+


  String (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | string                | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Sequence (tag 2)
  ================

  +-----------------------+----------+-------------------------------------------------------------+
  | Name                  | Size     | Contents                                                    |
  +=======================+==========+=============================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
  +-----------------------+----------+-------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
  +-----------------------+----------+-------------------------------------------------------------+
  | Unnamed field 0       | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------------+----------+-------------------------------------------------------------+


  Prim__no_args__no_annots (tag 3)
  ================================

  +------+--------+-------------------------------------------------------------------------------------------+
  | Name | Size   | Contents                                                                                  |
  +======+========+===========================================================================================+
  | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
  +------+--------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+--------+-------------------------------------------------------------------------------------------+


  Prim__no_args__some_annots (tag 4)
  ==================================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__no_annots (tag 5)
  ==============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__some_annots (tag 6)
  ================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg                   | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__no_annots (tag 7)
  ===============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__some_annots (tag 8)
  =================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__generic (tag 9)
  =====================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | args                  | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression                               |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Bytes (tag 10)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | bytes                 | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  013-PtJakart.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
  ***************************************************************************

  +-------------+--------------------------------+
  | Case number | Encoded string                 |
  +=============+================================+
  | 0           | parameter                      |
  +-------------+--------------------------------+
  | 1           | storage                        |
  +-------------+--------------------------------+
  | 2           | code                           |
  +-------------+--------------------------------+
  | 3           | False                          |
  +-------------+--------------------------------+
  | 4           | Elt                            |
  +-------------+--------------------------------+
  | 5           | Left                           |
  +-------------+--------------------------------+
  | 6           | None                           |
  +-------------+--------------------------------+
  | 7           | Pair                           |
  +-------------+--------------------------------+
  | 8           | Right                          |
  +-------------+--------------------------------+
  | 9           | Some                           |
  +-------------+--------------------------------+
  | 10          | True                           |
  +-------------+--------------------------------+
  | 11          | Unit                           |
  +-------------+--------------------------------+
  | 12          | PACK                           |
  +-------------+--------------------------------+
  | 13          | UNPACK                         |
  +-------------+--------------------------------+
  | 14          | BLAKE2B                        |
  +-------------+--------------------------------+
  | 15          | SHA256                         |
  +-------------+--------------------------------+
  | 16          | SHA512                         |
  +-------------+--------------------------------+
  | 17          | ABS                            |
  +-------------+--------------------------------+
  | 18          | ADD                            |
  +-------------+--------------------------------+
  | 19          | AMOUNT                         |
  +-------------+--------------------------------+
  | 20          | AND                            |
  +-------------+--------------------------------+
  | 21          | BALANCE                        |
  +-------------+--------------------------------+
  | 22          | CAR                            |
  +-------------+--------------------------------+
  | 23          | CDR                            |
  +-------------+--------------------------------+
  | 24          | CHECK_SIGNATURE                |
  +-------------+--------------------------------+
  | 25          | COMPARE                        |
  +-------------+--------------------------------+
  | 26          | CONCAT                         |
  +-------------+--------------------------------+
  | 27          | CONS                           |
  +-------------+--------------------------------+
  | 28          | CREATE_ACCOUNT                 |
  +-------------+--------------------------------+
  | 29          | CREATE_CONTRACT                |
  +-------------+--------------------------------+
  | 30          | IMPLICIT_ACCOUNT               |
  +-------------+--------------------------------+
  | 31          | DIP                            |
  +-------------+--------------------------------+
  | 32          | DROP                           |
  +-------------+--------------------------------+
  | 33          | DUP                            |
  +-------------+--------------------------------+
  | 34          | EDIV                           |
  +-------------+--------------------------------+
  | 35          | EMPTY_MAP                      |
  +-------------+--------------------------------+
  | 36          | EMPTY_SET                      |
  +-------------+--------------------------------+
  | 37          | EQ                             |
  +-------------+--------------------------------+
  | 38          | EXEC                           |
  +-------------+--------------------------------+
  | 39          | FAILWITH                       |
  +-------------+--------------------------------+
  | 40          | GE                             |
  +-------------+--------------------------------+
  | 41          | GET                            |
  +-------------+--------------------------------+
  | 42          | GT                             |
  +-------------+--------------------------------+
  | 43          | HASH_KEY                       |
  +-------------+--------------------------------+
  | 44          | IF                             |
  +-------------+--------------------------------+
  | 45          | IF_CONS                        |
  +-------------+--------------------------------+
  | 46          | IF_LEFT                        |
  +-------------+--------------------------------+
  | 47          | IF_NONE                        |
  +-------------+--------------------------------+
  | 48          | INT                            |
  +-------------+--------------------------------+
  | 49          | LAMBDA                         |
  +-------------+--------------------------------+
  | 50          | LE                             |
  +-------------+--------------------------------+
  | 51          | LEFT                           |
  +-------------+--------------------------------+
  | 52          | LOOP                           |
  +-------------+--------------------------------+
  | 53          | LSL                            |
  +-------------+--------------------------------+
  | 54          | LSR                            |
  +-------------+--------------------------------+
  | 55          | LT                             |
  +-------------+--------------------------------+
  | 56          | MAP                            |
  +-------------+--------------------------------+
  | 57          | MEM                            |
  +-------------+--------------------------------+
  | 58          | MUL                            |
  +-------------+--------------------------------+
  | 59          | NEG                            |
  +-------------+--------------------------------+
  | 60          | NEQ                            |
  +-------------+--------------------------------+
  | 61          | NIL                            |
  +-------------+--------------------------------+
  | 62          | NONE                           |
  +-------------+--------------------------------+
  | 63          | NOT                            |
  +-------------+--------------------------------+
  | 64          | NOW                            |
  +-------------+--------------------------------+
  | 65          | OR                             |
  +-------------+--------------------------------+
  | 66          | PAIR                           |
  +-------------+--------------------------------+
  | 67          | PUSH                           |
  +-------------+--------------------------------+
  | 68          | RIGHT                          |
  +-------------+--------------------------------+
  | 69          | SIZE                           |
  +-------------+--------------------------------+
  | 70          | SOME                           |
  +-------------+--------------------------------+
  | 71          | SOURCE                         |
  +-------------+--------------------------------+
  | 72          | SENDER                         |
  +-------------+--------------------------------+
  | 73          | SELF                           |
  +-------------+--------------------------------+
  | 74          | STEPS_TO_QUOTA                 |
  +-------------+--------------------------------+
  | 75          | SUB                            |
  +-------------+--------------------------------+
  | 76          | SWAP                           |
  +-------------+--------------------------------+
  | 77          | TRANSFER_TOKENS                |
  +-------------+--------------------------------+
  | 78          | SET_DELEGATE                   |
  +-------------+--------------------------------+
  | 79          | UNIT                           |
  +-------------+--------------------------------+
  | 80          | UPDATE                         |
  +-------------+--------------------------------+
  | 81          | XOR                            |
  +-------------+--------------------------------+
  | 82          | ITER                           |
  +-------------+--------------------------------+
  | 83          | LOOP_LEFT                      |
  +-------------+--------------------------------+
  | 84          | ADDRESS                        |
  +-------------+--------------------------------+
  | 85          | CONTRACT                       |
  +-------------+--------------------------------+
  | 86          | ISNAT                          |
  +-------------+--------------------------------+
  | 87          | CAST                           |
  +-------------+--------------------------------+
  | 88          | RENAME                         |
  +-------------+--------------------------------+
  | 89          | bool                           |
  +-------------+--------------------------------+
  | 90          | contract                       |
  +-------------+--------------------------------+
  | 91          | int                            |
  +-------------+--------------------------------+
  | 92          | key                            |
  +-------------+--------------------------------+
  | 93          | key_hash                       |
  +-------------+--------------------------------+
  | 94          | lambda                         |
  +-------------+--------------------------------+
  | 95          | list                           |
  +-------------+--------------------------------+
  | 96          | map                            |
  +-------------+--------------------------------+
  | 97          | big_map                        |
  +-------------+--------------------------------+
  | 98          | nat                            |
  +-------------+--------------------------------+
  | 99          | option                         |
  +-------------+--------------------------------+
  | 100         | or                             |
  +-------------+--------------------------------+
  | 101         | pair                           |
  +-------------+--------------------------------+
  | 102         | set                            |
  +-------------+--------------------------------+
  | 103         | signature                      |
  +-------------+--------------------------------+
  | 104         | string                         |
  +-------------+--------------------------------+
  | 105         | bytes                          |
  +-------------+--------------------------------+
  | 106         | mutez                          |
  +-------------+--------------------------------+
  | 107         | timestamp                      |
  +-------------+--------------------------------+
  | 108         | unit                           |
  +-------------+--------------------------------+
  | 109         | operation                      |
  +-------------+--------------------------------+
  | 110         | address                        |
  +-------------+--------------------------------+
  | 111         | SLICE                          |
  +-------------+--------------------------------+
  | 112         | DIG                            |
  +-------------+--------------------------------+
  | 113         | DUG                            |
  +-------------+--------------------------------+
  | 114         | EMPTY_BIG_MAP                  |
  +-------------+--------------------------------+
  | 115         | APPLY                          |
  +-------------+--------------------------------+
  | 116         | chain_id                       |
  +-------------+--------------------------------+
  | 117         | CHAIN_ID                       |
  +-------------+--------------------------------+
  | 118         | LEVEL                          |
  +-------------+--------------------------------+
  | 119         | SELF_ADDRESS                   |
  +-------------+--------------------------------+
  | 120         | never                          |
  +-------------+--------------------------------+
  | 121         | NEVER                          |
  +-------------+--------------------------------+
  | 122         | UNPAIR                         |
  +-------------+--------------------------------+
  | 123         | VOTING_POWER                   |
  +-------------+--------------------------------+
  | 124         | TOTAL_VOTING_POWER             |
  +-------------+--------------------------------+
  | 125         | KECCAK                         |
  +-------------+--------------------------------+
  | 126         | SHA3                           |
  +-------------+--------------------------------+
  | 127         | PAIRING_CHECK                  |
  +-------------+--------------------------------+
  | 128         | bls12_381_g1                   |
  +-------------+--------------------------------+
  | 129         | bls12_381_g2                   |
  +-------------+--------------------------------+
  | 130         | bls12_381_fr                   |
  +-------------+--------------------------------+
  | 131         | sapling_state                  |
  +-------------+--------------------------------+
  | 132         | sapling_transaction_deprecated |
  +-------------+--------------------------------+
  | 133         | SAPLING_EMPTY_STATE            |
  +-------------+--------------------------------+
  | 134         | SAPLING_VERIFY_UPDATE          |
  +-------------+--------------------------------+
  | 135         | ticket                         |
  +-------------+--------------------------------+
  | 136         | TICKET                         |
  +-------------+--------------------------------+
  | 137         | READ_TICKET                    |
  +-------------+--------------------------------+
  | 138         | SPLIT_TICKET                   |
  +-------------+--------------------------------+
  | 139         | JOIN_TICKETS                   |
  +-------------+--------------------------------+
  | 140         | GET_AND_UPDATE                 |
  +-------------+--------------------------------+
  | 141         | chest                          |
  +-------------+--------------------------------+
  | 142         | chest_key                      |
  +-------------+--------------------------------+
  | 143         | OPEN_CHEST                     |
  +-------------+--------------------------------+
  | 144         | VIEW                           |
  +-------------+--------------------------------+
  | 145         | view                           |
  +-------------+--------------------------------+
  | 146         | constant                       |
  +-------------+--------------------------------+
  | 147         | SUB_MUTEZ                      |
  +-------------+--------------------------------+
  | 148         | tx_rollup_l2_address           |
  +-------------+--------------------------------+
  | 149         | MIN_BLOCK_TIME                 |
  +-------------+--------------------------------+
  | 150         | sapling_transaction            |
  +-------------+--------------------------------+

  

GET ../<block_id>/context/contracts/<contract_id>/counter

Access the counter of a contract, if any.

  string
  /* Big number
     Decimal representation of a big number */
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $Z.t     |
  +-----------------+----------------------+----------+


  Z.t
  ***

  A variable-length sequence of bytes encoding a Zarith integer. 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). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | Z.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/contracts/<contract_id>/delegate

Access the delegate of a contract, if any.

  $unistring
  /* A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded) */
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +---------------------------+----------+------------------+
  | Name                      | Size     | Contents         |
  +===========================+==========+==================+
  | Signature.Public_key_hash | 21 bytes | $public_key_hash |
  +---------------------------+----------+------------------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+

  

GET ../<block_id>/context/contracts/<contract_id>/entrypoints?[normalize_types]

Return the list of entrypoints of the contract

Optional query arguments :

  • normalize_types : Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script.

  { "unreachable"?:
      [ { "path": [ $013-PtJakart.michelson.v1.primitives ... ] } ... ],
    "entrypoints":
      { *:
          { /* Int */
            "int": $bignum }
          || { /* String */
               "string": $unistring }
          || { /* Bytes */
               "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
          || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
          /* Sequence */
          || { /* Prim__generic
                  Generic primitive (any number of args with or without
                  annotations) */
               "prim": $013-PtJakart.michelson.v1.primitives,
               "args"?:
                 [ $micheline.013-PtJakart.michelson_v1.expression ... ],
               "annots"?: [ string ... ] } } }
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | unreachable           | Variable | sequence of $X_0        |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | entrypoints           | Variable | sequence of $X_1        |
  +-----------------------+----------+-------------------------+


  X_1
  ***

  +-----------------+----------------------+-------------------------------------------------+
  | Name            | Size                 | Contents                                        |
  +=================+======================+=================================================+
  | Unnamed field 0 | Determined from data | $X_2                                            |
  +-----------------+----------------------+-------------------------------------------------+
  | Unnamed field 1 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------+----------------------+-------------------------------------------------+


  Z.t
  ***

  A variable-length sequence of bytes encoding a Zarith integer. 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). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | Z.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  micheline.013-PtJakart.michelson_v1.expression (Determined from data, 8-bit tag)
  ********************************************************************************

  Int (tag 0)
  ===========

  +------+----------------------+------------------------+
  | Name | Size                 | Contents               |
  +======+======================+========================+
  | Tag  | 1 byte               | unsigned 8-bit integer |
  +------+----------------------+------------------------+
  | int  | Determined from data | $Z.t                   |
  +------+----------------------+------------------------+


  String (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | string                | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Sequence (tag 2)
  ================

  +-----------------------+----------+-------------------------------------------------------------+
  | Name                  | Size     | Contents                                                    |
  +=======================+==========+=============================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
  +-----------------------+----------+-------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
  +-----------------------+----------+-------------------------------------------------------------+
  | Unnamed field 0       | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------------+----------+-------------------------------------------------------------+


  Prim__no_args__no_annots (tag 3)
  ================================

  +------+--------+-------------------------------------------------------------------------------------------+
  | Name | Size   | Contents                                                                                  |
  +======+========+===========================================================================================+
  | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
  +------+--------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+--------+-------------------------------------------------------------------------------------------+


  Prim__no_args__some_annots (tag 4)
  ==================================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__no_annots (tag 5)
  ==============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__some_annots (tag 6)
  ================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg                   | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__no_annots (tag 7)
  ===============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__some_annots (tag 8)
  =================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__generic (tag 9)
  =====================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | args                  | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression                               |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Bytes (tag 10)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | bytes                 | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  013-PtJakart.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
  ***************************************************************************

  +-------------+--------------------------------+
  | Case number | Encoded string                 |
  +=============+================================+
  | 0           | parameter                      |
  +-------------+--------------------------------+
  | 1           | storage                        |
  +-------------+--------------------------------+
  | 2           | code                           |
  +-------------+--------------------------------+
  | 3           | False                          |
  +-------------+--------------------------------+
  | 4           | Elt                            |
  +-------------+--------------------------------+
  | 5           | Left                           |
  +-------------+--------------------------------+
  | 6           | None                           |
  +-------------+--------------------------------+
  | 7           | Pair                           |
  +-------------+--------------------------------+
  | 8           | Right                          |
  +-------------+--------------------------------+
  | 9           | Some                           |
  +-------------+--------------------------------+
  | 10          | True                           |
  +-------------+--------------------------------+
  | 11          | Unit                           |
  +-------------+--------------------------------+
  | 12          | PACK                           |
  +-------------+--------------------------------+
  | 13          | UNPACK                         |
  +-------------+--------------------------------+
  | 14          | BLAKE2B                        |
  +-------------+--------------------------------+
  | 15          | SHA256                         |
  +-------------+--------------------------------+
  | 16          | SHA512                         |
  +-------------+--------------------------------+
  | 17          | ABS                            |
  +-------------+--------------------------------+
  | 18          | ADD                            |
  +-------------+--------------------------------+
  | 19          | AMOUNT                         |
  +-------------+--------------------------------+
  | 20          | AND                            |
  +-------------+--------------------------------+
  | 21          | BALANCE                        |
  +-------------+--------------------------------+
  | 22          | CAR                            |
  +-------------+--------------------------------+
  | 23          | CDR                            |
  +-------------+--------------------------------+
  | 24          | CHECK_SIGNATURE                |
  +-------------+--------------------------------+
  | 25          | COMPARE                        |
  +-------------+--------------------------------+
  | 26          | CONCAT                         |
  +-------------+--------------------------------+
  | 27          | CONS                           |
  +-------------+--------------------------------+
  | 28          | CREATE_ACCOUNT                 |
  +-------------+--------------------------------+
  | 29          | CREATE_CONTRACT                |
  +-------------+--------------------------------+
  | 30          | IMPLICIT_ACCOUNT               |
  +-------------+--------------------------------+
  | 31          | DIP                            |
  +-------------+--------------------------------+
  | 32          | DROP                           |
  +-------------+--------------------------------+
  | 33          | DUP                            |
  +-------------+--------------------------------+
  | 34          | EDIV                           |
  +-------------+--------------------------------+
  | 35          | EMPTY_MAP                      |
  +-------------+--------------------------------+
  | 36          | EMPTY_SET                      |
  +-------------+--------------------------------+
  | 37          | EQ                             |
  +-------------+--------------------------------+
  | 38          | EXEC                           |
  +-------------+--------------------------------+
  | 39          | FAILWITH                       |
  +-------------+--------------------------------+
  | 40          | GE                             |
  +-------------+--------------------------------+
  | 41          | GET                            |
  +-------------+--------------------------------+
  | 42          | GT                             |
  +-------------+--------------------------------+
  | 43          | HASH_KEY                       |
  +-------------+--------------------------------+
  | 44          | IF                             |
  +-------------+--------------------------------+
  | 45          | IF_CONS                        |
  +-------------+--------------------------------+
  | 46          | IF_LEFT                        |
  +-------------+--------------------------------+
  | 47          | IF_NONE                        |
  +-------------+--------------------------------+
  | 48          | INT                            |
  +-------------+--------------------------------+
  | 49          | LAMBDA                         |
  +-------------+--------------------------------+
  | 50          | LE                             |
  +-------------+--------------------------------+
  | 51          | LEFT                           |
  +-------------+--------------------------------+
  | 52          | LOOP                           |
  +-------------+--------------------------------+
  | 53          | LSL                            |
  +-------------+--------------------------------+
  | 54          | LSR                            |
  +-------------+--------------------------------+
  | 55          | LT                             |
  +-------------+--------------------------------+
  | 56          | MAP                            |
  +-------------+--------------------------------+
  | 57          | MEM                            |
  +-------------+--------------------------------+
  | 58          | MUL                            |
  +-------------+--------------------------------+
  | 59          | NEG                            |
  +-------------+--------------------------------+
  | 60          | NEQ                            |
  +-------------+--------------------------------+
  | 61          | NIL                            |
  +-------------+--------------------------------+
  | 62          | NONE                           |
  +-------------+--------------------------------+
  | 63          | NOT                            |
  +-------------+--------------------------------+
  | 64          | NOW                            |
  +-------------+--------------------------------+
  | 65          | OR                             |
  +-------------+--------------------------------+
  | 66          | PAIR                           |
  +-------------+--------------------------------+
  | 67          | PUSH                           |
  +-------------+--------------------------------+
  | 68          | RIGHT                          |
  +-------------+--------------------------------+
  | 69          | SIZE                           |
  +-------------+--------------------------------+
  | 70          | SOME                           |
  +-------------+--------------------------------+
  | 71          | SOURCE                         |
  +-------------+--------------------------------+
  | 72          | SENDER                         |
  +-------------+--------------------------------+
  | 73          | SELF                           |
  +-------------+--------------------------------+
  | 74          | STEPS_TO_QUOTA                 |
  +-------------+--------------------------------+
  | 75          | SUB                            |
  +-------------+--------------------------------+
  | 76          | SWAP                           |
  +-------------+--------------------------------+
  | 77          | TRANSFER_TOKENS                |
  +-------------+--------------------------------+
  | 78          | SET_DELEGATE                   |
  +-------------+--------------------------------+
  | 79          | UNIT                           |
  +-------------+--------------------------------+
  | 80          | UPDATE                         |
  +-------------+--------------------------------+
  | 81          | XOR                            |
  +-------------+--------------------------------+
  | 82          | ITER                           |
  +-------------+--------------------------------+
  | 83          | LOOP_LEFT                      |
  +-------------+--------------------------------+
  | 84          | ADDRESS                        |
  +-------------+--------------------------------+
  | 85          | CONTRACT                       |
  +-------------+--------------------------------+
  | 86          | ISNAT                          |
  +-------------+--------------------------------+
  | 87          | CAST                           |
  +-------------+--------------------------------+
  | 88          | RENAME                         |
  +-------------+--------------------------------+
  | 89          | bool                           |
  +-------------+--------------------------------+
  | 90          | contract                       |
  +-------------+--------------------------------+
  | 91          | int                            |
  +-------------+--------------------------------+
  | 92          | key                            |
  +-------------+--------------------------------+
  | 93          | key_hash                       |
  +-------------+--------------------------------+
  | 94          | lambda                         |
  +-------------+--------------------------------+
  | 95          | list                           |
  +-------------+--------------------------------+
  | 96          | map                            |
  +-------------+--------------------------------+
  | 97          | big_map                        |
  +-------------+--------------------------------+
  | 98          | nat                            |
  +-------------+--------------------------------+
  | 99          | option                         |
  +-------------+--------------------------------+
  | 100         | or                             |
  +-------------+--------------------------------+
  | 101         | pair                           |
  +-------------+--------------------------------+
  | 102         | set                            |
  +-------------+--------------------------------+
  | 103         | signature                      |
  +-------------+--------------------------------+
  | 104         | string                         |
  +-------------+--------------------------------+
  | 105         | bytes                          |
  +-------------+--------------------------------+
  | 106         | mutez                          |
  +-------------+--------------------------------+
  | 107         | timestamp                      |
  +-------------+--------------------------------+
  | 108         | unit                           |
  +-------------+--------------------------------+
  | 109         | operation                      |
  +-------------+--------------------------------+
  | 110         | address                        |
  +-------------+--------------------------------+
  | 111         | SLICE                          |
  +-------------+--------------------------------+
  | 112         | DIG                            |
  +-------------+--------------------------------+
  | 113         | DUG                            |
  +-------------+--------------------------------+
  | 114         | EMPTY_BIG_MAP                  |
  +-------------+--------------------------------+
  | 115         | APPLY                          |
  +-------------+--------------------------------+
  | 116         | chain_id                       |
  +-------------+--------------------------------+
  | 117         | CHAIN_ID                       |
  +-------------+--------------------------------+
  | 118         | LEVEL                          |
  +-------------+--------------------------------+
  | 119         | SELF_ADDRESS                   |
  +-------------+--------------------------------+
  | 120         | never                          |
  +-------------+--------------------------------+
  | 121         | NEVER                          |
  +-------------+--------------------------------+
  | 122         | UNPAIR                         |
  +-------------+--------------------------------+
  | 123         | VOTING_POWER                   |
  +-------------+--------------------------------+
  | 124         | TOTAL_VOTING_POWER             |
  +-------------+--------------------------------+
  | 125         | KECCAK                         |
  +-------------+--------------------------------+
  | 126         | SHA3                           |
  +-------------+--------------------------------+
  | 127         | PAIRING_CHECK                  |
  +-------------+--------------------------------+
  | 128         | bls12_381_g1                   |
  +-------------+--------------------------------+
  | 129         | bls12_381_g2                   |
  +-------------+--------------------------------+
  | 130         | bls12_381_fr                   |
  +-------------+--------------------------------+
  | 131         | sapling_state                  |
  +-------------+--------------------------------+
  | 132         | sapling_transaction_deprecated |
  +-------------+--------------------------------+
  | 133         | SAPLING_EMPTY_STATE            |
  +-------------+--------------------------------+
  | 134         | SAPLING_VERIFY_UPDATE          |
  +-------------+--------------------------------+
  | 135         | ticket                         |
  +-------------+--------------------------------+
  | 136         | TICKET                         |
  +-------------+--------------------------------+
  | 137         | READ_TICKET                    |
  +-------------+--------------------------------+
  | 138         | SPLIT_TICKET                   |
  +-------------+--------------------------------+
  | 139         | JOIN_TICKETS                   |
  +-------------+--------------------------------+
  | 140         | GET_AND_UPDATE                 |
  +-------------+--------------------------------+
  | 141         | chest                          |
  +-------------+--------------------------------+
  | 142         | chest_key                      |
  +-------------+--------------------------------+
  | 143         | OPEN_CHEST                     |
  +-------------+--------------------------------+
  | 144         | VIEW                           |
  +-------------+--------------------------------+
  | 145         | view                           |
  +-------------+--------------------------------+
  | 146         | constant                       |
  +-------------+--------------------------------+
  | 147         | SUB_MUTEZ                      |
  +-------------+--------------------------------+
  | 148         | tx_rollup_l2_address           |
  +-------------+--------------------------------+
  | 149         | MIN_BLOCK_TIME                 |
  +-------------+--------------------------------+
  | 150         | sapling_transaction            |
  +-------------+--------------------------------+


  X_2
  ***

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  X_0
  ***

  +-----------------------+----------+-------------------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                              |
  +=======================+==========+=======================================================================================================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                               |
  +-----------------------+----------+-------------------------------------------------------------------------------------------------------+
  | Unnamed field 0       | Variable | sequence of unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------------------+

  

GET ../<block_id>/context/contracts/<contract_id>/entrypoints/<entrypoint>?[normalize_types]

Return the type of the given entrypoint of the contract

Optional query arguments :

  • normalize_types : Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script.

  { /* Int */
    "int": $bignum }
  || { /* String */
       "string": $unistring }
  || { /* Bytes */
       "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
  || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
  /* Sequence */
  || { /* Prim__generic
          Generic primitive (any number of args with or without annotations) */
       "prim": $013-PtJakart.michelson.v1.primitives,
       "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
       "annots"?: [ string ... ] }
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------------------+-------------------------------------------------+
  | Name            | Size                 | Contents                                        |
  +=================+======================+=================================================+
  | Unnamed field 0 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------+----------------------+-------------------------------------------------+


  Z.t
  ***

  A variable-length sequence of bytes encoding a Zarith integer. 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). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | Z.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  micheline.013-PtJakart.michelson_v1.expression (Determined from data, 8-bit tag)
  ********************************************************************************

  Int (tag 0)
  ===========

  +------+----------------------+------------------------+
  | Name | Size                 | Contents               |
  +======+======================+========================+
  | Tag  | 1 byte               | unsigned 8-bit integer |
  +------+----------------------+------------------------+
  | int  | Determined from data | $Z.t                   |
  +------+----------------------+------------------------+


  String (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | string                | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Sequence (tag 2)
  ================

  +-----------------------+----------+-------------------------------------------------------------+
  | Name                  | Size     | Contents                                                    |
  +=======================+==========+=============================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
  +-----------------------+----------+-------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
  +-----------------------+----------+-------------------------------------------------------------+
  | Unnamed field 0       | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------------+----------+-------------------------------------------------------------+


  Prim__no_args__no_annots (tag 3)
  ================================

  +------+--------+-------------------------------------------------------------------------------------------+
  | Name | Size   | Contents                                                                                  |
  +======+========+===========================================================================================+
  | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
  +------+--------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+--------+-------------------------------------------------------------------------------------------+


  Prim__no_args__some_annots (tag 4)
  ==================================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__no_annots (tag 5)
  ==============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__some_annots (tag 6)
  ================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg                   | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__no_annots (tag 7)
  ===============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__some_annots (tag 8)
  =================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__generic (tag 9)
  =====================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | args                  | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression                               |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Bytes (tag 10)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | bytes                 | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  013-PtJakart.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
  ***************************************************************************

  +-------------+--------------------------------+
  | Case number | Encoded string                 |
  +=============+================================+
  | 0           | parameter                      |
  +-------------+--------------------------------+
  | 1           | storage                        |
  +-------------+--------------------------------+
  | 2           | code                           |
  +-------------+--------------------------------+
  | 3           | False                          |
  +-------------+--------------------------------+
  | 4           | Elt                            |
  +-------------+--------------------------------+
  | 5           | Left                           |
  +-------------+--------------------------------+
  | 6           | None                           |
  +-------------+--------------------------------+
  | 7           | Pair                           |
  +-------------+--------------------------------+
  | 8           | Right                          |
  +-------------+--------------------------------+
  | 9           | Some                           |
  +-------------+--------------------------------+
  | 10          | True                           |
  +-------------+--------------------------------+
  | 11          | Unit                           |
  +-------------+--------------------------------+
  | 12          | PACK                           |
  +-------------+--------------------------------+
  | 13          | UNPACK                         |
  +-------------+--------------------------------+
  | 14          | BLAKE2B                        |
  +-------------+--------------------------------+
  | 15          | SHA256                         |
  +-------------+--------------------------------+
  | 16          | SHA512                         |
  +-------------+--------------------------------+
  | 17          | ABS                            |
  +-------------+--------------------------------+
  | 18          | ADD                            |
  +-------------+--------------------------------+
  | 19          | AMOUNT                         |
  +-------------+--------------------------------+
  | 20          | AND                            |
  +-------------+--------------------------------+
  | 21          | BALANCE                        |
  +-------------+--------------------------------+
  | 22          | CAR                            |
  +-------------+--------------------------------+
  | 23          | CDR                            |
  +-------------+--------------------------------+
  | 24          | CHECK_SIGNATURE                |
  +-------------+--------------------------------+
  | 25          | COMPARE                        |
  +-------------+--------------------------------+
  | 26          | CONCAT                         |
  +-------------+--------------------------------+
  | 27          | CONS                           |
  +-------------+--------------------------------+
  | 28          | CREATE_ACCOUNT                 |
  +-------------+--------------------------------+
  | 29          | CREATE_CONTRACT                |
  +-------------+--------------------------------+
  | 30          | IMPLICIT_ACCOUNT               |
  +-------------+--------------------------------+
  | 31          | DIP                            |
  +-------------+--------------------------------+
  | 32          | DROP                           |
  +-------------+--------------------------------+
  | 33          | DUP                            |
  +-------------+--------------------------------+
  | 34          | EDIV                           |
  +-------------+--------------------------------+
  | 35          | EMPTY_MAP                      |
  +-------------+--------------------------------+
  | 36          | EMPTY_SET                      |
  +-------------+--------------------------------+
  | 37          | EQ                             |
  +-------------+--------------------------------+
  | 38          | EXEC                           |
  +-------------+--------------------------------+
  | 39          | FAILWITH                       |
  +-------------+--------------------------------+
  | 40          | GE                             |
  +-------------+--------------------------------+
  | 41          | GET                            |
  +-------------+--------------------------------+
  | 42          | GT                             |
  +-------------+--------------------------------+
  | 43          | HASH_KEY                       |
  +-------------+--------------------------------+
  | 44          | IF                             |
  +-------------+--------------------------------+
  | 45          | IF_CONS                        |
  +-------------+--------------------------------+
  | 46          | IF_LEFT                        |
  +-------------+--------------------------------+
  | 47          | IF_NONE                        |
  +-------------+--------------------------------+
  | 48          | INT                            |
  +-------------+--------------------------------+
  | 49          | LAMBDA                         |
  +-------------+--------------------------------+
  | 50          | LE                             |
  +-------------+--------------------------------+
  | 51          | LEFT                           |
  +-------------+--------------------------------+
  | 52          | LOOP                           |
  +-------------+--------------------------------+
  | 53          | LSL                            |
  +-------------+--------------------------------+
  | 54          | LSR                            |
  +-------------+--------------------------------+
  | 55          | LT                             |
  +-------------+--------------------------------+
  | 56          | MAP                            |
  +-------------+--------------------------------+
  | 57          | MEM                            |
  +-------------+--------------------------------+
  | 58          | MUL                            |
  +-------------+--------------------------------+
  | 59          | NEG                            |
  +-------------+--------------------------------+
  | 60          | NEQ                            |
  +-------------+--------------------------------+
  | 61          | NIL                            |
  +-------------+--------------------------------+
  | 62          | NONE                           |
  +-------------+--------------------------------+
  | 63          | NOT                            |
  +-------------+--------------------------------+
  | 64          | NOW                            |
  +-------------+--------------------------------+
  | 65          | OR                             |
  +-------------+--------------------------------+
  | 66          | PAIR                           |
  +-------------+--------------------------------+
  | 67          | PUSH                           |
  +-------------+--------------------------------+
  | 68          | RIGHT                          |
  +-------------+--------------------------------+
  | 69          | SIZE                           |
  +-------------+--------------------------------+
  | 70          | SOME                           |
  +-------------+--------------------------------+
  | 71          | SOURCE                         |
  +-------------+--------------------------------+
  | 72          | SENDER                         |
  +-------------+--------------------------------+
  | 73          | SELF                           |
  +-------------+--------------------------------+
  | 74          | STEPS_TO_QUOTA                 |
  +-------------+--------------------------------+
  | 75          | SUB                            |
  +-------------+--------------------------------+
  | 76          | SWAP                           |
  +-------------+--------------------------------+
  | 77          | TRANSFER_TOKENS                |
  +-------------+--------------------------------+
  | 78          | SET_DELEGATE                   |
  +-------------+--------------------------------+
  | 79          | UNIT                           |
  +-------------+--------------------------------+
  | 80          | UPDATE                         |
  +-------------+--------------------------------+
  | 81          | XOR                            |
  +-------------+--------------------------------+
  | 82          | ITER                           |
  +-------------+--------------------------------+
  | 83          | LOOP_LEFT                      |
  +-------------+--------------------------------+
  | 84          | ADDRESS                        |
  +-------------+--------------------------------+
  | 85          | CONTRACT                       |
  +-------------+--------------------------------+
  | 86          | ISNAT                          |
  +-------------+--------------------------------+
  | 87          | CAST                           |
  +-------------+--------------------------------+
  | 88          | RENAME                         |
  +-------------+--------------------------------+
  | 89          | bool                           |
  +-------------+--------------------------------+
  | 90          | contract                       |
  +-------------+--------------------------------+
  | 91          | int                            |
  +-------------+--------------------------------+
  | 92          | key                            |
  +-------------+--------------------------------+
  | 93          | key_hash                       |
  +-------------+--------------------------------+
  | 94          | lambda                         |
  +-------------+--------------------------------+
  | 95          | list                           |
  +-------------+--------------------------------+
  | 96          | map                            |
  +-------------+--------------------------------+
  | 97          | big_map                        |
  +-------------+--------------------------------+
  | 98          | nat                            |
  +-------------+--------------------------------+
  | 99          | option                         |
  +-------------+--------------------------------+
  | 100         | or                             |
  +-------------+--------------------------------+
  | 101         | pair                           |
  +-------------+--------------------------------+
  | 102         | set                            |
  +-------------+--------------------------------+
  | 103         | signature                      |
  +-------------+--------------------------------+
  | 104         | string                         |
  +-------------+--------------------------------+
  | 105         | bytes                          |
  +-------------+--------------------------------+
  | 106         | mutez                          |
  +-------------+--------------------------------+
  | 107         | timestamp                      |
  +-------------+--------------------------------+
  | 108         | unit                           |
  +-------------+--------------------------------+
  | 109         | operation                      |
  +-------------+--------------------------------+
  | 110         | address                        |
  +-------------+--------------------------------+
  | 111         | SLICE                          |
  +-------------+--------------------------------+
  | 112         | DIG                            |
  +-------------+--------------------------------+
  | 113         | DUG                            |
  +-------------+--------------------------------+
  | 114         | EMPTY_BIG_MAP                  |
  +-------------+--------------------------------+
  | 115         | APPLY                          |
  +-------------+--------------------------------+
  | 116         | chain_id                       |
  +-------------+--------------------------------+
  | 117         | CHAIN_ID                       |
  +-------------+--------------------------------+
  | 118         | LEVEL                          |
  +-------------+--------------------------------+
  | 119         | SELF_ADDRESS                   |
  +-------------+--------------------------------+
  | 120         | never                          |
  +-------------+--------------------------------+
  | 121         | NEVER                          |
  +-------------+--------------------------------+
  | 122         | UNPAIR                         |
  +-------------+--------------------------------+
  | 123         | VOTING_POWER                   |
  +-------------+--------------------------------+
  | 124         | TOTAL_VOTING_POWER             |
  +-------------+--------------------------------+
  | 125         | KECCAK                         |
  +-------------+--------------------------------+
  | 126         | SHA3                           |
  +-------------+--------------------------------+
  | 127         | PAIRING_CHECK                  |
  +-------------+--------------------------------+
  | 128         | bls12_381_g1                   |
  +-------------+--------------------------------+
  | 129         | bls12_381_g2                   |
  +-------------+--------------------------------+
  | 130         | bls12_381_fr                   |
  +-------------+--------------------------------+
  | 131         | sapling_state                  |
  +-------------+--------------------------------+
  | 132         | sapling_transaction_deprecated |
  +-------------+--------------------------------+
  | 133         | SAPLING_EMPTY_STATE            |
  +-------------+--------------------------------+
  | 134         | SAPLING_VERIFY_UPDATE          |
  +-------------+--------------------------------+
  | 135         | ticket                         |
  +-------------+--------------------------------+
  | 136         | TICKET                         |
  +-------------+--------------------------------+
  | 137         | READ_TICKET                    |
  +-------------+--------------------------------+
  | 138         | SPLIT_TICKET                   |
  +-------------+--------------------------------+
  | 139         | JOIN_TICKETS                   |
  +-------------+--------------------------------+
  | 140         | GET_AND_UPDATE                 |
  +-------------+--------------------------------+
  | 141         | chest                          |
  +-------------+--------------------------------+
  | 142         | chest_key                      |
  +-------------+--------------------------------+
  | 143         | OPEN_CHEST                     |
  +-------------+--------------------------------+
  | 144         | VIEW                           |
  +-------------+--------------------------------+
  | 145         | view                           |
  +-------------+--------------------------------+
  | 146         | constant                       |
  +-------------+--------------------------------+
  | 147         | SUB_MUTEZ                      |
  +-------------+--------------------------------+
  | 148         | tx_rollup_l2_address           |
  +-------------+--------------------------------+
  | 149         | MIN_BLOCK_TIME                 |
  +-------------+--------------------------------+
  | 150         | sapling_transaction            |
  +-------------+--------------------------------+

  

GET ../<block_id>/context/contracts/<contract_id>/frozen_bonds

Access the frozen bonds of a contract.

  $positive_bignum
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $N.t     |
  +-----------------+----------------------+----------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/contracts/<contract_id>/manager_key

Access the manager of a contract.

  $Signature.Public_key /* Some */ || null /* None */
  $Signature.Public_key:
    /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_0     |
  +-----------------+----------------------+----------+


  public_key (Determined from data, 8-bit tag)
  ********************************************

  Ed25519 (tag 0)
  ===============

  +--------------------+----------+------------------------+
  | Name               | Size     | Contents               |
  +====================+==========+========================+
  | Tag                | 1 byte   | unsigned 8-bit integer |
  +--------------------+----------+------------------------+
  | Ed25519.Public_key | 32 bytes | bytes                  |
  +--------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | Secp256k1.Public_key | 33 bytes | bytes                  |
  +----------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | P256.Public_key | 33 bytes | bytes                  |
  +-----------------+----------+------------------------+


  X_0 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +----------------------+----------------------+------------------------+
  | Name                 | Size                 | Contents               |
  +======================+======================+========================+
  | Tag                  | 1 byte               | unsigned 8-bit integer |
  +----------------------+----------------------+------------------------+
  | Signature.Public_key | Determined from data | $public_key            |
  +----------------------+----------------------+------------------------+

  

GET ../<block_id>/context/contracts/<contract_id>/script

Access the code and data of the contract.

  { "code":
      { /* Int */
        "int": $bignum }
      || { /* String */
           "string": $unistring }
      || { /* Bytes */
           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
      || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
      /* Sequence */
      || { /* Prim__generic
              Generic primitive (any number of args with or without
              annotations) */
           "prim": $013-PtJakart.michelson.v1.primitives,
           "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
           "annots"?: [ string ... ] },
    "storage":
      { /* Int */
        "int": $bignum }
      || { /* String */
           "string": $unistring }
      || { /* Bytes */
           "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
      || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
      /* Sequence */
      || { /* Prim__generic
              Generic primitive (any number of args with or without
              annotations) */
           "prim": $013-PtJakart.michelson.v1.primitives,
           "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
           "annots"?: [ string ... ] } }
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | code                  | Variable | bytes                   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | storage               | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  

GET ../<block_id>/context/contracts/<contract_id>/single_sapling_get_diff?[offset_commitment=<uint63>]&[offset_nullifier=<uint63>]

Returns the root and a diff of a state starting from an optional offset which is zero by default.

Optional query arguments :

  • offset_commitment = <uint63> : Commitments and ciphertexts are returned from the specified offset up to the most recent.
  • offset_nullifier = <uint63> : Nullifiers are returned from the specified offset up to the most recent.

  { "root": $sapling.transaction.commitment_hash,
    "commitments_and_ciphertexts":
      [ [ $sapling.transaction.commitment, $sapling.transaction.ciphertext ] ... ],
    "nullifiers": [ $sapling.transaction.nullifier ... ] }
  $sapling.DH.epk: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.ciphertext:
    { "cv": $sapling.transaction.commitment_value,
      "epk": $sapling.DH.epk,
      "payload_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "nonce_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "payload_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "nonce_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
  $sapling.transaction.commitment: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.commitment_hash: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.commitment_value: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.nullifier: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  +-----------------------------+----------+-------------------------+
  | Name                        | Size     | Contents                |
  +=============================+==========+=========================+
  | root                        | 32 bytes | bytes                   |
  +-----------------------------+----------+-------------------------+
  | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
  +-----------------------------+----------+-------------------------+
  | commitments_and_ciphertexts | Variable | sequence of $X_0        |
  +-----------------------------+----------+-------------------------+
  | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
  +-----------------------------+----------+-------------------------+
  | nullifiers                  | Variable | sequence of bytes       |
  +-----------------------------+----------+-------------------------+


  sapling.transaction.ciphertext
  ******************************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | cv                    | 32 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | epk                   | 32 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | payload_enc           | Variable | bytes                   |
  +-----------------------+----------+-------------------------+
  | nonce_enc             | 24 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | payload_out           | 80 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | nonce_out             | 24 bytes | bytes                   |
  +-----------------------+----------+-------------------------+


  X_0
  ***

  +-----------------+----------------------+---------------------------------+
  | Name            | Size                 | Contents                        |
  +=================+======================+=================================+
  | Unnamed field 0 | 32 bytes             | bytes                           |
  +-----------------+----------------------+---------------------------------+
  | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext |
  +-----------------+----------------------+---------------------------------+

  

GET ../<block_id>/context/contracts/<contract_id>/storage

Access the data of the contract.

  { /* Int */
    "int": $bignum }
  || { /* String */
       "string": $unistring }
  || { /* Bytes */
       "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
  || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
  /* Sequence */
  || { /* Prim__generic
          Generic primitive (any number of args with or without annotations) */
       "prim": $013-PtJakart.michelson.v1.primitives,
       "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
       "annots"?: [ string ... ] }
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------------------+-------------------------------------------------+
  | Name            | Size                 | Contents                                        |
  +=================+======================+=================================================+
  | Unnamed field 0 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------+----------------------+-------------------------------------------------+


  Z.t
  ***

  A variable-length sequence of bytes encoding a Zarith integer. 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). The second most significant bit of the first byte is reserved for the sign (0 for positive, 1 for negative). Size and sign bits ignored, the data is the binary representation of the absolute value of the number in little-endian order.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | Z.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  micheline.013-PtJakart.michelson_v1.expression (Determined from data, 8-bit tag)
  ********************************************************************************

  Int (tag 0)
  ===========

  +------+----------------------+------------------------+
  | Name | Size                 | Contents               |
  +======+======================+========================+
  | Tag  | 1 byte               | unsigned 8-bit integer |
  +------+----------------------+------------------------+
  | int  | Determined from data | $Z.t                   |
  +------+----------------------+------------------------+


  String (tag 1)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | string                | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Sequence (tag 2)
  ================

  +-----------------------+----------+-------------------------------------------------------------+
  | Name                  | Size     | Contents                                                    |
  +=======================+==========+=============================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                      |
  +-----------------------+----------+-------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                     |
  +-----------------------+----------+-------------------------------------------------------------+
  | Unnamed field 0       | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression |
  +-----------------------+----------+-------------------------------------------------------------+


  Prim__no_args__no_annots (tag 3)
  ================================

  +------+--------+-------------------------------------------------------------------------------------------+
  | Name | Size   | Contents                                                                                  |
  +======+========+===========================================================================================+
  | Tag  | 1 byte | unsigned 8-bit integer                                                                    |
  +------+--------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+--------+-------------------------------------------------------------------------------------------+


  Prim__no_args__some_annots (tag 4)
  ==================================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__no_annots (tag 5)
  ==============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__1_arg__some_annots (tag 6)
  ================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg                   | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__no_annots (tag 7)
  ===============================

  +------+----------------------+-------------------------------------------------------------------------------------------+
  | Name | Size                 | Contents                                                                                  |
  +======+======================+===========================================================================================+
  | Tag  | 1 byte               | unsigned 8-bit integer                                                                    |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | prim | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2 | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__2_args__some_annots (tag 8)
  =================================

  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                                                  |
  +=======================+======================+===========================================================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                                                    |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte               | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg1                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | arg2                  | Determined from data | $micheline.013-PtJakart.michelson_v1.expression                                           |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                                                   |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+
  | annots                | Variable             | bytes                                                                                     |
  +-----------------------+----------------------+-------------------------------------------------------------------------------------------+


  Prim__generic (tag 9)
  =====================

  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | Name                  | Size     | Contents                                                                                  |
  +=======================+==========+===========================================================================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer                                                                    |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | prim                  | 1 byte   | unsigned 8-bit integer encoding an enumeration (see 013-PtJakart.michelson.v1.primitives) |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | args                  | Variable | sequence of $micheline.013-PtJakart.michelson_v1.expression                               |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer                                                                   |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+
  | annots                | Variable | bytes                                                                                     |
  +-----------------------+----------+-------------------------------------------------------------------------------------------+


  Bytes (tag 10)
  ==============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | bytes                 | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  013-PtJakart.michelson.v1.primitives (Enumeration: unsigned 8-bit integer):
  ***************************************************************************

  +-------------+--------------------------------+
  | Case number | Encoded string                 |
  +=============+================================+
  | 0           | parameter                      |
  +-------------+--------------------------------+
  | 1           | storage                        |
  +-------------+--------------------------------+
  | 2           | code                           |
  +-------------+--------------------------------+
  | 3           | False                          |
  +-------------+--------------------------------+
  | 4           | Elt                            |
  +-------------+--------------------------------+
  | 5           | Left                           |
  +-------------+--------------------------------+
  | 6           | None                           |
  +-------------+--------------------------------+
  | 7           | Pair                           |
  +-------------+--------------------------------+
  | 8           | Right                          |
  +-------------+--------------------------------+
  | 9           | Some                           |
  +-------------+--------------------------------+
  | 10          | True                           |
  +-------------+--------------------------------+
  | 11          | Unit                           |
  +-------------+--------------------------------+
  | 12          | PACK                           |
  +-------------+--------------------------------+
  | 13          | UNPACK                         |
  +-------------+--------------------------------+
  | 14          | BLAKE2B                        |
  +-------------+--------------------------------+
  | 15          | SHA256                         |
  +-------------+--------------------------------+
  | 16          | SHA512                         |
  +-------------+--------------------------------+
  | 17          | ABS                            |
  +-------------+--------------------------------+
  | 18          | ADD                            |
  +-------------+--------------------------------+
  | 19          | AMOUNT                         |
  +-------------+--------------------------------+
  | 20          | AND                            |
  +-------------+--------------------------------+
  | 21          | BALANCE                        |
  +-------------+--------------------------------+
  | 22          | CAR                            |
  +-------------+--------------------------------+
  | 23          | CDR                            |
  +-------------+--------------------------------+
  | 24          | CHECK_SIGNATURE                |
  +-------------+--------------------------------+
  | 25          | COMPARE                        |
  +-------------+--------------------------------+
  | 26          | CONCAT                         |
  +-------------+--------------------------------+
  | 27          | CONS                           |
  +-------------+--------------------------------+
  | 28          | CREATE_ACCOUNT                 |
  +-------------+--------------------------------+
  | 29          | CREATE_CONTRACT                |
  +-------------+--------------------------------+
  | 30          | IMPLICIT_ACCOUNT               |
  +-------------+--------------------------------+
  | 31          | DIP                            |
  +-------------+--------------------------------+
  | 32          | DROP                           |
  +-------------+--------------------------------+
  | 33          | DUP                            |
  +-------------+--------------------------------+
  | 34          | EDIV                           |
  +-------------+--------------------------------+
  | 35          | EMPTY_MAP                      |
  +-------------+--------------------------------+
  | 36          | EMPTY_SET                      |
  +-------------+--------------------------------+
  | 37          | EQ                             |
  +-------------+--------------------------------+
  | 38          | EXEC                           |
  +-------------+--------------------------------+
  | 39          | FAILWITH                       |
  +-------------+--------------------------------+
  | 40          | GE                             |
  +-------------+--------------------------------+
  | 41          | GET                            |
  +-------------+--------------------------------+
  | 42          | GT                             |
  +-------------+--------------------------------+
  | 43          | HASH_KEY                       |
  +-------------+--------------------------------+
  | 44          | IF                             |
  +-------------+--------------------------------+
  | 45          | IF_CONS                        |
  +-------------+--------------------------------+
  | 46          | IF_LEFT                        |
  +-------------+--------------------------------+
  | 47          | IF_NONE                        |
  +-------------+--------------------------------+
  | 48          | INT                            |
  +-------------+--------------------------------+
  | 49          | LAMBDA                         |
  +-------------+--------------------------------+
  | 50          | LE                             |
  +-------------+--------------------------------+
  | 51          | LEFT                           |
  +-------------+--------------------------------+
  | 52          | LOOP                           |
  +-------------+--------------------------------+
  | 53          | LSL                            |
  +-------------+--------------------------------+
  | 54          | LSR                            |
  +-------------+--------------------------------+
  | 55          | LT                             |
  +-------------+--------------------------------+
  | 56          | MAP                            |
  +-------------+--------------------------------+
  | 57          | MEM                            |
  +-------------+--------------------------------+
  | 58          | MUL                            |
  +-------------+--------------------------------+
  | 59          | NEG                            |
  +-------------+--------------------------------+
  | 60          | NEQ                            |
  +-------------+--------------------------------+
  | 61          | NIL                            |
  +-------------+--------------------------------+
  | 62          | NONE                           |
  +-------------+--------------------------------+
  | 63          | NOT                            |
  +-------------+--------------------------------+
  | 64          | NOW                            |
  +-------------+--------------------------------+
  | 65          | OR                             |
  +-------------+--------------------------------+
  | 66          | PAIR                           |
  +-------------+--------------------------------+
  | 67          | PUSH                           |
  +-------------+--------------------------------+
  | 68          | RIGHT                          |
  +-------------+--------------------------------+
  | 69          | SIZE                           |
  +-------------+--------------------------------+
  | 70          | SOME                           |
  +-------------+--------------------------------+
  | 71          | SOURCE                         |
  +-------------+--------------------------------+
  | 72          | SENDER                         |
  +-------------+--------------------------------+
  | 73          | SELF                           |
  +-------------+--------------------------------+
  | 74          | STEPS_TO_QUOTA                 |
  +-------------+--------------------------------+
  | 75          | SUB                            |
  +-------------+--------------------------------+
  | 76          | SWAP                           |
  +-------------+--------------------------------+
  | 77          | TRANSFER_TOKENS                |
  +-------------+--------------------------------+
  | 78          | SET_DELEGATE                   |
  +-------------+--------------------------------+
  | 79          | UNIT                           |
  +-------------+--------------------------------+
  | 80          | UPDATE                         |
  +-------------+--------------------------------+
  | 81          | XOR                            |
  +-------------+--------------------------------+
  | 82          | ITER                           |
  +-------------+--------------------------------+
  | 83          | LOOP_LEFT                      |
  +-------------+--------------------------------+
  | 84          | ADDRESS                        |
  +-------------+--------------------------------+
  | 85          | CONTRACT                       |
  +-------------+--------------------------------+
  | 86          | ISNAT                          |
  +-------------+--------------------------------+
  | 87          | CAST                           |
  +-------------+--------------------------------+
  | 88          | RENAME                         |
  +-------------+--------------------------------+
  | 89          | bool                           |
  +-------------+--------------------------------+
  | 90          | contract                       |
  +-------------+--------------------------------+
  | 91          | int                            |
  +-------------+--------------------------------+
  | 92          | key                            |
  +-------------+--------------------------------+
  | 93          | key_hash                       |
  +-------------+--------------------------------+
  | 94          | lambda                         |
  +-------------+--------------------------------+
  | 95          | list                           |
  +-------------+--------------------------------+
  | 96          | map                            |
  +-------------+--------------------------------+
  | 97          | big_map                        |
  +-------------+--------------------------------+
  | 98          | nat                            |
  +-------------+--------------------------------+
  | 99          | option                         |
  +-------------+--------------------------------+
  | 100         | or                             |
  +-------------+--------------------------------+
  | 101         | pair                           |
  +-------------+--------------------------------+
  | 102         | set                            |
  +-------------+--------------------------------+
  | 103         | signature                      |
  +-------------+--------------------------------+
  | 104         | string                         |
  +-------------+--------------------------------+
  | 105         | bytes                          |
  +-------------+--------------------------------+
  | 106         | mutez                          |
  +-------------+--------------------------------+
  | 107         | timestamp                      |
  +-------------+--------------------------------+
  | 108         | unit                           |
  +-------------+--------------------------------+
  | 109         | operation                      |
  +-------------+--------------------------------+
  | 110         | address                        |
  +-------------+--------------------------------+
  | 111         | SLICE                          |
  +-------------+--------------------------------+
  | 112         | DIG                            |
  +-------------+--------------------------------+
  | 113         | DUG                            |
  +-------------+--------------------------------+
  | 114         | EMPTY_BIG_MAP                  |
  +-------------+--------------------------------+
  | 115         | APPLY                          |
  +-------------+--------------------------------+
  | 116         | chain_id                       |
  +-------------+--------------------------------+
  | 117         | CHAIN_ID                       |
  +-------------+--------------------------------+
  | 118         | LEVEL                          |
  +-------------+--------------------------------+
  | 119         | SELF_ADDRESS                   |
  +-------------+--------------------------------+
  | 120         | never                          |
  +-------------+--------------------------------+
  | 121         | NEVER                          |
  +-------------+--------------------------------+
  | 122         | UNPAIR                         |
  +-------------+--------------------------------+
  | 123         | VOTING_POWER                   |
  +-------------+--------------------------------+
  | 124         | TOTAL_VOTING_POWER             |
  +-------------+--------------------------------+
  | 125         | KECCAK                         |
  +-------------+--------------------------------+
  | 126         | SHA3                           |
  +-------------+--------------------------------+
  | 127         | PAIRING_CHECK                  |
  +-------------+--------------------------------+
  | 128         | bls12_381_g1                   |
  +-------------+--------------------------------+
  | 129         | bls12_381_g2                   |
  +-------------+--------------------------------+
  | 130         | bls12_381_fr                   |
  +-------------+--------------------------------+
  | 131         | sapling_state                  |
  +-------------+--------------------------------+
  | 132         | sapling_transaction_deprecated |
  +-------------+--------------------------------+
  | 133         | SAPLING_EMPTY_STATE            |
  +-------------+--------------------------------+
  | 134         | SAPLING_VERIFY_UPDATE          |
  +-------------+--------------------------------+
  | 135         | ticket                         |
  +-------------+--------------------------------+
  | 136         | TICKET                         |
  +-------------+--------------------------------+
  | 137         | READ_TICKET                    |
  +-------------+--------------------------------+
  | 138         | SPLIT_TICKET                   |
  +-------------+--------------------------------+
  | 139         | JOIN_TICKETS                   |
  +-------------+--------------------------------+
  | 140         | GET_AND_UPDATE                 |
  +-------------+--------------------------------+
  | 141         | chest                          |
  +-------------+--------------------------------+
  | 142         | chest_key                      |
  +-------------+--------------------------------+
  | 143         | OPEN_CHEST                     |
  +-------------+--------------------------------+
  | 144         | VIEW                           |
  +-------------+--------------------------------+
  | 145         | view                           |
  +-------------+--------------------------------+
  | 146         | constant                       |
  +-------------+--------------------------------+
  | 147         | SUB_MUTEZ                      |
  +-------------+--------------------------------+
  | 148         | tx_rollup_l2_address           |
  +-------------+--------------------------------+
  | 149         | MIN_BLOCK_TIME                 |
  +-------------+--------------------------------+
  | 150         | sapling_transaction            |
  +-------------+--------------------------------+

  

GET ../<block_id>/context/delegates?[active]&[inactive]&[with_minimal_stake]&[without_minimal_stake]

Lists all registered delegates. The arguments `active`, `inactive`, `with_minimal_stake`, and `without_minimal_stake` allow to enumerate only the delegates that are active, inactive, have at least a minimal stake to participate in consensus and in governance, or do not have such a minimal stake, respectively.

Optional query arguments :

  • active
  • inactive
  • with_minimal_stake
  • without_minimal_stake

  [ $Signature.Public_key_hash ... ]
  $Signature.Public_key_hash:
    /* A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded) */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------------+----------+------------------------------+
  | Name                  | Size     | Contents                     |
  +=======================+==========+==============================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer      |
  +-----------------------+----------+------------------------------+
  | Unnamed field 0       | Variable | sequence of $public_key_hash |
  +-----------------------+----------+------------------------------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+

  

GET ../<block_id>/context/delegates/<pkh>

Everything about a delegate.

  { "full_balance": $013-PtJakart.mutez,
    "current_frozen_deposits": $013-PtJakart.mutez,
    "frozen_deposits": $013-PtJakart.mutez,
    "staking_balance": $013-PtJakart.mutez,
    "frozen_deposits_limit"?: $013-PtJakart.mutez,
    "delegated_contracts": [ $013-PtJakart.contract_id ... ],
    "delegated_balance": $013-PtJakart.mutez,
    "deactivated": boolean,
    "grace_period": integer ∈ [-2^31-1, 2^31],
    "voting_power": $int64 }
  $013-PtJakart.contract_id:
    /* A contract handle
       A contract notation as given to an RPC or inside scripts. Can be a
       base58 implicit contract hash or a base58 originated contract hash. */
    $unistring
  $013-PtJakart.mutez: $positive_bignum
  $int64:
    /* 64 bit integers
       Decimal representation of 64 bit integers */
    string
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +---------------------------------------------+----------------------+---------------------------------------+
  | Name                                        | Size                 | Contents                              |
  +=============================================+======================+=======================================+
  | full_balance                                | Determined from data | $N.t                                  |
  +---------------------------------------------+----------------------+---------------------------------------+
  | current_frozen_deposits                     | Determined from data | $N.t                                  |
  +---------------------------------------------+----------------------+---------------------------------------+
  | frozen_deposits                             | Determined from data | $N.t                                  |
  +---------------------------------------------+----------------------+---------------------------------------+
  | staking_balance                             | Determined from data | $N.t                                  |
  +---------------------------------------------+----------------------+---------------------------------------+
  | ? presence of field "frozen_deposits_limit" | 1 byte               | boolean (0 for false, 255 for true)   |
  +---------------------------------------------+----------------------+---------------------------------------+
  | frozen_deposits_limit                       | Determined from data | $N.t                                  |
  +---------------------------------------------+----------------------+---------------------------------------+
  | # bytes in next field                       | 4 bytes              | unsigned 30-bit integer               |
  +---------------------------------------------+----------------------+---------------------------------------+
  | delegated_contracts                         | Variable             | sequence of $013-PtJakart.contract_id |
  +---------------------------------------------+----------------------+---------------------------------------+
  | delegated_balance                           | Determined from data | $N.t                                  |
  +---------------------------------------------+----------------------+---------------------------------------+
  | deactivated                                 | 1 byte               | boolean (0 for false, 255 for true)   |
  +---------------------------------------------+----------------------+---------------------------------------+
  | grace_period                                | 4 bytes              | signed 32-bit integer                 |
  +---------------------------------------------+----------------------+---------------------------------------+
  | voting_power                                | 8 bytes              | signed 64-bit integer                 |
  +---------------------------------------------+----------------------+---------------------------------------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+


  013-PtJakart.contract_id (22 bytes, 8-bit tag)
  **********************************************

  Implicit (tag 0)
  ================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
  +---------------------------+----------+------------------------+


  Originated (tag 1)
  ==================

  +---------------+----------+------------------------+
  | Name          | Size     | Contents               |
  +===============+==========+========================+
  | Tag           | 1 byte   | unsigned 8-bit integer |
  +---------------+----------+------------------------+
  | Contract_hash | 20 bytes | bytes                  |
  +---------------+----------+------------------------+
  | padding       | 1 byte   | padding                |
  +---------------+----------+------------------------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/delegates/<pkh>/current_frozen_deposits

Returns the current amount of the frozen deposits (in mutez).

  $positive_bignum
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $N.t     |
  +-----------------+----------------------+----------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/delegates/<pkh>/deactivated

Tells whether the delegate is currently tagged as deactivated or not.

  boolean
  +-----------------+--------+-------------------------------------+
  | Name            | Size   | Contents                            |
  +=================+========+=====================================+
  | Unnamed field 0 | 1 byte | boolean (0 for false, 255 for true) |
  +-----------------+--------+-------------------------------------+


  

GET ../<block_id>/context/delegates/<pkh>/delegated_balance

Returns the sum (in mutez) of all balances of all the contracts that delegate to a given delegate. This excludes the delegate's own balance and its frozen deposits.

  $positive_bignum
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $N.t     |
  +-----------------+----------------------+----------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/delegates/<pkh>/delegated_contracts

Returns the list of contracts that delegate to a given delegate.

  [ $013-PtJakart.contract_id ... ]
  $013-PtJakart.contract_id:
    /* A contract handle
       A contract notation as given to an RPC or inside scripts. Can be a
       base58 implicit contract hash or a base58 originated contract hash. */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------------+----------+---------------------------------------+
  | Name                  | Size     | Contents                              |
  +=======================+==========+=======================================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer               |
  +-----------------------+----------+---------------------------------------+
  | Unnamed field 0       | Variable | sequence of $013-PtJakart.contract_id |
  +-----------------------+----------+---------------------------------------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+


  013-PtJakart.contract_id (22 bytes, 8-bit tag)
  **********************************************

  Implicit (tag 0)
  ================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
  +---------------------------+----------+------------------------+


  Originated (tag 1)
  ==================

  +---------------+----------+------------------------+
  | Name          | Size     | Contents               |
  +===============+==========+========================+
  | Tag           | 1 byte   | unsigned 8-bit integer |
  +---------------+----------+------------------------+
  | Contract_hash | 20 bytes | bytes                  |
  +---------------+----------+------------------------+
  | padding       | 1 byte   | padding                |
  +---------------+----------+------------------------+

  

GET ../<block_id>/context/delegates/<pkh>/frozen_deposits

Returns the initial amount (that is, at the beginning of a cycle) of the frozen deposits (in mutez). This amount is the same as the current amount of the frozen deposits, unless the delegate has been punished.

  $positive_bignum
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $N.t     |
  +-----------------+----------------------+----------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/delegates/<pkh>/frozen_deposits_limit

Returns the frozen deposits limit for the given delegate or none if no limit is set.

  $013-PtJakart.mutez /* Some */ || null /* None */
  $013-PtJakart.mutez: $positive_bignum
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_0     |
  +-----------------+----------------------+----------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  X_0 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | Determined from data | $N.t                   |
  +-----------------+----------------------+------------------------+

  

GET ../<block_id>/context/delegates/<pkh>/full_balance

Returns the full balance (in mutez) of a given delegate, including the frozen deposits and the frozen bonds. It does not include its delegated balance.

  $positive_bignum
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $N.t     |
  +-----------------+----------------------+----------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/delegates/<pkh>/grace_period

Returns the cycle by the end of which the delegate might be deactivated if she fails to execute any delegate action. A deactivated delegate might be reactivated (without loosing any stake) by simply re-registering as a delegate. For deactivated delegates, this value contains the cycle at which they were deactivated.

  integer ∈ [-2^31-1, 2^31]
  +-----------------+---------+-----------------------+
  | Name            | Size    | Contents              |
  +=================+=========+=======================+
  | Unnamed field 0 | 4 bytes | signed 32-bit integer |
  +-----------------+---------+-----------------------+


  

GET ../<block_id>/context/delegates/<pkh>/participation

Returns cycle and level participation information. In particular this indicates, in the field 'expected_cycle_activity', the number of slots the delegate is expected to have in the cycle based on its active stake. The field 'minimal_cycle_activity' indicates the minimal endorsing slots in the cycle required to get endorsing rewards. It is computed based on 'expected_cycle_activity. The fields 'missed_slots' and 'missed_levels' indicate the number of missed endorsing slots and missed levels (for endorsing) in the cycle so far. 'missed_slots' indicates the number of missed endorsing slots in the cycle so far. The field 'remaining_allowed_missed_slots' indicates the remaining amount of endorsing slots that can be missed in the cycle before forfeiting the rewards. Finally, 'expected_endorsing_rewards' indicates the endorsing rewards that will be distributed at the end of the cycle if activity at that point will be greater than the minimal required; if the activity is already known to be below the required minimum, then the rewards are zero.

  { "expected_cycle_activity": integer ∈ [-2^30, 2^30],
    "minimal_cycle_activity": integer ∈ [-2^30, 2^30],
    "missed_slots": integer ∈ [-2^30, 2^30],
    "missed_levels": integer ∈ [-2^30, 2^30],
    "remaining_allowed_missed_slots": integer ∈ [-2^30, 2^30],
    "expected_endorsing_rewards": $013-PtJakart.mutez }
  $013-PtJakart.mutez: $positive_bignum
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | Name                           | Size                 | Contents                                                     |
  +================================+======================+==============================================================+
  | expected_cycle_activity        | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | minimal_cycle_activity         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | missed_slots                   | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | missed_levels                  | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | remaining_allowed_missed_slots | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | expected_endorsing_rewards     | Determined from data | $N.t                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/delegates/<pkh>/staking_balance

Returns the total amount of tokens (in mutez) delegated to a given delegate. This includes the balances of all the contracts that delegate to it, but also the balance of the delegate itself, its frozen deposits, and its frozen bonds.

  $positive_bignum
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $N.t     |
  +-----------------+----------------------+----------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+

  

GET ../<block_id>/context/delegates/<pkh>/voting_power

The voting power in the vote listings for a given delegate.

  string
  /* 64 bit integers
     Decimal representation of 64 bit integers */
  +-----------------+---------+-----------------------+
  | Name            | Size    | Contents              |
  +=================+=========+=======================+
  | Unnamed field 0 | 8 bytes | signed 64-bit integer |
  +-----------------+---------+-----------------------+


  

GET ../<block_id>/context/liquidity_baking/cpmm_address

Liquidity baking CPMM address

  $unistring
  /* A contract handle
     A contract notation as given to an RPC or inside scripts. Can be a
     base58 implicit contract hash or a base58 originated contract hash. */
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------+----------+
  | Name            | Size     | Contents |
  +=================+==========+==========+
  | Unnamed field 0 | 22 bytes | $X_0     |
  +-----------------+----------+----------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+


  X_0 (22 bytes, 8-bit tag)
  *************************

  Implicit (tag 0)
  ================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
  +---------------------------+----------+------------------------+


  Originated (tag 1)
  ==================

  +---------------+----------+------------------------+
  | Name          | Size     | Contents               |
  +===============+==========+========================+
  | Tag           | 1 byte   | unsigned 8-bit integer |
  +---------------+----------+------------------------+
  | Contract_hash | 20 bytes | bytes                  |
  +---------------+----------+------------------------+
  | padding       | 1 byte   | padding                |
  +---------------+----------+------------------------+

  

GET ../<block_id>/context/merkle_tree(/<context_path>)*?[holey=<bool>]

Returns the merkle tree of a piece of context.

Optional query arguments :

  • holey = <bool> : Send only hashes, omit data of key

  [ [ $unistring,
      [ boolean, $unistring ]
      /* Hash */
      || /* Data */
      /^([a-zA-Z0-9][a-zA-Z0-9])*$/
      /* Key */
      || { /* Dir */
           *: $raw_context }
      || null
      /* Cut */
      || $merkle_tree
      /* Continue */ ] ... ]
  /* Some */
  || null
  /* None */
  $merkle_tree:
    [ [ $unistring,
        [ boolean, $unistring ]
        /* Hash */
        || /* Data */
        /^([a-zA-Z0-9][a-zA-Z0-9])*$/
        /* Key */
        || { /* Dir */
             *: $raw_context }
        || null
        /* Cut */
        || $merkle_tree
        /* Continue */ ] ... ]
  $raw_context:
    /^([a-zA-Z0-9][a-zA-Z0-9])*$/
    /* Key */
    || { /* Dir */
         *: $raw_context }
    || null
    /* Cut */
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_21    |
  +-----------------+----------------------+----------+


  X_7
  ***

  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_19    |
  +-----------------+----------------------+----------+
  | Unnamed field 1 | Determined from data | $X_18    |
  +-----------------+----------------------+----------+


  X_12 (Determined from data, 8-bit tag)
  **************************************

  Hash (tag 0)
  ============

  +-----------------+----------------------+-------------------------------------+
  | Name            | Size                 | Contents                            |
  +=================+======================+=====================================+
  | Tag             | 1 byte               | unsigned 8-bit integer              |
  +-----------------+----------------------+-------------------------------------+
  | Unnamed field 0 | 1 byte               | boolean (0 for false, 255 for true) |
  +-----------------+----------------------+-------------------------------------+
  | Unnamed field 1 | Determined from data | $X_19                               |
  +-----------------+----------------------+-------------------------------------+


  Data (tag 1)
  ============

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | Determined from data | $X_18                  |
  +-----------------+----------------------+------------------------+


  Continue (tag 2)
  ================

  +-----------------+----------------------+------------------------+
  | Name            | Size                 | Contents               |
  +=================+======================+========================+
  | Tag             | 1 byte               | unsigned 8-bit integer |
  +-----------------+----------------------+------------------------+
  | Unnamed field 0 | Determined from data | $merkle_tree           |
  +-----------------+----------------------+------------------------+


  merkle_tree
  ***********

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_0        |
  +-----------------------+----------+-------------------------+


  X_18 (Determined from data, 8-bit tag)
  **************************************

  Key (tag 0)
  ===========

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Dir (tag 1)
  ===========

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_7        |
  +-----------------------+----------+-------------------------+


  Cut (tag 2)
  ===========

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  X_19
  ****

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  X_0
  ***

  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_19    |
  +-----------------+----------------------+----------+
  | Unnamed field 1 | Determined from data | $X_12    |
  +-----------------+----------------------+----------+


  X_21 (Determined from data, 8-bit tag)
  **************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_0        |
  +-----------------------+----------+-------------------------+

  

GET ../<block_id>/context/nonces/<block_level>

Info about the nonce of a previous block.

  { /* Revealed */
    "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
  || { /* Missing */
       "hash": $cycle_nonce }
  || { /* Forgotten */
        }
  $cycle_nonce:
    /* A nonce hash (Base58Check-encoded) */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_0     |
  +-----------------+----------------------+----------+


  X_0 (Determined from data, 8-bit tag)
  *************************************

  Revealed (tag 0)
  ================

  +-------+----------+------------------------+
  | Name  | Size     | Contents               |
  +=======+==========+========================+
  | Tag   | 1 byte   | unsigned 8-bit integer |
  +-------+----------+------------------------+
  | nonce | 32 bytes | bytes                  |
  +-------+----------+------------------------+


  Missing (tag 1)
  ===============

  +------+----------+------------------------+
  | Name | Size     | Contents               |
  +======+==========+========================+
  | Tag  | 1 byte   | unsigned 8-bit integer |
  +------+----------+------------------------+
  | hash | 32 bytes | bytes                  |
  +------+----------+------------------------+


  Forgotten (tag 2)
  =================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+

  

GET ../<block_id>/context/raw/bytes(/<context_path>)*?[depth=<uint>]

Returns the raw context.

Optional query arguments :

  • depth = <uint>

  /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  /* Key */
  || { /* Dir */
       *: $raw_context }
  || null
  /* Cut */
  $raw_context:
    /^([a-zA-Z0-9][a-zA-Z0-9])*$/
    /* Key */
    || { /* Dir */
         *: $raw_context }
    || null
    /* Cut */
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_5     |
  +-----------------+----------------------+----------+


  X_3
  ***

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  X_2
  ***

  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_3     |
  +-----------------+----------------------+----------+
  | Unnamed field 1 | Determined from data | $X_5     |
  +-----------------+----------------------+----------+


  X_5 (Determined from data, 8-bit tag)
  *************************************

  Key (tag 0)
  ===========

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Dir (tag 1)
  ===========

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_2        |
  +-----------------------+----------+-------------------------+


  Cut (tag 2)
  ===========

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+

  

GET ../<block_id>/context/sapling/<sapling_state_id>/get_diff?[offset_commitment=<uint63>]&[offset_nullifier=<uint63>]

Returns the root and a diff of a state starting from an optional offset which is zero by default.

Optional query arguments :

  • offset_commitment = <uint63> : Commitments and ciphertexts are returned from the specified offset up to the most recent.
  • offset_nullifier = <uint63> : Nullifiers are returned from the specified offset up to the most recent.

  { "root": $sapling.transaction.commitment_hash,
    "commitments_and_ciphertexts":
      [ [ $sapling.transaction.commitment, $sapling.transaction.ciphertext ] ... ],
    "nullifiers": [ $sapling.transaction.nullifier ... ] }
  $sapling.DH.epk: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.ciphertext:
    { "cv": $sapling.transaction.commitment_value,
      "epk": $sapling.DH.epk,
      "payload_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "nonce_enc": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "payload_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "nonce_out": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
  $sapling.transaction.commitment: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.commitment_hash: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.commitment_value: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  $sapling.transaction.nullifier: /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  +-----------------------------+----------+-------------------------+
  | Name                        | Size     | Contents                |
  +=============================+==========+=========================+
  | root                        | 32 bytes | bytes                   |
  +-----------------------------+----------+-------------------------+
  | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
  +-----------------------------+----------+-------------------------+
  | commitments_and_ciphertexts | Variable | sequence of $X_0        |
  +-----------------------------+----------+-------------------------+
  | # bytes in next field       | 4 bytes  | unsigned 30-bit integer |
  +-----------------------------+----------+-------------------------+
  | nullifiers                  | Variable | sequence of bytes       |
  +-----------------------------+----------+-------------------------+


  sapling.transaction.ciphertext
  ******************************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | cv                    | 32 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | epk                   | 32 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | payload_enc           | Variable | bytes                   |
  +-----------------------+----------+-------------------------+
  | nonce_enc             | 24 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | payload_out           | 80 bytes | bytes                   |
  +-----------------------+----------+-------------------------+
  | nonce_out             | 24 bytes | bytes                   |
  +-----------------------+----------+-------------------------+


  X_0
  ***

  +-----------------+----------------------+---------------------------------+
  | Name            | Size                 | Contents                        |
  +=================+======================+=================================+
  | Unnamed field 0 | 32 bytes             | bytes                           |
  +-----------------+----------------------+---------------------------------+
  | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext |
  +-----------------+----------------------+---------------------------------+

  

POST ../<block_id>/context/seed

Seed of the cycle to which the block belongs.

  {  }
  This value's binary representation is empty. It takes zero (0) bytes of output.
  
  /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  +-----------------+----------+----------+
  | Name            | Size     | Contents |
  +=================+==========+==========+
  | Unnamed field 0 | 32 bytes | bytes    |
  +-----------------+----------+----------+


  

GET ../<block_id>/context/selected_snapshot?[cycle=<block_cycle>]

Returns the index of the selected snapshot for the current cycle or for the specific `cycle` passed as argument, if any.

Optional query arguments :

  • cycle = <block_cycle>

  integer ∈ [-2^30, 2^30]
  +-----------------+---------+--------------------------------------------------------------+
  | Name            | Size    | Contents                                                     |
  +=================+=========+==============================================================+
  | Unnamed field 0 | 4 bytes | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +-----------------+---------+--------------------------------------------------------------+


  

GET ../<block_id>/context/tx_rollup/<tx_rollup_id>/commitment/<block_level>

Return the commitment for a level, if any

  { /* Some */
    "commitment":
      { "level": integer ∈ [-2^31-1, 2^31],
        "messages":
          { "count": integer ∈ [-2^30, 2^30],
            "root": $Message_result_list_hash,
            "last_message_result_hash": $Message_result_hash },
        "predecessor": $Commitment_hash /* Some */ || null /* None */,
        "inbox_merkle_root": $Inbox_list_hash },
    "commitment_hash": $Commitment_hash,
    "committer": $Signature.Public_key_hash,
    "submitted_at": integer ∈ [-2^31-1, 2^31],
    "finalized_at"?: integer ∈ [-2^31-1, 2^31] }
  || null
  /* None */
  $Commitment_hash:
    /* A commitment ID (Base58Check-encoded) */
    $unistring
  $Inbox_list_hash:
    /* A merkle root hash for inboxes (Base58Check-encoded) */
    $unistring
  $Message_result_hash:
    /* A message result hash (Base58Check-encoded) */
    $unistring
  $Message_result_list_hash:
    /* A merklised message result list hash (Base58Check-encoded) */
    $unistring
  $Signature.Public_key_hash:
    /* A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded) */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_3     |
  +-----------------+----------------------+----------+


  X_1
  ***

  +--------------------------+----------+--------------------------------------------------------------+
  | Name                     | Size     | Contents                                                     |
  +==========================+==========+==============================================================+
  | count                    | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +--------------------------+----------+--------------------------------------------------------------+
  | root                     | 32 bytes | bytes                                                        |
  +--------------------------+----------+--------------------------------------------------------------+
  | last_message_result_hash | 32 bytes | bytes                                                        |
  +--------------------------+----------+--------------------------------------------------------------+


  X_2 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Commitment_hash | 32 bytes | bytes                  |
  +-----------------+----------+------------------------+


  X_0
  ***

  +-------------------+----------------------+-----------------------+
  | Name              | Size                 | Contents              |
  +===================+======================+=======================+
  | level             | 4 bytes              | signed 32-bit integer |
  +-------------------+----------------------+-----------------------+
  | messages          | 68 bytes             | $X_1                  |
  +-------------------+----------------------+-----------------------+
  | predecessor       | Determined from data | $X_2                  |
  +-------------------+----------------------+-----------------------+
  | inbox_merkle_root | 32 bytes             | bytes                 |
  +-------------------+----------------------+-----------------------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+


  X_3 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +------------------------------------+----------------------+-------------------------------------+
  | Name                               | Size                 | Contents                            |
  +====================================+======================+=====================================+
  | Tag                                | 1 byte               | unsigned 8-bit integer              |
  +------------------------------------+----------------------+-------------------------------------+
  | commitment                         | Determined from data | $X_0                                |
  +------------------------------------+----------------------+-------------------------------------+
  | commitment_hash                    | 32 bytes             | bytes                               |
  +------------------------------------+----------------------+-------------------------------------+
  | committer                          | 21 bytes             | $public_key_hash                    |
  +------------------------------------+----------------------+-------------------------------------+
  | submitted_at                       | 4 bytes              | signed 32-bit integer               |
  +------------------------------------+----------------------+-------------------------------------+
  | ? presence of field "finalized_at" | 1 byte               | boolean (0 for false, 255 for true) |
  +------------------------------------+----------------------+-------------------------------------+
  | finalized_at                       | 4 bytes              | signed 32-bit integer               |
  +------------------------------------+----------------------+-------------------------------------+

  

GET ../<block_id>/context/tx_rollup/<tx_rollup_id>/inbox/<block_level>

Get the inbox of a transaction rollup

  { /* Some */
    "inbox_length": integer ∈ [-2^30, 2^30],
    "cumulated_size": integer ∈ [-2^30, 2^30],
    "merkle_root": $Inbox_list_hash }
  || null
  /* None */
  $Inbox_list_hash:
    /* A merkle root hash for inboxes (Base58Check-encoded) */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------+----------------------+----------+
  | Name            | Size                 | Contents |
  +=================+======================+==========+
  | Unnamed field 0 | Determined from data | $X_0     |
  +-----------------+----------------------+----------+


  X_0 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +----------------+----------+--------------------------------------------------------------+
  | Name           | Size     | Contents                                                     |
  +================+==========+==============================================================+
  | Tag            | 1 byte   | unsigned 8-bit integer                                       |
  +----------------+----------+--------------------------------------------------------------+
  | inbox_length   | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +----------------+----------+--------------------------------------------------------------+
  | cumulated_size | 4 bytes  | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +----------------+----------+--------------------------------------------------------------+
  | merkle_root    | 32 bytes | bytes                                                        |
  +----------------+----------+--------------------------------------------------------------+

  

GET ../<block_id>/context/tx_rollup/<tx_rollup_id>/pending_bonded_commitments/<pkh>

Get the number of pending bonded commitments for a pkh on a rollup

  integer ∈ [-2^31-1, 2^31]
  +-----------------+---------+-----------------------+
  | Name            | Size    | Contents              |
  +=================+=========+=======================+
  | Unnamed field 0 | 4 bytes | signed 32-bit integer |
  +-----------------+---------+-----------------------+


  

GET ../<block_id>/context/tx_rollup/<tx_rollup_id>/state

Access the state of a rollup.

  { "last_removed_commitment_hashes":
      { /* Some */
        "last_message_hash": $Message_result_hash,
        "commitment_hash": $Commitment_hash }
      || null
      /* None */,
    "finalized_commitments":
      { /* empty */
        "next": integer ∈ [-2^31-1, 2^31] }
      || { /* interval */
           "newest": integer ∈ [-2^31-1, 2^31],
           "oldest": integer ∈ [-2^31-1, 2^31] },
    "unfinalized_commitments":
      { /* empty */
        "next": integer ∈ [-2^31-1, 2^31] }
      || { /* interval */
           "newest": integer ∈ [-2^31-1, 2^31],
           "oldest": integer ∈ [-2^31-1, 2^31] },
    "uncommitted_inboxes":
      { /* empty */
        "next": integer ∈ [-2^31-1, 2^31] }
      || { /* interval */
           "newest": integer ∈ [-2^31-1, 2^31],
           "oldest": integer ∈ [-2^31-1, 2^31] },
    "commitment_newest_hash": $Commitment_hash /* Some */ || null /* None */,
    "tezos_head_level":
      integer ∈ [-2^31-1, 2^31] /* Some */ || null /* None */,
    "burn_per_byte": $013-PtJakart.mutez,
    "allocated_storage": $positive_bignum,
    "occupied_storage": $positive_bignum,
    "inbox_ema": integer ∈ [-2^30, 2^30],
    "commitments_watermark":
      integer ∈ [-2^31-1, 2^31] /* Some */ || null /* None */ }
  $013-PtJakart.mutez: $positive_bignum
  $Commitment_hash:
    /* A commitment ID (Base58Check-encoded) */
    $unistring
  $Message_result_hash:
    /* A message result hash (Base58Check-encoded) */
    $unistring
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | Name                           | Size                 | Contents                                                     |
  +================================+======================+==============================================================+
  | last_removed_commitment_hashes | Determined from data | $X_0                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | finalized_commitments          | Determined from data | $X_3                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | unfinalized_commitments        | Determined from data | $X_3                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | uncommitted_inboxes            | Determined from data | $X_3                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | commitment_newest_hash         | Determined from data | $X_4                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | tezos_head_level               | Determined from data | $X_6                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | burn_per_byte                  | Determined from data | $N.t                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | allocated_storage              | Determined from data | $N.t                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | occupied_storage               | Determined from data | $N.t                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | inbox_ema                      | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +--------------------------------+----------------------+--------------------------------------------------------------+
  | commitments_watermark          | Determined from data | $X_6                                                         |
  +--------------------------------+----------------------+--------------------------------------------------------------+


  X_0 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +-------------------+----------+------------------------+
  | Name              | Size     | Contents               |
  +===================+==========+========================+
  | Tag               | 1 byte   | unsigned 8-bit integer |
  +-------------------+----------+------------------------+
  | last_message_hash | 32 bytes | bytes                  |
  +-------------------+----------+------------------------+
  | commitment_hash   | 32 bytes | bytes                  |
  +-------------------+----------+------------------------+


  X_3 (Determined from data, 8-bit tag)
  *************************************

  empty (tag 0)
  =============

  +------+---------+------------------------+
  | Name | Size    | Contents               |
  +======+=========+========================+
  | Tag  | 1 byte  | unsigned 8-bit integer |
  +------+---------+------------------------+
  | next | 4 bytes | signed 32-bit integer  |
  +------+---------+------------------------+


  interval (tag 1)
  ================

  +--------+---------+------------------------+
  | Name   | Size    | Contents               |
  +========+=========+========================+
  | Tag    | 1 byte  | unsigned 8-bit integer |
  +--------+---------+------------------------+
  | newest | 4 bytes | signed 32-bit integer  |
  +--------+---------+------------------------+
  | oldest | 4 bytes | signed 32-bit integer  |
  +--------+---------+------------------------+


  X_4 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | Commitment_hash | 32 bytes | bytes                  |
  +-----------------+----------+------------------------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  X_6 (Determined from data, 8-bit tag)
  *************************************

  None (tag 0)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  Some (tag 1)
  ============

  +-----------------+---------+------------------------+
  | Name            | Size    | Contents               |
  +=================+=========+========================+
  | Tag             | 1 byte  | unsigned 8-bit integer |
  +-----------------+---------+------------------------+
  | Unnamed field 0 | 4 bytes | signed 32-bit integer  |
  +-----------------+---------+------------------------+

  

GET ../<block_id>/hash

The block's hash, its unique identifier.

  $unistring
  /* A block identifier (Base58Check-encoded) */
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +------------+----------+----------+
  | Name       | Size     | Contents |
  +============+==========+==========+
  | block_hash | 32 bytes | bytes    |
  +------------+----------+----------+


  

GET ../<block_id>/header

The whole block header.

  { /* Shell header
       Block header's shell-related content. It contains information such as
       the block level, its predecessor and timestamp. */
    "protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
    "chain_id": $Chain_id,
    "hash": $block_hash,
    "level": integer ∈ [-2^31-1, 2^31],
    "proto": integer ∈ [0, 255],
    "predecessor": $block_hash,
    "timestamp": $timestamp.protocol,
    "validation_pass": integer ∈ [0, 255],
    "operations_hash": $Operation_list_list_hash,
    "fitness": $fitness,
    "context": $Context_hash,
    "payload_hash": $value_hash,
    "payload_round": integer ∈ [-2^31-1, 2^31],
    "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
    "seed_nonce_hash"?: $cycle_nonce,
    "liquidity_baking_toggle_vote":
      $013-PtJakart.liquidity_baking_toggle_vote,
    "signature": $Signature }
  $013-PtJakart.liquidity_baking_toggle_vote: "off" | "on" | "pass"
  $Chain_id:
    /* Network identifier (Base58Check-encoded) */
    $unistring
  $Context_hash:
    /* A hash of context (Base58Check-encoded) */
    $unistring
  $Operation_list_list_hash:
    /* A list of list of operations (Base58Check-encoded) */
    $unistring
  $Signature:
    /* A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded) */
    $unistring
  $block_hash:
    /* A block identifier (Base58Check-encoded) */
    $unistring
  $cycle_nonce:
    /* A nonce hash (Base58Check-encoded) */
    $unistring
  $fitness:
    /* Block fitness
       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. */
    [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
  $timestamp.protocol:
    /* A timestamp as seen by the protocol: second-level precision, epoch
       based. */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  $value_hash:
    /* Hash of a consensus value (Base58Check-encoded) */
    $unistring
  +---------------------------------------+----------+-------------------------------------+
  | Name                                  | Size     | Contents                            |
  +=======================================+==========+=====================================+
  | chain_id                              | 4 bytes  | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | hash                                  | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | level                                 | 4 bytes  | signed 32-bit integer               |
  +---------------------------------------+----------+-------------------------------------+
  | proto                                 | 1 byte   | unsigned 8-bit integer              |
  +---------------------------------------+----------+-------------------------------------+
  | predecessor                           | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | timestamp                             | 8 bytes  | signed 64-bit integer               |
  +---------------------------------------+----------+-------------------------------------+
  | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
  +---------------------------------------+----------+-------------------------------------+
  | operations_hash                       | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
  +---------------------------------------+----------+-------------------------------------+
  | fitness                               | Variable | sequence of $fitness.elem           |
  +---------------------------------------+----------+-------------------------------------+
  | context                               | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | payload_hash                          | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | payload_round                         | 4 bytes  | signed 32-bit integer               |
  +---------------------------------------+----------+-------------------------------------+
  | proof_of_work_nonce                   | 8 bytes  | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
  +---------------------------------------+----------+-------------------------------------+
  | seed_nonce_hash                       | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
  +---------------------------------------+----------+-------------------------------------+
  | signature                             | 64 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+


  fitness.elem
  ************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+

  

GET ../<block_id>/header/protocol_data

The version-specific fragment of the block header.

  { "protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
    "payload_hash": $value_hash,
    "payload_round": integer ∈ [-2^31-1, 2^31],
    "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
    "seed_nonce_hash"?: $cycle_nonce,
    "liquidity_baking_toggle_vote":
      $013-PtJakart.liquidity_baking_toggle_vote,
    "signature": $Signature }
  $013-PtJakart.liquidity_baking_toggle_vote: "off" | "on" | "pass"
  $Signature:
    /* A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded) */
    $unistring
  $cycle_nonce:
    /* A nonce hash (Base58Check-encoded) */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  $value_hash:
    /* Hash of a consensus value (Base58Check-encoded) */
    $unistring
  +---------------------------------------+----------+-------------------------------------+
  | Name                                  | Size     | Contents                            |
  +=======================================+==========+=====================================+
  | payload_hash                          | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | payload_round                         | 4 bytes  | signed 32-bit integer               |
  +---------------------------------------+----------+-------------------------------------+
  | proof_of_work_nonce                   | 8 bytes  | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
  +---------------------------------------+----------+-------------------------------------+
  | seed_nonce_hash                       | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
  +---------------------------------------+----------+-------------------------------------+
  | signature                             | 64 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+


  

GET ../<block_id>/header/protocol_data/raw

The version-specific fragment of the block header (unparsed).

  /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  

GET ../<block_id>/header/raw

The whole block header (unparsed).

  /^([a-zA-Z0-9][a-zA-Z0-9])*$/
  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  

GET ../<block_id>/header/shell

The shell-specific fragment of the block header.

  { /* Shell header
       Block header's shell-related content. It contains information such as
       the block level, its predecessor and timestamp. */
    "level": integer ∈ [-2^31-1, 2^31],
    "proto": integer ∈ [0, 255],
    "predecessor": $block_hash,
    "timestamp": $timestamp.protocol,
    "validation_pass": integer ∈ [0, 255],
    "operations_hash": $Operation_list_list_hash,
    "fitness": $fitness,
    "context": $Context_hash }
  $Context_hash:
    /* A hash of context (Base58Check-encoded) */
    $unistring
  $Operation_list_list_hash:
    /* A list of list of operations (Base58Check-encoded) */
    $unistring
  $block_hash:
    /* A block identifier (Base58Check-encoded) */
    $unistring
  $fitness:
    /* Block fitness
       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. */
    [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
  $timestamp.protocol:
    /* A timestamp as seen by the protocol: second-level precision, epoch
       based. */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +----------------------------+----------+---------------------------+
  | Name                       | Size     | Contents                  |
  +============================+==========+===========================+
  | level                      | 4 bytes  | signed 32-bit integer     |
  +----------------------------+----------+---------------------------+
  | proto                      | 1 byte   | unsigned 8-bit integer    |
  +----------------------------+----------+---------------------------+
  | predecessor                | 32 bytes | bytes                     |
  +----------------------------+----------+---------------------------+
  | timestamp                  | 8 bytes  | signed 64-bit integer     |
  +----------------------------+----------+---------------------------+
  | validation_pass            | 1 byte   | unsigned 8-bit integer    |
  +----------------------------+----------+---------------------------+
  | operations_hash            | 32 bytes | bytes                     |
  +----------------------------+----------+---------------------------+
  | # bytes in field "fitness" | 4 bytes  | unsigned 30-bit integer   |
  +----------------------------+----------+---------------------------+
  | fitness                    | Variable | sequence of $fitness.elem |
  +----------------------------+----------+---------------------------+
  | context                    | 32 bytes | bytes                     |
  +----------------------------+----------+---------------------------+


  fitness.elem
  ************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+

  

GET ../<block_id>/helpers/complete/<prefix>

Try to complete a prefix of a Base58Check-encoded data. This RPC is actually able to complete hashes of block, operations, public_keys and contracts.

  [ $unistring ... ]
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | sequence of $X_0        |
  +-----------------------+----------+-------------------------+


  X_0
  ***

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+

  

POST ../<block_id>/helpers/forge_block_header

Forge a block header

  { /* Block header
       Block header. It contains both shell and protocol specific data. */
    "level": integer ∈ [-2^31-1, 2^31],
    "proto": integer ∈ [0, 255],
    "predecessor": $block_hash,
    "timestamp": $timestamp.protocol,
    "validation_pass": integer ∈ [0, 255],
    "operations_hash": $Operation_list_list_hash,
    "fitness": $fitness,
    "context": $Context_hash,
    "protocol_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
  $Context_hash:
    /* A hash of context (Base58Check-encoded) */
    $unistring
  $Operation_list_list_hash:
    /* A list of list of operations (Base58Check-encoded) */
    $unistring
  $block_hash:
    /* A block identifier (Base58Check-encoded) */
    $unistring
  $fitness:
    /* Block fitness
       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. */
    [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
  $timestamp.protocol:
    /* A timestamp as seen by the protocol: second-level precision, epoch
       based. */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  +----------------------------+----------+---------------------------+
  | Name                       | Size     | Contents                  |
  +============================+==========+===========================+
  | level                      | 4 bytes  | signed 32-bit integer     |
  +----------------------------+----------+---------------------------+
  | proto                      | 1 byte   | unsigned 8-bit integer    |
  +----------------------------+----------+---------------------------+
  | predecessor                | 32 bytes | bytes                     |
  +----------------------------+----------+---------------------------+
  | timestamp                  | 8 bytes  | signed 64-bit integer     |
  +----------------------------+----------+---------------------------+
  | validation_pass            | 1 byte   | unsigned 8-bit integer    |
  +----------------------------+----------+---------------------------+
  | operations_hash            | 32 bytes | bytes                     |
  +----------------------------+----------+---------------------------+
  | # bytes in field "fitness" | 4 bytes  | unsigned 30-bit integer   |
  +----------------------------+----------+---------------------------+
  | fitness                    | Variable | sequence of $fitness.elem |
  +----------------------------+----------+---------------------------+
  | context                    | 32 bytes | bytes                     |
  +----------------------------+----------+---------------------------+
  | protocol_data              | Variable | bytes                     |
  +----------------------------+----------+---------------------------+


  fitness.elem
  ************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+

  
  { "block": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | block                 | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  

POST ../<block_id>/helpers/preapply/block?[sort]&[timestamp=<date>]

Simulate the validation of a block that would contain the given operations and return the resulting fitness and context hash.

Optional query arguments :

  • sort
  • timestamp = <date>

  { "protocol_data":
      { "protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
        "payload_hash": $value_hash,
        "payload_round": integer ∈ [-2^31-1, 2^31],
        "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
        "seed_nonce_hash"?: $cycle_nonce,
        "liquidity_baking_toggle_vote":
          $013-PtJakart.liquidity_baking_toggle_vote,
        "signature": $Signature },
    "operations": [ [ $next_operation ... ] ... ] }
  $013-PtJakart.block_header.alpha.full_header:
    /* Shell header
       Block header's shell-related content. It contains information such as
       the block level, its predecessor and timestamp. */
    { "level": integer ∈ [-2^31-1, 2^31],
      "proto": integer ∈ [0, 255],
      "predecessor": $block_hash,
      "timestamp": $timestamp.protocol,
      "validation_pass": integer ∈ [0, 255],
      "operations_hash": $Operation_list_list_hash,
      "fitness": $fitness,
      "context": $Context_hash,
      "payload_hash": $value_hash,
      "payload_round": integer ∈ [-2^31-1, 2^31],
      "proof_of_work_nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
      "seed_nonce_hash"?: $cycle_nonce,
      "liquidity_baking_toggle_vote":
        $013-PtJakart.liquidity_baking_toggle_vote,
      "signature": $Signature }
  $013-PtJakart.contract_id:
    /* A contract handle
       A contract notation as given to an RPC or inside scripts. Can be a
       base58 implicit contract hash or a base58 originated contract hash. */
    $unistring
  $013-PtJakart.entrypoint:
    /* entrypoint
       Named entrypoint to a Michelson smart contract */
    "default"
    || "root"
    || "do"
    || "set_delegate"
    || "remove_delegate"
    || string
    /* named */
  $013-PtJakart.inlined.endorsement:
    /* An operation's shell header. */
    { "branch": $block_hash,
      "operations": $013-PtJakart.inlined.endorsement_mempool.contents,
      "signature"?: $Signature }
  $013-PtJakart.inlined.endorsement_mempool.contents:
    { /* Endorsement */
      "kind": "endorsement",
      "slot": integer ∈ [0, 2^16-1],
      "level": integer ∈ [-2^31-1, 2^31],
      "round": integer ∈ [-2^31-1, 2^31],
      "block_payload_hash": $value_hash }
  $013-PtJakart.inlined.preendorsement:
    /* An operation's shell header. */
    { "branch": $block_hash,
      "operations": $013-PtJakart.inlined.preendorsement.contents,
      "signature"?: $Signature }
  $013-PtJakart.inlined.preendorsement.contents:
    { /* Preendorsement */
      "kind": "preendorsement",
      "slot": integer ∈ [0, 2^16-1],
      "level": integer ∈ [-2^31-1, 2^31],
      "round": integer ∈ [-2^31-1, 2^31],
      "block_payload_hash": $value_hash }
  $013-PtJakart.liquidity_baking_toggle_vote: "off" | "on" | "pass"
  $013-PtJakart.michelson.v1.primitives:
    "ABS"
    | "IF"
    | "SOURCE"
    | "DUG"
    | "False"
    | "DIG"
    | "SAPLING_VERIFY_UPDATE"
    | "bls12_381_g2"
    | "BLAKE2B"
    | "lambda"
    | "sapling_state"
    | "Pair"
    | "INT"
    | "big_map"
    | "sapling_transaction_deprecated"
    | "storage"
    | "RIGHT"
    | "view"
    | "SHA256"
    | "AND"
    | "VIEW"
    | "string"
    | "NIL"
    | "list"
    | "STEPS_TO_QUOTA"
    | "RENAME"
    | "CHECK_SIGNATURE"
    | "NEVER"
    | "unit"
    | "MAP"
    | "nat"
    | "never"
    | "ADD"
    | "IMPLICIT_ACCOUNT"
    | "SHA512"
    | "contract"
    | "LSL"
    | "constant"
    | "chain_id"
    | "bls12_381_g1"
    | "address"
    | "COMPARE"
    | "SUB_MUTEZ"
    | "SLICE"
    | "DROP"
    | "or"
    | "BALANCE"
    | "CONCAT"
    | "chest_key"
    | "MUL"
    | "FAILWITH"
    | "Elt"
    | "key_hash"
    | "MIN_BLOCK_TIME"
    | "DIP"
    | "MEM"
    | "XOR"
    | "key"
    | "UPDATE"
    | "Some"
    | "parameter"
    | "operation"
    | "EMPTY_MAP"
    | "None"
    | "SWAP"
    | "option"
    | "AMOUNT"
    | "set"
    | "KECCAK"
    | "signature"
    | "CHAIN_ID"
    | "HASH_KEY"
    | "IF_LEFT"
    | "CREATE_ACCOUNT"
    | "LT"
    | "VOTING_POWER"
    | "UNPACK"
    | "TICKET"
    | "SELF"
    | "mutez"
    | "TRANSFER_TOKENS"
    | "LE"
    | "SOME"
    | "CREATE_CONTRACT"
    | "Unit"
    | "SAPLING_EMPTY_STATE"
    | "NONE"
    | "ADDRESS"
    | "GE"
    | "SIZE"
    | "int"
    | "SENDER"
    | "pair"
    | "CAR"
    | "NOT"
    | "timestamp"
    | "CDR"
    | "ITER"
    | "SHA3"
    | "PUSH"
    | "LEFT"
    | "ISNAT"
    | "True"
    | "Right"
    | "PACK"
    | "IF_CONS"
    | "TOTAL_VOTING_POWER"
    | "bls12_381_fr"
    | "SET_DELEGATE"
    | "EMPTY_SET"
    | "NEQ"
    | "LAMBDA"
    | "bytes"
    | "PAIRING_CHECK"
    | "LOOP"
    | "Left"
    | "bool"
    | "LSR"
    | "EMPTY_BIG_MAP"
    | "SPLIT_TICKET"
    | "tx_rollup_l2_address"
    | "LEVEL"
    | "PAIR"
    | "READ_TICKET"
    | "map"
    | "UNPAIR"
    | "GT"
    | "ticket"
    | "sapling_transaction"
    | "NOW"
    | "IF_NONE"
    | "OR"
    | "GET_AND_UPDATE"
    | "UNIT"
    | "CONTRACT"
    | "CAST"
    | "JOIN_TICKETS"
    | "EDIV"
    | "EQ"
    | "LOOP_LEFT"
    | "chest"
    | "OPEN_CHEST"
    | "EXEC"
    | "GET"
    | "NEG"
    | "SELF_ADDRESS"
    | "DUP"
    | "CONS"
    | "SUB"
    | "APPLY"
    | "code"
  $013-PtJakart.mutez: $positive_bignum
  $013-PtJakart.operation.alpha.contents:
    { /* Endorsement */
      "kind": "endorsement",
      "slot": integer ∈ [0, 2^16-1],
      "level": integer ∈ [-2^31-1, 2^31],
      "round": integer ∈ [-2^31-1, 2^31],
      "block_payload_hash": $value_hash }
    || { /* Preendorsement */
         "kind": "preendorsement",
         "slot": integer ∈ [0, 2^16-1],
         "level": integer ∈ [-2^31-1, 2^31],
         "round": integer ∈ [-2^31-1, 2^31],
         "block_payload_hash": $value_hash }
    || { /* Seed_nonce_revelation */
         "kind": "seed_nonce_revelation",
         "level": integer ∈ [-2^31-1, 2^31],
         "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || { /* Double_endorsement_evidence */
         "kind": "double_endorsement_evidence",
         "op1": $013-PtJakart.inlined.endorsement,
         "op2": $013-PtJakart.inlined.endorsement }
    || { /* Double_preendorsement_evidence */
         "kind": "double_preendorsement_evidence",
         "op1": $013-PtJakart.inlined.preendorsement,
         "op2": $013-PtJakart.inlined.preendorsement }
    || { /* Double_baking_evidence */
         "kind": "double_baking_evidence",
         "bh1": $013-PtJakart.block_header.alpha.full_header,
         "bh2": $013-PtJakart.block_header.alpha.full_header }
    || { /* Activate_account */
         "kind": "activate_account",
         "pkh": $Ed25519.Public_key_hash,
         "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || { /* Proposals */
         "kind": "proposals",
         "source": $Signature.Public_key_hash,
         "period": integer ∈ [-2^31-1, 2^31],
         "proposals": [ $Protocol_hash ... ] }
    || { /* Ballot */
         "kind": "ballot",
         "source": $Signature.Public_key_hash,
         "period": integer ∈ [-2^31-1, 2^31],
         "proposal": $Protocol_hash,
         "ballot": "nay" | "yay" | "pass" }
    || { /* Reveal */
         "kind": "reveal",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "public_key": $Signature.Public_key }
    || { /* Transaction */
         "kind": "transaction",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "amount": $013-PtJakart.mutez,
         "destination": $013-PtJakart.transaction_destination,
         "parameters"?:
           { "entrypoint": $013-PtJakart.entrypoint,
             "value":
               { /* Int */
                 "int": $bignum }
               || { /* String */
                    "string": $unistring }
               || { /* Bytes */
                    "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
               || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
               /* Sequence */
               || { /* Prim__generic
                       Generic primitive (any number of args with or without
                       annotations) */
                    "prim": $013-PtJakart.michelson.v1.primitives,
                    "args"?:
                      [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                    "annots"?: [ string ... ] } } }
    || { /* Origination */
         "kind": "origination",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "balance": $013-PtJakart.mutez,
         "delegate"?: $Signature.Public_key_hash,
         "script": $013-PtJakart.scripted.contracts }
    || { /* Delegation */
         "kind": "delegation",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "delegate"?: $Signature.Public_key_hash }
    || { /* Set_deposits_limit */
         "kind": "set_deposits_limit",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "limit"?: $013-PtJakart.mutez }
    || { /* Failing_noop */
         "kind": "failing_noop",
         "arbitrary": $unistring }
    || { /* Register_global_constant */
         "kind": "register_global_constant",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "value":
           { /* Int */
             "int": $bignum }
           || { /* String */
                "string": $unistring }
           || { /* Bytes */
                "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
           /* Sequence */
           || { /* Prim__generic
                   Generic primitive (any number of args with or without
                   annotations) */
                "prim": $013-PtJakart.michelson.v1.primitives,
                "args"?:
                  [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                "annots"?: [ string ... ] } }
    || { /* Tx_rollup_origination */
         "kind": "tx_rollup_origination",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "tx_rollup_origination": any }
    || { /* Tx_rollup_submit_batch */
         "kind": "tx_rollup_submit_batch",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "content": /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
         "burn_limit"?: $013-PtJakart.mutez }
    || { /* Tx_rollup_commit */
         "kind": "tx_rollup_commit",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "commitment":
           { "level": integer ∈ [-2^31-1, 2^31],
             "messages": [ $Message_result_hash ... ],
             "predecessor": $Commitment_hash /* Some */ || null /* None */,
             "inbox_merkle_root": $Inbox_list_hash } }
    || { /* Tx_rollup_return_bond */
         "kind": "tx_rollup_return_bond",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id }
    || { /* Tx_rollup_finalize_commitment */
         "kind": "tx_rollup_finalize_commitment",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id }
    || { /* Tx_rollup_remove_commitment */
         "kind": "tx_rollup_remove_commitment",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id }
    || { /* Tx_rollup_rejection */
         "kind": "tx_rollup_rejection",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.tx_rollup_id,
         "level": integer ∈ [-2^31-1, 2^31],
         "message":
           { /* Batch */
             "batch": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || { /* Deposit */
                "deposit":
                  { "sender": $Signature.Public_key_hash,
                    "destination": $Tx_rollup_l2_address,
                    "ticket_hash": $script_expr,
                    "amount": $int64 } },
         "message_position": $positive_bignum,
         "message_path": [ $Inbox_list_hash ... ],
         "message_result_hash": $Message_result_hash,
         "message_result_path": [ $Message_result_list_hash ... ],
         "previous_message_result":
           { "context_hash": $Context_hash,
             "withdraw_list_hash": $Withdraw_list_hash },
         "previous_message_result_path": [ $Message_result_list_hash ... ],
         "proof":
           { "version": integer ∈ [-2^15, 2^15-1],
             "before":
               { /* Value */
                 "value": $Context_hash }
               || { /* Node */
                    "node": $Context_hash },
             "after":
               { /* Value */
                 "value": $Context_hash }
               || { /* Node */
                    "node": $Context_hash },
             "state":
               [ { /* Inode */
                   "inode":
                     { "length": $int64,
                       "proofs":
                         [ null /* none */ || $Context_hash /* some */,
                           null /* none */ || $Context_hash /* some */ ] } }
                 || { /* other_elts */
                      "other_elts":
                        { /* Node */
                          "node":
                            [ [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
                                { /* Value */
                                  "value": $Context_hash }
                                || { /* Node */
                                     "node": $Context_hash } ] ... ] }
                        || { /* other_elts */
                             "other_elts":
                               { /* Value */
                                 "value":
                                   /^([a-zA-Z0-9][a-zA-Z0-9])*$/
                                   /* short_bytes */
                                   || /^([a-zA-Z0-9][a-zA-Z0-9])*$/
                                   /* medium_bytes */
                                   || any
                                   /* long_bytes
                                      This case is void. No data is accepted. */
                                   || /^([a-zA-Z0-9][a-zA-Z0-9])*$/
                                   /* unlimited_bytes */ }
                               || { /* Inode_extender */
                                    "inode_extender":
                                      { "length": $int64,
                                        "segment":
                                          /^([a-zA-Z0-9][a-zA-Z0-9])*$/,
                                        "proof": $Context_hash } } } } ... ] } }
    || { /* Tx_rollup_dispatch_tickets */
         "kind": "tx_rollup_dispatch_tickets",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "tx_rollup": $013-PtJakart.tx_rollup_id,
         "level": integer ∈ [-2^31-1, 2^31],
         "context_hash": $Context_hash,
         "message_index": integer ∈ [-2^30, 2^30],
         "message_result_path": [ $Message_result_list_hash ... ],
         "tickets_info":
           [ { "contents":
                 { /* Int */
                   "int": $bignum }
                 || { /* String */
                      "string": $unistring }
                 || { /* Bytes */
                      "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                 || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                 /* Sequence */
                 || { /* Prim__generic
                         Generic primitive (any number of args with or
                         without annotations) */
                      "prim": $013-PtJakart.michelson.v1.primitives,
                      "args"?:
                        [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                      "annots"?: [ string ... ] },
               "ty":
                 { /* Int */
                   "int": $bignum }
                 || { /* String */
                      "string": $unistring }
                 || { /* Bytes */
                      "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
                 || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
                 /* Sequence */
                 || { /* Prim__generic
                         Generic primitive (any number of args with or
                         without annotations) */
                      "prim": $013-PtJakart.michelson.v1.primitives,
                      "args"?:
                        [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                      "annots"?: [ string ... ] },
               "ticketer": $013-PtJakart.contract_id,
               "amount": $int64,
               "claimer": $Signature.Public_key_hash } ... ] }
    || { /* Transfer_ticket */
         "kind": "transfer_ticket",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "ticket_contents":
           { /* Int */
             "int": $bignum }
           || { /* String */
                "string": $unistring }
           || { /* Bytes */
                "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
           /* Sequence */
           || { /* Prim__generic
                   Generic primitive (any number of args with or without
                   annotations) */
                "prim": $013-PtJakart.michelson.v1.primitives,
                "args"?:
                  [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                "annots"?: [ string ... ] },
         "ticket_ty":
           { /* Int */
             "int": $bignum }
           || { /* String */
                "string": $unistring }
           || { /* Bytes */
                "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
           || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
           /* Sequence */
           || { /* Prim__generic
                   Generic primitive (any number of args with or without
                   annotations) */
                "prim": $013-PtJakart.michelson.v1.primitives,
                "args"?:
                  [ $micheline.013-PtJakart.michelson_v1.expression ... ],
                "annots"?: [ string ... ] },
         "ticket_ticketer": $013-PtJakart.contract_id,
         "ticket_amount": $positive_bignum,
         "destination": $013-PtJakart.contract_id,
         "entrypoint": $unistring }
    || { /* Sc_rollup_originate */
         "kind": "sc_rollup_originate",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "kind": any /* Example_arith smart contract rollup kind */,
         "boot_sector": $unistring }
    || { /* Sc_rollup_add_messages */
         "kind": "sc_rollup_add_messages",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.rollup_address,
         "message": [ $unistring ... ] }
    || { /* Sc_rollup_cement */
         "kind": "sc_rollup_cement",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.rollup_address,
         "commitment": $commitment_hash }
    || { /* Sc_rollup_publish */
         "kind": "sc_rollup_publish",
         "source": $Signature.Public_key_hash,
         "fee": $013-PtJakart.mutez,
         "counter": $positive_bignum,
         "gas_limit": $positive_bignum,
         "storage_limit": $positive_bignum,
         "rollup": $013-PtJakart.rollup_address,
         "commitment":
           { "compressed_state": $state_hash,
             "inbox_level": integer ∈ [-2^31-1, 2^31],
             "predecessor": $commitment_hash,
             "number_of_messages": integer ∈ [-2^31-1, 2^31],
             "number_of_ticks": integer ∈ [-2^31-1, 2^31] } }
  $013-PtJakart.rollup_address:
    /* A smart contract rollup address
       A smart contract rollup is identified by a base58 address starting
       with scr1 */
    $unistring
  $013-PtJakart.scripted.contracts:
    { "code":
        { /* Int */
          "int": $bignum }
        || { /* String */
             "string": $unistring }
        || { /* Bytes */
             "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
        || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
        /* Sequence */
        || { /* Prim__generic
                Generic primitive (any number of args with or without
                annotations) */
             "prim": $013-PtJakart.michelson.v1.primitives,
             "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
             "annots"?: [ string ... ] },
      "storage":
        { /* Int */
          "int": $bignum }
        || { /* String */
             "string": $unistring }
        || { /* Bytes */
             "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
        || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
        /* Sequence */
        || { /* Prim__generic
                Generic primitive (any number of args with or without
                annotations) */
             "prim": $013-PtJakart.michelson.v1.primitives,
             "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
             "annots"?: [ string ... ] } }
  $013-PtJakart.transaction_destination:
    /* A destination of a transaction
       A destination notation compatible with the contract notation as given
       to an RPC or inside scripts. Can be a base58 implicit contract hash, a
       base58 originated contract hash, or a base58 originated transaction
       rollup. */
    $unistring
  $013-PtJakart.tx_rollup_id:
    /* A tx rollup handle
       A tx rollup notation as given to an RPC or inside scripts, is a base58
       tx rollup hash */
    $unistring
  $Commitment_hash:
    /* A commitment ID (Base58Check-encoded) */
    $unistring
  $Context_hash:
    /* A hash of context (Base58Check-encoded) */
    $unistring
  $Ed25519.Public_key_hash:
    /* An Ed25519 public key hash (Base58Check-encoded) */
    $unistring
  $Inbox_list_hash:
    /* A merkle root hash for inboxes (Base58Check-encoded) */
    $unistring
  $Message_result_hash:
    /* A message result hash (Base58Check-encoded) */
    $unistring
  $Message_result_list_hash:
    /* A merklised message result list hash (Base58Check-encoded) */
    $unistring
  $Operation_list_list_hash:
    /* A list of list of operations (Base58Check-encoded) */
    $unistring
  $Protocol_hash:
    /* A Tezos protocol ID (Base58Check-encoded) */
    $unistring
  $Signature:
    /* A Ed25519, Secp256k1 or P256 signature (Base58Check-encoded) */
    $unistring
  $Signature.Public_key:
    /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */
    $unistring
  $Signature.Public_key_hash:
    /* A Ed25519, Secp256k1, or P256 public key hash (Base58Check-encoded) */
    $unistring
  $Tx_rollup_l2_address:
    /* The hash of a BLS public key used to identify a L2 ticket holders
       (Base58Check-encoded) */
    $unistring
  $Withdraw_list_hash:
    /* A list of withdraw orders (Base58Check-encoded) */
    $unistring
  $bignum:
    /* Big number
       Decimal representation of a big number */
    string
  $block_hash:
    /* A block identifier (Base58Check-encoded) */
    $unistring
  $commitment_hash:
    /* The hash of a commitment of a smart contract rollup
       (Base58Check-encoded) */
    $unistring
  $cycle_nonce:
    /* A nonce hash (Base58Check-encoded) */
    $unistring
  $fitness:
    /* Block fitness
       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. */
    [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ]
  $int64:
    /* 64 bit integers
       Decimal representation of 64 bit integers */
    string
  $micheline.013-PtJakart.michelson_v1.expression:
    { /* Int */
      "int": $bignum }
    || { /* String */
         "string": $unistring }
    || { /* Bytes */
         "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
    || [ $micheline.013-PtJakart.michelson_v1.expression ... ]
    /* Sequence */
    || { /* Prim__generic
            Generic primitive (any number of args with or without
            annotations) */
         "prim": $013-PtJakart.michelson.v1.primitives,
         "args"?: [ $micheline.013-PtJakart.michelson_v1.expression ... ],
         "annots"?: [ string ... ] }
  $next_operation:
    /* An operation's shell header. */
    { "protocol": "PtJakart2xVj7pYXJBXrqHgd82rdkLey5ZeeGwDgPp9rhQUbSqY",
      "branch": $block_hash,
      "contents": [ $013-PtJakart.operation.alpha.contents ... ],
      "signature": $Signature }
  $positive_bignum:
    /* Positive big number
       Decimal representation of a positive big number */
    string
  $script_expr:
    /* A script expression ID (Base58Check-encoded) */
    $unistring
  $state_hash:
    /* The hash of the VM state of a smart contract rollup
       (Base58Check-encoded) */
    $unistring
  $timestamp.protocol:
    /* A timestamp as seen by the protocol: second-level precision, epoch
       based. */
    $unistring
  $unistring:
    /* Universal string representation
       Either a plain UTF8 string, or a sequence of bytes for strings that
       contain invalid byte sequences. */
    string || { "invalid_utf8_string": [ integer ∈ [0, 255] ... ] }
  $value_hash:
    /* Hash of a consensus value (Base58Check-encoded) */
    $unistring
  +-----------------------+----------------------+-------------------------+
  | Name                  | Size                 | Contents                |
  +=======================+======================+=========================+
  | protocol_data         | Determined from data | $X_0                    |
  +-----------------------+----------------------+-------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
  +-----------------------+----------------------+-------------------------+
  | operations            | Variable             | sequence of $X_1        |
  +-----------------------+----------------------+-------------------------+


  X_1
  ***

  +--------------------------+----------+-----------------------------+
  | Name                     | Size     | Contents                    |
  +==========================+==========+=============================+
  | # bytes in next 2 fields | 4 bytes  | unsigned 30-bit integer     |
  +--------------------------+----------+-----------------------------+
  | # bytes in next field    | 4 bytes  | unsigned 30-bit integer     |
  +--------------------------+----------+-----------------------------+
  | Unnamed field 0          | Variable | sequence of $next_operation |
  +--------------------------+----------+-----------------------------+


  next_operation
  **************

  +--------------------------+----------+----------------------------------------------------+
  | Name                     | Size     | Contents                                           |
  +==========================+==========+====================================================+
  | # bytes in next field    | 4 bytes  | unsigned 30-bit integer                            |
  +--------------------------+----------+----------------------------------------------------+
  | branch                   | 32 bytes | bytes                                              |
  +--------------------------+----------+----------------------------------------------------+
  | # bytes in next 2 fields | 4 bytes  | unsigned 30-bit integer                            |
  +--------------------------+----------+----------------------------------------------------+
  | contents                 | Variable | sequence of $013-PtJakart.operation.alpha.contents |
  +--------------------------+----------+----------------------------------------------------+
  | signature                | 64 bytes | bytes                                              |
  +--------------------------+----------+----------------------------------------------------+


  013-PtJakart.operation.alpha.contents (Determined from data, 8-bit tag)
  ***********************************************************************

  Seed_nonce_revelation (tag 1)
  =============================

  +-------+----------+------------------------+
  | Name  | Size     | Contents               |
  +=======+==========+========================+
  | Tag   | 1 byte   | unsigned 8-bit integer |
  +-------+----------+------------------------+
  | level | 4 bytes  | signed 32-bit integer  |
  +-------+----------+------------------------+
  | nonce | 32 bytes | bytes                  |
  +-------+----------+------------------------+


  Double_endorsement_evidence (tag 2)
  ===================================

  +-----------------------+----------+-----------------------------------+
  | Name                  | Size     | Contents                          |
  +=======================+==========+===================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer            |
  +-----------------------+----------+-----------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
  +-----------------------+----------+-----------------------------------+
  | op1                   | Variable | $013-PtJakart.inlined.endorsement |
  +-----------------------+----------+-----------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer           |
  +-----------------------+----------+-----------------------------------+
  | op2                   | Variable | $013-PtJakart.inlined.endorsement |
  +-----------------------+----------+-----------------------------------+


  Double_baking_evidence (tag 3)
  ==============================

  +-----------------------+----------------------+----------------------------------------------+
  | Name                  | Size                 | Contents                                     |
  +=======================+======================+==============================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                       |
  +-----------------------+----------------------+----------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                      |
  +-----------------------+----------------------+----------------------------------------------+
  | bh1                   | Determined from data | $013-PtJakart.block_header.alpha.full_header |
  +-----------------------+----------------------+----------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                      |
  +-----------------------+----------------------+----------------------------------------------+
  | bh2                   | Determined from data | $013-PtJakart.block_header.alpha.full_header |
  +-----------------------+----------------------+----------------------------------------------+


  Activate_account (tag 4)
  ========================

  +--------+----------+------------------------+
  | Name   | Size     | Contents               |
  +========+==========+========================+
  | Tag    | 1 byte   | unsigned 8-bit integer |
  +--------+----------+------------------------+
  | pkh    | 20 bytes | bytes                  |
  +--------+----------+------------------------+
  | secret | 20 bytes | bytes                  |
  +--------+----------+------------------------+


  Proposals (tag 5)
  =================

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | source                | 21 bytes | $public_key_hash        |
  +-----------------------+----------+-------------------------+
  | period                | 4 bytes  | signed 32-bit integer   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | proposals             | Variable | sequence of bytes       |
  +-----------------------+----------+-------------------------+


  Ballot (tag 6)
  ==============

  +----------+----------+------------------------+
  | Name     | Size     | Contents               |
  +==========+==========+========================+
  | Tag      | 1 byte   | unsigned 8-bit integer |
  +----------+----------+------------------------+
  | source   | 21 bytes | $public_key_hash       |
  +----------+----------+------------------------+
  | period   | 4 bytes  | signed 32-bit integer  |
  +----------+----------+------------------------+
  | proposal | 32 bytes | bytes                  |
  +----------+----------+------------------------+
  | ballot   | 1 byte   | signed 8-bit integer   |
  +----------+----------+------------------------+


  Double_preendorsement_evidence (tag 7)
  ======================================

  +-----------------------+----------+--------------------------------------+
  | Name                  | Size     | Contents                             |
  +=======================+==========+======================================+
  | Tag                   | 1 byte   | unsigned 8-bit integer               |
  +-----------------------+----------+--------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
  +-----------------------+----------+--------------------------------------+
  | op1                   | Variable | $013-PtJakart.inlined.preendorsement |
  +-----------------------+----------+--------------------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer              |
  +-----------------------+----------+--------------------------------------+
  | op2                   | Variable | $013-PtJakart.inlined.preendorsement |
  +-----------------------+----------+--------------------------------------+


  Failing_noop (tag 17)
  =====================

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer  |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | arbitrary             | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  Preendorsement (tag 20)
  =======================

  +--------------------+----------+-------------------------+
  | Name               | Size     | Contents                |
  +====================+==========+=========================+
  | Tag                | 1 byte   | unsigned 8-bit integer  |
  +--------------------+----------+-------------------------+
  | slot               | 2 bytes  | unsigned 16-bit integer |
  +--------------------+----------+-------------------------+
  | level              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | round              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | block_payload_hash | 32 bytes | bytes                   |
  +--------------------+----------+-------------------------+


  Endorsement (tag 21)
  ====================

  +--------------------+----------+-------------------------+
  | Name               | Size     | Contents                |
  +====================+==========+=========================+
  | Tag                | 1 byte   | unsigned 8-bit integer  |
  +--------------------+----------+-------------------------+
  | slot               | 2 bytes  | unsigned 16-bit integer |
  +--------------------+----------+-------------------------+
  | level              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | round              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | block_payload_hash | 32 bytes | bytes                   |
  +--------------------+----------+-------------------------+


  Reveal (tag 107)
  ================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | public_key    | Determined from data | $public_key            |
  +---------------+----------------------+------------------------+


  Transaction (tag 108)
  =====================

  +----------------------------------+----------------------+---------------------------------------+
  | Name                             | Size                 | Contents                              |
  +==================================+======================+=======================================+
  | Tag                              | 1 byte               | unsigned 8-bit integer                |
  +----------------------------------+----------------------+---------------------------------------+
  | source                           | 21 bytes             | $public_key_hash                      |
  +----------------------------------+----------------------+---------------------------------------+
  | fee                              | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | counter                          | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | gas_limit                        | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | storage_limit                    | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | amount                           | Determined from data | $N.t                                  |
  +----------------------------------+----------------------+---------------------------------------+
  | destination                      | 22 bytes             | $013-PtJakart.transaction_destination |
  +----------------------------------+----------------------+---------------------------------------+
  | ? presence of field "parameters" | 1 byte               | boolean (0 for false, 255 for true)   |
  +----------------------------------+----------------------+---------------------------------------+
  | parameters                       | Determined from data | $X_138                                |
  +----------------------------------+----------------------+---------------------------------------+


  Origination (tag 109)
  =====================

  +--------------------------------+----------------------+-------------------------------------+
  | Name                           | Size                 | Contents                            |
  +================================+======================+=====================================+
  | Tag                            | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------+----------------------+-------------------------------------+
  | source                         | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | fee                            | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | counter                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | gas_limit                      | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | storage_limit                  | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | balance                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------+----------------------+-------------------------------------+
  | delegate                       | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | script                         | Determined from data | $013-PtJakart.scripted.contracts    |
  +--------------------------------+----------------------+-------------------------------------+


  Delegation (tag 110)
  ====================

  +--------------------------------+----------------------+-------------------------------------+
  | Name                           | Size                 | Contents                            |
  +================================+======================+=====================================+
  | Tag                            | 1 byte               | unsigned 8-bit integer              |
  +--------------------------------+----------------------+-------------------------------------+
  | source                         | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+
  | fee                            | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | counter                        | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | gas_limit                      | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | storage_limit                  | Determined from data | $N.t                                |
  +--------------------------------+----------------------+-------------------------------------+
  | ? presence of field "delegate" | 1 byte               | boolean (0 for false, 255 for true) |
  +--------------------------------+----------------------+-------------------------------------+
  | delegate                       | 21 bytes             | $public_key_hash                    |
  +--------------------------------+----------------------+-------------------------------------+


  Register_global_constant (tag 111)
  ==================================

  +-----------------------+----------------------+-------------------------+
  | Name                  | Size                 | Contents                |
  +=======================+======================+=========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer  |
  +-----------------------+----------------------+-------------------------+
  | source                | 21 bytes             | $public_key_hash        |
  +-----------------------+----------------------+-------------------------+
  | fee                   | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | counter               | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | gas_limit             | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | storage_limit         | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
  +-----------------------+----------------------+-------------------------+
  | value                 | Variable             | bytes                   |
  +-----------------------+----------------------+-------------------------+


  Set_deposits_limit (tag 112)
  ============================

  +-----------------------------+----------------------+-------------------------------------+
  | Name                        | Size                 | Contents                            |
  +=============================+======================+=====================================+
  | Tag                         | 1 byte               | unsigned 8-bit integer              |
  +-----------------------------+----------------------+-------------------------------------+
  | source                      | 21 bytes             | $public_key_hash                    |
  +-----------------------------+----------------------+-------------------------------------+
  | fee                         | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | counter                     | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | gas_limit                   | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | storage_limit               | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+
  | ? presence of field "limit" | 1 byte               | boolean (0 for false, 255 for true) |
  +-----------------------------+----------------------+-------------------------------------+
  | limit                       | Determined from data | $N.t                                |
  +-----------------------------+----------------------+-------------------------------------+


  Tx_rollup_origination (tag 150)
  ===============================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+


  Tx_rollup_submit_batch (tag 151)
  ================================

  +----------------------------------+----------------------+-------------------------------------+
  | Name                             | Size                 | Contents                            |
  +==================================+======================+=====================================+
  | Tag                              | 1 byte               | unsigned 8-bit integer              |
  +----------------------------------+----------------------+-------------------------------------+
  | source                           | 21 bytes             | $public_key_hash                    |
  +----------------------------------+----------------------+-------------------------------------+
  | fee                              | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | counter                          | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | gas_limit                        | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | storage_limit                    | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+
  | rollup                           | 20 bytes             | bytes                               |
  +----------------------------------+----------------------+-------------------------------------+
  | # bytes in next field            | 4 bytes              | unsigned 30-bit integer             |
  +----------------------------------+----------------------+-------------------------------------+
  | content                          | Variable             | bytes                               |
  +----------------------------------+----------------------+-------------------------------------+
  | ? presence of field "burn_limit" | 1 byte               | boolean (0 for false, 255 for true) |
  +----------------------------------+----------------------+-------------------------------------+
  | burn_limit                       | Determined from data | $N.t                                |
  +----------------------------------+----------------------+-------------------------------------+


  Tx_rollup_commit (tag 152)
  ==========================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+
  | commitment    | Determined from data | $X_136                 |
  +---------------+----------------------+------------------------+


  Tx_rollup_return_bond (tag 153)
  ===============================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+


  Tx_rollup_finalize_commitment (tag 154)
  =======================================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+


  Tx_rollup_remove_commitment (tag 155)
  =====================================

  +---------------+----------------------+------------------------+
  | Name          | Size                 | Contents               |
  +===============+======================+========================+
  | Tag           | 1 byte               | unsigned 8-bit integer |
  +---------------+----------------------+------------------------+
  | source        | 21 bytes             | $public_key_hash       |
  +---------------+----------------------+------------------------+
  | fee           | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | counter       | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | gas_limit     | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | storage_limit | Determined from data | $N.t                   |
  +---------------+----------------------+------------------------+
  | rollup        | 20 bytes             | bytes                  |
  +---------------+----------------------+------------------------+


  Tx_rollup_rejection (tag 156)
  =============================

  +------------------------------+----------------------+-------------------------+
  | Name                         | Size                 | Contents                |
  +==============================+======================+=========================+
  | Tag                          | 1 byte               | unsigned 8-bit integer  |
  +------------------------------+----------------------+-------------------------+
  | source                       | 21 bytes             | $public_key_hash        |
  +------------------------------+----------------------+-------------------------+
  | fee                          | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | counter                      | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | gas_limit                    | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | storage_limit                | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | rollup                       | 20 bytes             | bytes                   |
  +------------------------------+----------------------+-------------------------+
  | level                        | 4 bytes              | signed 32-bit integer   |
  +------------------------------+----------------------+-------------------------+
  | message                      | Determined from data | $X_9                    |
  +------------------------------+----------------------+-------------------------+
  | message_position             | Determined from data | $N.t                    |
  +------------------------------+----------------------+-------------------------+
  | # bytes in next field        | 4 bytes              | unsigned 30-bit integer |
  +------------------------------+----------------------+-------------------------+
  | message_path                 | Variable             | sequence of bytes       |
  +------------------------------+----------------------+-------------------------+
  | message_result_hash          | 32 bytes             | bytes                   |
  +------------------------------+----------------------+-------------------------+
  | # bytes in next field        | 4 bytes              | unsigned 30-bit integer |
  +------------------------------+----------------------+-------------------------+
  | message_result_path          | Variable             | sequence of bytes       |
  +------------------------------+----------------------+-------------------------+
  | previous_message_result      | 64 bytes             | $X_10                   |
  +------------------------------+----------------------+-------------------------+
  | # bytes in next field        | 4 bytes              | unsigned 30-bit integer |
  +------------------------------+----------------------+-------------------------+
  | previous_message_result_path | Variable             | sequence of bytes       |
  +------------------------------+----------------------+-------------------------+
  | proof                        | Determined from data | $X_135                  |
  +------------------------------+----------------------+-------------------------+


  Tx_rollup_dispatch_tickets (tag 157)
  ====================================

  +-----------------------+----------------------+--------------------------------------------------------------+
  | Name                  | Size                 | Contents                                                     |
  +=======================+======================+==============================================================+
  | Tag                   | 1 byte               | unsigned 8-bit integer                                       |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | source                | 21 bytes             | $public_key_hash                                             |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | fee                   | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | counter               | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | gas_limit             | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | storage_limit         | Determined from data | $N.t                                                         |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | tx_rollup             | 20 bytes             | bytes                                                        |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | level                 | 4 bytes              | signed 32-bit integer                                        |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | context_hash          | 32 bytes             | bytes                                                        |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | message_index         | 4 bytes              | signed 31-bit integer in the range -1073741824 to 1073741823 |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | message_result_path   | Variable             | sequence of bytes                                            |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer                                      |
  +-----------------------+----------------------+--------------------------------------------------------------+
  | tickets_info          | Variable             | sequence of $X_5                                             |
  +-----------------------+----------------------+--------------------------------------------------------------+


  Transfer_ticket (tag 158)
  =========================

  +-----------------------+----------------------+---------------------------+
  | Name                  | Size                 | Contents                  |
  +=======================+======================+===========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer    |
  +-----------------------+----------------------+---------------------------+
  | source                | 21 bytes             | $public_key_hash          |
  +-----------------------+----------------------+---------------------------+
  | fee                   | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | counter               | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | gas_limit             | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | storage_limit         | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | ticket_contents       | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | ticket_ty             | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+
  | ticket_ticketer       | 22 bytes             | $013-PtJakart.contract_id |
  +-----------------------+----------------------+---------------------------+
  | ticket_amount         | Determined from data | $N.t                      |
  +-----------------------+----------------------+---------------------------+
  | destination           | 22 bytes             | $013-PtJakart.contract_id |
  +-----------------------+----------------------+---------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer   |
  +-----------------------+----------------------+---------------------------+
  | entrypoint            | Variable             | bytes                     |
  +-----------------------+----------------------+---------------------------+


  Sc_rollup_originate (tag 200)
  =============================

  +-----------------------+----------------------+-------------------------+
  | Name                  | Size                 | Contents                |
  +=======================+======================+=========================+
  | Tag                   | 1 byte               | unsigned 8-bit integer  |
  +-----------------------+----------------------+-------------------------+
  | source                | 21 bytes             | $public_key_hash        |
  +-----------------------+----------------------+-------------------------+
  | fee                   | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | counter               | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | gas_limit             | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | storage_limit         | Determined from data | $N.t                    |
  +-----------------------+----------------------+-------------------------+
  | kind                  | 2 bytes              | $X_4                    |
  +-----------------------+----------------------+-------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer |
  +-----------------------+----------------------+-------------------------+
  | boot_sector           | Variable             | bytes                   |
  +-----------------------+----------------------+-------------------------+


  Sc_rollup_add_messages (tag 201)
  ================================

  +------------------------------------------------+----------------------+-------------------------+
  | Name                                           | Size                 | Contents                |
  +================================================+======================+=========================+
  | Tag                                            | 1 byte               | unsigned 8-bit integer  |
  +------------------------------------------------+----------------------+-------------------------+
  | source                                         | 21 bytes             | $public_key_hash        |
  +------------------------------------------------+----------------------+-------------------------+
  | fee                                            | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | counter                                        | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | gas_limit                                      | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | storage_limit                                  | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.rollup_address" | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | rollup                                         | Variable             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in next field                          | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | message                                        | Variable             | sequence of $X_3        |
  +------------------------------------------------+----------------------+-------------------------+


  Sc_rollup_cement (tag 202)
  ==========================

  +------------------------------------------------+----------------------+-------------------------+
  | Name                                           | Size                 | Contents                |
  +================================================+======================+=========================+
  | Tag                                            | 1 byte               | unsigned 8-bit integer  |
  +------------------------------------------------+----------------------+-------------------------+
  | source                                         | 21 bytes             | $public_key_hash        |
  +------------------------------------------------+----------------------+-------------------------+
  | fee                                            | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | counter                                        | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | gas_limit                                      | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | storage_limit                                  | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.rollup_address" | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | rollup                                         | Variable             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | commitment                                     | 32 bytes             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+


  Sc_rollup_publish (tag 203)
  ===========================

  +------------------------------------------------+----------------------+-------------------------+
  | Name                                           | Size                 | Contents                |
  +================================================+======================+=========================+
  | Tag                                            | 1 byte               | unsigned 8-bit integer  |
  +------------------------------------------------+----------------------+-------------------------+
  | source                                         | 21 bytes             | $public_key_hash        |
  +------------------------------------------------+----------------------+-------------------------+
  | fee                                            | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | counter                                        | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | gas_limit                                      | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | storage_limit                                  | Determined from data | $N.t                    |
  +------------------------------------------------+----------------------+-------------------------+
  | # bytes in field "013-PtJakart.rollup_address" | 4 bytes              | unsigned 30-bit integer |
  +------------------------------------------------+----------------------+-------------------------+
  | rollup                                         | Variable             | bytes                   |
  +------------------------------------------------+----------------------+-------------------------+
  | commitment                                     | 76 bytes             | $X_2                    |
  +------------------------------------------------+----------------------+-------------------------+


  013-PtJakart.inlined.endorsement
  ********************************

  +------------+----------+----------------------------------------------------+
  | Name       | Size     | Contents                                           |
  +============+==========+====================================================+
  | branch     | 32 bytes | bytes                                              |
  +------------+----------+----------------------------------------------------+
  | operations | 43 bytes | $013-PtJakart.inlined.endorsement_mempool.contents |
  +------------+----------+----------------------------------------------------+
  | signature  | Variable | bytes                                              |
  +------------+----------+----------------------------------------------------+


  013-PtJakart.inlined.endorsement_mempool.contents (43 bytes, 8-bit tag)
  ***********************************************************************

  Endorsement (tag 21)
  ====================

  +--------------------+----------+-------------------------+
  | Name               | Size     | Contents                |
  +====================+==========+=========================+
  | Tag                | 1 byte   | unsigned 8-bit integer  |
  +--------------------+----------+-------------------------+
  | slot               | 2 bytes  | unsigned 16-bit integer |
  +--------------------+----------+-------------------------+
  | level              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | round              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | block_payload_hash | 32 bytes | bytes                   |
  +--------------------+----------+-------------------------+


  013-PtJakart.block_header.alpha.full_header
  *******************************************

  +---------------------------------------+----------+-------------------------------------+
  | Name                                  | Size     | Contents                            |
  +=======================================+==========+=====================================+
  | level                                 | 4 bytes  | signed 32-bit integer               |
  +---------------------------------------+----------+-------------------------------------+
  | proto                                 | 1 byte   | unsigned 8-bit integer              |
  +---------------------------------------+----------+-------------------------------------+
  | predecessor                           | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | timestamp                             | 8 bytes  | signed 64-bit integer               |
  +---------------------------------------+----------+-------------------------------------+
  | validation_pass                       | 1 byte   | unsigned 8-bit integer              |
  +---------------------------------------+----------+-------------------------------------+
  | operations_hash                       | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | # bytes in field "fitness"            | 4 bytes  | unsigned 30-bit integer             |
  +---------------------------------------+----------+-------------------------------------+
  | fitness                               | Variable | sequence of $fitness.elem           |
  +---------------------------------------+----------+-------------------------------------+
  | context                               | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | payload_hash                          | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | payload_round                         | 4 bytes  | signed 32-bit integer               |
  +---------------------------------------+----------+-------------------------------------+
  | proof_of_work_nonce                   | 8 bytes  | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | ? presence of field "seed_nonce_hash" | 1 byte   | boolean (0 for false, 255 for true) |
  +---------------------------------------+----------+-------------------------------------+
  | seed_nonce_hash                       | 32 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+
  | liquidity_baking_toggle_vote          | 1 byte   | signed 8-bit integer                |
  +---------------------------------------+----------+-------------------------------------+
  | signature                             | 64 bytes | bytes                               |
  +---------------------------------------+----------+-------------------------------------+


  fitness.elem
  ************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | Unnamed field 0       | Variable | bytes                   |
  +-----------------------+----------+-------------------------+


  public_key_hash (21 bytes, 8-bit tag)
  *************************************

  Ed25519 (tag 0)
  ===============

  +-------------------------+----------+------------------------+
  | Name                    | Size     | Contents               |
  +=========================+==========+========================+
  | Tag                     | 1 byte   | unsigned 8-bit integer |
  +-------------------------+----------+------------------------+
  | Ed25519.Public_key_hash | 20 bytes | bytes                  |
  +-------------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Secp256k1.Public_key_hash | 20 bytes | bytes                  |
  +---------------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | P256.Public_key_hash | 20 bytes | bytes                  |
  +----------------------+----------+------------------------+


  013-PtJakart.inlined.preendorsement
  ***********************************

  +------------+----------+-----------------------------------------------+
  | Name       | Size     | Contents                                      |
  +============+==========+===============================================+
  | branch     | 32 bytes | bytes                                         |
  +------------+----------+-----------------------------------------------+
  | operations | 43 bytes | $013-PtJakart.inlined.preendorsement.contents |
  +------------+----------+-----------------------------------------------+
  | signature  | Variable | bytes                                         |
  +------------+----------+-----------------------------------------------+


  013-PtJakart.inlined.preendorsement.contents (43 bytes, 8-bit tag)
  ******************************************************************

  Preendorsement (tag 20)
  =======================

  +--------------------+----------+-------------------------+
  | Name               | Size     | Contents                |
  +====================+==========+=========================+
  | Tag                | 1 byte   | unsigned 8-bit integer  |
  +--------------------+----------+-------------------------+
  | slot               | 2 bytes  | unsigned 16-bit integer |
  +--------------------+----------+-------------------------+
  | level              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | round              | 4 bytes  | signed 32-bit integer   |
  +--------------------+----------+-------------------------+
  | block_payload_hash | 32 bytes | bytes                   |
  +--------------------+----------+-------------------------+


  public_key (Determined from data, 8-bit tag)
  ********************************************

  Ed25519 (tag 0)
  ===============

  +--------------------+----------+------------------------+
  | Name               | Size     | Contents               |
  +====================+==========+========================+
  | Tag                | 1 byte   | unsigned 8-bit integer |
  +--------------------+----------+------------------------+
  | Ed25519.Public_key | 32 bytes | bytes                  |
  +--------------------+----------+------------------------+


  Secp256k1 (tag 1)
  =================

  +----------------------+----------+------------------------+
  | Name                 | Size     | Contents               |
  +======================+==========+========================+
  | Tag                  | 1 byte   | unsigned 8-bit integer |
  +----------------------+----------+------------------------+
  | Secp256k1.Public_key | 33 bytes | bytes                  |
  +----------------------+----------+------------------------+


  P256 (tag 2)
  ============

  +-----------------+----------+------------------------+
  | Name            | Size     | Contents               |
  +=================+==========+========================+
  | Tag             | 1 byte   | unsigned 8-bit integer |
  +-----------------+----------+------------------------+
  | P256.Public_key | 33 bytes | bytes                  |
  +-----------------+----------+------------------------+


  N.t
  ***

  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.

  +------+----------------------+----------+
  | Name | Size                 | Contents |
  +======+======================+==========+
  | N.t  | Determined from data | bytes    |
  +------+----------------------+----------+


  X_138
  *****

  +-----------------------+----------------------+--------------------------+
  | Name                  | Size                 | Contents                 |
  +=======================+======================+==========================+
  | entrypoint            | Determined from data | $013-PtJakart.entrypoint |
  +-----------------------+----------------------+--------------------------+
  | # bytes in next field | 4 bytes              | unsigned 30-bit integer  |
  +-----------------------+----------------------+--------------------------+
  | value                 | Variable             | bytes                    |
  +-----------------------+----------------------+--------------------------+


  013-PtJakart.entrypoint (Determined from data, 8-bit tag)
  *********************************************************

  default (tag 0)
  ===============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  root (tag 1)
  ============

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  do (tag 2)
  ==========

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  set_delegate (tag 3)
  ====================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  remove_delegate (tag 4)
  =======================

  +------+--------+------------------------+
  | Name | Size   | Contents               |
  +======+========+========================+
  | Tag  | 1 byte | unsigned 8-bit integer |
  +------+--------+------------------------+


  named (tag 255)
  ===============

  +-----------------------+----------+------------------------+
  | Name                  | Size     | Contents               |
  +=======================+==========+========================+
  | Tag                   | 1 byte   | unsigned 8-bit integer |
  +-----------------------+----------+------------------------+
  | # bytes in next field | 1 byte   | unsigned 8-bit integer |
  +-----------------------+----------+------------------------+
  | Unnamed field 0       | Variable | bytes                  |
  +-----------------------+----------+------------------------+


  013-PtJakart.transaction_destination (22 bytes, 8-bit tag)
  **********************************************************

  Implicit (tag 0)
  ================

  +---------------------------+----------+------------------------+
  | Name                      | Size     | Contents               |
  +===========================+==========+========================+
  | Tag                       | 1 byte   | unsigned 8-bit integer |
  +---------------------------+----------+------------------------+
  | Signature.Public_key_hash | 21 bytes | $public_key_hash       |
  +---------------------------+----------+------------------------+


  Originated (tag 1)
  ==================

  +---------------+----------+------------------------+
  | Name          | Size     | Contents               |
  +===============+==========+========================+
  | Tag           | 1 byte   | unsigned 8-bit integer |
  +---------------+----------+------------------------+
  | Contract_hash | 20 bytes | bytes                  |
  +---------------+----------+------------------------+
  | padding       | 1 byte   | padding                |
  +---------------+----------+------------------------+


  Tx_rollup (tag 2)
  =================

  +-------------+----------+------------------------+
  | Name        | Size     | Contents               |
  +=============+==========+========================+
  | Tag         | 1 byte   | unsigned 8-bit integer |
  +-------------+----------+------------------------+
  | Rollup_hash | 20 bytes | bytes                  |
  +-------------+----------+------------------------+
  | padding     | 1 byte   | padding                |
  +-------------+----------+------------------------+


  013-PtJakart.scripted.contracts
  *******************************

  +-----------------------+----------+-------------------------+
  | Name                  | Size     | Contents                |
  +=======================+==========+=========================+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | code                  | Variable | bytes                   |
  +-----------------------+----------+-------------------------+
  | # bytes in next field | 4 bytes  | unsigned 30-bit integer |
  +-----------------------+----------+-------------------------+
  | storage