Alpha RPCs - Reference#
This page describes the RPCs specific to the particular version of the Tezos protocol specified above. (The protocol-independent RPCs are described in this other page.)
Warning
This list could be missing RPC endpoints. The OpenAPI
specification may be used to retrieve the
complete list of protocol RPCs and their associated schemas
(search the .json
files that are linked from that page).
Note that the RPCs served under a given prefix can also be listed using the client, e.g.:
octez-client rpc list /chains/main/blocks/head/context/constants
Any RPC endpoint may also be described, using the describe
RPC to
retrieve all JSON and binary schemas, e.g.:
octez-client rpc get /describe/chains/main/blocks/head/context/constants
Note
The protocol-specific RPCs 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 ../<block_id>
.
The <block_id>
can be:
Block-hash - Hash in Base58Check notation.
Alias - One of the following:
genesis
/head
/caboose
/savepoint
/checkpoint
.Block-level - as an integer
One can also specify the relative positions of the block with respect to the above block identifiers. For ex.
head~N
or<Block-hash>+N
, where N is an integer, denotes the Nth block before (~) or after (+) the given block identifier, respectively.
Index#
../<block_id> (GET)
../<block_id>/context
../<block_id>/context/adaptive_issuance_launch_cycle (GET)
../<block_id>/context/big_maps
../<block_id>/context/cache
../<block_id>/context/constants (GET)
../<block_id>/context/contracts (GET)
../<block_id>/context/contracts/<contract_id> (GET)
../<block_id>/context/contracts/<contract_id>/all_ticket_balances (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>/estimated_own_pending_slashed_amount (GET)
../<block_id>/context/contracts/<contract_id>/frozen_bonds (GET)
../<block_id>/context/contracts/<contract_id>/full_balance (GET)
../<block_id>/context/contracts/<contract_id>/manager_key (GET)
../<block_id>/context/contracts/<contract_id>/script (GET)
../<block_id>/context/contracts/<contract_id>/script/normalized (POST)
../<block_id>/context/contracts/<contract_id>/single_sapling_get_diff (GET)
../<block_id>/context/contracts/<contract_id>/spendable (GET)
../<block_id>/context/contracts/<contract_id>/spendable_and_frozen_bonds (GET)
../<block_id>/context/contracts/<contract_id>/staked_balance (GET)
../<block_id>/context/contracts/<contract_id>/staking_numerator (GET)
../<block_id>/context/contracts/<contract_id>/storage (GET)
../<block_id>/context/contracts/<contract_id>/ticket_balance (POST)
../<block_id>/context/contracts/<contract_id>/unstake_requests (GET)
../<block_id>/context/contracts/<contract_id>/unstaked_finalizable_balance (GET)
../<block_id>/context/contracts/<contract_id>/unstaked_frozen_balance (GET)
../<block_id>/context/dal
../<block_id>/context/delegates (GET)
../<block_id>/context/delegates/<pkh> (GET)
../<block_id>/context/delegates/<pkh>/active_staking_parameters (GET)
../<block_id>/context/delegates/<pkh>/baking_power (GET)
../<block_id>/context/delegates/<pkh>/companion_key (GET)
../<block_id>/context/delegates/<pkh>/consensus_key (GET)
../<block_id>/context/delegates/<pkh>/current_baking_power (GET)
../<block_id>/context/delegates/<pkh>/current_frozen_deposits (GET)
../<block_id>/context/delegates/<pkh>/current_voting_power (GET)
../<block_id>/context/delegates/<pkh>/dal_participation (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>/delegators (GET)
../<block_id>/context/delegates/<pkh>/denunciations (GET)
../<block_id>/context/delegates/<pkh>/estimated_shared_pending_slashed_amount (GET)
../<block_id>/context/delegates/<pkh>/external_delegated (GET)
../<block_id>/context/delegates/<pkh>/external_staked (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>/is_forbidden (GET)
../<block_id>/context/delegates/<pkh>/min_delegated_in_current_cycle (GET)
../<block_id>/context/delegates/<pkh>/own_delegated (GET)
../<block_id>/context/delegates/<pkh>/own_full_balance (GET)
../<block_id>/context/delegates/<pkh>/own_staked (GET)
../<block_id>/context/delegates/<pkh>/participation (GET)
../<block_id>/context/delegates/<pkh>/pending_staking_parameters (GET)
../<block_id>/context/delegates/<pkh>/stakers (GET)
../<block_id>/context/delegates/<pkh>/staking_balance (GET)
../<block_id>/context/delegates/<pkh>/staking_denominator (GET)
../<block_id>/context/delegates/<pkh>/total_delegated (GET)
../<block_id>/context/delegates/<pkh>/total_delegated_stake (GET)
../<block_id>/context/delegates/<pkh>/total_staked (GET)
../<block_id>/context/delegates/<pkh>/total_unstaked_per_cycle (GET)
../<block_id>/context/delegates/<pkh>/unstaked_frozen_deposits (GET)
../<block_id>/context/delegates/<pkh>/voting_info (GET)
../<block_id>/context/delegates/<pkh>/voting_power (GET)
../<block_id>/context/denunciations (GET)
../<block_id>/context/issuance
../<block_id>/context/liquidity_baking
../<block_id>/context/liquidity_baking/cpmm_address (GET)
../<block_id>/context/merkle_tree (GET)
../<block_id>/context/merkle_tree_v2 (GET)
../<block_id>/context/nonces
../<block_id>/context/nonces/<block_level> (GET)
../<block_id>/context/protocol
../<block_id>/context/protocol/first_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/seed_computation (GET)
../<block_id>/context/smart_rollups
../<block_id>/context/smart_rollups/all (GET)
../<block_id>/context/smart_rollups/all/inbox (GET)
../<block_id>/context/smart_rollups/smart_rollup
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/commitment
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/commitment/<smart_rollup_commitment_hash> (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/consumed_outputs
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/consumed_outputs/<block_level> (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/genesis_info (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/inbox_level
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/inbox_level/<block_level>
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/inbox_level/<block_level>/commitments (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/kind (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/last_cemented_commitment_hash_with_level (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/last_whitelist_update (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker/<pkh>
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker/<pkh>/conflicts (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker/<pkh>/games (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker/<pkh>/index (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker/<pkh>/staked_on_commitment (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker1
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker1/<staker1_pkh>
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker1/<staker1_pkh>/staker2
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker1/<staker1_pkh>/staker2/<staker2_pkh>
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/stakers (GET)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/ticket_balance (POST)
../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/whitelist (GET)
../<block_id>/context/total_currently_staked (GET)
../<block_id>/context/total_frozen_stake (GET)
../<block_id>/context/total_supply (GET)
../<block_id>/hash (GET)
../<block_id>/header (GET)
../<block_id>/helpers
../<block_id>/helpers/attestation_rights (GET)
../<block_id>/helpers/baking_rights (GET)
../<block_id>/helpers/complete
../<block_id>/helpers/complete/<prefix> (GET)
../<block_id>/helpers/consecutive_round_zero (GET)
../<block_id>/helpers/current_level (GET)
../<block_id>/helpers/forge
../<block_id>/helpers/forge_block_header (POST)
../<block_id>/helpers/levels_in_current_cycle (GET)
../<block_id>/helpers/parse
../<block_id>/helpers/preapply
../<block_id>/helpers/round (GET)
../<block_id>/helpers/scripts
../<block_id>/helpers/scripts/entrypoint (POST)
../<block_id>/helpers/scripts/entrypoints (POST)
../<block_id>/helpers/scripts/normalize_data (POST)
../<block_id>/helpers/scripts/normalize_script (POST)
../<block_id>/helpers/scripts/normalize_stack (POST)
../<block_id>/helpers/scripts/normalize_type (POST)
../<block_id>/helpers/scripts/pack_data (POST)
../<block_id>/helpers/scripts/run_code (POST)
../<block_id>/helpers/scripts/run_instruction (POST)
../<block_id>/helpers/scripts/run_operation (POST)
../<block_id>/helpers/scripts/run_script_view (POST)
../<block_id>/helpers/scripts/run_view (POST)
../<block_id>/helpers/scripts/script_size (POST)
../<block_id>/helpers/scripts/simulate_operation (POST)
../<block_id>/helpers/scripts/trace_code (POST)
../<block_id>/helpers/scripts/typecheck_code (POST)
../<block_id>/helpers/scripts/typecheck_data (POST)
../<block_id>/helpers/total_baking_power (GET)
../<block_id>/helpers/validators (GET)
../<block_id>/live_blocks (GET)
../<block_id>/metadata (GET)
../<block_id>/metadata_hash (GET)
../<block_id>/operation_hashes (GET)
../<block_id>/operation_metadata_hashes (GET)
../<block_id>/operations (GET)
../<block_id>/operations_metadata_hash (GET)
../<block_id>/protocols (GET)
../<block_id>/resulting_context_hash (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/proposal_count
../<block_id>/votes/proposal_count/<pkh> (GET)
../<block_id>/votes/proposals (GET)
../<block_id>/votes/successor_period (GET)
../<block_id>/votes/total_voting_power (GET)
Full description#
GET ../<block_id>?[version=<version>]&[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 :
- version = <version>
- 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.
{ /* block_info_encoding_v1 */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $block_hash, "header": $raw_block_header, "metadata"?: $block_header_metadata, "operations": [ [ $operation ... ] ... ] } $Blinded public key hash: /* A blinded public key hash (Base58Check-encoded) */ $unistring $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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 $Signature.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.apply_internal_results.alpha.operation_result: { /* transaction */ "kind": "transaction", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "amount": $alpha.mutez, "destination": $alpha.transaction_destination, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "result": $alpha.operation.alpha.internal_operation_result.transaction } || { /* origination */ "kind": "origination", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "result": $alpha.operation.alpha.internal_operation_result.origination } || { /* delegation */ "kind": "delegation", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "delegate"?: $Signature.Public_key_hash, "result": $alpha.operation.alpha.internal_operation_result.delegation } || { /* event */ "kind": "event", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "type": $micheline.alpha.michelson_v1.expression, "tag"?: $alpha.entrypoint, "payload"?: $micheline.alpha.michelson_v1.expression, "result": $alpha.operation.alpha.internal_operation_result.event } $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.bond_id: { /* Smart_rollup_bond_id */ "smart_rollup": $smart_rollup_address } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.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 $alpha.frozen_staker: /* frozen_staker Abstract notion of staker used in operation receipts for frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } || { /* Baker */ "baker_own_stake": $Signature.Public_key_hash } || { /* Baker_edge */ "baker_edge": $Signature.Public_key_hash } $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.lazy_storage_diff: [ { /* big_map */ "kind": "big_map", "id": $alpha.big_map_id, "diff": { /* update */ "action": "update", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* remove */ "action": "remove" } || { /* copy */ "action": "copy", "source": $alpha.big_map_id, "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* alloc */ "action": "alloc", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ], "key_type": $micheline.alpha.michelson_v1.expression, "value_type": $micheline.alpha.michelson_v1.expression } } || { /* sapling_state */ "kind": "sapling_state", "id": $alpha.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": $alpha.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] } } ... ] $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.operation.alpha.contents_and_signature: { "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $alpha.operation.alpha.internal_operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.internal_operation_result.event: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.internal_operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.internal_operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_contents_and_result: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Activate_account */ "kind": "activate_account", "pkh": $Ed25519.Public_key_hash, "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.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": { } } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "allocated_destination_contract"?: boolean } } || { /* Reveal */ "kind": "reveal", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.reveal, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transaction, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "delegate"?: $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.delegation, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.register_global_constant, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Set_deposits_limit */ "kind": "set_deposits_limit", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.set_deposits_limit, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.increase_paid_storage, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transfer_ticket, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.dal_publish_commitment, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_originate, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_add_messages, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_cement, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_refute, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_timeout, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_recover_bond, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_update, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } $alpha.operation.alpha.operation_result.dal_publish_commitment: { /* Applied */ "status": "applied", "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.increase_paid_storage: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.operation_result.register_global_constant: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } $alpha.operation.alpha.operation_result.reveal: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.set_deposits_limit: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_add_messages: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_cement: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.smart_rollup_originate: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.smart_rollup_publish: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_recover_bond: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_refute: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_timeout: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_result.transfer_ticket: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.update_consensus_key: { /* Applied */ "status": "applied", "kind": boolean, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "kind": boolean, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.zk_rollup_origination: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_publish: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_update: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_with_metadata: { /* Operation_with_metadata */ "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* Operation_without_metadata */ "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $alpha.operation.alpha.successful_manager_operation_result: { /* reveal */ "kind": "reveal", "consumed_milligas"?: $positive_bignum } || /* transaction */ { /* To_contract */ "kind": "transaction", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "kind": "transaction", "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* origination */ "kind": "origination", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* delegation */ "kind": "delegation", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* update_consensus_key */ "kind": "update_consensus_key", "kind": boolean, "consumed_milligas"?: $positive_bignum } || { /* set_deposits_limit */ "kind": "set_deposits_limit", "consumed_milligas"?: $positive_bignum } || { /* increase_paid_storage */ "kind": "increase_paid_storage", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* smart_rollup_originate */ "kind": "smart_rollup_originate", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation_metadata.alpha.balance_updates: [ { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "block" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "migration" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "subsidy" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "simulation" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "block" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "migration" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "subsidy" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "simulation" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "block" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "migration" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "subsidy" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "simulation" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "block" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "migration" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "subsidy" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "simulation" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "block" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "migration" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "subsidy" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "simulation" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "block" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "migration" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "subsidy" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "simulation" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "block" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "migration" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "subsidy" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "simulation" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "block" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "migration" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "subsidy" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "simulation" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "block" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "migration" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "subsidy" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "simulation" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "block" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "migration" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "subsidy" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "simulation" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "block" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "migration" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "subsidy" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "simulation" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "block" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "migration" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "subsidy" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "simulation" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "block" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "migration" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "subsidy" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "simulation" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "block" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "migration" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "subsidy" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "simulation" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "block" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "migration" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "subsidy" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "simulation" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "block" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "migration" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "subsidy" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "simulation" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "block" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "migration" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "subsidy" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "simulation" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "block" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "migration" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "subsidy" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "simulation" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "block" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "migration" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "subsidy" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "simulation" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } ... ] $alpha.sapling_state_id: /* Sapling state identifier A sapling state identifier */ $bignum $alpha.scripted.contracts: { "code": any, "storage": any } $alpha.staker: /* unstaked_frozen_staker Abstract notion of staker used in operation receipts for unstaked frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } $alpha.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, a base58 originated transaction rollup, or a base58 originated smart rollup. */ $unistring $bignum: /* Big number Decimal representation of a big number */ string $block_hash: /* A block identifier (Base58Check-encoded) */ $unistring $block_header_metadata: { "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "next_protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "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 ∈ [0, 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 */, "deactivated": [ $Signature.Public_key_hash ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "liquidity_baking_toggle_ema": integer ∈ [-2^31-1, 2^31], "adaptive_issuance_vote_ema": integer ∈ [-2^31-1, 2^31], "adaptive_issuance_activation_cycle"?: integer ∈ [-2^31-1, 2^31], "implicit_operations_results": [ $alpha.operation.alpha.successful_manager_operation_result ... ], "proposer_consensus_key": $Signature.Public_key_hash, "baker_consensus_key": $Signature.Public_key_hash, "consumed_milligas": $positive_bignum, "dal_attestation": $bignum } $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.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $operation: { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2, "metadata": "too large" } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $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 $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 big-endian integer | +--------------------------------+----------------------+-------------------------------------+ | header | Variable | $raw_block_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 big-endian integer | +--------------------------------+----------------------+-------------------------------------+ | operations | Variable | sequence of $X_78 | +--------------------------------+----------------------+-------------------------------------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ raw_block_header **************** +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ 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 big-endian 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 big-endian integer | +------------+----------+----------------------------------+ X_2 *** +------------------------------+---------+-------------------------------------------------------------------------+ | Name | Size | Contents | +==============================+=========+=========================================================================+ | max_size | 4 bytes | signed 31-bit big-endian 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 big-endian integer in the range -1073741824 to 1073741823 | +------------------------------+---------+-------------------------------------------------------------------------+ X_1 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_3 *** +---------------------+---------+-------------------------------------+ | Name | Size | Contents | +=====================+=========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | level_position | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | cycle_position | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | expected_commitment | 1 byte | boolean (0 for false, 255 for true) | +---------------------+---------+-------------------------------------+ 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_5 *** +----------------+---------+----------------------------------+ | Name | Size | Contents | +================+=========+==================================+ | index | 4 bytes | signed 32-bit big-endian integer | +----------------+---------+----------------------------------+ | kind | 1 byte | $X_6 | +----------------+---------+----------------------------------+ | start_position | 4 bytes | signed 32-bit big-endian integer | +----------------+---------+----------------------------------+ X_4 *** +---------------+---------+----------------------------------+ | Name | Size | Contents | +===============+=========+==================================+ | voting_period | 9 bytes | $X_5 | +---------------+---------+----------------------------------+ | position | 4 bytes | signed 32-bit big-endian integer | +---------------+---------+----------------------------------+ | remaining | 4 bytes | signed 32-bit big-endian integer | +---------------+---------+----------------------------------+ 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 | +-------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ alpha.staker (Determined from data, 8-bit tag) ********************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ alpha.bond_id (21 bytes, 8-bit tag) *********************************** Smart_rollup_bond_id (tag 1) ============================ +--------------+----------+------------------------+ | Name | Size | Contents | +==============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------+------------------------+ | smart_rollup | 20 bytes | bytes | +--------------+----------+------------------------+ alpha.frozen_staker (Determined from data, 8-bit tag) ***************************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Baker (tag 2) ============= +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | baker_own_stake | 21 bytes | $public_key_hash | +-----------------+----------+------------------------+ Baker_edge (tag 3) ================== +------------+----------+------------------------+ | Name | Size | Contents | +============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+------------------------+ | baker_edge | 21 bytes | $public_key_hash | +------------+----------+------------------------+ X_9 (Determined from data, 8-bit tag) ************************************* Contract (tag 0) ================ +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Block_fees (tag 2) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Deposits (tag 4) ================ +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.frozen_staker | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Nonce_revelation_rewards (tag 5) ================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Attesting_rewards (tag 7) ========================= +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_rewards (tag 8) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_bonuses (tag 9) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Storage_fees (tag 11) ===================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Double_signing_punishments (tag 12) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_attesting_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) | +---------------+----------+-------------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +---------------+----------+-------------------------------------+ Liquidity_baking_subsidies (tag 14) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Burned (tag 15) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Commitments (tag 16) ==================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | committer | 20 bytes | bytes | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Bootstrap (tag 17) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Invoice (tag 18) ================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Initial_commitments (tag 19) ============================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Minted (tag 20) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Frozen_bonds (tag 21) ===================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | bond_id | 21 bytes | $alpha.bond_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Smart_rollup_refutation_punishments (tag 24) ============================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Smart_rollup_refutation_rewards (tag 25) ======================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Unstaked_deposits (tag 26) ========================== +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.staker | +--------+----------------------+----------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Staking_delegator_numerator (tag 27) ==================================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | delegator | 22 bytes | $alpha.contract_id | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Staking_delegate_denominator (tag 28) ===================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ DAL_attesting_rewards (tag 29) ============================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_DAL_attesting_rewards (tag 30) =================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ X_10 (Determined from data, 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 | +------+--------+------------------------+ Delayed_operation (tag 4) ========================= +------------------------+----------+------------------------+ | Name | Size | Contents | +========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------------+----------+------------------------+ | delayed_operation_hash | 32 bytes | bytes | +------------------------+----------+------------------------+ X_8 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_9 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_10 | +-----------------+----------------------+----------+ 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 | +------+----------------------+----------+ 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 | +------+----------------------+----------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ sapling.transaction.ciphertext ****************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | cv | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | epk | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | payload_enc | Variable | bytes | +-----------------------+----------+------------------------------------+ | nonce_enc | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ | payload_out | 80 bytes | bytes | +-----------------------+----------+------------------------------------+ | nonce_out | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ X_24 **** +-----------------+----------------------+---------------------------------+ | Name | Size | Contents | +=================+======================+=================================+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------------------+---------------------------------+ | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext | +-----------------+----------------------+---------------------------------+ X_23 **** +-----------------------------+----------+------------------------------------+ | Name | Size | Contents | +=============================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_24 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | nullifiers | Variable | sequence of bytes | +-----------------------------+----------+------------------------------------+ X_29 (Determined from data, 8-bit tag) ************************************** update (tag 0) ============== +---------+----------------------+------------------------+ | Name | Size | Contents | +=========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------+----------------------+------------------------+ | updates | Determined from data | $X_23 | +---------+----------------------+------------------------+ 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_23 | +---------+----------------------+------------------------+ alloc (tag 3) ============= +-----------+----------------------+------------------------------------+ | Name | Size | Contents | +===========+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------------------+ | updates | Determined from data | $X_23 | +-----------+----------------------+------------------------------------+ | memo_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------+----------------------+------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_30 **** +-----------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============================+======================+==========================================+ | key_hash | 32 bytes | bytes | +-----------------------------+----------------------+------------------------------------------+ | key | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ | ? presence of field "value" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+------------------------------------------+ | value | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ X_41 (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 big-endian integer | +-----------------------+----------+------------------------------------+ | updates | Variable | sequence of $X_30 | +-----------------------+----------+------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_30 | +-----------------------+----------------------+------------------------------------+ alloc (tag 3) ============= +-----------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=======================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------+ | updates | Variable | sequence of $X_30 | +-----------------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ | value_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ X_42 (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_41 | +------+----------------------+------------------------+ 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_29 | +------+----------------------+------------------------+ alpha.lazy_storage_diff *********************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_42 | +-----------------------+----------+------------------------------------+ X_44 **** +--------------+----------------------+------------------------------------------+ | Name | Size | Contents | +==============+======================+==========================================+ | ticketer | 22 bytes | $alpha.contract_id | +--------------+----------------------+------------------------------------------+ | content_type | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | content | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ alpha.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 | +---------------+----------+------------------------+ Smart_rollup (tag 3) ==================== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | smart_rollup_address | 20 bytes | bytes | +----------------------+----------+------------------------+ | padding | 1 byte | padding | +----------------------+----------+------------------------+ Zk_rollup (tag 4) ================= +----------------+----------+------------------------+ | Name | Size | Contents | +================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------+----------+------------------------+ | Zk_rollup_hash | 20 bytes | bytes | +----------------+----------+------------------------+ | padding | 1 byte | padding | +----------------+----------+------------------------+ X_47 **** +---------+----------------------+--------------------------------+ | Name | Size | Contents | +=========+======================+================================+ | account | 22 bytes | $alpha.transaction_destination | +---------+----------------------+--------------------------------+ | amount | Determined from data | $Z.t | +---------+----------------------+--------------------------------+ X_43 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | ticket_token | Determined from data | $X_44 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_47 | +-----------------------+----------------------+------------------------------------+ X_77 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_updates | Variable | sequence of $X_43 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_43 | +-----------------------+----------------------+------------------------------------+ alpha.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_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_77 | +-----------------+----------------------+------------------------+ origination (tag 2) =================== +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+===========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ delegation (tag 3) ================== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ set_deposits_limit (tag 5) ========================== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------+----------------------+------------------------+ update_consensus_key (tag 6) ============================ +-------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------+----------------------+-------------------------------------+ increase_paid_storage (tag 9) ============================= +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ smart_rollup_originate (tag 200) ================================ +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ X_0 *** +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=========================================================================+ | # bytes in next 25 fields | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | test_chain_status | Determined from data | $test_chain_status | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_operations_ttl | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_operation_data_length | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_block_header_length | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | deactivated | Variable | sequence of $public_key_hash | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | liquidity_baking_toggle_ema | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | adaptive_issuance_vote_ema | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | ? presence of field "adaptive_issuance_activation_cycle" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | adaptive_issuance_activation_cycle | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | implicit_operations_results | Variable | sequence of $alpha.operation.alpha.successful_manager_operation_result | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | proposer_consensus_key | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | baker_consensus_key | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | dal_attestation | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ X_81 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_82 **** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_80 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_81 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_82 | +-----------------+----------------------+----------+ X_85 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_83 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_81 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_85 | +-----------------+----------------------+----------+ X_86 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_79 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_80 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_83 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_86 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_89 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_88 **** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_89 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ X_92 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_87 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_88 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_92 | +-----------------+----------------------+----------+ X_95 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_93 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_81 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_95 | +-----------------+----------------------+----------+ X_96 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_97 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_98 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_99 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_98 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_100 (Determined from data, 8-bit tag) *************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_99 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_101 ***** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_102 (Determined from data, 8-bit tag) *************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_101 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_100 | +-----------------------------------+----------------------+-------------------------------------+ X_103 (Determined from data, 8-bit tag) *************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_102 | +--------+----------------------+------------------------+ X_104 ***** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_106 (Enumeration: unsigned 8-bit integer): ******************************************** +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_107 ***** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_108 ***** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_110 ***** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_112 ***** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_113 ***** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_112 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_112 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_113 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_119 ***** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_86 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_118 ***** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_119 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_121 ***** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ alpha.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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | bh1 | Variable | $raw_block_header | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | bh2 | Variable | $raw_block_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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_121 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_118 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_112 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_112 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_113 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_108 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_110 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_108 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_108 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+------------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_106) | +---------------------------------+----------------------+------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+------------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+------------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+------------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+------------------------------------------------------------+ | whitelist | Determined from data | $X_107 | +---------------------------------+----------------------+------------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_81 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_104 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_103 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_97 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_96 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_93 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_87 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_79 | +---------------+----------------------+------------------------+ X_140 ***** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag) ***************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ alpha.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag) *************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ alpha.operation.alpha.internal_operation_result.delegation (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ alpha.operation.alpha.internal_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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ X_240 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_receipt | Variable | sequence of $X_43 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_receipt | Variable | sequence of $X_43 | +-----------------------+----------------------+------------------------------------+ alpha.operation.alpha.internal_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_240 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_240 | +------------------------------+----------------------+-------------------------------------+ alpha.apply_internal_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 | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +----------------------------------+----------------------+--------------------------------------------------------------+ | amount | Determined from data | $N.t | +----------------------------------+----------------------+--------------------------------------------------------------+ | destination | 22 bytes | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+--------------------------------------------------------------+ | parameters | Determined from data | $X_110 | +----------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.transaction | +----------------------------------+----------------------+--------------------------------------------------------------+ origination (tag 2) =================== +--------------------------------+----------------------+--------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+==============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+--------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +--------------------------------+----------------------+--------------------------------------------------------------+ delegation (tag 3) ================== +--------------------------------+----------------------+-------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+=============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+-------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | ? presence of field "delegate" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------------------+-------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +--------------------------------+----------------------+-------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +--------------------------------+----------------------+-------------------------------------------------------------+ event (tag 4) ============= +-------------------------------+----------------------+--------------------------------------------------------+ | Name | Size | Contents | +===============================+======================+========================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------------------+--------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +-------------------------------+----------------------+--------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +-------------------------------+----------------------+--------------------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "tag" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | tag | Determined from data | $alpha.entrypoint | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "payload" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | payload | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------+----------------------+--------------------------------------------------------+ X_136 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_update | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag) ****************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_282 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag) ********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_425 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_571 (54 bytes, 8-bit tag) *************************** v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+ alpha.operation.alpha.operation_result.dal_publish_commitment (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | slot_header | 54 bytes | $X_571 | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +------------------------------+----------------------+-------------------------------------+ | slot_header | 54 bytes | $X_571 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_566 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.dal_publish_commitment | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag) ************************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_702 ***** +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+===================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_recover_bond | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ X_856 (Determined from data, 8-bit tag) *************************************** Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +-----------+----------------------+------------------------+ | Name | Size | Contents | +===========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------+ | whitelist | Determined from data | $X_107 | +-----------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag) ************************************************************************************************************ Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_43 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_856 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_43 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_856 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_842 ***** +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=============================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ X_1002 (1 byte, 8-bit tag) ************************** Conflict_resolved (tag 0) ========================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Timeout (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_1003 (Determined from data, 8-bit tag) **************************************** Loser (tag 0) ============= +--------+----------+------------------------+ | Name | Size | Contents | +========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------+------------------------+ | reason | 1 byte | $X_1002 | +--------+----------+------------------------+ | player | 21 bytes | $public_key_hash | +--------+----------+------------------------+ Draw (tag 1) ============ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_1004 (Determined from data, 8-bit tag) **************************************** Ongoing (tag 0) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Ended (tag 1) ============= +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | result | Determined from data | $X_1003 | +--------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | game_status | Determined from data | $X_1004 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | game_status | Determined from data | $X_1004 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_997 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_timeout | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1296 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+----------------------------------+ | Name | Size | Contents | +===================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+----------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------+----------------------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +-------------------+----------------------+----------------------------------+ | commitment_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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------------------+----------------------+-------------------------------------+ | commitment_hash | 32 bytes | bytes | +------------------------------+----------------------+-------------------------------------+ X_1436 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_cement | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_1571 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1707 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_originate | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.transfer_ticket (Determined from data, 8-bit tag) **************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_43 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_43 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1847 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transfer_ticket | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.update_consensus_key (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +------------------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_1998 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.update_consensus_key | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | storage_size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | global_address | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_2541 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.register_global_constant | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2681 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2821 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.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_77 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_81 | +-----------------------+----------+------------------------------------+ 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_140 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_77 | +------------------------------+----------------------+-------------------------------------+ X_3002 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transaction | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_3347 ****** +-----------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+==========+=========================================================================+ | delegate | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_pkh | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------+-------------------------------------------------------------------------+ X_3343 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | committee | Variable | sequence of $X_3347 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | total_consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ alpha.operation_metadata.alpha.balance_updates ********************************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_8 | +-----------------------+----------+------------------------------------+ X_3363 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_key | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ X_3375 ****** +-------------------------------------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=====================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------+ | balance_updates | Variable | sequence of $X_8 | +-------------------------------------------------------------------+----------+-------------------------------------+ | allocated_destination_contract | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------+-------------------------------------+ X_3388 (Enumeration: unsigned 8-bit integer): ********************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | preattestation | +-------------+----------------+ | 1 | attestation | +-------------+----------------+ | 2 | block | +-------------+----------------+ X_3387 ****** +-------+---------+-------------------------------------------------------------+ | Name | Size | Contents | +=======+=========+=============================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_3388) | +-------+---------+-------------------------------------------------------------+ X_3386 ****** +-------------------+----------+------------------+ | Name | Size | Contents | +===================+==========+==================+ | punished_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | rewarded_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | misbehaviour | 9 bytes | $X_3387 | +-------------------+----------+------------------+ alpha.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 big-endian integer | +----------+----------------------+-------------------------------------------------+ | nonce | 32 bytes | bytes | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | metadata | 51 bytes | $X_3386 | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | bh1 | Variable | $raw_block_header | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | bh2 | Variable | $raw_block_header | +-----------------------+----------+------------------------------------+ | metadata | 51 bytes | $X_3386 | +-----------------------+----------+------------------------------------+ 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +==========+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------------------+-------------------------------------------------+ | solution | 200 bytes | $X_121 | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------------------+------------------------+ | Name | Size | Contents | +===============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------------------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_3375 | +---------------+----------------------+------------------------+ Preattestation (tag 20) ======================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3363 | +--------------------+----------------------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3363 | +--------------------+----------------------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3363 | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+-------------------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | shard_with_proof | Determined from data | $X_118 | +-----------------------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +-----------------------+----------------------+-------------------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------------------+------------------------------------------------+ | Name | Size | Contents | +=======================+======================+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------------+ | consensus_content | 40 bytes | $X_112 | +-----------------------+----------------------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | metadata | Determined from data | $X_3343 | +-----------------------+----------------------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consensus_content | 40 bytes | $X_112 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | committee | Variable | sequence of $X_113 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3343 | +-----------------------+----------------------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_108 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1571 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_110 | +----------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_3002 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2821 | +--------------------------------+----------------------+-------------------------------------+ 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_2681 | +--------------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_2541 | +-----------------------+----------------------+------------------------------------+ 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_1571 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ | metadata | Determined from data | $X_702 | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_108 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1998 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_108 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1998 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1847 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+------------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_106) | +---------------------------------+----------------------+------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+------------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+------------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+------------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+------------------------------------------------------------+ | whitelist | Determined from data | $X_107 | +---------------------------------+----------------------+------------------------------------------------------------+ | metadata | Determined from data | $X_1707 | +---------------------------------+----------------------+------------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_81 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1571 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1436 | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_104 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1296 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_103 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_997 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_97 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_997 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_842 | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_702 | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_96 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_566 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_93 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | metadata | Determined from data | $X_425 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_87 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_282 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_79 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_136 | +---------------+----------------------+------------------------+ X_3401 (Variable, 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 big-endian integer | +-----------------------+----------+------------------------------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.operation_contents_and_result | +-----------------------+----------+------------------------------------------------------------------+ | signature | Variable | 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 big-endian integer | +-----------------------+----------+---------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.contents | +-----------------------+----------+---------------------------------------------+ | signature | Variable | bytes | +-----------------------+----------+---------------------------------------------+ bls_signature_prefix (33 bytes, 8-bit tag) ****************************************** Bls_prefix (tag 3) ================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------+------------------------+ alpha.operation.alpha.contents_or_signature_prefix (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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | bh1 | Variable | $raw_block_header | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | bh2 | Variable | $raw_block_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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_121 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_118 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_112 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_112 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_113 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_108 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_110 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_108 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_108 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+------------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_106) | +---------------------------------+----------------------+------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+------------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+------------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+------------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+------------------------------------------------------------+ | whitelist | Determined from data | $X_107 | +---------------------------------+----------------------+------------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_81 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_104 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_103 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_97 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_96 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_93 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_87 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_79 | +---------------+----------------------+------------------------+ Signature_prefix (tag 255) ========================== +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | signature_prefix | 33 bytes | $bls_signature_prefix | +------------------+----------+------------------------+ X_3500 (Variable, 8-bit tag) **************************** Operation with too large metadata (tag 0) ========================================= +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ Operation without metadata (tag 1) ================================== +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ Operation with metadata (tag 2) =============================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | Variable | $X_3401 | +-----------------+----------+------------------------+ operation ********* +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | chain_id | 4 bytes | bytes | +-----------------------+----------+------------------------------------+ | hash | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | branch | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | $X_3500 | +-----------------------+----------+------------------------------------+ X_78 **** +--------------------------+----------+------------------------------------+ | Name | Size | Contents | +==========================+==========+====================================+ | # bytes in next 2 fields | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $operation | +--------------------------+----------+------------------------------------+
GET ../<block_id>/context/adaptive_issuance_launch_cycle
Returns the cycle at which the launch of the Adaptive Issuance feature is set to happen. A result of None means that the feature is not yet set to launch.
integer ∈ [-2^31-1, 2^31] /* 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 32-bit big-endian 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.
[ $micheline.alpha.michelson_v1.expression ... ] $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/context/big_maps/<big_map_id>/<script_expr>
Access the value associated with a key in a big map.
$micheline.alpha.michelson_v1.expression $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | $micheline.alpha.michelson_v1.expression | +-----------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/context/big_maps/<big_map_id>/<script_expr>/normalized
Access the value associated with a key in a big map, normalize the output using the requested unparsing mode.
{ "unparsing_mode": "Readable" || "Optimized" || "Optimized_legacy" }
+----------------+--------+----------+ | Name | Size | Contents | +================+========+==========+ | unparsing_mode | 1 byte | $X_0 | +----------------+--------+----------+ X_0 (1 byte, 8-bit tag) *********************** Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
$micheline.alpha.michelson_v1.expression $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | $micheline.alpha.michelson_v1.expression | +-----------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/context/cache/contracts/all
Return the list of cached contracts
[ [ $Contract_hash, integer ∈ [-2^30, 2^30] ] ... ] $Contract_hash: /* A contract ID (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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+==========+=========================================================================+ | Unnamed field 0 | 20 bytes | bytes | +-----------------+----------+-------------------------------------------------------------------------+ | Unnamed field 1 | 4 bytes | signed 31-bit big-endian 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 -- originated account A contract notation as given to an RPC or inside scripts. Can be 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 | +-----------------+----------+----------+ X_0 (22 bytes, 8-bit tag) ************************* 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 big-endian 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 big-endian 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 big-endian 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], "denunciation_period": integer ∈ [0, 255], "slashing_delay": integer ∈ [0, 255], "smart_rollup_max_wrapped_proof_binary_size": integer ∈ [-2^30, 2^30], "smart_rollup_message_size_limit": integer ∈ [-2^30, 2^30], "smart_rollup_max_number_of_messages_per_level": $positive_bignum, "consensus_rights_delay": integer ∈ [0, 255], "blocks_preservation_cycles": integer ∈ [0, 255], "delegate_parameters_activation_delay": integer ∈ [0, 255], "tolerated_inactivity_period": integer ∈ [0, 255], "blocks_per_cycle": integer ∈ [-2^31-1, 2^31], "blocks_per_commitment": integer ∈ [-2^31-1, 2^31], "nonce_revelation_threshold": 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, "minimal_stake": $alpha.mutez, "minimal_frozen_stake": $alpha.mutez, "vdf_difficulty": $int64, "origination_size": integer ∈ [-2^30, 2^30], "issuance_weights": { "base_total_issued_per_minute": $alpha.mutez, "baking_reward_fixed_portion_weight": integer ∈ [-2^30, 2^30], "baking_reward_bonus_weight": integer ∈ [-2^30, 2^30], "attesting_reward_weight": integer ∈ [-2^30, 2^30], "seed_nonce_revelation_tip_weight": integer ∈ [-2^30, 2^30], "vdf_revelation_tip_weight": integer ∈ [-2^30, 2^30], "dal_rewards_weight": integer ∈ [-2^30, 2^30] }, "cost_per_byte": $alpha.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": $alpha.mutez, "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_size": integer ∈ [-2^30, 2^30], "minimal_participation_ratio": { "numerator": integer ∈ [0, 2^16-1], "denominator": integer ∈ [0, 2^16-1] }, "limit_of_delegation_over_baking": integer ∈ [0, 255], "percentage_of_frozen_deposits_slashed_per_double_baking": integer ∈ [0, 2^16-1], "max_slashing_per_block": integer ∈ [0, 2^16-1], "max_slashing_threshold": { "numerator": integer ∈ [0, 2^16-1], "denominator": integer ∈ [0, 2^16-1] }, "testnet_dictator"?: $Signature.Public_key_hash, "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], "dal_parametric": { "feature_enable": boolean, "incentives_enable": boolean, "number_of_slots": integer ∈ [0, 2^16-1], "attestation_lag": integer ∈ [0, 255], "attestation_threshold": integer ∈ [0, 255], "minimal_participation_ratio": { "numerator": $bignum, "denominator": $bignum }, "rewards_ratio": { "numerator": $bignum, "denominator": $bignum }, "traps_fraction": { "numerator": $bignum, "denominator": $bignum }, "redundancy_factor": integer ∈ [0, 255], "page_size": integer ∈ [0, 2^16-1], "slot_size": integer ∈ [-2^30, 2^30], "number_of_shards": integer ∈ [0, 2^16-1] }, "smart_rollup_arith_pvm_enable": boolean, "smart_rollup_origination_size": integer ∈ [-2^30, 2^30], "smart_rollup_challenge_window_in_blocks": integer ∈ [-2^30, 2^30], "smart_rollup_stake_amount": $alpha.mutez, "smart_rollup_commitment_period_in_blocks": integer ∈ [-2^30, 2^30], "smart_rollup_max_lookahead_in_blocks": integer ∈ [-2^31-1, 2^31], "smart_rollup_max_active_outbox_levels": integer ∈ [-2^31-1, 2^31], "smart_rollup_max_outbox_messages_per_level": integer ∈ [-2^30, 2^30], "smart_rollup_number_of_sections_in_dissection": integer ∈ [0, 255], "smart_rollup_timeout_period_in_blocks": integer ∈ [-2^30, 2^30], "smart_rollup_max_number_of_cemented_commitments": integer ∈ [-2^30, 2^30], "smart_rollup_max_number_of_parallel_games": integer ∈ [-2^30, 2^30], "smart_rollup_reveal_activation_level": { "raw_data": { "Blake2B": integer ∈ [0, 2^31] }, "metadata": integer ∈ [0, 2^31], "dal_page": integer ∈ [0, 2^31], "dal_parameters": integer ∈ [0, 2^31], "dal_attested_slots_validity_lag": integer ∈ [-2^30, 2^30] }, "smart_rollup_private_enable": boolean, "smart_rollup_riscv_pvm_enable": boolean, "zk_rollup_enable": boolean, "zk_rollup_origination_size": integer ∈ [-2^30, 2^30], "zk_rollup_min_pending_to_process": integer ∈ [-2^30, 2^30], "zk_rollup_max_ticket_payload_size": integer ∈ [-2^30, 2^30], "global_limit_of_staking_over_baking": integer ∈ [0, 255], "edge_of_staking_over_delegation": integer ∈ [0, 255], "adaptive_rewards_params": { "issuance_ratio_final_min": { "numerator": $bignum, "denominator": $bignum }, "issuance_ratio_final_max": { "numerator": $bignum, "denominator": $bignum }, "issuance_ratio_initial_min": { "numerator": $bignum, "denominator": $bignum }, "issuance_ratio_initial_max": { "numerator": $bignum, "denominator": $bignum }, "initial_period": integer ∈ [0, 255], "transition_period": integer ∈ [0, 255], "max_bonus": $int64, "growth_rate": { "numerator": $bignum, "denominator": $bignum }, "center_dz": { "numerator": $bignum, "denominator": $bignum }, "radius_dz": { "numerator": $bignum, "denominator": $bignum } }, "direct_ticket_spending_enable": boolean, "aggregate_attestation": boolean, "allow_tz4_delegate_enable": boolean, "all_bakers_attest_activation_level": integer ∈ [0, 2^31] /* Some */ || null /* None */, "issuance_modification_delay": integer ∈ [0, 255], "consensus_key_activation_delay": integer ∈ [0, 255], "unstake_finalization_delay": integer ∈ [0, 255] } $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $alpha.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 big-endian 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 big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_micheline_bytes_limit | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_allowed_global_constants_depth | 4 bytes | signed 31-bit big-endian 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 big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | denunciation_period | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | slashing_delay | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_wrapped_proof_binary_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_message_size_limit | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_number_of_messages_per_level | Determined from data | $N.t | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | consensus_rights_delay | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | blocks_preservation_cycles | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | delegate_parameters_activation_delay | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | tolerated_inactivity_period | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | blocks_per_cycle | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | blocks_per_commitment | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | nonce_revelation_threshold | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | cycles_per_voting_period | 4 bytes | signed 32-bit big-endian 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 big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_stake | Determined from data | $N.t | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_frozen_stake | Determined from data | $N.t | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | vdf_difficulty | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | origination_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | issuance_weights | Determined from data | $X_0 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | quorum_max | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | min_proposal_quorum | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | liquidity_baking_subsidy | Determined from data | $N.t | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | liquidity_baking_toggle_ema_threshold | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_operations_time_to_live | 2 bytes | signed 16-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_block_delay | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | delay_increment_per_round | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | consensus_committee_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | consensus_threshold_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_participation_ratio | 4 bytes | $X_1 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | limit_of_delegation_over_baking | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | percentage_of_frozen_deposits_slashed_per_double_baking | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_slashing_per_block | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_slashing_threshold | 4 bytes | $X_1 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | ? presence of field "testnet_dictator" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | testnet_dictator | 21 bytes | $public_key_hash | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | ? 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 big-endian 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 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | dal_parametric | Determined from data | $X_3 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_arith_pvm_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_origination_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_challenge_window_in_blocks | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_stake_amount | Determined from data | $N.t | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_commitment_period_in_blocks | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_lookahead_in_blocks | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_active_outbox_levels | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_outbox_messages_per_level | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_number_of_sections_in_dissection | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_timeout_period_in_blocks | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_number_of_cemented_commitments | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_number_of_parallel_games | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_reveal_activation_level | 20 bytes | $X_7 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_private_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_riscv_pvm_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | zk_rollup_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | zk_rollup_origination_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | zk_rollup_min_pending_to_process | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | zk_rollup_max_ticket_payload_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | global_limit_of_staking_over_baking | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | edge_of_staking_over_delegation | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | adaptive_rewards_params | Determined from data | $X_8 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | direct_ticket_spending_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | aggregate_attestation | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | allow_tz4_delegate_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | all_bakers_attest_activation_level | Determined from data | $X_16 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | issuance_modification_delay | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | consensus_key_activation_delay | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | unstake_finalization_delay | 1 byte | unsigned 8-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 | +------+----------------------+----------+ 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_0 *** +------------------------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +====================================+======================+=========================================================================+ | base_total_issued_per_minute | Determined from data | $N.t | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | baking_reward_fixed_portion_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | baking_reward_bonus_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | attesting_reward_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | seed_nonce_revelation_tip_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | vdf_revelation_tip_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | dal_rewards_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ X_1 *** +-------------+---------+------------------------------------+ | Name | Size | Contents | +=============+=========+====================================+ | numerator | 2 bytes | unsigned 16-bit big-endian integer | +-------------+---------+------------------------------------+ | denominator | 2 bytes | unsigned 16-bit big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_4 *** +-------------+----------------------+----------+ | Name | Size | Contents | +=============+======================+==========+ | numerator | Determined from data | $Z.t | +-------------+----------------------+----------+ | denominator | Determined from data | $Z.t | +-------------+----------------------+----------+ X_3 *** +-----------------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=============================+======================+=========================================================================+ | feature_enable | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | incentives_enable | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | number_of_slots | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | attestation_lag | 1 byte | unsigned 8-bit integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | attestation_threshold | 1 byte | unsigned 8-bit integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_participation_ratio | Determined from data | $X_4 | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | rewards_ratio | Determined from data | $X_4 | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | traps_fraction | Determined from data | $X_4 | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | redundancy_factor | 1 byte | unsigned 8-bit integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | page_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | slot_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | number_of_shards | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ X_7 *** +---------------------------------+---------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================================+=========+=========================================================================+ | raw_data | 4 bytes | signed 32-bit big-endian integer | +---------------------------------+---------+-------------------------------------------------------------------------+ | metadata | 4 bytes | signed 32-bit big-endian integer | +---------------------------------+---------+-------------------------------------------------------------------------+ | dal_page | 4 bytes | signed 32-bit big-endian integer | +---------------------------------+---------+-------------------------------------------------------------------------+ | dal_parameters | 4 bytes | signed 32-bit big-endian integer | +---------------------------------+---------+-------------------------------------------------------------------------+ | dal_attested_slots_validity_lag | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------+---------+-------------------------------------------------------------------------+ X_8 *** +----------------------------+----------------------+----------------------------------+ | Name | Size | Contents | +============================+======================+==================================+ | issuance_ratio_final_min | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | issuance_ratio_final_max | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | issuance_ratio_initial_min | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | issuance_ratio_initial_max | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | initial_period | 1 byte | unsigned 8-bit integer | +----------------------------+----------------------+----------------------------------+ | transition_period | 1 byte | unsigned 8-bit integer | +----------------------------+----------------------+----------------------------------+ | max_bonus | 8 bytes | signed 64-bit big-endian integer | +----------------------------+----------------------+----------------------------------+ | growth_rate | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | center_dz | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | radius_dz | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ X_16 (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 big-endian integer | +-----------------+---------+----------------------------------+
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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/context/constants/parametric
Parametric constants
{ "consensus_rights_delay": integer ∈ [0, 255], "blocks_preservation_cycles": integer ∈ [0, 255], "delegate_parameters_activation_delay": integer ∈ [0, 255], "tolerated_inactivity_period": integer ∈ [0, 255], "blocks_per_cycle": integer ∈ [-2^31-1, 2^31], "blocks_per_commitment": integer ∈ [-2^31-1, 2^31], "nonce_revelation_threshold": 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, "minimal_stake": $alpha.mutez, "minimal_frozen_stake": $alpha.mutez, "vdf_difficulty": $int64, "origination_size": integer ∈ [-2^30, 2^30], "issuance_weights": { "base_total_issued_per_minute": $alpha.mutez, "baking_reward_fixed_portion_weight": integer ∈ [-2^30, 2^30], "baking_reward_bonus_weight": integer ∈ [-2^30, 2^30], "attesting_reward_weight": integer ∈ [-2^30, 2^30], "seed_nonce_revelation_tip_weight": integer ∈ [-2^30, 2^30], "vdf_revelation_tip_weight": integer ∈ [-2^30, 2^30], "dal_rewards_weight": integer ∈ [-2^30, 2^30] }, "cost_per_byte": $alpha.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": $alpha.mutez, "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_size": integer ∈ [-2^30, 2^30], "minimal_participation_ratio": { "numerator": integer ∈ [0, 2^16-1], "denominator": integer ∈ [0, 2^16-1] }, "limit_of_delegation_over_baking": integer ∈ [0, 255], "percentage_of_frozen_deposits_slashed_per_double_baking": integer ∈ [0, 2^16-1], "max_slashing_per_block": integer ∈ [0, 2^16-1], "max_slashing_threshold": { "numerator": integer ∈ [0, 2^16-1], "denominator": integer ∈ [0, 2^16-1] }, "testnet_dictator"?: $Signature.Public_key_hash, "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], "dal_parametric": { "feature_enable": boolean, "incentives_enable": boolean, "number_of_slots": integer ∈ [0, 2^16-1], "attestation_lag": integer ∈ [0, 255], "attestation_threshold": integer ∈ [0, 255], "minimal_participation_ratio": { "numerator": $bignum, "denominator": $bignum }, "rewards_ratio": { "numerator": $bignum, "denominator": $bignum }, "traps_fraction": { "numerator": $bignum, "denominator": $bignum }, "redundancy_factor": integer ∈ [0, 255], "page_size": integer ∈ [0, 2^16-1], "slot_size": integer ∈ [-2^30, 2^30], "number_of_shards": integer ∈ [0, 2^16-1] }, "smart_rollup_arith_pvm_enable": boolean, "smart_rollup_origination_size": integer ∈ [-2^30, 2^30], "smart_rollup_challenge_window_in_blocks": integer ∈ [-2^30, 2^30], "smart_rollup_stake_amount": $alpha.mutez, "smart_rollup_commitment_period_in_blocks": integer ∈ [-2^30, 2^30], "smart_rollup_max_lookahead_in_blocks": integer ∈ [-2^31-1, 2^31], "smart_rollup_max_active_outbox_levels": integer ∈ [-2^31-1, 2^31], "smart_rollup_max_outbox_messages_per_level": integer ∈ [-2^30, 2^30], "smart_rollup_number_of_sections_in_dissection": integer ∈ [0, 255], "smart_rollup_timeout_period_in_blocks": integer ∈ [-2^30, 2^30], "smart_rollup_max_number_of_cemented_commitments": integer ∈ [-2^30, 2^30], "smart_rollup_max_number_of_parallel_games": integer ∈ [-2^30, 2^30], "smart_rollup_reveal_activation_level": { "raw_data": { "Blake2B": integer ∈ [0, 2^31] }, "metadata": integer ∈ [0, 2^31], "dal_page": integer ∈ [0, 2^31], "dal_parameters": integer ∈ [0, 2^31], "dal_attested_slots_validity_lag": integer ∈ [-2^30, 2^30] }, "smart_rollup_private_enable": boolean, "smart_rollup_riscv_pvm_enable": boolean, "zk_rollup_enable": boolean, "zk_rollup_origination_size": integer ∈ [-2^30, 2^30], "zk_rollup_min_pending_to_process": integer ∈ [-2^30, 2^30], "zk_rollup_max_ticket_payload_size": integer ∈ [-2^30, 2^30], "global_limit_of_staking_over_baking": integer ∈ [0, 255], "edge_of_staking_over_delegation": integer ∈ [0, 255], "adaptive_rewards_params": { "issuance_ratio_final_min": { "numerator": $bignum, "denominator": $bignum }, "issuance_ratio_final_max": { "numerator": $bignum, "denominator": $bignum }, "issuance_ratio_initial_min": { "numerator": $bignum, "denominator": $bignum }, "issuance_ratio_initial_max": { "numerator": $bignum, "denominator": $bignum }, "initial_period": integer ∈ [0, 255], "transition_period": integer ∈ [0, 255], "max_bonus": $int64, "growth_rate": { "numerator": $bignum, "denominator": $bignum }, "center_dz": { "numerator": $bignum, "denominator": $bignum }, "radius_dz": { "numerator": $bignum, "denominator": $bignum } }, "direct_ticket_spending_enable": boolean, "aggregate_attestation": boolean, "allow_tz4_delegate_enable": boolean, "all_bakers_attest_activation_level": integer ∈ [0, 2^31] /* Some */ || null /* None */ } $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $alpha.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 | +=========================================================+======================+=========================================================================+ | consensus_rights_delay | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | blocks_preservation_cycles | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | delegate_parameters_activation_delay | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | tolerated_inactivity_period | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | blocks_per_cycle | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | blocks_per_commitment | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | nonce_revelation_threshold | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | cycles_per_voting_period | 4 bytes | signed 32-bit big-endian 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 big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_stake | Determined from data | $N.t | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_frozen_stake | Determined from data | $N.t | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | vdf_difficulty | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | origination_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | issuance_weights | Determined from data | $X_0 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | quorum_max | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | min_proposal_quorum | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | liquidity_baking_subsidy | Determined from data | $N.t | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | liquidity_baking_toggle_ema_threshold | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_operations_time_to_live | 2 bytes | signed 16-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_block_delay | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | delay_increment_per_round | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | consensus_committee_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | consensus_threshold_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_participation_ratio | 4 bytes | $X_1 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | limit_of_delegation_over_baking | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | percentage_of_frozen_deposits_slashed_per_double_baking | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_slashing_per_block | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | max_slashing_threshold | 4 bytes | $X_1 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | ? presence of field "testnet_dictator" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | testnet_dictator | 21 bytes | $public_key_hash | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | ? 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 big-endian 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 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | dal_parametric | Determined from data | $X_3 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_arith_pvm_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_origination_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_challenge_window_in_blocks | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_stake_amount | Determined from data | $N.t | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_commitment_period_in_blocks | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_lookahead_in_blocks | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_active_outbox_levels | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_outbox_messages_per_level | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_number_of_sections_in_dissection | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_timeout_period_in_blocks | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_number_of_cemented_commitments | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_max_number_of_parallel_games | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_reveal_activation_level | 20 bytes | $X_7 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_private_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | smart_rollup_riscv_pvm_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | zk_rollup_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | zk_rollup_origination_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | zk_rollup_min_pending_to_process | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | zk_rollup_max_ticket_payload_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | global_limit_of_staking_over_baking | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | edge_of_staking_over_delegation | 1 byte | unsigned 8-bit integer | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | adaptive_rewards_params | Determined from data | $X_8 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | direct_ticket_spending_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | aggregate_attestation | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | allow_tz4_delegate_enable | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ | all_bakers_attest_activation_level | Determined from data | $X_16 | +---------------------------------------------------------+----------------------+-------------------------------------------------------------------------+ 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 | +------+----------------------+----------+ 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 *** +------------------------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +====================================+======================+=========================================================================+ | base_total_issued_per_minute | Determined from data | $N.t | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | baking_reward_fixed_portion_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | baking_reward_bonus_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | attesting_reward_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | seed_nonce_revelation_tip_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | vdf_revelation_tip_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ | dal_rewards_weight | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +------------------------------------+----------------------+-------------------------------------------------------------------------+ X_1 *** +-------------+---------+------------------------------------+ | Name | Size | Contents | +=============+=========+====================================+ | numerator | 2 bytes | unsigned 16-bit big-endian integer | +-------------+---------+------------------------------------+ | denominator | 2 bytes | unsigned 16-bit big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_4 *** +-------------+----------------------+----------+ | Name | Size | Contents | +=============+======================+==========+ | numerator | Determined from data | $Z.t | +-------------+----------------------+----------+ | denominator | Determined from data | $Z.t | +-------------+----------------------+----------+ X_3 *** +-----------------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=============================+======================+=========================================================================+ | feature_enable | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | incentives_enable | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | number_of_slots | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | attestation_lag | 1 byte | unsigned 8-bit integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | attestation_threshold | 1 byte | unsigned 8-bit integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_participation_ratio | Determined from data | $X_4 | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | rewards_ratio | Determined from data | $X_4 | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | traps_fraction | Determined from data | $X_4 | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | redundancy_factor | 1 byte | unsigned 8-bit integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | page_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | slot_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------------+----------------------+-------------------------------------------------------------------------+ | number_of_shards | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------------+----------------------+-------------------------------------------------------------------------+ X_7 *** +---------------------------------+---------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================================+=========+=========================================================================+ | raw_data | 4 bytes | signed 32-bit big-endian integer | +---------------------------------+---------+-------------------------------------------------------------------------+ | metadata | 4 bytes | signed 32-bit big-endian integer | +---------------------------------+---------+-------------------------------------------------------------------------+ | dal_page | 4 bytes | signed 32-bit big-endian integer | +---------------------------------+---------+-------------------------------------------------------------------------+ | dal_parameters | 4 bytes | signed 32-bit big-endian integer | +---------------------------------+---------+-------------------------------------------------------------------------+ | dal_attested_slots_validity_lag | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +---------------------------------+---------+-------------------------------------------------------------------------+ X_8 *** +----------------------------+----------------------+----------------------------------+ | Name | Size | Contents | +============================+======================+==================================+ | issuance_ratio_final_min | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | issuance_ratio_final_max | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | issuance_ratio_initial_min | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | issuance_ratio_initial_max | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | initial_period | 1 byte | unsigned 8-bit integer | +----------------------------+----------------------+----------------------------------+ | transition_period | 1 byte | unsigned 8-bit integer | +----------------------------+----------------------+----------------------------------+ | max_bonus | 8 bytes | signed 64-bit big-endian integer | +----------------------------+----------------------+----------------------------------+ | growth_rate | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | center_dz | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ | radius_dz | Determined from data | $X_4 | +----------------------------+----------------------+----------------------------------+ X_16 (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 big-endian integer | +-----------------+---------+----------------------------------+
GET ../<block_id>/context/contracts
All existing contracts (excluding empty implicit contracts).
[ $alpha.contract_id ... ] $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $alpha.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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script"?: $alpha.scripted.contracts, "counter"?: $positive_bignum, "revealed"?: boolean /* field present for implicit account only: true means the manager pk has been revealed */ } $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $alpha.mutez: $positive_bignum $alpha.scripted.contracts: { "code": any, "storage": any } $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 | $alpha.scripted.contracts | +--------------------------------+----------------------+-------------------------------------+ | ? presence of field "counter" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------------------+-------------------------------------+ | counter | Determined from data | $N.t | +--------------------------------+----------------------+-------------------------------------+ | ? presence of field "revealed" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------------------+-------------------------------------+ | revealed | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------------------+-------------------------------------+ 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 | +------+----------------------+----------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/context/contracts/<contract_id>/all_ticket_balances
Access the complete list of tickets owned by the given contract by scanning the contract's storage.
[ { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression, "amount": $positive_bignum } ... ] $alpha.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 $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | 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 | +------+----------------------+----------+ X_0 *** +--------------+----------------------+------------------------------------------+ | Name | Size | Contents | +==============+======================+==========================================+ | ticketer | 22 bytes | $alpha.contract_id | +--------------+----------------------+------------------------------------------+ | content_type | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | content | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | amount | Determined from data | $N.t | +--------------+----------------------+------------------------------------------+
GET ../<block_id>/context/contracts/<contract_id>/balance
The spendable balance of a contract (in mutez), also known as liquid balance. Corresponds to tez owned by the contract that are neither staked, nor in unstaked requests, nor in frozen bonds. Identical to the 'spendable' RPC.
$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
The sum (in mutez) of the spendable balance and frozen bonds of a contract. Corresponds to the contract's full balance from which staked funds and unstake requests have been excluded. Identical to the 'spendable_and_frozen_bonds' RPC.
$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": $micheline.alpha.michelson_v1.expression, "type": $micheline.alpha.michelson_v1.expression } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +======+======================+==========================================+ | key | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
$micheline.alpha.michelson_v1.expression /* Some */ || null /* None */ $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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_1 | +-----------------+----------------------+----------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_1 (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.alpha.michelson_v1.expression | +-----------------+----------------------+------------------------------------------+
GET ../<block_id>/context/contracts/<contract_id>/counter
Access the counter of a contract, if any.
string /* Positive big number Decimal representation of a positive big number */
+-----------------+----------------------+----------+ | 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>/delegate
Access the delegate of a contract, if any.
$unistring /* A Ed25519, Secp256k1, P256, or BLS 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.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": [ $alpha.michelson.v1.primitives ... ] } ... ], "entrypoints": { *: $micheline.alpha.michelson_v1.expression } } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 big-endian integer | +-----------------------+----------+------------------------------------+ | unreachable | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | entrypoints | Variable | sequence of $X_1 | +-----------------------+----------+------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ X_0 *** +-----------------------+----------+------------------------------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================================================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of unsigned 8-bit integer encoding an enumeration (see alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------------------+ X_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_1 *** +-----------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=================+======================+==========================================+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+------------------------------------------+ | Unnamed field 1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------+----------------------+------------------------------------------+
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.
$micheline.alpha.michelson_v1.expression $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | $micheline.alpha.michelson_v1.expression | +-----------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/context/contracts/<contract_id>/estimated_own_pending_slashed_amount
Returns the estimated own pending slashed amount (in mutez) of a given 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>/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>/full_balance
The full balance (in mutez) of the contract. Includes its spendable balance, staked tez, unstake requests, and frozen bonds. Even if the contract is a delegate, it does not include any staked or delegated tez owned by external delegators.
$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 an implicit 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 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": any, "storage": any }
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/context/contracts/<contract_id>/script/normalized
Access the script of the contract and normalize it using the requested unparsing mode.
{ "unparsing_mode": "Readable" || "Optimized" || "Optimized_legacy", "normalize_types"?: boolean }
+-----------------+--------+-------------------------------------+ | Name | Size | Contents | +=================+========+=====================================+ | unparsing_mode | 1 byte | $X_0 | +-----------------+--------+-------------------------------------+ | normalize_types | 1 byte | boolean (0 for false, 255 for true) | +-----------------+--------+-------------------------------------+ X_0 (1 byte, 8-bit tag) *********************** Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
$alpha.scripted.contracts /* Some */ || null /* None */ $alpha.scripted.contracts: { "code": any, "storage": any }
+-----------------+----------------------+----------+ | 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 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_0 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian 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>/spendable
The spendable balance of a contract (in mutez), also known as liquid balance. Corresponds to tez owned by the contract that are neither staked, nor in unstaked requests, nor in frozen bonds. Identical to the 'balance' RPC.
$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>/spendable_and_frozen_bonds
The sum (in mutez) of the spendable balance and frozen bonds of a contract. Corresponds to the contract's full balance from which staked funds and unstake requests have been excluded. Identical to the 'balance_and_frozen_bonds' RPC.
$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>/staked_balance
Access the staked balance of a contract (in mutez). Returns None if the contract is originated, or neither delegated nor a delegate.
$alpha.mutez /* Some */ || null /* None */ $alpha.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/contracts/<contract_id>/staking_numerator
Returns an abstract representation of the contract's total_delegated_stake.
$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>/storage
Access the data of the contract.
$micheline.alpha.michelson_v1.expression $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | $micheline.alpha.michelson_v1.expression | +-----------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/context/contracts/<contract_id>/storage/normalized
Access the data of the contract and normalize it using the requested unparsing mode.
{ "unparsing_mode": "Readable" || "Optimized" || "Optimized_legacy" }
+----------------+--------+----------+ | Name | Size | Contents | +================+========+==========+ | unparsing_mode | 1 byte | $X_0 | +----------------+--------+----------+ X_0 (1 byte, 8-bit tag) *********************** Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
$micheline.alpha.michelson_v1.expression /* Some */ || null /* None */ $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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_1 | +-----------------+----------------------+----------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_1 (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.alpha.michelson_v1.expression | +-----------------+----------------------+------------------------------------------+
GET ../<block_id>/context/contracts/<contract_id>/storage/paid_space
Access the paid storage space of the contract.
$bignum /* Some */ || null /* None */ $bignum: /* Big number Decimal representation of a big number */ string
+-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_0 | +-----------------+----------------------+----------+ 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_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 | $Z.t | +-----------------+----------------------+------------------------+
GET ../<block_id>/context/contracts/<contract_id>/storage/used_space
Access the used storage space of the contract.
$bignum /* Some */ || null /* None */ $bignum: /* Big number Decimal representation of a big number */ string
+-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_0 | +-----------------+----------------------+----------+ 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_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 | $Z.t | +-----------------+----------------------+------------------------+
POST ../<block_id>/context/contracts/<contract_id>/ticket_balance
Access the contract's balance of ticket with specified ticketer, content type, and content.
{ "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression } $alpha.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 $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +==============+======================+==========================================+ | ticketer | 22 bytes | $alpha.contract_id | +--------------+----------------------+------------------------------------------+ | content_type | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | content | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
string /* Positive big number Decimal representation of a positive big number */
+-----------------+----------------------+----------+ | 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>/unstake_requests
Access the unstake requests of the contract. The requests that appear in the finalizable field can be finalized, which means that the contract can transfer these (no longer frozen) funds to their spendable balance with a [finalize_unstake] operation call. Returns None if there is no unstake request pending.
{ /* Some */ "finalizable": [ { "delegate": $Signature.Public_key_hash, "cycle": integer ∈ [-2^31-1, 2^31], "amount": $alpha.mutez } ... ], "unfinalizable": { "delegate": $Signature.Public_key_hash, "requests": [ { "cycle": integer ∈ [-2^31-1, 2^31], "amount": $alpha.mutez } ... ] } } || null /* None */ $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $alpha.mutez: $positive_bignum $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 | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_0 *** +----------+----------------------+----------------------------------+ | Name | Size | Contents | +==========+======================+==================================+ | delegate | 21 bytes | $public_key_hash | +----------+----------------------+----------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +----------+----------------------+----------------------------------+ | amount | Determined from data | $N.t | +----------+----------------------+----------------------------------+ X_2 *** +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +--------+----------------------+----------------------------------+ | amount | Determined from data | $N.t | +--------+----------------------+----------------------------------+ X_1 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | delegate | 21 bytes | $public_key_hash | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | requests | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | finalizable | Variable | sequence of $X_0 | +-----------------------+----------------------+------------------------------------+ | unfinalizable | Determined from data | $X_1 | +-----------------------+----------------------+------------------------------------+
GET ../<block_id>/context/contracts/<contract_id>/unstaked_finalizable_balance
Access the balance of a contract that was requested for an unstake operation, and is no longer frozen, which means it will appear in the spendable balance of the contract after any stake/unstake/finalize_unstake operation. Returns None if the contract is originated.
$alpha.mutez /* Some */ || null /* None */ $alpha.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/contracts/<contract_id>/unstaked_frozen_balance
Access the balance of a contract that was requested for an unstake operation, but is still frozen for the duration of the slashing period. Returns None if the contract is originated.
$alpha.mutez /* Some */ || null /* None */ $alpha.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/dal/commitments_history
Returns the (currently last) DAL skip list cell if DAL is enabled, or [None] otherwise.
/* Some */ { /* dal_skip_list_legacy */ "kind": "dal_skip_list_legacy", "skip_list": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal_skip_list */ "kind": "dal_skip_list", "skip_list": { "index": $positive_bignum, "content": { /* unpublished */ "kind": "unpublished", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255] } || /* published */ { /* v0 */ "kind": "published", "publisher": $alpha.contract_id, "is_proto_attested": boolean, "attested_shards": integer ∈ [0, 2^16-1], "total_shards": integer ∈ [0, 2^16-1], "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "back_pointers": [ $dal_skip_list_pointer ... ] } } || null /* None */ $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $alpha.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 $dal_skip_list_pointer: /* A hash that represents the skip list pointers (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 | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_4 | +-----------------+----------------------+----------+ 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 | +------+----------------------+----------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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_1 (54 bytes, 8-bit tag) ************************* v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+ X_2 (Determined from data, 8-bit tag) ************************************* unpublished (tag 2) =================== +-------+---------+----------------------------------+ | Name | Size | Contents | +=======+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------+---------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +-------+---------+----------------------------------+ published (tag 3) ================= +-------------------+----------+-------------------------------------+ | Name | Size | Contents | +===================+==========+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------+-------------------------------------+ | publisher | 22 bytes | $alpha.contract_id | +-------------------+----------+-------------------------------------+ | is_proto_attested | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------+-------------------------------------+ | attested_shards | 2 bytes | unsigned 16-bit big-endian integer | +-------------------+----------+-------------------------------------+ | total_shards | 2 bytes | unsigned 16-bit big-endian integer | +-------------------+----------+-------------------------------------+ | Unnamed field 0 | 54 bytes | $X_1 | +-------------------+----------+-------------------------------------+ X_0 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | index | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | content | Determined from data | $X_2 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | back_pointers | Variable | sequence of bytes | +-----------------------+----------------------+------------------------------------+ X_3 (Determined from data, 8-bit tag) ************************************* dal_skip_list_legacy (tag 0) ============================ +-----------+----------+------------------------+ | Name | Size | Contents | +===========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+------------------------+ | skip_list | 57 bytes | bytes | +-----------+----------+------------------------+ dal_skip_list (tag 1) ===================== +-----------+----------------------+------------------------+ | Name | Size | Contents | +===========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------+ | skip_list | Determined from data | $X_0 | +-----------+----------------------+------------------------+ 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 | +-----------------+----------------------+------------------------+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+------------------------+
GET ../<block_id>/context/dal/published_slot_headers?[level=<block_level>]
Get the published slots headers for the given level
Optional query arguments :
- level = <block_level>
[ { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment } ... ] $DAL_commitment: /* Commitment representation for the DAL (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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ X_0 (54 bytes, 8-bit tag) ************************* v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+
GET ../<block_id>/context/dal/shards?[level=<block_level>]&(delegates=<pkh>)*
Get the shards assignment for a given level (the default is the current level) and given delegates (the default is all delegates)
Optional query arguments :
- level = <block_level>
- delegates = <pkh>
[ { "delegate": $Signature.Public_key_hash, "indexes": [ integer ∈ [-2^15, 2^15-1] ... ] } ... ] $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS 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 big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_0 *** +-----------------------+----------+----------------------------------------------+ | Name | Size | Contents | +=======================+==========+==============================================+ | delegate | 21 bytes | $public_key_hash | +-----------------------+----------+----------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+----------------------------------------------+ | indexes | Variable | sequence of signed 16-bit big-endian integer | +-----------------------+----------+----------------------------------------------+
GET ../<block_id>/context/dal/skip_list_cells_of_level
Returns the cells of the DAL skip list constructed during this targeted block and stored in the context. The cells ordering in the list is not specified (not relevant). The list is expected to be empty if the entry is not initialized in the context (yet), or to have a size that coincides with the number of DAL slots otherwise.
[ [ $dal_skip_list_pointer, { /* dal_skip_list_legacy */ "kind": "dal_skip_list_legacy", "skip_list": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal_skip_list */ "kind": "dal_skip_list", "skip_list": { "index": $positive_bignum, "content": { /* unpublished */ "kind": "unpublished", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255] } || /* published */ { /* v0 */ "kind": "published", "publisher": $alpha.contract_id, "is_proto_attested": boolean, "attested_shards": integer ∈ [0, 2^16-1], "total_shards": integer ∈ [0, 2^16-1], "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "back_pointers": [ $dal_skip_list_pointer ... ] } } ] ... ] $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $alpha.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 $dal_skip_list_pointer: /* A hash that represents the skip list pointers (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 | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $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 | +------+----------------------+----------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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_2 (54 bytes, 8-bit tag) ************************* v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+ X_3 (Determined from data, 8-bit tag) ************************************* unpublished (tag 2) =================== +-------+---------+----------------------------------+ | Name | Size | Contents | +=======+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------+---------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +-------+---------+----------------------------------+ published (tag 3) ================= +-------------------+----------+-------------------------------------+ | Name | Size | Contents | +===================+==========+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------+-------------------------------------+ | publisher | 22 bytes | $alpha.contract_id | +-------------------+----------+-------------------------------------+ | is_proto_attested | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------+-------------------------------------+ | attested_shards | 2 bytes | unsigned 16-bit big-endian integer | +-------------------+----------+-------------------------------------+ | total_shards | 2 bytes | unsigned 16-bit big-endian integer | +-------------------+----------+-------------------------------------+ | Unnamed field 0 | 54 bytes | $X_2 | +-------------------+----------+-------------------------------------+ X_1 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | index | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | content | Determined from data | $X_3 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | back_pointers | Variable | sequence of bytes | +-----------------------+----------------------+------------------------------------+ X_4 (Determined from data, 8-bit tag) ************************************* dal_skip_list_legacy (tag 0) ============================ +-----------+----------+------------------------+ | Name | Size | Contents | +===========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+------------------------+ | skip_list | 57 bytes | bytes | +-----------+----------+------------------------+ dal_skip_list (tag 1) ===================== +-----------+----------------------+------------------------+ | Name | Size | Contents | +===========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------+ | skip_list | Determined from data | $X_1 | +-----------+----------------------+------------------------+ X_0 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_4 | +-----------------+----------------------+----------+
GET ../<block_id>/context/delegates?[active]&[inactive]&[with_minimal_stake]&[without_minimal_stake]
Lists all registered delegates by default. 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. Note, setting these arguments to false has no effect.
Optional query arguments :
- active
- inactive
- with_minimal_stake
- without_minimal_stake
[ $Signature.Public_key_hash ... ] $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS 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 big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+
GET ../<block_id>/context/delegates/<pkh>
Everything about a delegate. Gathers the outputs of all RPCs with the ../delegates/<pkh> prefix.
{ "deactivated": boolean, "is_forbidden": boolean, "participation": { "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_attesting_rewards": $alpha.mutez }, "dal_participation"?: { "expected_assigned_shards_per_slot": integer ∈ [-2^30, 2^30], "delegate_attested_dal_slots": integer ∈ [-2^30, 2^30], "delegate_attestable_dal_slots": integer ∈ [-2^30, 2^30], "expected_dal_rewards": $alpha.mutez, "sufficient_dal_participation": boolean, "denounced": boolean }, "grace_period": integer ∈ [-2^31-1, 2^31], "active_staking_parameters": { "limit_of_staking_over_baking_millionth": integer ∈ [-2^31-1, 2^31], "edge_of_baking_over_staking_billionth": integer ∈ [-2^31-1, 2^31] }, "pending_staking_parameters": [ { "cycle": integer ∈ [-2^31-1, 2^31], "parameters": { "limit_of_staking_over_baking_millionth": integer ∈ [-2^31-1, 2^31], "edge_of_baking_over_staking_billionth": integer ∈ [-2^31-1, 2^31] } } ... ], "baking_power": $int64, "total_staked": $alpha.mutez, "total_delegated": $alpha.mutez, "min_delegated_in_current_cycle": { "amount": $alpha.mutez, "level"?: { "level": integer ∈ [0, 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. */ } }, "own_full_balance": $alpha.mutez, "own_staked": $alpha.mutez, "own_delegated": $alpha.mutez, "external_staked": $alpha.mutez, "external_delegated": $alpha.mutez, "total_unstaked_per_cycle": [ { "cycle": integer ∈ [-2^31-1, 2^31], "deposit": $alpha.mutez } ... ], "denunciations": [ { "operation_hash": $Operation_hash, "rewarded": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } ... ], "estimated_shared_pending_slashed_amount": $alpha.mutez, "staking_denominator": $alpha.mutez, "current_voting_power": $int64, "voting_power": $int64, "voting_info": { "voting_power"?: $int64, "current_ballot"?: "nay" | "yay" | "pass", "current_proposals"?: [ $Protocol_hash ... ], "remaining_proposals"?: integer ∈ [-2^30, 2^30] }, "consensus_key": { "active": { "pkh": $Signature.Public_key_hash, "pk": $Signature.Public_key }, "pendings"?: [ { "cycle": integer ∈ [-2^31-1, 2^31], "pkh": $Signature.Public_key_hash, "pk": $Signature.Public_key } ... ] }, "companion_key": { "active": { /* Some */ "pkh": $Bls12_381.Public_key_hash, "pk": $Bls12_381.Public_key } || null /* None */, "pendings"?: [ { "cycle": integer ∈ [-2^31-1, 2^31], "pkh": $Bls12_381.Public_key_hash, "pk": $Bls12_381.Public_key } ... ] }, "stakers": [ { "staker": $alpha.contract_id.implicit, "frozen_deposits": $alpha.mutez } ... ], "delegators": [ $alpha.contract_id ... ] } $Bls12_381.Public_key: /* A Bls12_381 public key (Base58Check-encoded) */ $unistring $Bls12_381.Public_key_hash: /* A Bls12_381 public key hash (Base58Check-encoded) */ $unistring $Operation_hash: /* A Tezos operation ID (Base58Check-encoded) */ $unistring $Protocol_hash: /* A Tezos protocol ID (Base58Check-encoded) */ $unistring $Signature.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $alpha.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 $alpha.contract_id.implicit: /* A contract handle -- implicit account A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. */ $unistring $alpha.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 | +=========================================+======================+=====================================+ | deactivated | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------------+----------------------+-------------------------------------+ | is_forbidden | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------------+----------------------+-------------------------------------+ | participation | Determined from data | $X_0 | +-----------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_participation" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------------+----------------------+-------------------------------------+ | dal_participation | Determined from data | $X_1 | +-----------------------------------------+----------------------+-------------------------------------+ | grace_period | 4 bytes | signed 32-bit big-endian integer | +-----------------------------------------+----------------------+-------------------------------------+ | active_staking_parameters | 8 bytes | $X_2 | +-----------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------------+----------------------+-------------------------------------+ | pending_staking_parameters | Variable | sequence of $X_3 | +-----------------------------------------+----------------------+-------------------------------------+ | baking_power | 8 bytes | signed 64-bit big-endian integer | +-----------------------------------------+----------------------+-------------------------------------+ | total_staked | Determined from data | $N.t | +-----------------------------------------+----------------------+-------------------------------------+ | total_delegated | Determined from data | $N.t | +-----------------------------------------+----------------------+-------------------------------------+ | min_delegated_in_current_cycle | Determined from data | $X_5 | +-----------------------------------------+----------------------+-------------------------------------+ | own_full_balance | Determined from data | $N.t | +-----------------------------------------+----------------------+-------------------------------------+ | own_staked | Determined from data | $N.t | +-----------------------------------------+----------------------+-------------------------------------+ | own_delegated | Determined from data | $N.t | +-----------------------------------------+----------------------+-------------------------------------+ | external_staked | Determined from data | $N.t | +-----------------------------------------+----------------------+-------------------------------------+ | external_delegated | Determined from data | $N.t | +-----------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------------+----------------------+-------------------------------------+ | total_unstaked_per_cycle | Variable | sequence of $X_7 | +-----------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------------+----------------------+-------------------------------------+ | denunciations | Variable | sequence of $X_8 | +-----------------------------------------+----------------------+-------------------------------------+ | estimated_shared_pending_slashed_amount | Determined from data | $N.t | +-----------------------------------------+----------------------+-------------------------------------+ | staking_denominator | Determined from data | $N.t | +-----------------------------------------+----------------------+-------------------------------------+ | current_voting_power | 8 bytes | signed 64-bit big-endian integer | +-----------------------------------------+----------------------+-------------------------------------+ | voting_power | 8 bytes | signed 64-bit big-endian integer | +-----------------------------------------+----------------------+-------------------------------------+ | voting_info | Determined from data | $X_11 | +-----------------------------------------+----------------------+-------------------------------------+ | consensus_key | Determined from data | $X_12 | +-----------------------------------------+----------------------+-------------------------------------+ | companion_key | Determined from data | $X_15 | +-----------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------------+----------------------+-------------------------------------+ | stakers | Variable | sequence of $X_18 | +-----------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------------+----------------------+-------------------------------------+ | delegators | Variable | sequence of $alpha.contract_id | +-----------------------------------------+----------------------+-------------------------------------+ 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 *** +--------------------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+=========================================================================+ | expected_cycle_activity | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_cycle_activity | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------+----------------------+-------------------------------------------------------------------------+ | missed_slots | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------+----------------------+-------------------------------------------------------------------------+ | missed_levels | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------+----------------------+-------------------------------------------------------------------------+ | remaining_allowed_missed_slots | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------+----------------------+-------------------------------------------------------------------------+ | expected_attesting_rewards | Determined from data | $N.t | +--------------------------------+----------------------+-------------------------------------------------------------------------+ X_1 *** +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================+======================+=========================================================================+ | expected_assigned_shards_per_slot | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | delegate_attested_dal_slots | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | delegate_attestable_dal_slots | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | expected_dal_rewards | Determined from data | $N.t | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | sufficient_dal_participation | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | denounced | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ X_2 *** +----------------------------------------+---------+----------------------------------+ | Name | Size | Contents | +========================================+=========+==================================+ | limit_of_staking_over_baking_millionth | 4 bytes | signed 32-bit big-endian integer | +----------------------------------------+---------+----------------------------------+ | edge_of_baking_over_staking_billionth | 4 bytes | signed 32-bit big-endian integer | +----------------------------------------+---------+----------------------------------+ X_3 *** +------------+---------+----------------------------------+ | Name | Size | Contents | +============+=========+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +------------+---------+----------------------------------+ | parameters | 8 bytes | $X_2 | +------------+---------+----------------------------------+ X_6 *** +---------------------+---------+-------------------------------------+ | Name | Size | Contents | +=====================+=========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | level_position | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | cycle_position | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | expected_commitment | 1 byte | boolean (0 for false, 255 for true) | +---------------------+---------+-------------------------------------+ X_5 *** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | amount | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "level" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | level | 17 bytes | $X_6 | +-----------------------------+----------------------+-------------------------------------+ X_7 *** +---------+----------------------+----------------------------------+ | Name | Size | Contents | +=========+======================+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +---------+----------------------+----------------------------------+ | deposit | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_10 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | preattestation | +-------------+----------------+ | 1 | attestation | +-------------+----------------+ | 2 | block | +-------------+----------------+ X_9 *** +-------+---------+-----------------------------------------------------------+ | Name | Size | Contents | +=======+=========+===========================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-----------------------------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-----------------------------------------------------------+ | kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_10) | +-------+---------+-----------------------------------------------------------+ X_8 *** +----------------+----------+------------------+ | Name | Size | Contents | +================+==========+==================+ | operation_hash | 32 bytes | bytes | +----------------+----------+------------------+ | rewarded | 21 bytes | $public_key_hash | +----------------+----------+------------------+ | misbehaviour | 9 bytes | $X_9 | +----------------+----------+------------------+ X_11 **** +--------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +======================================+==========+=========================================================================+ | ? presence of field "voting_power" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------------+----------+-------------------------------------------------------------------------+ | voting_power | 8 bytes | signed 64-bit big-endian integer | +--------------------------------------+----------+-------------------------------------------------------------------------+ | ? presence of field "current_ballot" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------------+----------+-------------------------------------------------------------------------+ | current_ballot | 1 byte | signed 8-bit integer | +--------------------------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------------------+----------+-------------------------------------------------------------------------+ | current_proposals | Variable | sequence of bytes | +--------------------------------------+----------+-------------------------------------------------------------------------+ | remaining_proposals | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------------+----------+-------------------------------------------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_13 **** +------+----------------------+------------------+ | Name | Size | Contents | +======+======================+==================+ | pkh | 21 bytes | $public_key_hash | +------+----------------------+------------------+ | pk | Determined from data | $public_key | +------+----------------------+------------------+ X_14 **** +-------+----------------------+----------------------------------+ | Name | Size | Contents | +=======+======================+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +-------+----------------------+----------------------------------+ | pkh | 21 bytes | $public_key_hash | +-------+----------------------+----------------------------------+ | pk | Determined from data | $public_key | +-------+----------------------+----------------------------------+ X_12 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | active | Determined from data | $X_13 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pendings | Variable | sequence of $X_14 | +-----------------------+----------------------+------------------------------------+ X_16 (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 | +------+----------+------------------------+ | pkh | 20 bytes | bytes | +------+----------+------------------------+ | pk | 48 bytes | bytes | +------+----------+------------------------+ X_17 **** +-------+----------+----------------------------------+ | Name | Size | Contents | +=======+==========+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +-------+----------+----------------------------------+ | pkh | 20 bytes | bytes | +-------+----------+----------------------------------+ | pk | 48 bytes | bytes | +-------+----------+----------------------------------+ X_15 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | active | Determined from data | $X_16 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pendings | Variable | sequence of $X_17 | +-----------------------+----------------------+------------------------------------+ alpha.contract_id.implicit (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 | +---------------------------+----------+------------------------+ X_18 **** +-----------------+----------------------+-----------------------------+ | Name | Size | Contents | +=================+======================+=============================+ | staker | 22 bytes | $alpha.contract_id.implicit | +-----------------+----------------------+-----------------------------+ | frozen_deposits | Determined from data | $N.t | +-----------------+----------------------+-----------------------------+ alpha.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>/active_staking_parameters
Returns the currently active staking parameters for the given delegate.
{ "limit_of_staking_over_baking_millionth": integer ∈ [-2^31-1, 2^31], "edge_of_baking_over_staking_billionth": integer ∈ [-2^31-1, 2^31] }
+----------------------------------------+---------+----------------------------------+ | Name | Size | Contents | +========================================+=========+==================================+ | limit_of_staking_over_baking_millionth | 4 bytes | signed 32-bit big-endian integer | +----------------------------------------+---------+----------------------------------+ | edge_of_baking_over_staking_billionth | 4 bytes | signed 32-bit big-endian integer | +----------------------------------------+---------+----------------------------------+
GET ../<block_id>/context/delegates/<pkh>/baking_power
The current baking power of a delegate, using the current staked and delegated balances of the baker and its delegators. In other words, the baking rights that the baker would get for a future cycle if the current cycle ended right at the current block.
string /* 64 bit integers Decimal representation of 64 bit integers */
+-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+---------+----------------------------------+
GET ../<block_id>/context/delegates/<pkh>/companion_key
The active companion key (if set) for a given delegate and the pending companion keys.
{ "active": { /* Some */ "pkh": $Bls12_381.Public_key_hash, "pk": $Bls12_381.Public_key } || null /* None */, "pendings"?: [ { "cycle": integer ∈ [-2^31-1, 2^31], "pkh": $Bls12_381.Public_key_hash, "pk": $Bls12_381.Public_key } ... ] } $Bls12_381.Public_key: /* A Bls12_381 public key (Base58Check-encoded) */ $unistring $Bls12_381.Public_key_hash: /* A Bls12_381 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 | +=======================+======================+====================================+ | active | Determined from data | $X_0 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pendings | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ 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 | +------+----------+------------------------+ | pkh | 20 bytes | bytes | +------+----------+------------------------+ | pk | 48 bytes | bytes | +------+----------+------------------------+ X_1 *** +-------+----------+----------------------------------+ | Name | Size | Contents | +=======+==========+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +-------+----------+----------------------------------+ | pkh | 20 bytes | bytes | +-------+----------+----------------------------------+ | pk | 48 bytes | bytes | +-------+----------+----------------------------------+
GET ../<block_id>/context/delegates/<pkh>/consensus_key
The active consensus key for a given delegate and the pending consensus keys.
{ "active": { "pkh": $Signature.Public_key_hash, "pk": $Signature.Public_key }, "pendings"?: [ { "cycle": integer ∈ [-2^31-1, 2^31], "pkh": $Signature.Public_key_hash, "pk": $Signature.Public_key } ... ] } $Signature.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS 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 | +=======================+======================+====================================+ | active | Determined from data | $X_0 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pendings | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_0 *** +------+----------------------+------------------+ | Name | Size | Contents | +======+======================+==================+ | pkh | 21 bytes | $public_key_hash | +------+----------------------+------------------+ | pk | Determined from data | $public_key | +------+----------------------+------------------+ X_1 *** +-------+----------------------+----------------------------------+ | Name | Size | Contents | +=======+======================+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +-------+----------------------+----------------------------------+ | pkh | 21 bytes | $public_key_hash | +-------+----------------------+----------------------------------+ | pk | Determined from data | $public_key | +-------+----------------------+----------------------------------+
GET ../<block_id>/context/delegates/<pkh>/current_baking_power
DEPRECATED; use baking_power instead.
string /* 64 bit integers Decimal representation of 64 bit integers */
+-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+---------+----------------------------------+
GET ../<block_id>/context/delegates/<pkh>/current_frozen_deposits
DEPRECATED; use total_staked instead.
$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>/current_voting_power
The voting power of a given delegate, as computed from its current stake.
string /* 64 bit integers Decimal representation of 64 bit integers */
+-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+---------+----------------------------------+
GET ../<block_id>/context/delegates/<pkh>/dal_participation
Returns information about the delegate's participation in the attestation of slots published into the Data Availability Layer (DAL) during the current cycle. The field 'expected_assigned_shards_per_slot' indicates the expected number of shards assigned to the delegate in the cycle per DAL slot. The field 'delegate_attested_dal_slots' represents the number of attested DAL slots which are also attested by the delegate, while 'delegate_attestable_dal_slots' provides the total number of DAL slots attested during the cycle for which the delegate had shards assigned. The 'expected_dal_rewards' field specifies the expected amount of rewards for the delegate based on DAL participation, provided the delegate meets the required participation. Whether this threshold is currently met is determined by the 'sufficient_dal_participation' flag, which is true if currently the delegate has sufficiently participated in attesting DAL slots declared to be attested by the protocol. Note that this flag may evolve during the cycle. Also note, in particular, that if no DAL slots have been globally attested during the cycle (i.e., when 'delegate_attestable_dal_slots' is zero), the flag is true; receipt of the DAL rewards is conditioned however on the receipt of the attestation rewards. The 'denounced' field specifies whether the delegate was denounced for not detecting traps during the current cycle.
{ "expected_assigned_shards_per_slot": integer ∈ [-2^30, 2^30], "delegate_attested_dal_slots": integer ∈ [-2^30, 2^30], "delegate_attestable_dal_slots": integer ∈ [-2^30, 2^30], "expected_dal_rewards": $alpha.mutez, "sufficient_dal_participation": boolean, "denounced": boolean } $alpha.mutez: $positive_bignum $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string
+-----------------------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================+======================+=========================================================================+ | expected_assigned_shards_per_slot | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | delegate_attested_dal_slots | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | delegate_attestable_dal_slots | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | expected_dal_rewards | Determined from data | $N.t | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | sufficient_dal_participation | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ | denounced | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------------------------------------------+ 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
DEPRECATED; to get this value, you can call RPCs external_staked and external_delegated, and add their outputs together.
$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
DEPRECATED; use delegators instead.
[ $alpha.contract_id ... ] $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $alpha.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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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>/delegators
The list of all contracts that are currently delegating to the delegate. Includes both user accounts and smart contracts. Includes the delegate itself.
[ $alpha.contract_id ... ] $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $alpha.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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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>/denunciations
Returns the pending denunciations for the given delegate.
[ { "operation_hash": $Operation_hash, "rewarded": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } ... ] $Operation_hash: /* A Tezos operation ID (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS 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 big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_2 (Enumeration: unsigned 8-bit integer): ****************************************** +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | preattestation | +-------------+----------------+ | 1 | attestation | +-------------+----------------+ | 2 | block | +-------------+----------------+ X_1 *** +-------+---------+----------------------------------------------------------+ | Name | Size | Contents | +=======+=========+==========================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+----------------------------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +-------+---------+----------------------------------------------------------+ | kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_2) | +-------+---------+----------------------------------------------------------+ X_0 *** +----------------+----------+------------------+ | Name | Size | Contents | +================+==========+==================+ | operation_hash | 32 bytes | bytes | +----------------+----------+------------------+ | rewarded | 21 bytes | $public_key_hash | +----------------+----------+------------------+ | misbehaviour | 9 bytes | $X_1 | +----------------+----------+------------------+
GET ../<block_id>/context/delegates/<pkh>/external_delegated
The sum (in mutez) of non-staked tokens that currently count as delegated to the baker, excluding those owned by the baker iself. Does not take limits such as overstaking or overdelegation into account. This includes the spendable balances and frozen bonds of all the baker's external delegators. It also includes unstake requests of contracts other than the baker, on the condition that the contract was delegating to the baker at the time of the unstake operation. So this includes most but not all unstake requests from current delegators, and might include some unstake requests from old delegators. Limits such as overstaking and overdelegation have not been applied yet.
$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>/external_staked
The sum (in mutez) of all tokens currently staked by the baker's external delegators. This excludes the baker's own staked tokens.
$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
DEPRECATED; call RPC total_staked on the last block of (current_cycle - 3) instead. Returns the total amount (in mutez) that was staked for the baker by all stakers (including the baker itself) at the time the staking rights for the current cycle were computed.
$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
DEPRECATED; the frozen deposits limit has no effects since the activation of Adaptive Issuance and Staking during the Paris protocol.
$alpha.mutez /* Some */ || null /* None */ $alpha.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
DEPRECATED; use own_full_balance instead.
$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 big-endian integer | +-----------------+---------+----------------------------------+
GET ../<block_id>/context/delegates/<pkh>/is_forbidden
Returns true if the delegate is forbidden to participate in consensus.
boolean
+-----------------+--------+-------------------------------------+ | Name | Size | Contents | +=================+========+=====================================+ | Unnamed field 0 | 1 byte | boolean (0 for false, 255 for true) | +-----------------+--------+-------------------------------------+
GET ../<block_id>/context/delegates/<pkh>/min_delegated_in_current_cycle
Returns the minimum of delegated tez (in mutez) during the current cycle and the block level at the end of which the minimum was reached. This only takes into account the value of `total_delegated` at the end of each block, not in the middle of applying operations. This is the delegated amount that would be used to compute the delegate's future baking rights if the cycle ended at the current block. If the minimum was reached multiple times, the returned level is the earliest level of the current cycle that reached this minimum. For instance, if `total_delegated` hasn't changed at all since the beginning of the current cycle, returns the first level of the current cycle. (If the contract is not registered as a delegate, returns 0 mutez and omits the level.)
{ "amount": $alpha.mutez, "level"?: { "level": integer ∈ [0, 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. */ } } $alpha.mutez: $positive_bignum $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string
+-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | amount | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "level" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | level | 17 bytes | $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 *** +---------------------+---------+-------------------------------------+ | Name | Size | Contents | +=====================+=========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | level_position | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | cycle_position | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | expected_commitment | 1 byte | boolean (0 for false, 255 for true) | +---------------------+---------+-------------------------------------+
GET ../<block_id>/context/delegates/<pkh>/own_delegated
The amount (in mutez) currently owned by the baker itself and counting as delegated for the purpose of baking rights. This corresponds to all non-staked tokens owned by the baker: spendable balance, frozen bonds, and unstake requests. (Note: There is one exception: if the baker still has unstake requests created at a time when it was delegating to a different delegate, then these unstake requests still count as delegated to the former delegate. Any such unstake requests are excluded from the amount returned by the present RPC, despite being non-staked tokens owned by the baker.)
$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>/own_full_balance
The full balance (in mutez) of tokens owned by the delegate itself. Includes its spendable balance, staked tez, unstake requests, and frozen bonds. Does not include any tokens owned by external delegators. This RPC fails when the pkh is not a delegate. When it is a delegate, this RPC outputs the same amount as ../<block_id>/context/contracts/<delegate_contract_id>/full_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>/own_staked
The amount (in mutez) currently owned and staked by the baker itself. Returns the same value as ../<block_id>/context/contracts/<delegate_contract_id>/staked_balance (except for the fact that the present RPC fails if the public_key_hash in the path 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 | +------+----------------------+----------+
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 attesting slots in the cycle required to get attesting rewards. It is computed based on 'expected_cycle_activity. The fields 'missed_slots' and 'missed_levels' indicate the number of missed attesting slots and missed levels (for attesting) in the cycle so far. 'missed_slots' indicates the number of missed attesting slots in the cycle so far. The field 'remaining_allowed_missed_slots' indicates the remaining amount of attesting slots that can be missed in the cycle before forfeiting the rewards. Finally, 'expected_attesting_rewards' indicates the attesting 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_attesting_rewards": $alpha.mutez } $alpha.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 big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------+----------------------+-------------------------------------------------------------------------+ | minimal_cycle_activity | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------+----------------------+-------------------------------------------------------------------------+ | missed_slots | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------+----------------------+-------------------------------------------------------------------------+ | missed_levels | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------+----------------------+-------------------------------------------------------------------------+ | remaining_allowed_missed_slots | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------+----------------------+-------------------------------------------------------------------------+ | expected_attesting_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>/pending_staking_parameters
Returns the pending values for the given delegate's staking parameters.
[ { "cycle": integer ∈ [-2^31-1, 2^31], "parameters": { "limit_of_staking_over_baking_millionth": integer ∈ [-2^31-1, 2^31], "edge_of_baking_over_staking_billionth": integer ∈ [-2^31-1, 2^31] } } ... ]
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ X_1 *** +----------------------------------------+---------+----------------------------------+ | Name | Size | Contents | +========================================+=========+==================================+ | limit_of_staking_over_baking_millionth | 4 bytes | signed 32-bit big-endian integer | +----------------------------------------+---------+----------------------------------+ | edge_of_baking_over_staking_billionth | 4 bytes | signed 32-bit big-endian integer | +----------------------------------------+---------+----------------------------------+ X_0 *** +------------+---------+----------------------------------+ | Name | Size | Contents | +============+=========+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +------------+---------+----------------------------------+ | parameters | 8 bytes | $X_1 | +------------+---------+----------------------------------+
GET ../<block_id>/context/delegates/<pkh>/stakers
Returns the list of accounts that stake to a given delegate together with their share of the frozen deposits.
[ { "staker": $alpha.contract_id.implicit, "frozen_deposits": $alpha.mutez } ... ] $alpha.contract_id.implicit: /* A contract handle -- implicit account A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. */ $unistring $alpha.mutez: $positive_bignum $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 | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.contract_id.implicit (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 | +---------------------------+----------+------------------------+ 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 *** +-----------------+----------------------+-----------------------------+ | Name | Size | Contents | +=================+======================+=============================+ | staker | 22 bytes | $alpha.contract_id.implicit | +-----------------+----------------------+-----------------------------+ | frozen_deposits | Determined from data | $N.t | +-----------------+----------------------+-----------------------------+
GET ../<block_id>/context/delegates/<pkh>/staking_balance
DEPRECATED; to get this value, you can call RPCs total_staked and total_delegated, and add their outputs together.
$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>/staking_denominator
Returns an abstract representation of the total delegated stake.
$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>/total_delegated
All tokens (in mutez) that currently count as delegated for the purpose of computing the baker's rights; they weigh half as much as staked tez in the rights. Limits such as overstaking and overdelegation have not been applied yet. This corresponds to all non-staked tez owned by the baker's delegators (including the baker itself): spendable balances, frozen bonds, and unstaked requests, except for any unstake requests that have been created before the delegator changed its delegate to the current baker (because they still count as delegated for the old delegate instead).
$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>/total_delegated_stake
DEPRECATED; use external_staked instead.
$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>/total_staked
The total amount (in mutez) currently staked for the baker, both by the baker itself and by external stakers. This is the staked amount before applying the baker's 'limit_of_staking_over_baking'; in other words, it includes overstaked tez if there are any.
$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>/total_unstaked_per_cycle
For each cycle, returns the total amount (in mutez) contained in all unstake requests created during this cycle by all delegators, including the baker itself. Note that these tokens count as delegated to the baker for the purpose of computing baking rights, and are included in the amount returned by the total_delegated RPC.
[ { "cycle": integer ∈ [-2^31-1, 2^31], "deposit": $alpha.mutez } ... ] $alpha.mutez: $positive_bignum $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $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 *** +---------+----------------------+----------------------------------+ | Name | Size | Contents | +=========+======================+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +---------+----------------------+----------------------------------+ | deposit | Determined from data | $N.t | +---------+----------------------+----------------------------------+
GET ../<block_id>/context/delegates/<pkh>/unstaked_frozen_deposits
DEPRECATED; use total_unstaked_per_cycle instead.
[ { "cycle": integer ∈ [-2^31-1, 2^31], "deposit": $alpha.mutez } ... ] $alpha.mutez: $positive_bignum $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $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 *** +---------+----------------------+----------------------------------+ | Name | Size | Contents | +=========+======================+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +---------+----------------------+----------------------------------+ | deposit | Determined from data | $N.t | +---------+----------------------+----------------------------------+
GET ../<block_id>/context/delegates/<pkh>/voting_info
Returns the delegate info (e.g. voting power) found in the listings of the current voting period.
{ "voting_power"?: $int64, "current_ballot"?: "nay" | "yay" | "pass", "current_proposals"?: [ $Protocol_hash ... ], "remaining_proposals"?: integer ∈ [-2^30, 2^30] } $Protocol_hash: /* A Tezos protocol ID (Base58Check-encoded) */ $unistring $int64: /* 64 bit integers Decimal representation of 64 bit integers */ 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 | +======================================+==========+=========================================================================+ | ? presence of field "voting_power" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------------+----------+-------------------------------------------------------------------------+ | voting_power | 8 bytes | signed 64-bit big-endian integer | +--------------------------------------+----------+-------------------------------------------------------------------------+ | ? presence of field "current_ballot" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------------+----------+-------------------------------------------------------------------------+ | current_ballot | 1 byte | signed 8-bit integer | +--------------------------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------------------+----------+-------------------------------------------------------------------------+ | current_proposals | Variable | sequence of bytes | +--------------------------------------+----------+-------------------------------------------------------------------------+ | remaining_proposals | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +--------------------------------------+----------+-------------------------------------------------------------------------+
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 big-endian integer | +-----------------+---------+----------------------------------+
GET ../<block_id>/context/denunciations
Returns the denunciations for misbehavior in the current cycle.
[ { "slashed_delegate": $Signature.Public_key_hash, "operation_hash": $Operation_hash, "rewarded": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } ... ] $Operation_hash: /* A Tezos operation ID (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS 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 big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_2 (Enumeration: unsigned 8-bit integer): ****************************************** +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | preattestation | +-------------+----------------+ | 1 | attestation | +-------------+----------------+ | 2 | block | +-------------+----------------+ X_1 *** +-------+---------+----------------------------------------------------------+ | Name | Size | Contents | +=======+=========+==========================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+----------------------------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +-------+---------+----------------------------------------------------------+ | kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_2) | +-------+---------+----------------------------------------------------------+ X_0 *** +------------------+----------+------------------+ | Name | Size | Contents | +==================+==========+==================+ | slashed_delegate | 21 bytes | $public_key_hash | +------------------+----------+------------------+ | operation_hash | 32 bytes | bytes | +------------------+----------+------------------+ | rewarded | 21 bytes | $public_key_hash | +------------------+----------+------------------+ | misbehaviour | 9 bytes | $X_1 | +------------------+----------+------------------+
GET ../<block_id>/context/issuance/current_yearly_rate
Returns the current expected maximum yearly issuance rate (in %). The value only includes participation rewards (and does not include liquidity baking)
/* 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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/context/issuance/current_yearly_rate_details
Returns the static and dynamic parts of the current expected maximum yearly issuance rate (in %). The value only includes participation rewards (and does not include liquidity baking)
{ "static": { "numerator": $positive_bignum, "denominator": $positive_bignum }, "dynamic": { "numerator": $positive_bignum, "denominator": $positive_bignum } } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string
+---------+----------------------+----------+ | Name | Size | Contents | +=========+======================+==========+ | static | Determined from data | $X_0 | +---------+----------------------+----------+ | dynamic | 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 *** +-------------+----------------------+----------+ | Name | Size | Contents | +=============+======================+==========+ | numerator | Determined from data | $N.t | +-------------+----------------------+----------+ | denominator | Determined from data | $N.t | +-------------+----------------------+----------+
GET ../<block_id>/context/issuance/current_yearly_rate_exact
Returns the current expected maximum yearly issuance rate (exact quotient) (in %). The value only includes participation rewards (and does not include liquidity baking)
{ "numerator": $positive_bignum, "denominator": $positive_bignum } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string
+-------------+----------------------+----------+ | Name | Size | Contents | +=============+======================+==========+ | numerator | Determined from data | $N.t | +-------------+----------------------+----------+ | denominator | 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/issuance/expected_issuance
Returns the expected issued tez for the provided block and the next 'consensus_rights_delay' cycles (in mutez)
[ { "cycle": integer ∈ [-2^31-1, 2^31], "baking_reward_fixed_portion": $alpha.mutez, "baking_reward_bonus_per_slot": $alpha.mutez, "attesting_reward_per_slot": $alpha.mutez, "seed_nonce_revelation_tip": $alpha.mutez, "vdf_revelation_tip": $alpha.mutez, "dal_attesting_reward_per_shard": $alpha.mutez } ... ] $alpha.mutez: $positive_bignum $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $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 *** +--------------------------------+----------------------+----------------------------------+ | Name | Size | Contents | +================================+======================+==================================+ | cycle | 4 bytes | signed 32-bit big-endian integer | +--------------------------------+----------------------+----------------------------------+ | baking_reward_fixed_portion | Determined from data | $N.t | +--------------------------------+----------------------+----------------------------------+ | baking_reward_bonus_per_slot | Determined from data | $N.t | +--------------------------------+----------------------+----------------------------------+ | attesting_reward_per_slot | Determined from data | $N.t | +--------------------------------+----------------------+----------------------------------+ | seed_nonce_revelation_tip | Determined from data | $N.t | +--------------------------------+----------------------+----------------------------------+ | vdf_revelation_tip | Determined from data | $N.t | +--------------------------------+----------------------+----------------------------------+ | dal_attesting_reward_per_shard | Determined from data | $N.t | +--------------------------------+----------------------+----------------------------------+
GET ../<block_id>/context/issuance/issuance_per_minute
Returns the current expected maximum issuance per minute (in mutez). The value only includes participation rewards (and does not include liquidity baking)
$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/liquidity_baking/cpmm_address
Liquidity baking CPMM address
$unistring /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be 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 | +-----------------+----------+----------+ X_0 (22 bytes, 8-bit tag) ************************* 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
$merkle_tree /* Some */ || null /* None */ $merkle_tree: [ [ $unistring, [ boolean, $unistring ] /* Hash */ || $raw_context /* Data */ || $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_8 | +-----------------+----------------------+----------+ X_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------+----------------------+--------------+ | Name | Size | Contents | +=================+======================+==============+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+--------------+ | Unnamed field 1 | Determined from data | $raw_context | +-----------------+----------------------+--------------+ raw_context (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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ Cut (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_7 (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_2 | +-----------------+----------------------+-------------------------------------+ Data (tag 1) ============ +-----------------+----------------------+------------------------+ | Name | Size | Contents | +=================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------+ | Unnamed field 0 | Determined from data | $raw_context | +-----------------+----------------------+------------------------+ Continue (tag 2) ================ +-----------------+----------------------+------------------------+ | Name | Size | Contents | +=================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------+ | Unnamed field 0 | Determined from data | $merkle_tree | +-----------------+----------------------+------------------------+ X_1 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+----------+ merkle_tree *********** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_1 | +-----------------------+----------+------------------------------------+ X_8 (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 | $merkle_tree | +-----------------+----------------------+------------------------+
GET ../<block_id>/context/merkle_tree_v2(/<context_path>)*?[holey=<bool>]
Returns the Irmin merkle tree of a piece of context.
Optional query arguments :
- holey = <bool> : Send only hashes, omit data of key
{ /* Some */ "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": $tree_encoding } || null /* None */ $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $inode_tree: { /* Inode_tree */ "inode_tree": { "length": $int64, "proofs": { /* sparse_proof */ "sparse_proof": [ [ integer ∈ [0, 255], $inode_tree ] ... ] } || { /* dense_proof */ "dense_proof": [ $inode_tree ... ] } } } || { /* other_inode_trees */ "other_inode_trees": { /* Inode_values */ "inode_values": [ [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, $tree_encoding ] ... ] } || { /* other_inode_trees */ "other_inode_trees": { /* Blinded_inode */ "blinded_inode": $Context_hash } || { /* Inode_extender */ "inode_extender": { "length": $int64, "segment": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "proof": $inode_tree } } || { /* None */ "none": any } } } $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $tree_encoding: { /* Inode */ "inode": { "length": $int64, "proofs": { /* sparse_proof */ "sparse_proof": [ [ integer ∈ [0, 255], $inode_tree ] ... ] } || { /* dense_proof */ "dense_proof": [ $inode_tree ... ] } } } || { /* other_trees */ "other_trees": { /* Node */ "node": [ [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, $tree_encoding ] ... ] } || { /* other_trees */ "other_trees": { /* 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 */ } || { /* Blinded_value */ "blinded_value": $Context_hash } || { /* Blinded_node */ "blinded_node": $Context_hash } || { /* Extender */ "extender": { "length": $int64, "segment": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "proof": $inode_tree } } || { /* None */ "none": any } } } $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_53821 | +-----------------+----------------------+----------+ X_0 *** +-----------------------+----------+------------------------+ | Name | Size | Contents | +=======================+==========+========================+ | # bytes in next field | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------+ X_6 *** +-----------------------+----------+------------------------+ | Name | Size | Contents | +=======================+==========+========================+ | # bytes in next field | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------+ X_5 *** +-----------------+----------------------+----------------+ | Name | Size | Contents | +=================+======================+================+ | Unnamed field 0 | Determined from data | $X_6 | +-----------------+----------------------+----------------+ | Unnamed field 1 | Determined from data | $tree_encoding | +-----------------+----------------------+----------------+ X_132 ***** +-----------------+----------------------+------------------------+ | Name | Size | Contents | +=================+======================+========================+ | Unnamed field 0 | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------+ | Unnamed field 1 | Determined from data | $inode_tree | +-----------------+----------------------+------------------------+ X_131 ***** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_132 | +-----------------------+----------+------------------------------------+ inode_tree (Determined from data, 8-bit tag) ******************************************** Inode_tree (tag 0) ================== +-----------------+--------+------------------------+ | Name | Size | Contents | +=================+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+--------+------------------------+ | Unnamed field 0 | 1 byte | unsigned 8-bit integer | +-----------------+--------+------------------------+ Inode_tree (tag 1) ================== +-----------------+---------+------------------------------------+ | Name | Size | Contents | +=================+=========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+---------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+---------+------------------------------------+ Inode_tree (tag 2) ================== +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ Inode_tree (tag 3) ================== +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+---------+----------------------------------+ Inode_tree (tag 4) ================== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 1 $X_132 | +-----------------+----------------------+------------------------------+ Inode_tree (tag 5) ================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 6) ================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 7) ================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 8) ================== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 2 $X_132 | +-----------------+----------------------+------------------------------+ Inode_tree (tag 9) ================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 10) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 11) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 12) =================== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 3 $X_132 | +-----------------+----------------------+------------------------------+ Inode_tree (tag 13) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 14) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 15) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 16) =================== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 4 $X_132 | +-----------------+----------------------+------------------------------+ Inode_tree (tag 17) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 18) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 19) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 20) =================== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 5 $X_132 | +-----------------+----------------------+------------------------------+ Inode_tree (tag 21) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 22) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 23) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 24) =================== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 6 $X_132 | +-----------------+----------------------+------------------------------+ Inode_tree (tag 25) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 26) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 27) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 28) =================== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 7 $X_132 | +-----------------+----------------------+------------------------------+ Inode_tree (tag 29) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 30) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 31) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 32) =================== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 8 $X_132 | +-----------------+----------------------+------------------------------+ Inode_tree (tag 33) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 34) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 35) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 36) =================== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 9 $X_132 | +-----------------+----------------------+------------------------------+ Inode_tree (tag 37) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 38) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 39) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 40) =================== +-----------------+----------------------+-------------------------------+ | 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 | sequence of exactly 10 $X_132 | +-----------------+----------------------+-------------------------------+ Inode_tree (tag 41) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 42) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 43) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 44) =================== +-----------------+----------------------+-------------------------------+ | 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 | sequence of exactly 11 $X_132 | +-----------------+----------------------+-------------------------------+ Inode_tree (tag 45) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 46) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 47) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 48) =================== +-----------------+----------------------+-------------------------------+ | 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 | sequence of exactly 12 $X_132 | +-----------------+----------------------+-------------------------------+ Inode_tree (tag 49) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 50) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 51) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 52) =================== +-----------------+----------------------+-------------------------------+ | 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 | sequence of exactly 13 $X_132 | +-----------------+----------------------+-------------------------------+ Inode_tree (tag 53) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 54) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 55) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 56) =================== +-----------------+----------------------+-------------------------------+ | 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 | sequence of exactly 14 $X_132 | +-----------------+----------------------+-------------------------------+ Inode_tree (tag 57) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 58) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 59) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 60) =================== +-----------------+----------------------+------------------------+ | 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_131 | +-----------------+----------------------+------------------------+ Inode_tree (tag 61) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | $X_131 | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 62) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | $X_131 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 63) =================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | $X_131 | +-----------------+----------------------+----------------------------------+ Inode_tree (tag 64) =================== +-----------------+----------------------+------------------------------------+ | 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 | sequence of exactly 32 $inode_tree | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 65) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 66) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree | +-----------------+----------------------+------------------------------------+ Inode_tree (tag 67) =================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree | +-----------------+----------------------+------------------------------------+ other_inode_trees (tag 128) =========================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ other_inode_trees (tag 129) =========================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 1 $X_5 | +-----------------+----------+----------------------------+ other_inode_trees (tag 130) =========================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 2 $X_5 | +-----------------+----------+----------------------------+ other_inode_trees (tag 131) =========================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 3 $X_5 | +-----------------+----------+----------------------------+ other_inode_trees (tag 132) =========================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 4 $X_5 | +-----------------+----------+----------------------------+ other_inode_trees (tag 133) =========================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 5 $X_5 | +-----------------+----------+----------------------------+ other_inode_trees (tag 134) =========================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 6 $X_5 | +-----------------+----------+----------------------------+ other_inode_trees (tag 135) =========================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 7 $X_5 | +-----------------+----------+----------------------------+ other_inode_trees (tag 136) =========================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 8 $X_5 | +-----------------+----------+----------------------------+ other_inode_trees (tag 137) =========================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 9 $X_5 | +-----------------+----------+----------------------------+ other_inode_trees (tag 138) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 10 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 139) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 11 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 140) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 12 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 141) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 13 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 142) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 14 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 143) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 15 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 144) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 16 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 145) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 17 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 146) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 18 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 147) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 19 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 148) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 20 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 149) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 21 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 150) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 22 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 151) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 23 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 152) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 24 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 153) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 25 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 154) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 26 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 155) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 27 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 156) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 28 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 157) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 29 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 158) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 30 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 159) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 31 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 160) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 32 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 161) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 33 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 162) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 34 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 163) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 35 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 164) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 36 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 165) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 37 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 166) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 38 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 167) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 39 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 168) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 40 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 169) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 41 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 170) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 42 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 171) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 43 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 172) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 44 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 173) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 45 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 174) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 46 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 175) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 47 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 176) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 48 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 177) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 49 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 178) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 50 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 179) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 51 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 180) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 52 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 181) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 53 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 182) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 54 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 183) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 55 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 184) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 56 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 185) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 57 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 186) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 58 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 187) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 59 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 188) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 60 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 189) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 61 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 190) =========================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 62 $X_5 | +-----------------+----------+-----------------------------+ other_inode_trees (tag 191) =========================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_5 | +-----------------------+----------+------------------------------------+ other_inode_trees (tag 192) =========================== +--------------+----------+------------------------+ | Name | Size | Contents | +==============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------+------------------------+ | Context_hash | 32 bytes | bytes | +--------------+----------+------------------------+ other_inode_trees (tag 208) =========================== +-----------------+----------------------+------------------------+ | 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_0 | +-----------------+----------------------+------------------------+ | Unnamed field 2 | Determined from data | $inode_tree | +-----------------+----------------------+------------------------+ other_inode_trees (tag 209) =========================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | $X_0 | +-----------------+----------------------+------------------------------------+ | Unnamed field 2 | Determined from data | $inode_tree | +-----------------+----------------------+------------------------------------+ other_inode_trees (tag 210) =========================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | $X_0 | +-----------------+----------------------+----------------------------------+ | Unnamed field 2 | Determined from data | $inode_tree | +-----------------+----------------------+----------------------------------+ other_inode_trees (tag 211) =========================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | $X_0 | +-----------------+----------------------+----------------------------------+ | Unnamed field 2 | Determined from data | $inode_tree | +-----------------+----------------------+----------------------------------+ other_inode_trees (tag 224) =========================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ tree_encoding (Determined from data, 8-bit tag) *********************************************** Inode (tag 0) ============= +-----------------+--------+------------------------+ | Name | Size | Contents | +=================+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+--------+------------------------+ | Unnamed field 0 | 1 byte | unsigned 8-bit integer | +-----------------+--------+------------------------+ Inode (tag 1) ============= +-----------------+---------+------------------------------------+ | Name | Size | Contents | +=================+=========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+---------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+---------+------------------------------------+ Inode (tag 2) ============= +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ Inode (tag 3) ============= +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+---------+----------------------------------+ Inode (tag 4) ============= +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 1 $X_132 | +-----------------+----------------------+------------------------------+ Inode (tag 5) ============= +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 6) ============= +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 7) ============= +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 1 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 8) ============= +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 2 $X_132 | +-----------------+----------------------+------------------------------+ Inode (tag 9) ============= +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 10) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 11) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 2 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 12) ============== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 3 $X_132 | +-----------------+----------------------+------------------------------+ Inode (tag 13) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 14) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 15) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 3 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 16) ============== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 4 $X_132 | +-----------------+----------------------+------------------------------+ Inode (tag 17) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 18) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 19) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 4 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 20) ============== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 5 $X_132 | +-----------------+----------------------+------------------------------+ Inode (tag 21) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 22) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 23) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 5 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 24) ============== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 6 $X_132 | +-----------------+----------------------+------------------------------+ Inode (tag 25) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 26) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 27) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 6 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 28) ============== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 7 $X_132 | +-----------------+----------------------+------------------------------+ Inode (tag 29) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 30) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 31) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 7 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 32) ============== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 8 $X_132 | +-----------------+----------------------+------------------------------+ Inode (tag 33) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 34) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 35) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 8 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 36) ============== +-----------------+----------------------+------------------------------+ | 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 | sequence of exactly 9 $X_132 | +-----------------+----------------------+------------------------------+ Inode (tag 37) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 38) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 39) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 9 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 40) ============== +-----------------+----------------------+-------------------------------+ | 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 | sequence of exactly 10 $X_132 | +-----------------+----------------------+-------------------------------+ Inode (tag 41) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 42) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 43) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 10 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 44) ============== +-----------------+----------------------+-------------------------------+ | 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 | sequence of exactly 11 $X_132 | +-----------------+----------------------+-------------------------------+ Inode (tag 45) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 46) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 47) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 11 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 48) ============== +-----------------+----------------------+-------------------------------+ | 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 | sequence of exactly 12 $X_132 | +-----------------+----------------------+-------------------------------+ Inode (tag 49) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 50) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 51) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 12 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 52) ============== +-----------------+----------------------+-------------------------------+ | 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 | sequence of exactly 13 $X_132 | +-----------------+----------------------+-------------------------------+ Inode (tag 53) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 54) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 55) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 13 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 56) ============== +-----------------+----------------------+-------------------------------+ | 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 | sequence of exactly 14 $X_132 | +-----------------+----------------------+-------------------------------+ Inode (tag 57) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 | +-----------------+----------------------+------------------------------------+ Inode (tag 58) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 59) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 14 $X_132 | +-----------------+----------------------+----------------------------------+ Inode (tag 60) ============== +-----------------+----------------------+------------------------+ | 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_131 | +-----------------+----------------------+------------------------+ Inode (tag 61) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | $X_131 | +-----------------+----------------------+------------------------------------+ Inode (tag 62) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | $X_131 | +-----------------+----------------------+----------------------------------+ Inode (tag 63) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | $X_131 | +-----------------+----------------------+----------------------------------+ Inode (tag 64) ============== +-----------------+----------------------+------------------------------------+ | 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 | sequence of exactly 32 $inode_tree | +-----------------+----------------------+------------------------------------+ Inode (tag 65) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree | +-----------------+----------------------+------------------------------------+ Inode (tag 66) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree | +-----------------+----------------------+------------------------------------+ Inode (tag 67) ============== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | sequence of exactly 32 $inode_tree | +-----------------+----------------------+------------------------------------+ other_trees (tag 128) ===================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ other_trees (tag 129) ===================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 1 $X_5 | +-----------------+----------+----------------------------+ other_trees (tag 130) ===================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 2 $X_5 | +-----------------+----------+----------------------------+ other_trees (tag 131) ===================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 3 $X_5 | +-----------------+----------+----------------------------+ other_trees (tag 132) ===================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 4 $X_5 | +-----------------+----------+----------------------------+ other_trees (tag 133) ===================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 5 $X_5 | +-----------------+----------+----------------------------+ other_trees (tag 134) ===================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 6 $X_5 | +-----------------+----------+----------------------------+ other_trees (tag 135) ===================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 7 $X_5 | +-----------------+----------+----------------------------+ other_trees (tag 136) ===================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 8 $X_5 | +-----------------+----------+----------------------------+ other_trees (tag 137) ===================== +-----------------+----------+----------------------------+ | Name | Size | Contents | +=================+==========+============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 9 $X_5 | +-----------------+----------+----------------------------+ other_trees (tag 138) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 10 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 139) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 11 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 140) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 12 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 141) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 13 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 142) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 14 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 143) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 15 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 144) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 16 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 145) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 17 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 146) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 18 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 147) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 19 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 148) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 20 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 149) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 21 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 150) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 22 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 151) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 23 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 152) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 24 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 153) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 25 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 154) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 26 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 155) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 27 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 156) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 28 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 157) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 29 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 158) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 30 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 159) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 31 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 160) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 32 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 161) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 33 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 162) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 34 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 163) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 35 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 164) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 36 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 165) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 37 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 166) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 38 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 167) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 39 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 168) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 40 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 169) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 41 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 170) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 42 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 171) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 43 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 172) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 44 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 173) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 45 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 174) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 46 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 175) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 47 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 176) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 48 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 177) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 49 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 178) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 50 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 179) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 51 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 180) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 52 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 181) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 53 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 182) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 54 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 183) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 55 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 184) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 56 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 185) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 57 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 186) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 58 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 187) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 59 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 188) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 60 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 189) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 61 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 190) ===================== +-----------------+----------+-----------------------------+ | Name | Size | Contents | +=================+==========+=============================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+-----------------------------+ | Unnamed field 0 | Variable | sequence of exactly 62 $X_5 | +-----------------+----------+-----------------------------+ other_trees (tag 191) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_5 | +-----------------------+----------+------------------------------------+ other_trees (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 | +-----------------------+----------+------------------------+ other_trees (tag 193) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ other_trees (tag 195) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ other_trees (tag 200) ===================== +--------------+----------+------------------------+ | Name | Size | Contents | +==============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------+------------------------+ | Context_hash | 32 bytes | bytes | +--------------+----------+------------------------+ other_trees (tag 208) ===================== +--------------+----------+------------------------+ | Name | Size | Contents | +==============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------+------------------------+ | Context_hash | 32 bytes | bytes | +--------------+----------+------------------------+ other_trees (tag 216) ===================== +-----------------+----------------------+------------------------+ | 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_0 | +-----------------+----------------------+------------------------+ | Unnamed field 2 | Determined from data | $inode_tree | +-----------------+----------------------+------------------------+ other_trees (tag 217) ===================== +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 1 | Determined from data | $X_0 | +-----------------+----------------------+------------------------------------+ | Unnamed field 2 | Determined from data | $inode_tree | +-----------------+----------------------+------------------------------------+ other_trees (tag 218) ===================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | $X_0 | +-----------------+----------------------+----------------------------------+ | Unnamed field 2 | Determined from data | $inode_tree | +-----------------+----------------------+----------------------------------+ other_trees (tag 219) ===================== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | Determined from data | $X_0 | +-----------------+----------------------+----------------------------------+ | Unnamed field 2 | Determined from data | $inode_tree | +-----------------+----------------------+----------------------------------+ other_trees (tag 224) ===================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_53820 (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 big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | 32 bytes | bytes | +-----------------+----------------------+----------------------------------+ | Unnamed field 2 | 32 bytes | bytes | +-----------------+----------------------+----------------------------------+ | Unnamed field 3 | Determined from data | $tree_encoding | +-----------------+----------------------+----------------------------------+ case_1 (tag 1) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 2 bytes | signed 16-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | 32 bytes | bytes | +-----------------+----------------------+----------------------------------+ | Unnamed field 2 | 32 bytes | bytes | +-----------------+----------------------+----------------------------------+ | Unnamed field 3 | Determined from data | $tree_encoding | +-----------------+----------------------+----------------------------------+ case_2 (tag 2) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 2 bytes | signed 16-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | 32 bytes | bytes | +-----------------+----------------------+----------------------------------+ | Unnamed field 2 | 32 bytes | bytes | +-----------------+----------------------+----------------------------------+ | Unnamed field 3 | Determined from data | $tree_encoding | +-----------------+----------------------+----------------------------------+ case_3 (tag 3) ============== +-----------------+----------------------+----------------------------------+ | Name | Size | Contents | +=================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 0 | 2 bytes | signed 16-bit big-endian integer | +-----------------+----------------------+----------------------------------+ | Unnamed field 1 | 32 bytes | bytes | +-----------------+----------------------+----------------------------------+ | Unnamed field 2 | 32 bytes | bytes | +-----------------+----------------------+----------------------------------+ | Unnamed field 3 | Determined from data | $tree_encoding | +-----------------+----------------------+----------------------------------+ X_53821 (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 | $X_53820 | +-----------------+----------------------+------------------------+
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/protocol/first_level
Returns the level at which the current protocol was activated.
integer ∈ [0, 2^31]
+-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+
GET ../<block_id>/context/raw/bytes(/<context_path>)*?[depth=<uint>]
Returns the raw context.
Optional query arguments :
- depth = <uint>
$raw_context $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 | $raw_context | +-----------------+----------------------+--------------+ X_1 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------+----------------------+--------------+ | Name | Size | Contents | +=================+======================+==============+ | Unnamed field 0 | Determined from data | $X_1 | +-----------------+----------------------+--------------+ | Unnamed field 1 | Determined from data | $raw_context | +-----------------+----------------------+--------------+ raw_context (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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ 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 big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_0 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian 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/seed_computation
Seed computation status
{ /* Nonce revelation stage */ "nonce_revelation_stage": any } || { /* VDF revelation stage */ "seed_discriminant": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "seed_challenge": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Computation finished */ "computation_finished": any }
+-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_0 | +-----------------+----------------------+----------+ X_0 (Determined from data, 8-bit tag) ************************************* Nonce revelation stage (tag 0) ============================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ VDF revelation stage (tag 1) ============================ +-------------------+----------+------------------------+ | Name | Size | Contents | +===================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------+------------------------+ | seed_discriminant | 32 bytes | bytes | +-------------------+----------+------------------------+ | seed_challenge | 32 bytes | bytes | +-------------------+----------+------------------------+ Computation finished (tag 2) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
GET ../<block_id>/context/smart_rollups/all
List of all originated smart rollups
[ $smart_rollup_address ... ] $smart_rollup_address: /* A smart rollup address (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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/context/smart_rollups/all/inbox
Inbox for the smart rollups
{ "level": integer ∈ [0, 2^31], "old_levels_messages": { "index": $positive_bignum, "content": { "hash": $smart_rollup_merkelized_payload_hashes_hash, "level": integer ∈ [0, 2^31] }, "back_pointers": [ $smart_rollup_inbox_hash ... ] } } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $smart_rollup_inbox_hash: /* The hash of an inbox of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_merkelized_payload_hashes_hash: /* The hash of the Merkelized payload hashes of a smart rollup inbox (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 | +=====================+======================+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------+----------------------+----------------------------------+ | old_levels_messages | 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_1 *** +-------+----------+----------------------------------+ | Name | Size | Contents | +=======+==========+==================================+ | hash | 32 bytes | bytes | +-------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+----------+----------------------------------+ X_0 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | index | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | content | 36 bytes | $X_1 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | back_pointers | Variable | sequence of bytes | +-----------------------+----------------------+------------------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/commitment/<smart_rollup_commitment_hash>
Commitment for a smart rollup from its hash
{ "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart rollup (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 | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/commitment/<smart_rollup_commitment_hash>/can_be_cemented
Returns true if and only if the provided commitment can be cemented.
boolean
+-----------------+--------+-------------------------------------+ | Name | Size | Contents | +=================+========+=====================================+ | Unnamed field 0 | 1 byte | boolean (0 for false, 255 for true) | +-----------------+--------+-------------------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/commitment/<smart_rollup_commitment_hash>/stakers_indexes
List of stakers indexes staking on a given commitment
[ $positive_bignum ... ] $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $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/smart_rollups/smart_rollup/<smart_rollup_address>/consumed_outputs/<block_level>
Return the known consumed outputs of a smart rollup.
[ integer ∈ [-2^30, 2^30] ... ]
+-----------------------+----------+-------------------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================================================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------+-------------------------------------------------------------------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/genesis_info
Genesis information (level and commitment hash) for a smart rollup
{ "level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (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 | +=================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------+----------+----------------------------------+ | commitment_hash | 32 bytes | bytes | +-----------------+----------+----------------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/inbox_level/<block_level>/commitments
List of commitments associated to a rollup for a given inbox level
[ $smart_rollup_commitment_hash ... ] /* Some */ || null /* None */ $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (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 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/kind
Kind of smart rollup
"wasm_2_0_0" | "arith" | "riscv"
+-----------------+--------+----------+ | Name | Size | Contents | +=================+========+==========+ | Unnamed field 0 | 1 byte | $X_0 | +-----------------+--------+----------+ X_0 (Enumeration: unsigned 8-bit integer): ****************************************** +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/last_cemented_commitment_hash_with_level
Level and hash of the last cemented commitment for a smart rollup
{ "hash": $smart_rollup_commitment_hash, "level": integer ∈ [0, 2^31] } $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (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 | +=======+==========+==================================+ | hash | 32 bytes | bytes | +-------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+----------+----------------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/last_whitelist_update
Last whitelist update for private smart rollups. If the output is None then the rollup is public.
{ /* Some */ "message_index": $positive_bignum, "outbox_level": integer ∈ [0, 2^31] } || null /* None */ $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 | +---------------+----------------------+----------------------------------+ | message_index | Determined from data | $N.t | +---------------+----------------------+----------------------------------+ | outbox_level | 4 bytes | signed 32-bit big-endian integer | +---------------+----------------------+----------------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker/<pkh>/conflicts
List of stakers in conflict with the given staker
[ { "other": $Signature.Public_key_hash, "their_commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 }, "our_commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 }, "parent_commitment": $smart_rollup_commitment_hash } ... ] $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart rollup (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 big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_1 *** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_0 *** +-------------------+----------+------------------+ | Name | Size | Contents | +===================+==========+==================+ | other | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | their_commitment | 76 bytes | $X_1 | +-------------------+----------+------------------+ | our_commitment | 76 bytes | $X_1 | +-------------------+----------+------------------+ | parent_commitment | 32 bytes | bytes | +-------------------+----------+------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker/<pkh>/games
Ongoing refutation games for a given staker
[ { "game": { "turn": "alice" || "bob", "inbox_snapshot": { "index": $positive_bignum, "content": { "hash": $smart_rollup_merkelized_payload_hashes_hash, "level": integer ∈ [0, 2^31] }, "back_pointers": [ $smart_rollup_inbox_hash ... ] }, "dal_snapshot": { /* dal_skip_list_legacy */ "kind": "dal_skip_list_legacy", "skip_list": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal_skip_list */ "kind": "dal_skip_list", "skip_list": { "index": $positive_bignum, "content": { /* unpublished */ "kind": "unpublished", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255] } || /* published */ { /* v0 */ "kind": "published", "publisher": $alpha.contract_id, "is_proto_attested": boolean, "attested_shards": integer ∈ [0, 2^16-1], "total_shards": integer ∈ [0, 2^16-1], "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "back_pointers": [ $dal_skip_list_pointer ... ] } }, "start_level": integer ∈ [0, 2^31], "inbox_level": integer ∈ [0, 2^31], "game_state": { /* Dissecting */ "kind": "Dissecting", "dissection": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ], "default_number_of_sections": integer ∈ [0, 255] } || { /* Final_move */ "kind": "Final_move", "agreed_start_chunk": { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum }, "refuted_stop_chunk": { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } } }, "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } ... ] $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $alpha.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 $dal_skip_list_pointer: /* A hash that represents the skip list pointers (Base58Check-encoded) */ $unistring $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $smart_rollup_inbox_hash: /* The hash of an inbox of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_merkelized_payload_hashes_hash: /* The hash of the Merkelized payload hashes of a smart rollup inbox (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart rollup (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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ X_2 (1 byte, 8-bit tag) *********************** Alice (tag 0) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Bob (tag 1) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-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 | +------+----------------------+----------+ X_4 *** +-------+----------+----------------------------------+ | Name | Size | Contents | +=======+==========+==================================+ | hash | 32 bytes | bytes | +-------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+----------+----------------------------------+ X_3 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | index | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | content | 36 bytes | $X_4 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | back_pointers | Variable | sequence of 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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_6 (54 bytes, 8-bit tag) ************************* v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+ X_7 (Determined from data, 8-bit tag) ************************************* unpublished (tag 2) =================== +-------+---------+----------------------------------+ | Name | Size | Contents | +=======+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------+---------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +-------+---------+----------------------------------+ published (tag 3) ================= +-------------------+----------+-------------------------------------+ | Name | Size | Contents | +===================+==========+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------+-------------------------------------+ | publisher | 22 bytes | $alpha.contract_id | +-------------------+----------+-------------------------------------+ | is_proto_attested | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------+-------------------------------------+ | attested_shards | 2 bytes | unsigned 16-bit big-endian integer | +-------------------+----------+-------------------------------------+ | total_shards | 2 bytes | unsigned 16-bit big-endian integer | +-------------------+----------+-------------------------------------+ | Unnamed field 0 | 54 bytes | $X_6 | +-------------------+----------+-------------------------------------+ X_5 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | index | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | content | Determined from data | $X_7 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | back_pointers | Variable | sequence of bytes | +-----------------------+----------------------+------------------------------------+ X_8 (Determined from data, 8-bit tag) ************************************* dal_skip_list_legacy (tag 0) ============================ +-----------+----------+------------------------+ | Name | Size | Contents | +===========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+------------------------+ | skip_list | 57 bytes | bytes | +-----------+----------+------------------------+ dal_skip_list (tag 1) ===================== +-----------+----------------------+------------------------+ | Name | Size | Contents | +===========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------+ | skip_list | Determined from data | $X_5 | +-----------+----------------------+------------------------+ X_9 *** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_12 (Determined from data, 8-bit tag) ************************************** Dissecting (tag 0) ================== +----------------------------+----------+------------------------------------+ | Name | Size | Contents | +============================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +----------------------------+----------+------------------------------------+ | dissection | Variable | sequence of $X_9 | +----------------------------+----------+------------------------------------+ | default_number_of_sections | 1 byte | unsigned 8-bit integer | +----------------------------+----------+------------------------------------+ Final_move (tag 1) ================== +--------------------+----------------------+------------------------+ | Name | Size | Contents | +====================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------+ | agreed_start_chunk | Determined from data | $X_9 | +--------------------+----------------------+------------------------+ | refuted_stop_chunk | Determined from data | $X_9 | +--------------------+----------------------+------------------------+ X_1 *** +----------------+----------------------+----------------------------------+ | Name | Size | Contents | +================+======================+==================================+ | turn | 1 byte | $X_2 | +----------------+----------------------+----------------------------------+ | inbox_snapshot | Determined from data | $X_3 | +----------------+----------------------+----------------------------------+ | dal_snapshot | Determined from data | $X_8 | +----------------+----------------------+----------------------------------+ | start_level | 4 bytes | signed 32-bit big-endian integer | +----------------+----------------------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +----------------+----------------------+----------------------------------+ | game_state | Determined from data | $X_12 | +----------------+----------------------+----------------------------------+ X_0 *** +-------+----------------------+------------------+ | Name | Size | Contents | +=======+======================+==================+ | game | Determined from data | $X_1 | +-------+----------------------+------------------+ | alice | 21 bytes | $public_key_hash | +-------+----------------------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------------------+------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker/<pkh>/index
Staker index associated to a public key hash for a given rollup
string /* Positive big number Decimal representation of a positive big number */
+-----------------+----------------------+----------+ | 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/smart_rollups/smart_rollup/<smart_rollup_address>/staker/<pkh>/staked_on_commitment
The newest commitment on which the operator has staked on for a smart rollup. Note that is can return a commitment that is before the last cemented one.
{ /* Some */ "hash": $smart_rollup_commitment_hash, "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } || null /* None */ $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart rollup (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 | +------------------+----------+----------------------------------+ | hash | 32 bytes | bytes | +------------------+----------+----------------------------------+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker1/<staker1_pkh>/staker2/<staker2_pkh>/timeout
Returns the timeout of players.
{ /* Some */ "alice": integer ∈ [-2^30, 2^30], "bob": integer ∈ [-2^30, 2^30], "last_turn_level": integer ∈ [0, 2^31] } || 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 | +-----------------+---------+-------------------------------------------------------------------------+ | alice | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+---------+-------------------------------------------------------------------------+ | bob | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+---------+-------------------------------------------------------------------------+ | last_turn_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+-------------------------------------------------------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/staker1/<staker1_pkh>/staker2/<staker2_pkh>/timeout_reached
Returns whether the timeout creates a result for the game.
/* Some */ { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } || null /* None */ $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS 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_2 | +-----------------+----------------------+----------+ X_0 (1 byte, 8-bit tag) *********************** Conflict_resolved (tag 0) ========================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Timeout (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_1 (Determined from data, 8-bit tag) ************************************* Loser (tag 0) ============= +--------+----------+------------------------+ | Name | Size | Contents | +========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------+------------------------+ | reason | 1 byte | $X_0 | +--------+----------+------------------------+ | player | 21 bytes | $public_key_hash | +--------+----------+------------------------+ Draw (tag 1) ============ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ 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 | +-----------------+----------------------+------------------------+ | Unnamed field 0 | Determined from data | $X_1 | +-----------------+----------------------+------------------------+
GET ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/stakers
List of active stakers' public key hashes of a rollup
[ $Signature.Public_key_hash ... ] $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS 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 big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+
POST ../<block_id>/context/smart_rollups/smart_rollup/<smart_rollup_address>/ticket_balance
Access the smart rollup's balance of ticket with specified ticketer, content type, and content.
{ "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression } $alpha.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 $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +==============+======================+==========================================+ | ticketer | 22 bytes | $alpha.contract_id | +--------------+----------------------+------------------------------------------+ | content_type | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | content | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
string /* Positive big number Decimal representation of a positive big number */
+-----------------+----------------------+----------+ | 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/smart_rollups/smart_rollup/<smart_rollup_address>/whitelist
Whitelist for private smart rollups. If the output is None then the rollup is public.
[ $Signature.Public_key_hash ... ] /* Some */ || null /* None */ $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS 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_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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+
GET ../<block_id>/context/total_currently_staked
Returns the amount of staked tez by delegates, delegators or overstaked.
{ "delegates": $alpha.mutez, "delegators": $alpha.mutez, "overstaked": $alpha.mutez } $alpha.mutez: $positive_bignum $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string
+------------+----------------------+----------+ | Name | Size | Contents | +============+======================+==========+ | delegates | Determined from data | $N.t | +------------+----------------------+----------+ | delegators | Determined from data | $N.t | +------------+----------------------+----------+ | overstaked | 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/total_frozen_stake
Returns the total stake (in mutez) frozen on the chain
$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/total_supply
Returns the total supply (in mutez) available on the chain
$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>/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": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $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.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.liquidity_baking_vote: "on" || "off" || "pass" $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 big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
GET ../<block_id>/header/protocol_data
The version-specific fragment of the block header.
{ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.liquidity_baking_vote: "on" || "off" || "pass" $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 big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
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 big-endian 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 big-endian 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 big-endian integer | +----------------------------+----------+------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +----------------------------+----------+------------------------------------+ | predecessor | 32 bytes | bytes | +----------------------------+----------+------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +----------------------------+----------+------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +----------------------------+----------+------------------------------------+ | operations_hash | 32 bytes | bytes | +----------------------------+----------+------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/helpers/attestation_rights?(level=<block_level>)*&[cycle=<block_cycle>]&(delegate=<pkh>)*&(consensus_key=<pkh>)*
Retrieves the delegates allowed to attest a block. By default, it gives the attestation power for delegates that have at least one attestation slot for the next block. Parameters `level` and `cycle` can be used to specify the (valid) level(s) in the past or future at which the attestation rights have to be returned. Parameter `delegate` can be used to restrict the results to the given delegates. Parameter `consensus_key` can be used to restrict the results to the given consensus_keys. Returns the smallest attestation slots and the attestation power. Also returns the minimal timestamp that corresponds to attestation at the given level. The timestamps are omitted for levels in the past, and are only estimates for levels higher that the next block's, based on the hypothesis that all predecessor blocks were baked at the first round.
Optional query arguments :
- level = <block_level>
- cycle = <block_cycle>
- delegate = <pkh>
- consensus_key = <pkh>
[ { "level": integer ∈ [0, 2^31], "delegates": [ { "delegate": $Signature.Public_key_hash, "first_slot": integer ∈ [0, 2^16-1], "attestation_power": integer ∈ [0, 2^16-1], "consensus_key": $Signature.Public_key_hash } ... ], "estimated_time"?: $timestamp.protocol } ... ] $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (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] ... ] }
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_1 *** +-------------------+----------+------------------------------------+ | Name | Size | Contents | +===================+==========+====================================+ | delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------------------------+ | first_slot | 2 bytes | unsigned 16-bit big-endian integer | +-------------------+----------+------------------------------------+ | attestation_power | 2 bytes | unsigned 16-bit big-endian integer | +-------------------+----------+------------------------------------+ | consensus_key | 21 bytes | $public_key_hash | +-------------------+----------+------------------------------------+ X_0 *** +--------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------------------------+----------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------------------+----------+-------------------------------------+ | delegates | Variable | sequence of $X_1 | +--------------------------------------+----------+-------------------------------------+ | ? presence of field "estimated_time" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------------+----------+-------------------------------------+ | estimated_time | 8 bytes | signed 64-bit big-endian integer | +--------------------------------------+----------+-------------------------------------+
GET ../<block_id>/helpers/baking_rights?(level=<block_level>)*&[cycle=<block_cycle>]&(delegate=<pkh>)*&(consensus_key=<pkh>)*&[max_round=<uint>]&[all]
Retrieves the list of delegates allowed to bake a block. By default, it gives the best baking opportunities (in terms of rounds) for bakers that have at least one opportunity below the 64th round for the next block. Parameters `level` and `cycle` can be used to specify the (valid) level(s) in the past or future at which the baking rights have to be returned. Parameter `delegate` can be used to restrict the results to the given delegates. Parameter `consensus_key` can be used to restrict the results to the given consensus_keys. If parameter `all` is set, all the baking opportunities for each baker at each level are returned, instead of just the first one. Returns the list of baking opportunities up to round 64. Also returns the minimal timestamps that correspond to these opportunities. The timestamps are omitted for levels in the past, and are only estimates for levels higher that the next block's, based on the hypothesis that all predecessor blocks were baked at the first round.
Optional query arguments :
- level = <block_level>
- cycle = <block_cycle>
- delegate = <pkh>
- consensus_key = <pkh>
- max_round = <uint>
- all
[ { "level": integer ∈ [0, 2^31], "delegate": $Signature.Public_key_hash, "round": integer ∈ [-2^31-1, 2^31], "estimated_time"?: $timestamp.protocol, "consensus_key": $Signature.Public_key_hash } ... ] $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (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] ... ] }
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_0 *** +--------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------------------------+----------+-------------------------------------+ | delegate | 21 bytes | $public_key_hash | +--------------------------------------+----------+-------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------------------------+----------+-------------------------------------+ | ? presence of field "estimated_time" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------------+----------+-------------------------------------+ | estimated_time | 8 bytes | signed 64-bit big-endian integer | +--------------------------------------+----------+-------------------------------------+ | consensus_key | 21 bytes | $public_key_hash | +--------------------------------------+----------+-------------------------------------+
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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/helpers/consecutive_round_zero
Returns the number of blocks consecutively baked at round zero.
integer ∈ [-2^31-1, 2^31]
+-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+
GET ../<block_id>/helpers/current_level?[offset=<int32>]
Returns the level of the interrogated block, or the one of a block located `offset` blocks after it in the chain. For instance, the next block if `offset` is 1. The offset cannot be negative.
Optional query arguments :
- offset = <int32>
{ "level": integer ∈ [0, 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. */ }
+---------------------+---------+-------------------------------------+ | Name | Size | Contents | +=====================+=========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | level_position | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | cycle_position | 4 bytes | signed 32-bit big-endian integer | +---------------------+---------+-------------------------------------+ | expected_commitment | 1 byte | boolean (0 for false, 255 for true) | +---------------------+---------+-------------------------------------+
POST ../<block_id>/helpers/forge/bls_consensus_operations
Forge a consensus operation in BLS mode
{ /* An operation's shell header. */ "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ] } $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.scripted.contracts: { "code": any, "storage": any } $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $script_expr: /* A script expression ID (Base58Check-encoded) */ $unistring $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +==========+==========+=============================================+ | branch | 32 bytes | bytes | +----------+----------+---------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.contents | +----------+----------+---------------------------------------------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_1 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_3 | +-----------------+----------------------+----------+ X_6 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_6 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_4 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_7 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_10 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_9 *** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_10 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_13 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_8 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_9 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_13 | +-----------------+----------------------+----------+ X_16 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_14 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_16 | +-----------------+----------------------+----------+ X_17 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_18 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_19 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_20 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_19 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_20 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_23 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_22 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_21 | +-----------------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_23 | +--------+----------------------+------------------------+ X_25 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_27 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_28 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_31 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_33 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_34 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_40 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_39 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_40 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_42 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_42 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+
{ "sign": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "inject": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | sign | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | inject | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/forge/operations
Forge an operation
{ /* An operation's shell header. */ "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ] } $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.scripted.contracts: { "code": any, "storage": any } $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $script_expr: /* A script expression ID (Base58Check-encoded) */ $unistring $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +==========+==========+=============================================+ | branch | 32 bytes | bytes | +----------+----------+---------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.contents | +----------+----------+---------------------------------------------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_1 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_3 | +-----------------+----------------------+----------+ X_6 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_6 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_4 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_7 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_10 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_9 *** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_10 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_13 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_8 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_9 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_13 | +-----------------+----------------------+----------+ X_16 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_14 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_16 | +-----------------+----------------------+----------+ X_17 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_18 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_19 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_20 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_19 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_20 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_23 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_22 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_21 | +-----------------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_23 | +--------+----------------------+------------------------+ X_25 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_27 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_28 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_31 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_33 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_34 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_40 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_39 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_40 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_42 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_42 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+
/^([a-zA-Z0-9][a-zA-Z0-9])*$/
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/forge/protocol_data
Forge the protocol-specific part of a block header
{ "payload_hash": $value_hash, "payload_round": integer ∈ [-2^31-1, 2^31], "nonce_hash"?: $cycle_nonce, "proof_of_work_nonce"?: /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "per_block_votes"?: $alpha.per_block_votes } $alpha.per_block_votes: { "liquidity_baking_vote": "on" || "off" || "pass", "adaptive_issuance_vote": "on" || "off" || "pass" } $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 big-endian integer | +----------------------------------+----------+-------------------------------------+ | ? presence of field "nonce_hash" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------+-------------------------------------+ | nonce_hash | 32 bytes | bytes | +----------------------------------+----------+-------------------------------------+ | proof_of_work_nonce | 8 bytes | bytes | +----------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +----------------------------------+----------+-------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
{ "protocol_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | protocol_data | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/forge/signed_operations
Forge a signed operation
{ /* An operation's shell header. */ "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.scripted.contracts: { "code": any, "storage": any } $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $script_expr: /* A script expression ID (Base58Check-encoded) */ $unistring $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +===============================+==========+=================================================================+ | branch | 32 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ bls_signature_prefix (33 bytes, 8-bit tag) ****************************************** Bls_prefix (tag 3) ================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_1 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_3 | +-----------------+----------------------+----------+ X_6 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_6 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_4 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_7 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_10 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_9 *** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_10 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_13 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_8 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_9 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_13 | +-----------------+----------------------+----------+ X_16 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_14 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_16 | +-----------------+----------------------+----------+ X_17 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_18 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_19 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_20 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_19 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_20 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_23 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_22 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_21 | +-----------------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_23 | +--------+----------------------+------------------------+ X_25 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_27 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_28 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_31 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_33 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_34 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_40 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_39 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_40 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_42 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.operation.alpha.contents_or_signature_prefix (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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_42 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ Signature_prefix (tag 255) ========================== +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | signature_prefix | 33 bytes | $bls_signature_prefix | +------------------+----------+------------------------+
/^([a-zA-Z0-9][a-zA-Z0-9])*$/
+-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +----------------------------+----------+------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +----------------------------+----------+------------------------------------+ | predecessor | 32 bytes | bytes | +----------------------------+----------+------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +----------------------------+----------+------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +----------------------------+----------+------------------------------------+ | operations_hash | 32 bytes | bytes | +----------------------------+----------+------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian 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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | block | Variable | bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/helpers/levels_in_current_cycle?[offset=<int32>]
Levels of a cycle
Optional query arguments :
- offset = <int32>
{ "first": integer ∈ [0, 2^31], "last": integer ∈ [0, 2^31] }
+-------+---------+----------------------------------+ | Name | Size | Contents | +=======+=========+==================================+ | first | 4 bytes | signed 32-bit big-endian integer | +-------+---------+----------------------------------+ | last | 4 bytes | signed 32-bit big-endian integer | +-------+---------+----------------------------------+
POST ../<block_id>/helpers/parse/block
Parse a block
{ /* 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 big-endian integer | +----------------------------+----------+------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +----------------------------+----------+------------------------------------+ | predecessor | 32 bytes | bytes | +----------------------------+----------+------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +----------------------------+----------+------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +----------------------------+----------+------------------------------------+ | operations_hash | 32 bytes | bytes | +----------------------------+----------+------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+
{ "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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.liquidity_baking_vote: "on" || "off" || "pass" $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 big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
POST ../<block_id>/helpers/parse/operations?[version=<version>]
Parse operations
Optional query arguments :
- version = <version>
{ "operations": [ $operation ... ], "check_signature"?: boolean } $block_hash: /* A block identifier (Base58Check-encoded) */ $unistring $operation: /* An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob. */ { "branch": $block_hash, "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } $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 big-endian integer | +---------------------------------------+----------+-------------------------------------+ | operations | Variable | sequence of $X_0 | +---------------------------------------+----------+-------------------------------------+ | ? presence of field "check_signature" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------+-------------------------------------+ | check_signature | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------+-------------------------------------+ X_0 *** +--------------------------+----------+------------------------------------+ | Name | Size | Contents | +==========================+==========+====================================+ | # bytes in next 2 fields | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------+----------+------------------------------------+ | branch | 32 bytes | bytes | +--------------------------+----------+------------------------------------+ | data | Variable | bytes | +--------------------------+----------+------------------------------------+
[ { /* An operation's shell header. */ "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } ... ] $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.scripted.contracts: { "code": any, "storage": any } $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $script_expr: /* A script expression ID (Base58Check-encoded) */ $unistring $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ bls_signature_prefix (33 bytes, 8-bit tag) ****************************************** Bls_prefix (tag 3) ================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_3 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_2 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_4 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_5 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+----------+ X_8 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_1 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_5 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_8 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_11 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_10 **** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_11 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_14 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_9 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_10 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_14 | +-----------------+----------------------+----------+ X_17 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_15 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_17 | +-----------------+----------------------+----------+ X_18 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_19 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_20 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_20 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_21 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_23 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_23 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_22 | +-----------------------------------+----------------------+-------------------------------------+ X_25 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_24 | +--------+----------------------+------------------------+ X_26 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_28 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_30 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_32 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_34 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_35 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_41 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_8 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_40 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_41 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_43 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.operation.alpha.contents_or_signature_prefix (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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_43 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_40 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_32 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_28) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_29 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_3 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_26 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_19 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_18 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_15 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_9 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_1 | +---------------+----------------------+------------------------+ Signature_prefix (tag 255) ========================== +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | signature_prefix | 33 bytes | $bls_signature_prefix | +------------------+----------+------------------------+ X_0 *** +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | # bytes in next 3 fields | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------+----------+-----------------------------------------------------------------+ | branch | 32 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | 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": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 }, "operations": [ [ $next_operation ... ] ... ] } $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.scripted.contracts: { "code": any, "storage": any } $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $next_operation: /* An operation's shell header. */ { "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $script_expr: /* A script expression ID (Base58Check-encoded) */ $unistring $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | operations | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_0 *** +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | # bytes in next 7 fields | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ bls_signature_prefix (33 bytes, 8-bit tag) ****************************************** Bls_prefix (tag 3) ================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_4 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_5 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_3 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_4 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_5 | +-----------------+----------------------+----------+ X_8 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_6 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_4 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_8 | +-----------------+----------------------+----------+ X_9 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_2 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_3 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_6 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_9 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_12 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_11 **** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_12 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_15 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_10 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_11 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_15 | +-----------------+----------------------+----------+ X_18 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_16 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_4 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_18 | +-----------------+----------------------+----------+ X_19 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_20 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_21 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_22 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_21 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_23 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_22 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_24 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_25 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_24 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_23 | +-----------------------------------+----------------------+-------------------------------------+ X_26 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_25 | +--------+----------------------+------------------------+ X_27 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_29 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_30 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_31 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_33 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_35 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_36 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_35 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_35 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_36 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_42 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_9 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_41 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_42 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_44 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.operation.alpha.contents_or_signature_prefix (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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_44 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_41 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_35 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_35 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_36 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_31 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_33 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_31 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_31 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_29) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_30 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_4 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_27 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_26 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_20 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_19 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_16 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_10 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_2 | +---------------+----------------------+------------------------+ Signature_prefix (tag 255) ========================== +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | signature_prefix | 33 bytes | $bls_signature_prefix | +------------------+----------+------------------------+ next_operation ************** +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------+----------+-----------------------------------------------------------------+ | branch | 32 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ | # bytes in next 2 fields | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ X_1 *** +--------------------------+----------+------------------------------------+ | Name | Size | Contents | +==========================+==========+====================================+ | # bytes in next 2 fields | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $next_operation | +--------------------------+----------+------------------------------------+
{ "shell_header": $block_header.shell, "operations": [ { "applied": [ { /* An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob. */ "hash": $Operation_hash, "branch": $block_hash, "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ... ], "refused": [ { /* An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob. */ "hash": $Operation_hash, "branch": $block_hash, "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "error": $error } ... ], "outdated": [ { /* An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob. */ "hash": $Operation_hash, "branch": $block_hash, "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "error": $error } ... ], "branch_refused": [ { /* An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob. */ "hash": $Operation_hash, "branch": $block_hash, "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "error": $error } ... ], "branch_delayed": [ { /* An operation. The shell_header part indicates a block an operation is meant to apply on top of. The proto part is protocol-specific and appears as a binary blob. */ "hash": $Operation_hash, "branch": $block_hash, "data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "error": $error } ... ] } ... ] } $Context_hash: /* A hash of context (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 $block_hash: /* A block identifier (Base58Check-encoded) */ $unistring $block_header.shell: /* 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 } $error: /* An error trace. The full list of errors is available with the global RPC `GET errors` */ any $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 | +=======================+======================+====================================+ | shell_header | Determined from data | $block_header.shell | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | operations | Variable | sequence of $X_0 | +-----------------------+----------------------+------------------------------------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ block_header.shell ****************** +----------------------------+----------+------------------------------------+ | Name | Size | Contents | +============================+==========+====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +----------------------------+----------+------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +----------------------------+----------+------------------------------------+ | predecessor | 32 bytes | bytes | +----------------------------+----------+------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +----------------------------+----------+------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +----------------------------+----------+------------------------------------+ | operations_hash | 32 bytes | bytes | +----------------------------+----------+------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +----------------------------+----------+------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +----------------------------+----------+------------------------------------+ | context | 32 bytes | bytes | +----------------------------+----------+------------------------------------+ X_1 *** +--------------------------+----------+------------------------------------+ | Name | Size | Contents | +==========================+==========+====================================+ | hash | 32 bytes | bytes | +--------------------------+----------+------------------------------------+ | # bytes in next 2 fields | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------+----------+------------------------------------+ | branch | 32 bytes | bytes | +--------------------------+----------+------------------------------------+ | data | Variable | bytes | +--------------------------+----------+------------------------------------+ X_2 *** +--------------------------+----------+------------------------------------+ | Name | Size | Contents | +==========================+==========+====================================+ | hash | 32 bytes | bytes | +--------------------------+----------+------------------------------------+ | # bytes in next 2 fields | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------+----------+------------------------------------+ | branch | 32 bytes | bytes | +--------------------------+----------+------------------------------------+ | data | Variable | bytes | +--------------------------+----------+------------------------------------+ | # bytes in field "error" | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------+----------+------------------------------------+ | error | Variable | bytes | +--------------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | applied | Variable | sequence of $X_1 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | refused | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | outdated | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | branch_refused | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | branch_delayed | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/preapply/operations?[version=<version>]
Simulate the application of the operations with the context of the given block and return the result of each operation application.
Optional query arguments :
- version = <version>
[ $next_operation ... ] $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.scripted.contracts: { "code": any, "storage": any } $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $next_operation: /* An operation's shell header. */ { "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $script_expr: /* A script expression ID (Base58Check-encoded) */ $unistring $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $next_operation | +-----------------------+----------+------------------------------------+ bls_signature_prefix (33 bytes, 8-bit tag) ****************************************** Bls_prefix (tag 3) ================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_1 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_3 | +-----------------+----------------------+----------+ X_6 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_6 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_4 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_7 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_10 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_9 *** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_10 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_13 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_8 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_9 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_13 | +-----------------+----------------------+----------+ X_16 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_14 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_16 | +-----------------+----------------------+----------+ X_17 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_18 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_19 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_20 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_19 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_20 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_23 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_22 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_21 | +-----------------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_23 | +--------+----------------------+------------------------+ X_25 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_27 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_28 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_31 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_33 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_34 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_40 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_39 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_40 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_42 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.operation.alpha.contents_or_signature_prefix (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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_42 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ Signature_prefix (tag 255) ========================== +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | signature_prefix | 33 bytes | $bls_signature_prefix | +------------------+----------+------------------------+ next_operation ************** +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------+----------+-----------------------------------------------------------------+ | branch | 32 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ | # bytes in next 2 fields | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+
[ $alpha.operation.alpha.operation_with_metadata ... ] /* preapplied_operations_encoding_v1 */ $Blinded public key hash: /* A blinded public key hash (Base58Check-encoded) */ $unistring $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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 $Signature.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.apply_internal_results.alpha.operation_result: { /* transaction */ "kind": "transaction", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "amount": $alpha.mutez, "destination": $alpha.transaction_destination, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "result": $alpha.operation.alpha.internal_operation_result.transaction } || { /* origination */ "kind": "origination", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "result": $alpha.operation.alpha.internal_operation_result.origination } || { /* delegation */ "kind": "delegation", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "delegate"?: $Signature.Public_key_hash, "result": $alpha.operation.alpha.internal_operation_result.delegation } || { /* event */ "kind": "event", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "type": $micheline.alpha.michelson_v1.expression, "tag"?: $alpha.entrypoint, "payload"?: $micheline.alpha.michelson_v1.expression, "result": $alpha.operation.alpha.internal_operation_result.event } $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.bond_id: { /* Smart_rollup_bond_id */ "smart_rollup": $smart_rollup_address } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.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 $alpha.frozen_staker: /* frozen_staker Abstract notion of staker used in operation receipts for frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } || { /* Baker */ "baker_own_stake": $Signature.Public_key_hash } || { /* Baker_edge */ "baker_edge": $Signature.Public_key_hash } $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.lazy_storage_diff: [ { /* big_map */ "kind": "big_map", "id": $alpha.big_map_id, "diff": { /* update */ "action": "update", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* remove */ "action": "remove" } || { /* copy */ "action": "copy", "source": $alpha.big_map_id, "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* alloc */ "action": "alloc", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ], "key_type": $micheline.alpha.michelson_v1.expression, "value_type": $micheline.alpha.michelson_v1.expression } } || { /* sapling_state */ "kind": "sapling_state", "id": $alpha.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": $alpha.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] } } ... ] $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.operation.alpha.internal_operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.internal_operation_result.event: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.internal_operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.internal_operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_contents_and_result: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Activate_account */ "kind": "activate_account", "pkh": $Ed25519.Public_key_hash, "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.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": { } } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "allocated_destination_contract"?: boolean } } || { /* Reveal */ "kind": "reveal", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.reveal, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transaction, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "delegate"?: $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.delegation, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.register_global_constant, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Set_deposits_limit */ "kind": "set_deposits_limit", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.set_deposits_limit, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.increase_paid_storage, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transfer_ticket, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.dal_publish_commitment, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_originate, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_add_messages, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_cement, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_refute, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_timeout, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_recover_bond, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_update, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } $alpha.operation.alpha.operation_result.dal_publish_commitment: { /* Applied */ "status": "applied", "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.increase_paid_storage: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.operation_result.register_global_constant: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } $alpha.operation.alpha.operation_result.reveal: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.set_deposits_limit: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_add_messages: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_cement: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.smart_rollup_originate: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.smart_rollup_publish: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_recover_bond: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_refute: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_timeout: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_result.transfer_ticket: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.update_consensus_key: { /* Applied */ "status": "applied", "kind": boolean, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "kind": boolean, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.zk_rollup_origination: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_publish: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_update: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_with_metadata: { /* Operation_with_metadata */ "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* Operation_without_metadata */ "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $alpha.operation_metadata.alpha.balance_updates: [ { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "block" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "migration" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "subsidy" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "simulation" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "block" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "migration" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "subsidy" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "simulation" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "block" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "migration" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "subsidy" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "simulation" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "block" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "migration" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "subsidy" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "simulation" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "block" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "migration" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "subsidy" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "simulation" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "block" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "migration" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "subsidy" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "simulation" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "block" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "migration" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "subsidy" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "simulation" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "block" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "migration" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "subsidy" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "simulation" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "block" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "migration" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "subsidy" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "simulation" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "block" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "migration" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "subsidy" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "simulation" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "block" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "migration" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "subsidy" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "simulation" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "block" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "migration" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "subsidy" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "simulation" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "block" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "migration" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "subsidy" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "simulation" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "block" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "migration" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "subsidy" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "simulation" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "block" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "migration" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "subsidy" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "simulation" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "block" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "migration" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "subsidy" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "simulation" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "block" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "migration" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "subsidy" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "simulation" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "block" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "migration" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "subsidy" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "simulation" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "block" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "migration" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "subsidy" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "simulation" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } ... ] $alpha.sapling_state_id: /* Sapling state identifier A sapling state identifier */ $bignum $alpha.scripted.contracts: { "code": any, "storage": any } $alpha.staker: /* unstaked_frozen_staker Abstract notion of staker used in operation receipts for unstaked frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } $alpha.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, a base58 originated transaction rollup, or a base58 originated smart rollup. */ $unistring $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $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 $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_3 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_2 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_4 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_5 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+----------+ X_8 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_1 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_5 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_8 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_11 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_10 **** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_11 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_14 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_9 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_10 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_14 | +-----------------+----------------------+----------+ X_17 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_15 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_17 | +-----------------+----------------------+----------+ X_18 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_19 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_20 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_20 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_21 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_23 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_23 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_22 | +-----------------------------------+----------------------+-------------------------------------+ X_25 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_24 | +--------+----------------------+------------------------+ X_26 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_28 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_30 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_32 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_34 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_35 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_41 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_8 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_40 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_41 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_43 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_43 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_40 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_32 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_28) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_29 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_3 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_26 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_19 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_18 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_15 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_9 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_1 | +---------------+----------------------+------------------------+ alpha.staker (Determined from data, 8-bit tag) ********************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ alpha.bond_id (21 bytes, 8-bit tag) *********************************** Smart_rollup_bond_id (tag 1) ============================ +--------------+----------+------------------------+ | Name | Size | Contents | +==============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------+------------------------+ | smart_rollup | 20 bytes | bytes | +--------------+----------+------------------------+ alpha.frozen_staker (Determined from data, 8-bit tag) ***************************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Baker (tag 2) ============= +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | baker_own_stake | 21 bytes | $public_key_hash | +-----------------+----------+------------------------+ Baker_edge (tag 3) ================== +------------+----------+------------------------+ | Name | Size | Contents | +============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+------------------------+ | baker_edge | 21 bytes | $public_key_hash | +------------+----------+------------------------+ X_60 (Determined from data, 8-bit tag) ************************************** Contract (tag 0) ================ +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Block_fees (tag 2) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Deposits (tag 4) ================ +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.frozen_staker | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Nonce_revelation_rewards (tag 5) ================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Attesting_rewards (tag 7) ========================= +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_rewards (tag 8) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_bonuses (tag 9) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Storage_fees (tag 11) ===================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Double_signing_punishments (tag 12) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_attesting_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) | +---------------+----------+-------------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +---------------+----------+-------------------------------------+ Liquidity_baking_subsidies (tag 14) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Burned (tag 15) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Commitments (tag 16) ==================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | committer | 20 bytes | bytes | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Bootstrap (tag 17) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Invoice (tag 18) ================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Initial_commitments (tag 19) ============================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Minted (tag 20) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Frozen_bonds (tag 21) ===================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | bond_id | 21 bytes | $alpha.bond_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Smart_rollup_refutation_punishments (tag 24) ============================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Smart_rollup_refutation_rewards (tag 25) ======================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Unstaked_deposits (tag 26) ========================== +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.staker | +--------+----------------------+----------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Staking_delegator_numerator (tag 27) ==================================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | delegator | 22 bytes | $alpha.contract_id | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Staking_delegate_denominator (tag 28) ===================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ DAL_attesting_rewards (tag 29) ============================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_DAL_attesting_rewards (tag 30) =================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ X_61 (Determined from data, 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 | +------+--------+------------------------+ Delayed_operation (tag 4) ========================= +------------------------+----------+------------------------+ | Name | Size | Contents | +========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------------+----------+------------------------+ | delayed_operation_hash | 32 bytes | bytes | +------------------------+----------+------------------------+ X_59 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_60 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_61 | +-----------------+----------------------+----------+ X_62 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag) ***************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ alpha.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 | +---------------+----------+------------------------+ Smart_rollup (tag 3) ==================== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | smart_rollup_address | 20 bytes | bytes | +----------------------+----------+------------------------+ | padding | 1 byte | padding | +----------------------+----------+------------------------+ Zk_rollup (tag 4) ================= +----------------+----------+------------------------+ | Name | Size | Contents | +================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------+----------+------------------------+ | Zk_rollup_hash | 20 bytes | bytes | +----------------+----------+------------------------+ | padding | 1 byte | padding | +----------------+----------+------------------------+ alpha.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag) *************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ alpha.operation.alpha.internal_operation_result.delegation (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ sapling.transaction.ciphertext ****************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | cv | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | epk | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | payload_enc | Variable | bytes | +-----------------------+----------+------------------------------------+ | nonce_enc | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ | payload_out | 80 bytes | bytes | +-----------------------+----------+------------------------------------+ | nonce_out | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ X_84 **** +-----------------+----------------------+---------------------------------+ | Name | Size | Contents | +=================+======================+=================================+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------------------+---------------------------------+ | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext | +-----------------+----------------------+---------------------------------+ X_83 **** +-----------------------------+----------+------------------------------------+ | Name | Size | Contents | +=============================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_84 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | nullifiers | Variable | sequence of bytes | +-----------------------------+----------+------------------------------------+ X_89 (Determined from data, 8-bit tag) ************************************** update (tag 0) ============== +---------+----------------------+------------------------+ | Name | Size | Contents | +=========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------+----------------------+------------------------+ | updates | Determined from data | $X_83 | +---------+----------------------+------------------------+ 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_83 | +---------+----------------------+------------------------+ alloc (tag 3) ============= +-----------+----------------------+------------------------------------+ | Name | Size | Contents | +===========+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------------------+ | updates | Determined from data | $X_83 | +-----------+----------------------+------------------------------------+ | memo_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------+----------------------+------------------------------------+ X_90 **** +-----------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============================+======================+==========================================+ | key_hash | 32 bytes | bytes | +-----------------------------+----------------------+------------------------------------------+ | key | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ | ? presence of field "value" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+------------------------------------------+ | value | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ X_101 (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 big-endian integer | +-----------------------+----------+------------------------------------+ | updates | Variable | sequence of $X_90 | +-----------------------+----------+------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_90 | +-----------------------+----------------------+------------------------------------+ alloc (tag 3) ============= +-----------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=======================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------+ | updates | Variable | sequence of $X_90 | +-----------------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ | value_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ X_102 (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_101 | +------+----------------------+------------------------+ 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_89 | +------+----------------------+------------------------+ alpha.lazy_storage_diff *********************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_102 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.internal_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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ X_129 ***** +--------------+----------------------+------------------------------------------+ | Name | Size | Contents | +==============+======================+==========================================+ | ticketer | 22 bytes | $alpha.contract_id | +--------------+----------------------+------------------------------------------+ | content_type | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | content | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ X_132 ***** +---------+----------------------+--------------------------------+ | Name | Size | Contents | +=========+======================+================================+ | account | 22 bytes | $alpha.transaction_destination | +---------+----------------------+--------------------------------+ | amount | Determined from data | $Z.t | +---------+----------------------+--------------------------------+ X_128 ***** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | ticket_token | Determined from data | $X_129 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_132 | +-----------------------+----------------------+------------------------------------+ X_162 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_receipt | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_receipt | Variable | sequence of $X_128 | +-----------------------+----------------------+------------------------------------+ alpha.operation.alpha.internal_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_162 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_162 | +------------------------------+----------------------+-------------------------------------+ alpha.apply_internal_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 | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +----------------------------------+----------------------+--------------------------------------------------------------+ | amount | Determined from data | $N.t | +----------------------------------+----------------------+--------------------------------------------------------------+ | destination | 22 bytes | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+--------------------------------------------------------------+ | parameters | Determined from data | $X_32 | +----------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.transaction | +----------------------------------+----------------------+--------------------------------------------------------------+ origination (tag 2) =================== +--------------------------------+----------------------+--------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+==============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+--------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +--------------------------------+----------------------+--------------------------------------------------------------+ delegation (tag 3) ================== +--------------------------------+----------------------+-------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+=============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+-------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | ? presence of field "delegate" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------------------+-------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +--------------------------------+----------------------+-------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +--------------------------------+----------------------+-------------------------------------------------------------+ event (tag 4) ============= +-------------------------------+----------------------+--------------------------------------------------------+ | Name | Size | Contents | +===============================+======================+========================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------------------+--------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +-------------------------------+----------------------+--------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +-------------------------------+----------------------+--------------------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "tag" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | tag | Determined from data | $alpha.entrypoint | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "payload" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | payload | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------+----------------------+--------------------------------------------------------+ X_58 **** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_update | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag) ****************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_204 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag) ********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_347 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_493 (54 bytes, 8-bit tag) *************************** v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+ alpha.operation.alpha.operation_result.dal_publish_commitment (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | slot_header | 54 bytes | $X_493 | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | slot_header | 54 bytes | $X_493 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_488 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.dal_publish_commitment | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag) ************************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_624 ***** +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+===================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_recover_bond | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ X_778 (Determined from data, 8-bit tag) *************************************** Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +-----------+----------------------+------------------------+ | Name | Size | Contents | +===========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------+ | whitelist | Determined from data | $X_29 | +-----------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag) ************************************************************************************************************ Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_778 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_778 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_764 ***** +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=============================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ X_924 (1 byte, 8-bit tag) ************************* Conflict_resolved (tag 0) ========================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Timeout (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_925 (Determined from data, 8-bit tag) *************************************** Loser (tag 0) ============= +--------+----------+------------------------+ | Name | Size | Contents | +========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------+------------------------+ | reason | 1 byte | $X_924 | +--------+----------+------------------------+ | player | 21 bytes | $public_key_hash | +--------+----------+------------------------+ Draw (tag 1) ============ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_926 (Determined from data, 8-bit tag) *************************************** Ongoing (tag 0) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Ended (tag 1) ============= +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | result | Determined from data | $X_925 | +--------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | game_status | Determined from data | $X_926 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | game_status | Determined from data | $X_926 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_919 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_timeout | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1218 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+----------------------------------+ | Name | Size | Contents | +===================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+----------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------+----------------------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +-------------------+----------------------+----------------------------------+ | commitment_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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------------------+----------------------+-------------------------------------+ | commitment_hash | 32 bytes | bytes | +------------------------------+----------------------+-------------------------------------+ X_1358 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_cement | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_1493 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1629 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_originate | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.transfer_ticket (Determined from data, 8-bit tag) **************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1769 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transfer_ticket | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.update_consensus_key (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_1920 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.update_consensus_key | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | storage_size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | global_address | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_2463 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.register_global_constant | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2603 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2743 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2963 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-----------------------+----------------------+------------------------------------+ alpha.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_2963 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_2963 | +------------------------------+----------------------+-------------------------------------+ X_2924 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transaction | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_3269 ****** +-----------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+==========+=========================================================================+ | delegate | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_pkh | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------+-------------------------------------------------------------------------+ X_3265 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | committee | Variable | sequence of $X_3269 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | total_consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ alpha.operation_metadata.alpha.balance_updates ********************************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_59 | +-----------------------+----------+------------------------------------+ X_3285 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_key | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ X_3297 ****** +-------------------------------------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=====================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------+-------------------------------------+ | allocated_destination_contract | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------+-------------------------------------+ X_3310 (Enumeration: unsigned 8-bit integer): ********************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | preattestation | +-------------+----------------+ | 1 | attestation | +-------------+----------------+ | 2 | block | +-------------+----------------+ X_3309 ****** +-------+---------+-------------------------------------------------------------+ | Name | Size | Contents | +=======+=========+=============================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_3310) | +-------+---------+-------------------------------------------------------------+ X_3308 ****** +-------------------+----------+------------------+ | Name | Size | Contents | +===================+==========+==================+ | punished_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | rewarded_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | misbehaviour | 9 bytes | $X_3309 | +-------------------+----------+------------------+ alpha.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 big-endian integer | +----------+----------------------+-------------------------------------------------+ | nonce | 32 bytes | bytes | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | metadata | 51 bytes | $X_3308 | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | metadata | 51 bytes | $X_3308 | +-----------------------+----------+---------------------------------------+ 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +==========+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------------------+-------------------------------------------------+ | solution | 200 bytes | $X_43 | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------------------+------------------------+ | Name | Size | Contents | +===============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------------------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_3297 | +---------------+----------------------+------------------------+ Preattestation (tag 20) ======================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3285 | +--------------------+----------------------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3285 | +--------------------+----------------------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3285 | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+-------------------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | shard_with_proof | Determined from data | $X_40 | +-----------------------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +-----------------------+----------------------+-------------------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------------------+------------------------------------------------+ | Name | Size | Contents | +=======================+======================+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------------------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | metadata | Determined from data | $X_3265 | +-----------------------+----------------------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3265 | +-----------------------+----------------------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1493 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_32 | +----------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2924 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2743 | +--------------------------------+----------------------+-------------------------------------+ 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_2603 | +--------------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_2463 | +-----------------------+----------------------+------------------------------------+ 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_1493 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ | metadata | Determined from data | $X_624 | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1920 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1920 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1769 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_28) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_29 | +---------------------------------+----------------------+-----------------------------------------------------------+ | metadata | Determined from data | $X_1629 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_3 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1493 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1358 | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_26 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1218 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_25 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_919 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_19 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_919 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_764 | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_624 | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_18 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_488 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_15 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | metadata | Determined from data | $X_347 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_9 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_204 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_1 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_58 | +---------------+----------------------+------------------------+ X_3323 (Variable, 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 big-endian integer | +-----------------------+----------+------------------------------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.operation_contents_and_result | +-----------------------+----------+------------------------------------------------------------------+ | signature | Variable | 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 big-endian integer | +-----------------------+----------+---------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.contents | +-----------------------+----------+---------------------------------------------+ | signature | Variable | bytes | +-----------------------+----------+---------------------------------------------+ X_0 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | $X_3323 | +-----------------------+----------+------------------------------------+
GET ../<block_id>/helpers/round
Returns the round of the interrogated block, or the one of a block located `offset` blocks after in the chain (or before when negative). For instance, the next block if `offset` is 1.
integer ∈ [-2^31-1, 2^31]
+-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+
POST ../<block_id>/helpers/scripts/entrypoint
Return the type of the given entrypoint
{ "script": $micheline.alpha.michelson_v1.expression, "entrypoint"?: $unistring } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +=======================+======================+==========================================+ | script | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
{ "entrypoint_type": $micheline.alpha.michelson_v1.expression } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +=================+======================+==========================================+ | entrypoint_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/scripts/entrypoints
Return the list of entrypoints of the given script
{ "script": $micheline.alpha.michelson_v1.expression } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +========+======================+==========================================+ | script | Determined from data | $micheline.alpha.michelson_v1.expression | +--------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
{ "unreachable"?: [ { "path": [ $alpha.michelson.v1.primitives ... ] } ... ], "entrypoints": { *: $micheline.alpha.michelson_v1.expression } } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 big-endian integer | +-----------------------+----------+------------------------------------+ | unreachable | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | entrypoints | Variable | sequence of $X_1 | +-----------------------+----------+------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ X_0 *** +-----------------------+----------+------------------------------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================================================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of unsigned 8-bit integer encoding an enumeration (see alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------------------+ X_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_1 *** +-----------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=================+======================+==========================================+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+------------------------------------------+ | Unnamed field 1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------+----------------------+------------------------------------------+
POST ../<block_id>/helpers/scripts/normalize_data
Normalizes some data expression using the requested unparsing mode
{ "data": $micheline.alpha.michelson_v1.expression, "type": $micheline.alpha.michelson_v1.expression, "unparsing_mode": "Readable" || "Optimized" || "Optimized_legacy", "legacy"?: boolean, "other_contracts"?: [ { "address": $Contract_hash, "type": $micheline.alpha.michelson_v1.expression } ... ], "extra_big_maps"?: [ { "id": $alpha.big_map_id, "key_type": $micheline.alpha.michelson_v1.expression, "val_type": $micheline.alpha.michelson_v1.expression, "map_literal": $micheline.alpha.michelson_v1.expression } ... ] } $Contract_hash: /* A contract ID (Base58Check-encoded) */ $unistring $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +=======================================+======================+==========================================+ | data | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | unparsing_mode | 1 byte | $X_2 | +---------------------------------------+----------------------+------------------------------------------+ | legacy | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "other_contracts" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | other_contracts | Determined from data | $X_3 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "extra_big_maps" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | extra_big_maps | Determined from data | $X_6 | +---------------------------------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_2 (1 byte, 8-bit tag) *********************** Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_4 *** +---------+----------------------+------------------------------------------+ | Name | Size | Contents | +=========+======================+==========================================+ | address | 20 bytes | bytes | +---------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +---------+----------------------+------------------------------------------+ X_3 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_4 | +-----------------------+----------+------------------------------------+ X_7 *** +-------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============+======================+==========================================+ | id | Determined from data | $Z.t | +-------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | val_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | map_literal | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ X_6 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_7 | +-----------------------+----------+------------------------------------+
{ "normalized": $micheline.alpha.michelson_v1.expression } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +============+======================+==========================================+ | normalized | Determined from data | $micheline.alpha.michelson_v1.expression | +------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/scripts/normalize_script
Normalizes a Michelson script using the requested unparsing mode
{ "script": $micheline.alpha.michelson_v1.expression, "unparsing_mode": "Readable" || "Optimized" || "Optimized_legacy" } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +================+======================+==========================================+ | script | Determined from data | $micheline.alpha.michelson_v1.expression | +----------------+----------------------+------------------------------------------+ | unparsing_mode | 1 byte | $X_1 | +----------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_1 (1 byte, 8-bit tag) *********************** Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
{ "normalized": $micheline.alpha.michelson_v1.expression } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +============+======================+==========================================+ | normalized | Determined from data | $micheline.alpha.michelson_v1.expression | +------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/scripts/normalize_stack
Normalize a Michelson stack using the requested unparsing mode
{ "input": [ { "type": $micheline.alpha.michelson_v1.expression, "val": $micheline.alpha.michelson_v1.expression } ... ], "unparsing_mode": "Readable" || "Optimized" || "Optimized_legacy", "legacy"?: boolean, "other_contracts"?: [ { "address": $Contract_hash, "type": $micheline.alpha.michelson_v1.expression } ... ], "extra_big_maps"?: [ { "id": $alpha.big_map_id, "key_type": $micheline.alpha.michelson_v1.expression, "val_type": $micheline.alpha.michelson_v1.expression, "map_literal": $micheline.alpha.michelson_v1.expression } ... ] } $Contract_hash: /* A contract ID (Base58Check-encoded) */ $unistring $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | input | Variable | sequence of $X_0 | +---------------------------------------+----------------------+-------------------------------------+ | unparsing_mode | 1 byte | $X_3 | +---------------------------------------+----------------------+-------------------------------------+ | legacy | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "other_contracts" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | other_contracts | Determined from data | $X_4 | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "extra_big_maps" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | extra_big_maps | Determined from data | $X_7 | +---------------------------------------+----------------------+-------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_0 *** +------+----------------------+------------------------------------------+ | Name | Size | Contents | +======+======================+==========================================+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ | val | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ X_3 (1 byte, 8-bit tag) *********************** Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_5 *** +---------+----------------------+------------------------------------------+ | Name | Size | Contents | +=========+======================+==========================================+ | address | 20 bytes | bytes | +---------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +---------+----------------------+------------------------------------------+ X_4 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_5 | +-----------------------+----------+------------------------------------+ X_8 *** +-------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============+======================+==========================================+ | id | Determined from data | $Z.t | +-------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | val_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | map_literal | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_8 | +-----------------------+----------+------------------------------------+
{ "output": [ { "type": $micheline.alpha.michelson_v1.expression, "val": $micheline.alpha.michelson_v1.expression } ... ] } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 big-endian integer | +-----------------------+----------+------------------------------------+ | output | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_0 *** +------+----------------------+------------------------------------------+ | Name | Size | Contents | +======+======================+==========================================+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ | val | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+
POST ../<block_id>/helpers/scripts/normalize_type
Normalizes some Michelson type by expanding `pair a b c` as `pair a (pair b c)
{ "type": $micheline.alpha.michelson_v1.expression } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +======+======================+==========================================+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
{ "normalized": $micheline.alpha.michelson_v1.expression } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +============+======================+==========================================+ | normalized | Determined from data | $micheline.alpha.michelson_v1.expression | +------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/scripts/pack_data
Computes the serialized version of some data expression using the same algorithm as script instruction PACK
{ "data": $micheline.alpha.michelson_v1.expression, "type": $micheline.alpha.michelson_v1.expression, "gas"?: $bignum } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +===========================+======================+==========================================+ | data | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------+----------------------+------------------------------------------+ | ? presence of field "gas" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------+----------------------+------------------------------------------+ | gas | Determined from data | $Z.t | +---------------------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
{ "packed": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "gas": $bignum /* Limited */ || "unaccounted" } $bignum: /* Big number Decimal representation of a big number */ string
+-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | packed | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | gas | Determined from data | $X_0 | +-----------------------+----------------------+------------------------------------+ 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_0 (Determined from data, 8-bit tag) ************************************* Limited (tag 0) =============== +-----------------+----------------------+------------------------+ | Name | Size | Contents | +=================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------+ | Unnamed field 0 | Determined from data | $Z.t | +-----------------+----------------------+------------------------+ Unaccounted (tag 1) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
POST ../<block_id>/helpers/scripts/run_code
Run a Michelson script in the current context
{ "script": $micheline.alpha.michelson_v1.expression, "storage": $micheline.alpha.michelson_v1.expression, "input": $micheline.alpha.michelson_v1.expression, "amount": $alpha.mutez, "balance"?: $alpha.mutez, "chain_id": $Chain_id, "source"?: $alpha.contract_id, "payer"?: $alpha.contract_id.implicit, "self"?: $alpha.contract_id.originated, "entrypoint"?: $unistring, "unparsing_mode"?: "Readable" || "Optimized" || "Optimized_legacy", "gas"?: $bignum, "now"?: $bignum, "level"?: $positive_bignum, "other_contracts"?: [ { "address": $Contract_hash, "type": $micheline.alpha.michelson_v1.expression } ... ], "extra_big_maps"?: [ { "id": $alpha.big_map_id, "key_type": $micheline.alpha.michelson_v1.expression, "val_type": $micheline.alpha.michelson_v1.expression, "map_literal": $micheline.alpha.michelson_v1.expression } ... ] } $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Contract_hash: /* A contract ID (Base58Check-encoded) */ $unistring $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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 $alpha.contract_id.implicit: /* A contract handle -- implicit account A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. */ $unistring $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +=======================================+======================+==========================================+ | script | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | storage | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | input | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | amount | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "balance" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | balance | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | chain_id | 4 bytes | bytes | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "source" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | source | 22 bytes | $alpha.contract_id | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "payer" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | payer | 22 bytes | $alpha.contract_id.implicit | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "self" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | self | 22 bytes | $alpha.contract_id.originated | +---------------------------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------------------+------------------------------------------+ | entrypoint | Variable | bytes | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "unparsing_mode" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | unparsing_mode | 1 byte | $X_3 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "gas" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | gas | Determined from data | $Z.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "now" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | now | Determined from data | $Z.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "level" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | level | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "other_contracts" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | other_contracts | Determined from data | $X_4 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "extra_big_maps" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | extra_big_maps | Determined from data | $X_7 | +---------------------------------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | 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 | +------+----------------------+----------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ alpha.contract_id.implicit (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 | +---------------------------+----------+------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ X_3 (1 byte, 8-bit tag) *********************** Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_5 *** +---------+----------------------+------------------------------------------+ | Name | Size | Contents | +=========+======================+==========================================+ | address | 20 bytes | bytes | +---------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +---------+----------------------+------------------------------------------+ X_4 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_5 | +-----------------------+----------+------------------------------------+ X_8 *** +-------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============+======================+==========================================+ | id | Determined from data | $Z.t | +-------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | val_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | map_literal | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_8 | +-----------------------+----------+------------------------------------+
{ "storage": $micheline.alpha.michelson_v1.expression, "operations": [ $alpha.apply_internal_results.alpha.operation_result ... ], "lazy_storage_diff"?: $alpha.lazy_storage_diff } $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $alpha.apply_internal_results.alpha.operation_result: { /* Transaction */ "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "kind": "transaction", "amount": $alpha.mutez, "destination": $alpha.transaction_destination, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "kind": "origination", "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "kind": "delegation", "delegate"?: $Signature.Public_key_hash } || { /* Event */ "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "kind": "event", "type": $micheline.alpha.michelson_v1.expression, "tag"?: $alpha.entrypoint, "payload"?: $micheline.alpha.michelson_v1.expression } $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.lazy_storage_diff: [ { /* big_map */ "kind": "big_map", "id": $alpha.big_map_id, "diff": { /* update */ "action": "update", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* remove */ "action": "remove" } || { /* copy */ "action": "copy", "source": $alpha.big_map_id, "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* alloc */ "action": "alloc", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ], "key_type": $micheline.alpha.michelson_v1.expression, "value_type": $micheline.alpha.michelson_v1.expression } } || { /* sapling_state */ "kind": "sapling_state", "id": $alpha.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": $alpha.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] } } ... ] $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.sapling_state_id: /* Sapling state identifier A sapling state identifier */ $bignum $alpha.scripted.contracts: { "code": any, "storage": any } $alpha.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, a base58 originated transaction rollup, or a base58 originated smart rollup. */ $unistring $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $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 $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 | +=========================================+======================+==================================================================+ | storage | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------------+----------------------+------------------------------------------------------------------+ | operations | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-----------------------------------------+----------------------+------------------------------------------------------------------+ | ? presence of field "lazy_storage_diff" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------------+----------------------+------------------------------------------------------------------+ | lazy_storage_diff | Determined from data | $alpha.lazy_storage_diff | +-----------------------------------------+----------------------+------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ Smart_rollup (tag 3) ==================== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | smart_rollup_address | 20 bytes | bytes | +----------------------+----------+------------------------+ | padding | 1 byte | padding | +----------------------+----------+------------------------+ Zk_rollup (tag 4) ================= +----------------+----------+------------------------+ | Name | Size | Contents | +================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------+----------+------------------------+ | Zk_rollup_hash | 20 bytes | bytes | +----------------+----------+------------------------+ | padding | 1 byte | padding | +----------------+----------+------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ 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 | +------+----------------------+----------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_4 (Determined from data, 8-bit tag) ************************************* Transaction (tag 1) =================== +----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +==================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------------------+----------------------+-------------------------------------+ | amount | Determined from data | $N.t | +----------------------------------+----------------------+-------------------------------------+ | destination | 22 bytes | $alpha.transaction_destination | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_3 | +----------------------------------+----------------------+-------------------------------------+ Origination (tag 2) =================== +--------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-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 | $alpha.scripted.contracts | +--------------------------------+----------------------+-------------------------------------+ Delegation (tag 3) ================== +--------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +================================+==========+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------+-------------------------------------+ | ? presence of field "delegate" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------+-------------------------------------+ | delegate | 21 bytes | $public_key_hash | +--------------------------------+----------+-------------------------------------+ Event (tag 4) ============= +-------------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +===============================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+------------------------------------------+ | ? presence of field "tag" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+------------------------------------------+ | tag | Determined from data | $alpha.entrypoint | +-------------------------------+----------------------+------------------------------------------+ | ? presence of field "payload" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+------------------------------------------+ | payload | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+------------------------------------------+ alpha.apply_internal_results.alpha.operation_result *************************************************** +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | source | 22 bytes | $alpha.transaction_destination | +-----------------+----------------------+------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | Determined from data | $X_4 | +-----------------+----------------------+------------------------------------+ sapling.transaction.ciphertext ****************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | cv | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | epk | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | payload_enc | Variable | bytes | +-----------------------+----------+------------------------------------+ | nonce_enc | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ | payload_out | 80 bytes | bytes | +-----------------------+----------+------------------------------------+ | nonce_out | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ X_6 *** +-----------------+----------------------+---------------------------------+ | Name | Size | Contents | +=================+======================+=================================+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------------------+---------------------------------+ | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext | +-----------------+----------------------+---------------------------------+ X_5 *** +-----------------------------+----------+------------------------------------+ | Name | Size | Contents | +=============================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_6 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | nullifiers | Variable | sequence of bytes | +-----------------------------+----------+------------------------------------+ X_11 (Determined from data, 8-bit tag) ************************************** update (tag 0) ============== +---------+----------------------+------------------------+ | Name | Size | Contents | +=========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------+----------------------+------------------------+ | updates | Determined from data | $X_5 | +---------+----------------------+------------------------+ 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_5 | +---------+----------------------+------------------------+ alloc (tag 3) ============= +-----------+----------------------+------------------------------------+ | Name | Size | Contents | +===========+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------------------+ | updates | Determined from data | $X_5 | +-----------+----------------------+------------------------------------+ | memo_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------+----------------------+------------------------------------+ X_12 **** +-----------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============================+======================+==========================================+ | key_hash | 32 bytes | bytes | +-----------------------------+----------------------+------------------------------------------+ | key | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ | ? presence of field "value" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+------------------------------------------+ | value | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ X_23 (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 big-endian integer | +-----------------------+----------+------------------------------------+ | updates | Variable | sequence of $X_12 | +-----------------------+----------+------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_12 | +-----------------------+----------------------+------------------------------------+ alloc (tag 3) ============= +-----------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=======================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------+ | updates | Variable | sequence of $X_12 | +-----------------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ | value_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ X_24 (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_23 | +------+----------------------+------------------------+ 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_11 | +------+----------------------+------------------------+ alpha.lazy_storage_diff *********************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_24 | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/scripts/run_instruction
Run a single Michelson instruction
{ "input": [ { "type": $micheline.alpha.michelson_v1.expression, "val": $micheline.alpha.michelson_v1.expression } ... ], "code": $micheline.alpha.michelson_v1.expression, "chain_id": $Chain_id, "gas"?: $bignum, "now"?: $bignum, "level"?: $positive_bignum, "sender"?: $alpha.contract_id, "source"?: $alpha.contract_id.implicit, "self"?: $alpha.contract_id.originated, "parameter"?: $micheline.alpha.michelson_v1.expression, "amount": $alpha.mutez, "balance"?: $alpha.mutez, "other_contracts"?: [ { "address": $Contract_hash, "type": $micheline.alpha.michelson_v1.expression } ... ], "big_maps"?: [ { "id": $alpha.big_map_id, "key_type": $micheline.alpha.michelson_v1.expression, "val_type": $micheline.alpha.michelson_v1.expression, "map_literal": $micheline.alpha.michelson_v1.expression } ... ], "unparsing_mode"?: "Readable" || "Optimized" || "Optimized_legacy", "legacy"?: boolean } $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Contract_hash: /* A contract ID (Base58Check-encoded) */ $unistring $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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 $alpha.contract_id.implicit: /* A contract handle -- implicit account A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. */ $unistring $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +=======================================+======================+==========================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------------------+------------------------------------------+ | input | Variable | sequence of $X_0 | +---------------------------------------+----------------------+------------------------------------------+ | code | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | chain_id | 4 bytes | bytes | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "gas" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | gas | Determined from data | $Z.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "now" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | now | Determined from data | $Z.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "level" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | level | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "sender" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | sender | 22 bytes | $alpha.contract_id | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "source" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | source | 22 bytes | $alpha.contract_id.implicit | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "self" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | self | 22 bytes | $alpha.contract_id.originated | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "parameter" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | parameter | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | amount | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "balance" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | balance | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "other_contracts" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | other_contracts | Determined from data | $X_5 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "big_maps" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | big_maps | Determined from data | $X_8 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "unparsing_mode" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | unparsing_mode | 1 byte | $X_13 | +---------------------------------------+----------------------+------------------------------------------+ | legacy | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_0 *** +------+----------------------+------------------------------------------+ | Name | Size | Contents | +======+======================+==========================================+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ | val | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ 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 | +------+----------------------+----------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ alpha.contract_id.implicit (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 | +---------------------------+----------+------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ X_6 *** +---------+----------------------+------------------------------------------+ | Name | Size | Contents | +=========+======================+==========================================+ | address | 20 bytes | bytes | +---------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +---------+----------------------+------------------------------------------+ X_5 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_6 | +-----------------------+----------+------------------------------------+ X_9 *** +-------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============+======================+==========================================+ | id | Determined from data | $Z.t | +-------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | val_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | map_literal | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ X_8 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_9 | +-----------------------+----------+------------------------------------+ X_13 (1 byte, 8-bit tag) ************************ Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
{ "output": [ { "type": $micheline.alpha.michelson_v1.expression, "val": $micheline.alpha.michelson_v1.expression } ... ], "gas": $bignum /* Limited */ || "unaccounted" } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | output | Variable | sequence of $X_0 | +-----------------------+----------------------+------------------------------------+ | gas | Determined from data | $X_3 | +-----------------------+----------------------+------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_0 *** +------+----------------------+------------------------------------------+ | Name | Size | Contents | +======+======================+==========================================+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ | val | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ X_3 (Determined from data, 8-bit tag) ************************************* Limited (tag 0) =============== +-----------------+----------------------+------------------------+ | Name | Size | Contents | +=================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------+ | Unnamed field 0 | Determined from data | $Z.t | +-----------------+----------------------+------------------------+ Unaccounted (tag 1) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
POST ../<block_id>/helpers/scripts/run_operation?[version=<version>]
Run an operation with the context of the given block and without signature checks. Return the operation application result, including the consumed gas. This RPC does not support consensus operations.
Optional query arguments :
- version = <version>
{ "operation": { /* An operation's shell header. */ "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 }, "chain_id": $Chain_id } $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.scripted.contracts: { "code": any, "storage": any } $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $script_expr: /* A script expression ID (Base58Check-encoded) */ $unistring $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +===========+==========+==========+ | operation | Variable | $X_0 | +-----------+----------+----------+ | chain_id | 4 bytes | bytes | +-----------+----------+----------+ bls_signature_prefix (33 bytes, 8-bit tag) ****************************************** Bls_prefix (tag 3) ================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_3 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_2 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_4 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_5 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+----------+ X_8 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_1 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_5 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_8 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_11 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_10 **** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_11 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_14 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_9 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_10 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_14 | +-----------------+----------------------+----------+ X_17 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_15 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_17 | +-----------------+----------------------+----------+ X_18 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_19 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_20 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_20 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_21 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_23 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_23 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_22 | +-----------------------------------+----------------------+-------------------------------------+ X_25 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_24 | +--------+----------------------+------------------------+ X_26 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_28 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_30 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_32 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_34 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_35 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_41 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_8 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_40 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_41 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_43 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.operation.alpha.contents_or_signature_prefix (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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_43 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_40 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_32 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_28) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_29 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_3 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_26 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_19 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_18 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_15 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_9 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_1 | +---------------+----------------------+------------------------+ Signature_prefix (tag 255) ========================== +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | signature_prefix | 33 bytes | $bls_signature_prefix | +------------------+----------+------------------------+ X_0 *** +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | branch | 32 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+
{ /* Operation_with_metadata */ "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* Operation_without_metadata */ "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $Blinded public key hash: /* A blinded public key hash (Base58Check-encoded) */ $unistring $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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 $Signature.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.apply_internal_results.alpha.operation_result: { /* transaction */ "kind": "transaction", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "amount": $alpha.mutez, "destination": $alpha.transaction_destination, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "result": $alpha.operation.alpha.internal_operation_result.transaction } || { /* origination */ "kind": "origination", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "result": $alpha.operation.alpha.internal_operation_result.origination } || { /* delegation */ "kind": "delegation", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "delegate"?: $Signature.Public_key_hash, "result": $alpha.operation.alpha.internal_operation_result.delegation } || { /* event */ "kind": "event", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "type": $micheline.alpha.michelson_v1.expression, "tag"?: $alpha.entrypoint, "payload"?: $micheline.alpha.michelson_v1.expression, "result": $alpha.operation.alpha.internal_operation_result.event } $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.bond_id: { /* Smart_rollup_bond_id */ "smart_rollup": $smart_rollup_address } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.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 $alpha.frozen_staker: /* frozen_staker Abstract notion of staker used in operation receipts for frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } || { /* Baker */ "baker_own_stake": $Signature.Public_key_hash } || { /* Baker_edge */ "baker_edge": $Signature.Public_key_hash } $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.lazy_storage_diff: [ { /* big_map */ "kind": "big_map", "id": $alpha.big_map_id, "diff": { /* update */ "action": "update", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* remove */ "action": "remove" } || { /* copy */ "action": "copy", "source": $alpha.big_map_id, "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* alloc */ "action": "alloc", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ], "key_type": $micheline.alpha.michelson_v1.expression, "value_type": $micheline.alpha.michelson_v1.expression } } || { /* sapling_state */ "kind": "sapling_state", "id": $alpha.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": $alpha.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] } } ... ] $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.operation.alpha.internal_operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.internal_operation_result.event: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.internal_operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.internal_operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_contents_and_result: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Activate_account */ "kind": "activate_account", "pkh": $Ed25519.Public_key_hash, "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.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": { } } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "allocated_destination_contract"?: boolean } } || { /* Reveal */ "kind": "reveal", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.reveal, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transaction, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "delegate"?: $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.delegation, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.register_global_constant, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Set_deposits_limit */ "kind": "set_deposits_limit", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.set_deposits_limit, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.increase_paid_storage, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transfer_ticket, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.dal_publish_commitment, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_originate, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_add_messages, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_cement, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_refute, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_timeout, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_recover_bond, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_update, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } $alpha.operation.alpha.operation_result.dal_publish_commitment: { /* Applied */ "status": "applied", "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.increase_paid_storage: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.operation_result.register_global_constant: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } $alpha.operation.alpha.operation_result.reveal: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.set_deposits_limit: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_add_messages: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_cement: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.smart_rollup_originate: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.smart_rollup_publish: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_recover_bond: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_refute: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_timeout: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_result.transfer_ticket: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.update_consensus_key: { /* Applied */ "status": "applied", "kind": boolean, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "kind": boolean, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.zk_rollup_origination: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_publish: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_update: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation_metadata.alpha.balance_updates: [ { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "block" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "migration" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "subsidy" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "simulation" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "block" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "migration" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "subsidy" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "simulation" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "block" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "migration" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "subsidy" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "simulation" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "block" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "migration" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "subsidy" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "simulation" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "block" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "migration" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "subsidy" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "simulation" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "block" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "migration" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "subsidy" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "simulation" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "block" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "migration" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "subsidy" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "simulation" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "block" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "migration" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "subsidy" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "simulation" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "block" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "migration" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "subsidy" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "simulation" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "block" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "migration" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "subsidy" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "simulation" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "block" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "migration" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "subsidy" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "simulation" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "block" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "migration" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "subsidy" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "simulation" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "block" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "migration" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "subsidy" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "simulation" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "block" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "migration" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "subsidy" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "simulation" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "block" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "migration" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "subsidy" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "simulation" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "block" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "migration" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "subsidy" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "simulation" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "block" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "migration" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "subsidy" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "simulation" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "block" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "migration" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "subsidy" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "simulation" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "block" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "migration" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "subsidy" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "simulation" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } ... ] $alpha.sapling_state_id: /* Sapling state identifier A sapling state identifier */ $bignum $alpha.scripted.contracts: { "code": any, "storage": any } $alpha.staker: /* unstaked_frozen_staker Abstract notion of staker used in operation receipts for unstaked frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } $alpha.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, a base58 originated transaction rollup, or a base58 originated smart rollup. */ $unistring $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $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 $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +=================+==========+==========+ | Unnamed field 0 | Variable | $X_3322 | +-----------------+----------+----------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_1 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_3 | +-----------------+----------------------+----------+ X_6 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_6 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_4 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_7 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_10 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_9 *** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_10 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_13 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_8 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_9 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_13 | +-----------------+----------------------+----------+ X_16 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_14 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_16 | +-----------------+----------------------+----------+ X_17 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_18 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_19 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_20 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_19 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_20 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_23 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_22 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_21 | +-----------------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_23 | +--------+----------------------+------------------------+ X_25 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_27 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_28 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_31 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_33 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_34 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_40 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_39 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_40 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_42 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_42 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ alpha.staker (Determined from data, 8-bit tag) ********************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ alpha.bond_id (21 bytes, 8-bit tag) *********************************** Smart_rollup_bond_id (tag 1) ============================ +--------------+----------+------------------------+ | Name | Size | Contents | +==============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------+------------------------+ | smart_rollup | 20 bytes | bytes | +--------------+----------+------------------------+ alpha.frozen_staker (Determined from data, 8-bit tag) ***************************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Baker (tag 2) ============= +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | baker_own_stake | 21 bytes | $public_key_hash | +-----------------+----------+------------------------+ Baker_edge (tag 3) ================== +------------+----------+------------------------+ | Name | Size | Contents | +============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+------------------------+ | baker_edge | 21 bytes | $public_key_hash | +------------+----------+------------------------+ X_59 (Determined from data, 8-bit tag) ************************************** Contract (tag 0) ================ +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Block_fees (tag 2) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Deposits (tag 4) ================ +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.frozen_staker | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Nonce_revelation_rewards (tag 5) ================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Attesting_rewards (tag 7) ========================= +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_rewards (tag 8) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_bonuses (tag 9) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Storage_fees (tag 11) ===================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Double_signing_punishments (tag 12) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_attesting_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) | +---------------+----------+-------------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +---------------+----------+-------------------------------------+ Liquidity_baking_subsidies (tag 14) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Burned (tag 15) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Commitments (tag 16) ==================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | committer | 20 bytes | bytes | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Bootstrap (tag 17) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Invoice (tag 18) ================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Initial_commitments (tag 19) ============================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Minted (tag 20) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Frozen_bonds (tag 21) ===================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | bond_id | 21 bytes | $alpha.bond_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Smart_rollup_refutation_punishments (tag 24) ============================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Smart_rollup_refutation_rewards (tag 25) ======================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Unstaked_deposits (tag 26) ========================== +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.staker | +--------+----------------------+----------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Staking_delegator_numerator (tag 27) ==================================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | delegator | 22 bytes | $alpha.contract_id | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Staking_delegate_denominator (tag 28) ===================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ DAL_attesting_rewards (tag 29) ============================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_DAL_attesting_rewards (tag 30) =================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ X_60 (Determined from data, 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 | +------+--------+------------------------+ Delayed_operation (tag 4) ========================= +------------------------+----------+------------------------+ | Name | Size | Contents | +========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------------+----------+------------------------+ | delayed_operation_hash | 32 bytes | bytes | +------------------------+----------+------------------------+ X_58 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_59 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_60 | +-----------------+----------------------+----------+ X_61 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag) ***************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ alpha.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 | +---------------+----------+------------------------+ Smart_rollup (tag 3) ==================== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | smart_rollup_address | 20 bytes | bytes | +----------------------+----------+------------------------+ | padding | 1 byte | padding | +----------------------+----------+------------------------+ Zk_rollup (tag 4) ================= +----------------+----------+------------------------+ | Name | Size | Contents | +================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------+----------+------------------------+ | Zk_rollup_hash | 20 bytes | bytes | +----------------+----------+------------------------+ | padding | 1 byte | padding | +----------------+----------+------------------------+ alpha.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag) *************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ alpha.operation.alpha.internal_operation_result.delegation (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ sapling.transaction.ciphertext ****************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | cv | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | epk | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | payload_enc | Variable | bytes | +-----------------------+----------+------------------------------------+ | nonce_enc | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ | payload_out | 80 bytes | bytes | +-----------------------+----------+------------------------------------+ | nonce_out | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ X_83 **** +-----------------+----------------------+---------------------------------+ | Name | Size | Contents | +=================+======================+=================================+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------------------+---------------------------------+ | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext | +-----------------+----------------------+---------------------------------+ X_82 **** +-----------------------------+----------+------------------------------------+ | Name | Size | Contents | +=============================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_83 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | nullifiers | Variable | sequence of bytes | +-----------------------------+----------+------------------------------------+ X_88 (Determined from data, 8-bit tag) ************************************** update (tag 0) ============== +---------+----------------------+------------------------+ | Name | Size | Contents | +=========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------+----------------------+------------------------+ | updates | Determined from data | $X_82 | +---------+----------------------+------------------------+ 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_82 | +---------+----------------------+------------------------+ alloc (tag 3) ============= +-----------+----------------------+------------------------------------+ | Name | Size | Contents | +===========+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------------------+ | updates | Determined from data | $X_82 | +-----------+----------------------+------------------------------------+ | memo_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------+----------------------+------------------------------------+ X_89 **** +-----------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============================+======================+==========================================+ | key_hash | 32 bytes | bytes | +-----------------------------+----------------------+------------------------------------------+ | key | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ | ? presence of field "value" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+------------------------------------------+ | value | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ X_100 (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 big-endian integer | +-----------------------+----------+------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------+------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------------------+------------------------------------+ alloc (tag 3) ============= +-----------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=======================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ | value_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ X_101 (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_100 | +------+----------------------+------------------------+ 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_88 | +------+----------------------+------------------------+ alpha.lazy_storage_diff *********************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_101 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.internal_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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ X_128 ***** +--------------+----------------------+------------------------------------------+ | Name | Size | Contents | +==============+======================+==========================================+ | ticketer | 22 bytes | $alpha.contract_id | +--------------+----------------------+------------------------------------------+ | content_type | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | content | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ X_131 ***** +---------+----------------------+--------------------------------+ | Name | Size | Contents | +=========+======================+================================+ | account | 22 bytes | $alpha.transaction_destination | +---------+----------------------+--------------------------------+ | amount | Determined from data | $Z.t | +---------+----------------------+--------------------------------+ X_127 ***** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | ticket_token | Determined from data | $X_128 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_131 | +-----------------------+----------------------+------------------------------------+ X_161 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_receipt | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_receipt | Variable | sequence of $X_127 | +-----------------------+----------------------+------------------------------------+ alpha.operation.alpha.internal_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_161 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_161 | +------------------------------+----------------------+-------------------------------------+ alpha.apply_internal_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 | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +----------------------------------+----------------------+--------------------------------------------------------------+ | amount | Determined from data | $N.t | +----------------------------------+----------------------+--------------------------------------------------------------+ | destination | 22 bytes | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+--------------------------------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.transaction | +----------------------------------+----------------------+--------------------------------------------------------------+ origination (tag 2) =================== +--------------------------------+----------------------+--------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+==============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+--------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +--------------------------------+----------------------+--------------------------------------------------------------+ delegation (tag 3) ================== +--------------------------------+----------------------+-------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+=============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+-------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | ? presence of field "delegate" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------------------+-------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +--------------------------------+----------------------+-------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +--------------------------------+----------------------+-------------------------------------------------------------+ event (tag 4) ============= +-------------------------------+----------------------+--------------------------------------------------------+ | Name | Size | Contents | +===============================+======================+========================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------------------+--------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +-------------------------------+----------------------+--------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +-------------------------------+----------------------+--------------------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "tag" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | tag | Determined from data | $alpha.entrypoint | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "payload" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | payload | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------+----------------------+--------------------------------------------------------+ X_57 **** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_update | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag) ****************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_203 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag) ********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_346 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_492 (54 bytes, 8-bit tag) *************************** v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+ alpha.operation.alpha.operation_result.dal_publish_commitment (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | slot_header | 54 bytes | $X_492 | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | slot_header | 54 bytes | $X_492 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_487 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.dal_publish_commitment | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag) ************************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_623 ***** +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+===================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_recover_bond | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ X_777 (Determined from data, 8-bit tag) *************************************** Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +-----------+----------------------+------------------------+ | Name | Size | Contents | +===========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------+ | whitelist | Determined from data | $X_28 | +-----------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag) ************************************************************************************************************ Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_777 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_777 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_763 ***** +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=============================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ X_923 (1 byte, 8-bit tag) ************************* Conflict_resolved (tag 0) ========================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Timeout (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_924 (Determined from data, 8-bit tag) *************************************** Loser (tag 0) ============= +--------+----------+------------------------+ | Name | Size | Contents | +========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------+------------------------+ | reason | 1 byte | $X_923 | +--------+----------+------------------------+ | player | 21 bytes | $public_key_hash | +--------+----------+------------------------+ Draw (tag 1) ============ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_925 (Determined from data, 8-bit tag) *************************************** Ongoing (tag 0) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Ended (tag 1) ============= +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | result | Determined from data | $X_924 | +--------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | game_status | Determined from data | $X_925 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | game_status | Determined from data | $X_925 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_918 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_timeout | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1217 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+----------------------------------+ | Name | Size | Contents | +===================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+----------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------+----------------------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +-------------------+----------------------+----------------------------------+ | commitment_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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------------------+----------------------+-------------------------------------+ | commitment_hash | 32 bytes | bytes | +------------------------------+----------------------+-------------------------------------+ X_1357 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_cement | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_1492 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1628 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_originate | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.transfer_ticket (Determined from data, 8-bit tag) **************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1768 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transfer_ticket | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.update_consensus_key (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_1919 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.update_consensus_key | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | storage_size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | global_address | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_2462 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.register_global_constant | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2602 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2742 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2962 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-----------------------+----------------------+------------------------------------+ alpha.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_2962 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_2962 | +------------------------------+----------------------+-------------------------------------+ X_2923 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transaction | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_3268 ****** +-----------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+==========+=========================================================================+ | delegate | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_pkh | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------+-------------------------------------------------------------------------+ X_3264 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | committee | Variable | sequence of $X_3268 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | total_consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ alpha.operation_metadata.alpha.balance_updates ********************************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_58 | +-----------------------+----------+------------------------------------+ X_3284 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_key | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ X_3296 ****** +-------------------------------------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=====================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------+ | allocated_destination_contract | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------+-------------------------------------+ X_3309 (Enumeration: unsigned 8-bit integer): ********************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | preattestation | +-------------+----------------+ | 1 | attestation | +-------------+----------------+ | 2 | block | +-------------+----------------+ X_3308 ****** +-------+---------+-------------------------------------------------------------+ | Name | Size | Contents | +=======+=========+=============================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_3309) | +-------+---------+-------------------------------------------------------------+ X_3307 ****** +-------------------+----------+------------------+ | Name | Size | Contents | +===================+==========+==================+ | punished_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | rewarded_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | misbehaviour | 9 bytes | $X_3308 | +-------------------+----------+------------------+ alpha.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 big-endian integer | +----------+----------------------+-------------------------------------------------+ | nonce | 32 bytes | bytes | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | metadata | 51 bytes | $X_3307 | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | metadata | 51 bytes | $X_3307 | +-----------------------+----------+---------------------------------------+ 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +==========+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------------------+-------------------------------------------------+ | solution | 200 bytes | $X_42 | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------------------+------------------------+ | Name | Size | Contents | +===============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------------------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_3296 | +---------------+----------------------+------------------------+ Preattestation (tag 20) ======================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+-------------------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +-----------------------+----------------------+-------------------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------------------+------------------------------------------------+ | Name | Size | Contents | +=======================+======================+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------------------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | metadata | Determined from data | $X_3264 | +-----------------------+----------------------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3264 | +-----------------------+----------------------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1492 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2923 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2742 | +--------------------------------+----------------------+-------------------------------------+ 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_2602 | +--------------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_2462 | +-----------------------+----------------------+------------------------------------+ 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_1492 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ | metadata | Determined from data | $X_623 | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1919 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1919 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1768 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ | metadata | Determined from data | $X_1628 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1492 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1357 | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1217 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_918 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_918 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_763 | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_623 | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_487 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | metadata | Determined from data | $X_346 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_203 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_57 | +---------------+----------------------+------------------------+ X_3322 (Variable, 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 big-endian integer | +-----------------------+----------+------------------------------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.operation_contents_and_result | +-----------------------+----------+------------------------------------------------------------------+ | signature | Variable | 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 big-endian integer | +-----------------------+----------+---------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.contents | +-----------------------+----------+---------------------------------------------+ | signature | Variable | bytes | +-----------------------+----------+---------------------------------------------+
POST ../<block_id>/helpers/scripts/run_script_view
Simulate a call to a michelson view
{ "contract": $alpha.contract_id.originated, "view": $unistring, "input": $micheline.alpha.michelson_v1.expression, "unlimited_gas"?: boolean, "chain_id": $Chain_id, "source"?: $alpha.contract_id, "payer"?: $alpha.contract_id.implicit, "gas"?: $bignum, "unparsing_mode": "Readable" || "Optimized" || "Optimized_legacy", "now"?: $bignum, "level"?: $positive_bignum, "other_contracts"?: [ { "address": $Contract_hash, "type": $micheline.alpha.michelson_v1.expression } ... ], "extra_big_maps"?: [ { "id": $alpha.big_map_id, "key_type": $micheline.alpha.michelson_v1.expression, "val_type": $micheline.alpha.michelson_v1.expression, "map_literal": $micheline.alpha.michelson_v1.expression } ... ] } $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Contract_hash: /* A contract ID (Base58Check-encoded) */ $unistring $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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 $alpha.contract_id.implicit: /* A contract handle -- implicit account A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. */ $unistring $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +=======================================+======================+==========================================+ | contract | 22 bytes | $alpha.contract_id.originated | +---------------------------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------------------+------------------------------------------+ | view | Variable | bytes | +---------------------------------------+----------------------+------------------------------------------+ | input | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | unlimited_gas | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | chain_id | 4 bytes | bytes | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "source" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | source | 22 bytes | $alpha.contract_id | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "payer" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | payer | 22 bytes | $alpha.contract_id.implicit | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "gas" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | gas | Determined from data | $Z.t | +---------------------------------------+----------------------+------------------------------------------+ | unparsing_mode | 1 byte | $X_1 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "now" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | now | Determined from data | $Z.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "level" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | level | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "other_contracts" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | other_contracts | Determined from data | $X_2 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "extra_big_maps" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | extra_big_maps | Determined from data | $X_5 | +---------------------------------------+----------------------+------------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ alpha.contract_id.implicit (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 | +---------------------------+----------+------------------------+ X_1 (1 byte, 8-bit tag) *********************** Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-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 | +------+----------------------+----------+ X_3 *** +---------+----------------------+------------------------------------------+ | Name | Size | Contents | +=========+======================+==========================================+ | address | 20 bytes | bytes | +---------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +---------+----------------------+------------------------------------------+ X_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ X_6 *** +-------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============+======================+==========================================+ | id | Determined from data | $Z.t | +-------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | val_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | map_literal | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ X_5 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_6 | +-----------------------+----------+------------------------------------+
{ "data": $micheline.alpha.michelson_v1.expression } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +======+======================+==========================================+ | data | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/scripts/run_view
Simulate a call to a view following the TZIP-4 standard. See https://gitlab.com/tezos/tzip/-/blob/master/proposals/tzip-4/tzip-4.md#view-entrypoints.
{ "contract": $alpha.contract_id.originated, "entrypoint": $unistring, "input": $micheline.alpha.michelson_v1.expression, "chain_id": $Chain_id, "source"?: $alpha.contract_id, "payer"?: $alpha.contract_id.implicit, "gas"?: $bignum, "unparsing_mode": "Readable" || "Optimized" || "Optimized_legacy", "now"?: $bignum, "level"?: $positive_bignum, "other_contracts"?: [ { "address": $Contract_hash, "type": $micheline.alpha.michelson_v1.expression } ... ], "extra_big_maps"?: [ { "id": $alpha.big_map_id, "key_type": $micheline.alpha.michelson_v1.expression, "val_type": $micheline.alpha.michelson_v1.expression, "map_literal": $micheline.alpha.michelson_v1.expression } ... ] } $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Contract_hash: /* A contract ID (Base58Check-encoded) */ $unistring $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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 $alpha.contract_id.implicit: /* A contract handle -- implicit account A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. */ $unistring $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +=======================================+======================+==========================================+ | contract | 22 bytes | $alpha.contract_id.originated | +---------------------------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------------------+------------------------------------------+ | entrypoint | Variable | bytes | +---------------------------------------+----------------------+------------------------------------------+ | input | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | chain_id | 4 bytes | bytes | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "source" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | source | 22 bytes | $alpha.contract_id | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "payer" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | payer | 22 bytes | $alpha.contract_id.implicit | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "gas" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | gas | Determined from data | $Z.t | +---------------------------------------+----------------------+------------------------------------------+ | unparsing_mode | 1 byte | $X_1 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "now" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | now | Determined from data | $Z.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "level" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | level | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "other_contracts" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | other_contracts | Determined from data | $X_2 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "extra_big_maps" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | extra_big_maps | Determined from data | $X_5 | +---------------------------------------+----------------------+------------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ alpha.contract_id.implicit (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 | +---------------------------+----------+------------------------+ X_1 (1 byte, 8-bit tag) *********************** Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-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 | +------+----------------------+----------+ X_3 *** +---------+----------------------+------------------------------------------+ | Name | Size | Contents | +=========+======================+==========================================+ | address | 20 bytes | bytes | +---------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +---------+----------------------+------------------------------------------+ X_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ X_6 *** +-------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============+======================+==========================================+ | id | Determined from data | $Z.t | +-------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | val_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | map_literal | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ X_5 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_6 | +-----------------------+----------+------------------------------------+
{ "data": $micheline.alpha.michelson_v1.expression } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +======+======================+==========================================+ | data | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/scripts/script_size
Compute the size of a script in the current context
{ "program": $micheline.alpha.michelson_v1.expression, "storage": $micheline.alpha.michelson_v1.expression, "gas"?: $bignum, "legacy"?: boolean } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +===========================+======================+==========================================+ | program | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------+----------------------+------------------------------------------+ | storage | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------+----------------------+------------------------------------------+ | ? presence of field "gas" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------+----------------------+------------------------------------------+ | gas | Determined from data | $Z.t | +---------------------------+----------------------+------------------------------------------+ | legacy | 1 byte | boolean (0 for false, 255 for true) | +---------------------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
{ "script_size": integer ∈ [-2^30, 2^30] }
+-------------+---------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=============+=========+=========================================================================+ | script_size | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------+---------+-------------------------------------------------------------------------+
POST ../<block_id>/helpers/scripts/simulate_operation?[version=<version>]&[successor_level]
Simulate running an operation at some future moment (based on the number of blocks given in the `latency` argument), and return the operation application result. The result is the same as run_operation except for the consumed gas, which depends on the contents of the cache at that future moment. This RPC estimates future gas consumption by trying to predict the state of the cache using some heuristics.
Optional query arguments :
- version = <version>
- successor_level : If true, the simulation is done on the successor level of the current context.
{ "blocks_before_activation"?: integer ∈ [-2^31-1, 2^31], "operation": { /* An operation's shell header. */ "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 }, "chain_id": $Chain_id, "latency"?: integer ∈ [-2^15, 2^15-1] } $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.scripted.contracts: { "code": any, "storage": any } $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $script_expr: /* A script expression ID (Base58Check-encoded) */ $unistring $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +================================================+==========+=====================================+ | ? presence of field "blocks_before_activation" | 1 byte | boolean (0 for false, 255 for true) | +------------------------------------------------+----------+-------------------------------------+ | blocks_before_activation | 4 bytes | signed 32-bit big-endian integer | +------------------------------------------------+----------+-------------------------------------+ | operation | Variable | $X_0 | +------------------------------------------------+----------+-------------------------------------+ | chain_id | 4 bytes | bytes | +------------------------------------------------+----------+-------------------------------------+ | latency | 2 bytes | signed 16-bit big-endian integer | +------------------------------------------------+----------+-------------------------------------+ bls_signature_prefix (33 bytes, 8-bit tag) ****************************************** Bls_prefix (tag 3) ================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_3 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_2 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_4 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_5 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+----------+ X_8 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_1 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_5 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_8 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_11 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_10 **** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_11 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_14 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_9 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_10 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_14 | +-----------------+----------------------+----------+ X_17 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_15 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_17 | +-----------------+----------------------+----------+ X_18 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_19 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_20 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_20 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_21 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_23 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_23 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_22 | +-----------------------------------+----------------------+-------------------------------------+ X_25 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_24 | +--------+----------------------+------------------------+ X_26 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_28 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_30 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_32 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_34 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_35 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_41 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_8 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_40 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_41 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_43 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.operation.alpha.contents_or_signature_prefix (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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_43 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_40 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_32 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_28) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_29 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_3 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_26 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_19 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_18 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_15 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_9 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_1 | +---------------+----------------------+------------------------+ Signature_prefix (tag 255) ========================== +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | signature_prefix | 33 bytes | $bls_signature_prefix | +------------------+----------+------------------------+ X_0 *** +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | branch | 32 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+
{ /* Operation_with_metadata */ "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* Operation_without_metadata */ "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $Blinded public key hash: /* A blinded public key hash (Base58Check-encoded) */ $unistring $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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 $Signature.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.apply_internal_results.alpha.operation_result: { /* transaction */ "kind": "transaction", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "amount": $alpha.mutez, "destination": $alpha.transaction_destination, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "result": $alpha.operation.alpha.internal_operation_result.transaction } || { /* origination */ "kind": "origination", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "result": $alpha.operation.alpha.internal_operation_result.origination } || { /* delegation */ "kind": "delegation", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "delegate"?: $Signature.Public_key_hash, "result": $alpha.operation.alpha.internal_operation_result.delegation } || { /* event */ "kind": "event", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "type": $micheline.alpha.michelson_v1.expression, "tag"?: $alpha.entrypoint, "payload"?: $micheline.alpha.michelson_v1.expression, "result": $alpha.operation.alpha.internal_operation_result.event } $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.bond_id: { /* Smart_rollup_bond_id */ "smart_rollup": $smart_rollup_address } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.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 $alpha.frozen_staker: /* frozen_staker Abstract notion of staker used in operation receipts for frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } || { /* Baker */ "baker_own_stake": $Signature.Public_key_hash } || { /* Baker_edge */ "baker_edge": $Signature.Public_key_hash } $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.lazy_storage_diff: [ { /* big_map */ "kind": "big_map", "id": $alpha.big_map_id, "diff": { /* update */ "action": "update", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* remove */ "action": "remove" } || { /* copy */ "action": "copy", "source": $alpha.big_map_id, "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* alloc */ "action": "alloc", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ], "key_type": $micheline.alpha.michelson_v1.expression, "value_type": $micheline.alpha.michelson_v1.expression } } || { /* sapling_state */ "kind": "sapling_state", "id": $alpha.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": $alpha.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] } } ... ] $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.operation.alpha.internal_operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.internal_operation_result.event: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.internal_operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.internal_operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_contents_and_result: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Activate_account */ "kind": "activate_account", "pkh": $Ed25519.Public_key_hash, "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.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": { } } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "allocated_destination_contract"?: boolean } } || { /* Reveal */ "kind": "reveal", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.reveal, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transaction, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "delegate"?: $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.delegation, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.register_global_constant, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Set_deposits_limit */ "kind": "set_deposits_limit", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.set_deposits_limit, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.increase_paid_storage, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transfer_ticket, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.dal_publish_commitment, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_originate, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_add_messages, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_cement, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_refute, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_timeout, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_recover_bond, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_update, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } $alpha.operation.alpha.operation_result.dal_publish_commitment: { /* Applied */ "status": "applied", "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.increase_paid_storage: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.operation_result.register_global_constant: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } $alpha.operation.alpha.operation_result.reveal: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.set_deposits_limit: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_add_messages: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_cement: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.smart_rollup_originate: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.smart_rollup_publish: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_recover_bond: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_refute: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_timeout: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_result.transfer_ticket: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.update_consensus_key: { /* Applied */ "status": "applied", "kind": boolean, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "kind": boolean, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.zk_rollup_origination: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_publish: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_update: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation_metadata.alpha.balance_updates: [ { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "block" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "migration" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "subsidy" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "simulation" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "block" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "migration" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "subsidy" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "simulation" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "block" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "migration" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "subsidy" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "simulation" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "block" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "migration" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "subsidy" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "simulation" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "block" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "migration" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "subsidy" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "simulation" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "block" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "migration" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "subsidy" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "simulation" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "block" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "migration" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "subsidy" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "simulation" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "block" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "migration" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "subsidy" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "simulation" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "block" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "migration" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "subsidy" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "simulation" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "block" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "migration" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "subsidy" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "simulation" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "block" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "migration" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "subsidy" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "simulation" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "block" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "migration" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "subsidy" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "simulation" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "block" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "migration" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "subsidy" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "simulation" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "block" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "migration" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "subsidy" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "simulation" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "block" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "migration" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "subsidy" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "simulation" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "block" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "migration" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "subsidy" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "simulation" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "block" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "migration" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "subsidy" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "simulation" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "block" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "migration" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "subsidy" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "simulation" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "block" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "migration" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "subsidy" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "simulation" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } ... ] $alpha.sapling_state_id: /* Sapling state identifier A sapling state identifier */ $bignum $alpha.scripted.contracts: { "code": any, "storage": any } $alpha.staker: /* unstaked_frozen_staker Abstract notion of staker used in operation receipts for unstaked frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } $alpha.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, a base58 originated transaction rollup, or a base58 originated smart rollup. */ $unistring $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $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 $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +=================+==========+==========+ | Unnamed field 0 | Variable | $X_3322 | +-----------------+----------+----------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_1 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_3 | +-----------------+----------------------+----------+ X_6 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_6 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_4 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_7 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_10 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_9 *** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_10 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_13 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_8 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_9 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_13 | +-----------------+----------------------+----------+ X_16 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_14 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_16 | +-----------------+----------------------+----------+ X_17 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_18 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_19 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_20 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_19 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_20 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_23 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_22 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_21 | +-----------------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_23 | +--------+----------------------+------------------------+ X_25 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_27 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_28 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_31 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_33 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_34 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_40 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_39 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_40 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_42 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_42 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ alpha.staker (Determined from data, 8-bit tag) ********************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ alpha.bond_id (21 bytes, 8-bit tag) *********************************** Smart_rollup_bond_id (tag 1) ============================ +--------------+----------+------------------------+ | Name | Size | Contents | +==============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------+------------------------+ | smart_rollup | 20 bytes | bytes | +--------------+----------+------------------------+ alpha.frozen_staker (Determined from data, 8-bit tag) ***************************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Baker (tag 2) ============= +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | baker_own_stake | 21 bytes | $public_key_hash | +-----------------+----------+------------------------+ Baker_edge (tag 3) ================== +------------+----------+------------------------+ | Name | Size | Contents | +============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+------------------------+ | baker_edge | 21 bytes | $public_key_hash | +------------+----------+------------------------+ X_59 (Determined from data, 8-bit tag) ************************************** Contract (tag 0) ================ +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Block_fees (tag 2) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Deposits (tag 4) ================ +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.frozen_staker | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Nonce_revelation_rewards (tag 5) ================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Attesting_rewards (tag 7) ========================= +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_rewards (tag 8) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_bonuses (tag 9) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Storage_fees (tag 11) ===================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Double_signing_punishments (tag 12) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_attesting_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) | +---------------+----------+-------------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +---------------+----------+-------------------------------------+ Liquidity_baking_subsidies (tag 14) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Burned (tag 15) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Commitments (tag 16) ==================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | committer | 20 bytes | bytes | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Bootstrap (tag 17) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Invoice (tag 18) ================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Initial_commitments (tag 19) ============================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Minted (tag 20) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Frozen_bonds (tag 21) ===================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | bond_id | 21 bytes | $alpha.bond_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Smart_rollup_refutation_punishments (tag 24) ============================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Smart_rollup_refutation_rewards (tag 25) ======================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Unstaked_deposits (tag 26) ========================== +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.staker | +--------+----------------------+----------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Staking_delegator_numerator (tag 27) ==================================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | delegator | 22 bytes | $alpha.contract_id | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Staking_delegate_denominator (tag 28) ===================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ DAL_attesting_rewards (tag 29) ============================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_DAL_attesting_rewards (tag 30) =================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ X_60 (Determined from data, 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 | +------+--------+------------------------+ Delayed_operation (tag 4) ========================= +------------------------+----------+------------------------+ | Name | Size | Contents | +========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------------+----------+------------------------+ | delayed_operation_hash | 32 bytes | bytes | +------------------------+----------+------------------------+ X_58 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_59 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_60 | +-----------------+----------------------+----------+ X_61 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag) ***************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ alpha.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 | +---------------+----------+------------------------+ Smart_rollup (tag 3) ==================== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | smart_rollup_address | 20 bytes | bytes | +----------------------+----------+------------------------+ | padding | 1 byte | padding | +----------------------+----------+------------------------+ Zk_rollup (tag 4) ================= +----------------+----------+------------------------+ | Name | Size | Contents | +================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------+----------+------------------------+ | Zk_rollup_hash | 20 bytes | bytes | +----------------+----------+------------------------+ | padding | 1 byte | padding | +----------------+----------+------------------------+ alpha.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag) *************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ alpha.operation.alpha.internal_operation_result.delegation (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ sapling.transaction.ciphertext ****************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | cv | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | epk | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | payload_enc | Variable | bytes | +-----------------------+----------+------------------------------------+ | nonce_enc | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ | payload_out | 80 bytes | bytes | +-----------------------+----------+------------------------------------+ | nonce_out | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ X_83 **** +-----------------+----------------------+---------------------------------+ | Name | Size | Contents | +=================+======================+=================================+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------------------+---------------------------------+ | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext | +-----------------+----------------------+---------------------------------+ X_82 **** +-----------------------------+----------+------------------------------------+ | Name | Size | Contents | +=============================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_83 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | nullifiers | Variable | sequence of bytes | +-----------------------------+----------+------------------------------------+ X_88 (Determined from data, 8-bit tag) ************************************** update (tag 0) ============== +---------+----------------------+------------------------+ | Name | Size | Contents | +=========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------+----------------------+------------------------+ | updates | Determined from data | $X_82 | +---------+----------------------+------------------------+ 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_82 | +---------+----------------------+------------------------+ alloc (tag 3) ============= +-----------+----------------------+------------------------------------+ | Name | Size | Contents | +===========+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------------------+ | updates | Determined from data | $X_82 | +-----------+----------------------+------------------------------------+ | memo_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------+----------------------+------------------------------------+ X_89 **** +-----------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============================+======================+==========================================+ | key_hash | 32 bytes | bytes | +-----------------------------+----------------------+------------------------------------------+ | key | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ | ? presence of field "value" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+------------------------------------------+ | value | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ X_100 (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 big-endian integer | +-----------------------+----------+------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------+------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------------------+------------------------------------+ alloc (tag 3) ============= +-----------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=======================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ | value_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ X_101 (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_100 | +------+----------------------+------------------------+ 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_88 | +------+----------------------+------------------------+ alpha.lazy_storage_diff *********************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_101 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.internal_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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ X_128 ***** +--------------+----------------------+------------------------------------------+ | Name | Size | Contents | +==============+======================+==========================================+ | ticketer | 22 bytes | $alpha.contract_id | +--------------+----------------------+------------------------------------------+ | content_type | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | content | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ X_131 ***** +---------+----------------------+--------------------------------+ | Name | Size | Contents | +=========+======================+================================+ | account | 22 bytes | $alpha.transaction_destination | +---------+----------------------+--------------------------------+ | amount | Determined from data | $Z.t | +---------+----------------------+--------------------------------+ X_127 ***** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | ticket_token | Determined from data | $X_128 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_131 | +-----------------------+----------------------+------------------------------------+ X_161 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_receipt | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_receipt | Variable | sequence of $X_127 | +-----------------------+----------------------+------------------------------------+ alpha.operation.alpha.internal_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_161 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_161 | +------------------------------+----------------------+-------------------------------------+ alpha.apply_internal_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 | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +----------------------------------+----------------------+--------------------------------------------------------------+ | amount | Determined from data | $N.t | +----------------------------------+----------------------+--------------------------------------------------------------+ | destination | 22 bytes | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+--------------------------------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.transaction | +----------------------------------+----------------------+--------------------------------------------------------------+ origination (tag 2) =================== +--------------------------------+----------------------+--------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+==============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+--------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +--------------------------------+----------------------+--------------------------------------------------------------+ delegation (tag 3) ================== +--------------------------------+----------------------+-------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+=============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+-------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | ? presence of field "delegate" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------------------+-------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +--------------------------------+----------------------+-------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +--------------------------------+----------------------+-------------------------------------------------------------+ event (tag 4) ============= +-------------------------------+----------------------+--------------------------------------------------------+ | Name | Size | Contents | +===============================+======================+========================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------------------+--------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +-------------------------------+----------------------+--------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +-------------------------------+----------------------+--------------------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "tag" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | tag | Determined from data | $alpha.entrypoint | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "payload" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | payload | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------+----------------------+--------------------------------------------------------+ X_57 **** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_update | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag) ****************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_203 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag) ********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_346 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_492 (54 bytes, 8-bit tag) *************************** v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+ alpha.operation.alpha.operation_result.dal_publish_commitment (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | slot_header | 54 bytes | $X_492 | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | slot_header | 54 bytes | $X_492 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_487 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.dal_publish_commitment | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag) ************************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_623 ***** +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+===================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_recover_bond | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ X_777 (Determined from data, 8-bit tag) *************************************** Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +-----------+----------------------+------------------------+ | Name | Size | Contents | +===========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------+ | whitelist | Determined from data | $X_28 | +-----------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag) ************************************************************************************************************ Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_777 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_777 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_763 ***** +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=============================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ X_923 (1 byte, 8-bit tag) ************************* Conflict_resolved (tag 0) ========================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Timeout (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_924 (Determined from data, 8-bit tag) *************************************** Loser (tag 0) ============= +--------+----------+------------------------+ | Name | Size | Contents | +========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------+------------------------+ | reason | 1 byte | $X_923 | +--------+----------+------------------------+ | player | 21 bytes | $public_key_hash | +--------+----------+------------------------+ Draw (tag 1) ============ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_925 (Determined from data, 8-bit tag) *************************************** Ongoing (tag 0) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Ended (tag 1) ============= +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | result | Determined from data | $X_924 | +--------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | game_status | Determined from data | $X_925 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | game_status | Determined from data | $X_925 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_918 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_timeout | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1217 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+----------------------------------+ | Name | Size | Contents | +===================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+----------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------+----------------------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +-------------------+----------------------+----------------------------------+ | commitment_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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------------------+----------------------+-------------------------------------+ | commitment_hash | 32 bytes | bytes | +------------------------------+----------------------+-------------------------------------+ X_1357 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_cement | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_1492 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1628 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_originate | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.transfer_ticket (Determined from data, 8-bit tag) **************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1768 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transfer_ticket | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.update_consensus_key (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_1919 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.update_consensus_key | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | storage_size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | global_address | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_2462 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.register_global_constant | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2602 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2742 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2962 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-----------------------+----------------------+------------------------------------+ alpha.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_2962 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_2962 | +------------------------------+----------------------+-------------------------------------+ X_2923 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transaction | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_3268 ****** +-----------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+==========+=========================================================================+ | delegate | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_pkh | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------+-------------------------------------------------------------------------+ X_3264 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | committee | Variable | sequence of $X_3268 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | total_consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ alpha.operation_metadata.alpha.balance_updates ********************************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_58 | +-----------------------+----------+------------------------------------+ X_3284 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_key | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ X_3296 ****** +-------------------------------------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=====================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------+ | allocated_destination_contract | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------+-------------------------------------+ X_3309 (Enumeration: unsigned 8-bit integer): ********************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | preattestation | +-------------+----------------+ | 1 | attestation | +-------------+----------------+ | 2 | block | +-------------+----------------+ X_3308 ****** +-------+---------+-------------------------------------------------------------+ | Name | Size | Contents | +=======+=========+=============================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_3309) | +-------+---------+-------------------------------------------------------------+ X_3307 ****** +-------------------+----------+------------------+ | Name | Size | Contents | +===================+==========+==================+ | punished_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | rewarded_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | misbehaviour | 9 bytes | $X_3308 | +-------------------+----------+------------------+ alpha.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 big-endian integer | +----------+----------------------+-------------------------------------------------+ | nonce | 32 bytes | bytes | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | metadata | 51 bytes | $X_3307 | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | metadata | 51 bytes | $X_3307 | +-----------------------+----------+---------------------------------------+ 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +==========+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------------------+-------------------------------------------------+ | solution | 200 bytes | $X_42 | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------------------+------------------------+ | Name | Size | Contents | +===============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------------------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_3296 | +---------------+----------------------+------------------------+ Preattestation (tag 20) ======================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+-------------------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +-----------------------+----------------------+-------------------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------------------+------------------------------------------------+ | Name | Size | Contents | +=======================+======================+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------------------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | metadata | Determined from data | $X_3264 | +-----------------------+----------------------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3264 | +-----------------------+----------------------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1492 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2923 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2742 | +--------------------------------+----------------------+-------------------------------------+ 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_2602 | +--------------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_2462 | +-----------------------+----------------------+------------------------------------+ 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_1492 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ | metadata | Determined from data | $X_623 | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1919 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1919 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1768 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ | metadata | Determined from data | $X_1628 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1492 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1357 | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1217 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_918 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_918 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_763 | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_623 | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_487 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | metadata | Determined from data | $X_346 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_203 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_57 | +---------------+----------------------+------------------------+ X_3322 (Variable, 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 big-endian integer | +-----------------------+----------+------------------------------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.operation_contents_and_result | +-----------------------+----------+------------------------------------------------------------------+ | signature | Variable | 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 big-endian integer | +-----------------------+----------+---------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.contents | +-----------------------+----------+---------------------------------------------+ | signature | Variable | bytes | +-----------------------+----------+---------------------------------------------+
POST ../<block_id>/helpers/scripts/trace_code
Run a Michelson script in the current context, keeping a trace
{ "script": $micheline.alpha.michelson_v1.expression, "storage": $micheline.alpha.michelson_v1.expression, "input": $micheline.alpha.michelson_v1.expression, "amount": $alpha.mutez, "balance"?: $alpha.mutez, "chain_id": $Chain_id, "source"?: $alpha.contract_id, "payer"?: $alpha.contract_id.implicit, "self"?: $alpha.contract_id.originated, "entrypoint"?: $unistring, "unparsing_mode"?: "Readable" || "Optimized" || "Optimized_legacy", "gas"?: $bignum, "now"?: $bignum, "level"?: $positive_bignum, "other_contracts"?: [ { "address": $Contract_hash, "type": $micheline.alpha.michelson_v1.expression } ... ], "extra_big_maps"?: [ { "id": $alpha.big_map_id, "key_type": $micheline.alpha.michelson_v1.expression, "val_type": $micheline.alpha.michelson_v1.expression, "map_literal": $micheline.alpha.michelson_v1.expression } ... ] } $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Contract_hash: /* A contract ID (Base58Check-encoded) */ $unistring $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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 $alpha.contract_id.implicit: /* A contract handle -- implicit account A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. */ $unistring $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +=======================================+======================+==========================================+ | script | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | storage | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | input | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------------------+----------------------+------------------------------------------+ | amount | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "balance" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | balance | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | chain_id | 4 bytes | bytes | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "source" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | source | 22 bytes | $alpha.contract_id | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "payer" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | payer | 22 bytes | $alpha.contract_id.implicit | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "self" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | self | 22 bytes | $alpha.contract_id.originated | +---------------------------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------------------+------------------------------------------+ | entrypoint | Variable | bytes | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "unparsing_mode" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | unparsing_mode | 1 byte | $X_3 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "gas" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | gas | Determined from data | $Z.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "now" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | now | Determined from data | $Z.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "level" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | level | Determined from data | $N.t | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "other_contracts" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | other_contracts | Determined from data | $X_4 | +---------------------------------------+----------------------+------------------------------------------+ | ? presence of field "extra_big_maps" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+------------------------------------------+ | extra_big_maps | Determined from data | $X_7 | +---------------------------------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | 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 | +------+----------------------+----------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ alpha.contract_id.implicit (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 | +---------------------------+----------+------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ X_3 (1 byte, 8-bit tag) *********************** Readable (tag 0) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized (tag 1) ================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Optimized_legacy (tag 2) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_5 *** +---------+----------------------+------------------------------------------+ | Name | Size | Contents | +=========+======================+==========================================+ | address | 20 bytes | bytes | +---------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +---------+----------------------+------------------------------------------+ X_4 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_5 | +-----------------------+----------+------------------------------------+ X_8 *** +-------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============+======================+==========================================+ | id | Determined from data | $Z.t | +-------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | val_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ | map_literal | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------+----------------------+------------------------------------------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_8 | +-----------------------+----------+------------------------------------+
{ "storage": $micheline.alpha.michelson_v1.expression, "operations": [ $alpha.apply_internal_results.alpha.operation_result ... ], "trace": $alpha.scripted.trace, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $alpha.apply_internal_results.alpha.operation_result: { /* Transaction */ "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "kind": "transaction", "amount": $alpha.mutez, "destination": $alpha.transaction_destination, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "kind": "origination", "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "kind": "delegation", "delegate"?: $Signature.Public_key_hash } || { /* Event */ "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "kind": "event", "type": $micheline.alpha.michelson_v1.expression, "tag"?: $alpha.entrypoint, "payload"?: $micheline.alpha.michelson_v1.expression } $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.lazy_storage_diff: [ { /* big_map */ "kind": "big_map", "id": $alpha.big_map_id, "diff": { /* update */ "action": "update", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* remove */ "action": "remove" } || { /* copy */ "action": "copy", "source": $alpha.big_map_id, "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* alloc */ "action": "alloc", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ], "key_type": $micheline.alpha.michelson_v1.expression, "value_type": $micheline.alpha.michelson_v1.expression } } || { /* sapling_state */ "kind": "sapling_state", "id": $alpha.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": $alpha.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] } } ... ] $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.sapling_state_id: /* Sapling state identifier A sapling state identifier */ $bignum $alpha.scripted.contracts: { "code": any, "storage": any } $alpha.scripted.trace: [ { "location": $micheline.location, "gas": $bignum, "stack": [ $micheline.alpha.michelson_v1.expression ... ] } ... ] $alpha.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, a base58 originated transaction rollup, or a base58 originated smart rollup. */ $unistring $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $micheline.location: /* Canonical location in a Micheline expression The location of a node in a Micheline expression tree in prefix order, with zero being the root and adding one for every basic node, sequence and primitive application. */ integer ∈ [-2^30, 2^30] $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $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 $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 | +=========================================+======================+==================================================================+ | storage | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------------+----------------------+------------------------------------------------------------------+ | operations | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-----------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in field "alpha.scripted.trace" | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------------+----------------------+------------------------------------------------------------------+ | trace | Variable | sequence of $X_5 | +-----------------------------------------+----------------------+------------------------------------------------------------------+ | ? presence of field "lazy_storage_diff" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------------+----------------------+------------------------------------------------------------------+ | lazy_storage_diff | Determined from data | $alpha.lazy_storage_diff | +-----------------------------------------+----------------------+------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ alpha.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 | +---------------+----------+------------------------+ Smart_rollup (tag 3) ==================== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | smart_rollup_address | 20 bytes | bytes | +----------------------+----------+------------------------+ | padding | 1 byte | padding | +----------------------+----------+------------------------+ Zk_rollup (tag 4) ================= +----------------+----------+------------------------+ | Name | Size | Contents | +================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------+----------+------------------------+ | Zk_rollup_hash | 20 bytes | bytes | +----------------+----------+------------------------+ | padding | 1 byte | padding | +----------------+----------+------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ 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 | +------+----------------------+----------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_4 (Determined from data, 8-bit tag) ************************************* Transaction (tag 1) =================== +----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +==================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------------------+----------------------+-------------------------------------+ | amount | Determined from data | $N.t | +----------------------------------+----------------------+-------------------------------------+ | destination | 22 bytes | $alpha.transaction_destination | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_3 | +----------------------------------+----------------------+-------------------------------------+ Origination (tag 2) =================== +--------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-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 | $alpha.scripted.contracts | +--------------------------------+----------------------+-------------------------------------+ Delegation (tag 3) ================== +--------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +================================+==========+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------+-------------------------------------+ | ? presence of field "delegate" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------+-------------------------------------+ | delegate | 21 bytes | $public_key_hash | +--------------------------------+----------+-------------------------------------+ Event (tag 4) ============= +-------------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +===============================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+------------------------------------------+ | ? presence of field "tag" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+------------------------------------------+ | tag | Determined from data | $alpha.entrypoint | +-------------------------------+----------------------+------------------------------------------+ | ? presence of field "payload" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+------------------------------------------+ | payload | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+------------------------------------------+ alpha.apply_internal_results.alpha.operation_result *************************************************** +-----------------+----------------------+------------------------------------+ | Name | Size | Contents | +=================+======================+====================================+ | source | 22 bytes | $alpha.transaction_destination | +-----------------+----------------------+------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +-----------------+----------------------+------------------------------------+ | Unnamed field 0 | Determined from data | $X_4 | +-----------------+----------------------+------------------------------------+ X_5 *** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | location | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | gas | Determined from data | $Z.t | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | stack | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+-------------------------------------------------------------------------+ sapling.transaction.ciphertext ****************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | cv | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | epk | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | payload_enc | Variable | bytes | +-----------------------+----------+------------------------------------+ | nonce_enc | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ | payload_out | 80 bytes | bytes | +-----------------------+----------+------------------------------------+ | nonce_out | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ X_8 *** +-----------------+----------------------+---------------------------------+ | Name | Size | Contents | +=================+======================+=================================+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------------------+---------------------------------+ | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext | +-----------------+----------------------+---------------------------------+ X_7 *** +-----------------------------+----------+------------------------------------+ | Name | Size | Contents | +=============================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_8 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | nullifiers | Variable | sequence of bytes | +-----------------------------+----------+------------------------------------+ X_13 (Determined from data, 8-bit tag) ************************************** update (tag 0) ============== +---------+----------------------+------------------------+ | Name | Size | Contents | +=========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------+----------------------+------------------------+ | updates | Determined from data | $X_7 | +---------+----------------------+------------------------+ 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_7 | +---------+----------------------+------------------------+ alloc (tag 3) ============= +-----------+----------------------+------------------------------------+ | Name | Size | Contents | +===========+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------------------+ | updates | Determined from data | $X_7 | +-----------+----------------------+------------------------------------+ | memo_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------+----------------------+------------------------------------+ X_14 **** +-----------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============================+======================+==========================================+ | key_hash | 32 bytes | bytes | +-----------------------------+----------------------+------------------------------------------+ | key | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ | ? presence of field "value" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+------------------------------------------+ | value | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ X_25 (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 big-endian integer | +-----------------------+----------+------------------------------------+ | updates | Variable | sequence of $X_14 | +-----------------------+----------+------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_14 | +-----------------------+----------------------+------------------------------------+ alloc (tag 3) ============= +-----------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=======================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------+ | updates | Variable | sequence of $X_14 | +-----------------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ | value_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ X_26 (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_25 | +------+----------------------+------------------------+ 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_13 | +------+----------------------+------------------------+ alpha.lazy_storage_diff *********************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_26 | +-----------------------+----------+------------------------------------+
POST ../<block_id>/helpers/scripts/typecheck_code
Typecheck a piece of code in the current context
{ "program": $micheline.alpha.michelson_v1.expression, "gas"?: $bignum, "legacy"?: boolean, "show_types"?: boolean } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +===========================+======================+==========================================+ | program | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------+----------------------+------------------------------------------+ | ? presence of field "gas" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------+----------------------+------------------------------------------+ | gas | Determined from data | $Z.t | +---------------------------+----------------------+------------------------------------------+ | legacy | 1 byte | boolean (0 for false, 255 for true) | +---------------------------+----------------------+------------------------------------------+ | show_types | 1 byte | boolean (0 for false, 255 for true) | +---------------------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
{ "type_map": [ { "location": $micheline.location, "stack_before": [ $micheline.alpha.michelson_v1.expression ... ], "stack_after": [ $micheline.alpha.michelson_v1.expression ... ] } ... ], "gas": $bignum /* Limited */ || "unaccounted" } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $micheline.location: /* Canonical location in a Micheline expression The location of a node in a Micheline expression tree in prefix order, with zero being the root and adding one for every basic node, sequence and primitive application. */ integer ∈ [-2^30, 2^30] $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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | type_map | Variable | sequence of $X_0 | +-----------------------+----------------------+------------------------------------+ | gas | Determined from data | $X_3 | +-----------------------+----------------------+------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+==========+=========================================================================+ | location | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------------------------------------------+ | stack_before | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------------------------------------------+ | stack_after | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+-------------------------------------------------------------------------+ X_3 (Determined from data, 8-bit tag) ************************************* Limited (tag 0) =============== +-----------------+----------------------+------------------------+ | Name | Size | Contents | +=================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------+ | Unnamed field 0 | Determined from data | $Z.t | +-----------------+----------------------+------------------------+ Unaccounted (tag 1) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
POST ../<block_id>/helpers/scripts/typecheck_data
Check that some data expression is well formed and of a given type in the current context
{ "data": $micheline.alpha.michelson_v1.expression, "type": $micheline.alpha.michelson_v1.expression, "gas"?: $bignum, "legacy"?: boolean } $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $bignum: /* Big number Decimal representation of a big number */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $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 | +===========================+======================+==========================================+ | data | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------+----------------------+------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +---------------------------+----------------------+------------------------------------------+ | ? presence of field "gas" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------+----------------------+------------------------------------------+ | gas | Determined from data | $Z.t | +---------------------------+----------------------+------------------------------------------+ | legacy | 1 byte | boolean (0 for false, 255 for true) | +---------------------------+----------------------+------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ 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.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+
{ "gas": $bignum /* Limited */ || "unaccounted" } $bignum: /* Big number Decimal representation of a big number */ string
+------+----------------------+----------+ | Name | Size | Contents | +======+======================+==========+ | gas | Determined from data | $X_0 | +------+----------------------+----------+ 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_0 (Determined from data, 8-bit tag) ************************************* Limited (tag 0) =============== +-----------------+----------------------+------------------------+ | Name | Size | Contents | +=================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------------------+------------------------+ | Unnamed field 0 | Determined from data | $Z.t | +-----------------+----------------------+------------------------+ Unaccounted (tag 1) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+
GET ../<block_id>/helpers/total_baking_power
Returns the total baking power for the current cycle
string /* 64 bit integers Decimal representation of 64 bit integers */
+-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+---------+----------------------------------+
GET ../<block_id>/helpers/validators?(level=<block_level>)*&(delegate=<pkh>)*&(consensus_key=<pkh>)*
Retrieves the level, the attestation slots and the public key hash of each delegate allowed to attest a block. Also returns each delegate's current consensus key, and current companion key when needed for crafting and validating attestations at this level. By default, it provides this information for the next level. Parameter `level` can be used to specify the (valid) level(s) in the past or future at which the attestation rights have to be returned. Parameter `delegate` can be used to restrict the results results to the given delegates. Parameter `consensus_key` can be used to restrict the results to the given consensus_keys.
Optional query arguments :
- level = <block_level>
- delegate = <pkh>
- consensus_key = <pkh>
[ { "level": integer ∈ [0, 2^31], "delegate": $Signature.Public_key_hash, "slots": [ integer ∈ [0, 2^16-1] ... ], "consensus_key": $Signature.Public_key_hash, "companion_key"?: $Bls12_381.Public_key_hash } ... ] $Bls12_381.Public_key_hash: /* A Bls12_381 public key hash (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS 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 big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_0 *** +-------------------------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=====================================+==========+================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------+----------+------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +-------------------------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------+----------+------------------------------------------------+ | slots | Variable | sequence of unsigned 16-bit big-endian integer | +-------------------------------------+----------+------------------------------------------------+ | consensus_key | 21 bytes | $public_key_hash | +-------------------------------------+----------+------------------------------------------------+ | ? presence of field "companion_key" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------+----------+------------------------------------------------+ | companion_key | 20 bytes | bytes | +-------------------------------------+----------+------------------------------------------------+
GET ../<block_id>/live_blocks
List the ancestors of the given block which, if referred to as the branch in an operation header, are recent enough for that operation to be included in the current block.
[ $block_hash ... ] $block_hash: /* A block identifier (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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/metadata?[version=<version>]
GET ../<block_id>/metadata_hash
GET ../<block_id>/operation_hashes
The hashes of all the operations included in the block.
[ [ $Operation_hash ... ] ... ] $Operation_hash: /* A Tezos operation ID (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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/operation_hashes/<list_offset>
All the operations included in `n-th` validation pass of the block.
[ $Operation_hash ... ] $Operation_hash: /* A Tezos operation ID (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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+
GET ../<block_id>/operation_hashes/<list_offset>/<operation_offset>
The hash of then `m-th` operation in the `n-th` validation pass of the block.
$unistring /* A Tezos operation ID (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 | +================+==========+==========+ | Operation_hash | 32 bytes | bytes | +----------------+----------+----------+
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?[version=<version>]&[force_metadata]&[metadata=<metadata_rpc_arg>]
All the operations included in the block.
Optional query arguments :
- version = <version>
- 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.
[ [ $operation ... ] ... ] /* operations_encoding_v1 */ $Blinded public key hash: /* A blinded public key hash (Base58Check-encoded) */ $unistring $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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 $Signature.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.apply_internal_results.alpha.operation_result: { /* transaction */ "kind": "transaction", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "amount": $alpha.mutez, "destination": $alpha.transaction_destination, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "result": $alpha.operation.alpha.internal_operation_result.transaction } || { /* origination */ "kind": "origination", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "result": $alpha.operation.alpha.internal_operation_result.origination } || { /* delegation */ "kind": "delegation", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "delegate"?: $Signature.Public_key_hash, "result": $alpha.operation.alpha.internal_operation_result.delegation } || { /* event */ "kind": "event", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "type": $micheline.alpha.michelson_v1.expression, "tag"?: $alpha.entrypoint, "payload"?: $micheline.alpha.michelson_v1.expression, "result": $alpha.operation.alpha.internal_operation_result.event } $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.bond_id: { /* Smart_rollup_bond_id */ "smart_rollup": $smart_rollup_address } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.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 $alpha.frozen_staker: /* frozen_staker Abstract notion of staker used in operation receipts for frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } || { /* Baker */ "baker_own_stake": $Signature.Public_key_hash } || { /* Baker_edge */ "baker_edge": $Signature.Public_key_hash } $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.lazy_storage_diff: [ { /* big_map */ "kind": "big_map", "id": $alpha.big_map_id, "diff": { /* update */ "action": "update", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* remove */ "action": "remove" } || { /* copy */ "action": "copy", "source": $alpha.big_map_id, "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* alloc */ "action": "alloc", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ], "key_type": $micheline.alpha.michelson_v1.expression, "value_type": $micheline.alpha.michelson_v1.expression } } || { /* sapling_state */ "kind": "sapling_state", "id": $alpha.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": $alpha.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] } } ... ] $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.operation.alpha.contents_and_signature: { "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $alpha.operation.alpha.internal_operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.internal_operation_result.event: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.internal_operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.internal_operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_contents_and_result: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Activate_account */ "kind": "activate_account", "pkh": $Ed25519.Public_key_hash, "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.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": { } } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "allocated_destination_contract"?: boolean } } || { /* Reveal */ "kind": "reveal", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.reveal, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transaction, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "delegate"?: $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.delegation, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.register_global_constant, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Set_deposits_limit */ "kind": "set_deposits_limit", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.set_deposits_limit, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.increase_paid_storage, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transfer_ticket, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.dal_publish_commitment, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_originate, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_add_messages, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_cement, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_refute, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_timeout, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_recover_bond, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_update, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } $alpha.operation.alpha.operation_result.dal_publish_commitment: { /* Applied */ "status": "applied", "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.increase_paid_storage: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.operation_result.register_global_constant: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } $alpha.operation.alpha.operation_result.reveal: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.set_deposits_limit: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_add_messages: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_cement: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.smart_rollup_originate: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.smart_rollup_publish: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_recover_bond: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_refute: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_timeout: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_result.transfer_ticket: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.update_consensus_key: { /* Applied */ "status": "applied", "kind": boolean, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "kind": boolean, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.zk_rollup_origination: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_publish: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_update: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_with_metadata: { /* Operation_with_metadata */ "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* Operation_without_metadata */ "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $alpha.operation_metadata.alpha.balance_updates: [ { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "block" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "migration" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "subsidy" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "simulation" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "block" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "migration" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "subsidy" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "simulation" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "block" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "migration" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "subsidy" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "simulation" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "block" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "migration" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "subsidy" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "simulation" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "block" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "migration" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "subsidy" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "simulation" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "block" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "migration" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "subsidy" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "simulation" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "block" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "migration" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "subsidy" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "simulation" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "block" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "migration" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "subsidy" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "simulation" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "block" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "migration" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "subsidy" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "simulation" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "block" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "migration" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "subsidy" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "simulation" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "block" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "migration" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "subsidy" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "simulation" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "block" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "migration" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "subsidy" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "simulation" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "block" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "migration" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "subsidy" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "simulation" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "block" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "migration" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "subsidy" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "simulation" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "block" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "migration" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "subsidy" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "simulation" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "block" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "migration" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "subsidy" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "simulation" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "block" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "migration" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "subsidy" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "simulation" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "block" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "migration" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "subsidy" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "simulation" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "block" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "migration" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "subsidy" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "simulation" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } ... ] $alpha.sapling_state_id: /* Sapling state identifier A sapling state identifier */ $bignum $alpha.scripted.contracts: { "code": any, "storage": any } $alpha.staker: /* unstaked_frozen_staker Abstract notion of staker used in operation receipts for unstaked frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } $alpha.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, a base58 originated transaction rollup, or a base58 originated smart rollup. */ $unistring $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $operation: { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2, "metadata": "too large" } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $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 $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_3 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_2 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_4 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_5 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+----------+ X_8 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_1 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_5 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_8 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_11 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_10 **** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_11 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_14 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_9 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_10 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_14 | +-----------------+----------------------+----------+ X_17 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_15 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_3 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_17 | +-----------------+----------------------+----------+ X_18 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_19 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_20 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_20 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_21 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_23 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_23 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_22 | +-----------------------------------+----------------------+-------------------------------------+ X_25 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_24 | +--------+----------------------+------------------------+ X_26 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_28 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_30 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_32 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_34 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_35 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_41 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_8 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_40 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_41 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_43 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_43 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_40 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_32 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_28) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_29 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_3 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_26 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_19 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_18 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_15 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_9 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_1 | +---------------+----------------------+------------------------+ alpha.staker (Determined from data, 8-bit tag) ********************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ alpha.bond_id (21 bytes, 8-bit tag) *********************************** Smart_rollup_bond_id (tag 1) ============================ +--------------+----------+------------------------+ | Name | Size | Contents | +==============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------+------------------------+ | smart_rollup | 20 bytes | bytes | +--------------+----------+------------------------+ alpha.frozen_staker (Determined from data, 8-bit tag) ***************************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Baker (tag 2) ============= +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | baker_own_stake | 21 bytes | $public_key_hash | +-----------------+----------+------------------------+ Baker_edge (tag 3) ================== +------------+----------+------------------------+ | Name | Size | Contents | +============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+------------------------+ | baker_edge | 21 bytes | $public_key_hash | +------------+----------+------------------------+ X_60 (Determined from data, 8-bit tag) ************************************** Contract (tag 0) ================ +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Block_fees (tag 2) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Deposits (tag 4) ================ +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.frozen_staker | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Nonce_revelation_rewards (tag 5) ================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Attesting_rewards (tag 7) ========================= +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_rewards (tag 8) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_bonuses (tag 9) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Storage_fees (tag 11) ===================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Double_signing_punishments (tag 12) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_attesting_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) | +---------------+----------+-------------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +---------------+----------+-------------------------------------+ Liquidity_baking_subsidies (tag 14) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Burned (tag 15) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Commitments (tag 16) ==================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | committer | 20 bytes | bytes | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Bootstrap (tag 17) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Invoice (tag 18) ================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Initial_commitments (tag 19) ============================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Minted (tag 20) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Frozen_bonds (tag 21) ===================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | bond_id | 21 bytes | $alpha.bond_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Smart_rollup_refutation_punishments (tag 24) ============================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Smart_rollup_refutation_rewards (tag 25) ======================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Unstaked_deposits (tag 26) ========================== +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.staker | +--------+----------------------+----------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Staking_delegator_numerator (tag 27) ==================================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | delegator | 22 bytes | $alpha.contract_id | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Staking_delegate_denominator (tag 28) ===================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ DAL_attesting_rewards (tag 29) ============================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_DAL_attesting_rewards (tag 30) =================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ X_61 (Determined from data, 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 | +------+--------+------------------------+ Delayed_operation (tag 4) ========================= +------------------------+----------+------------------------+ | Name | Size | Contents | +========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------------+----------+------------------------+ | delayed_operation_hash | 32 bytes | bytes | +------------------------+----------+------------------------+ X_59 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_60 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_61 | +-----------------+----------------------+----------+ X_62 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag) ***************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ alpha.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 | +---------------+----------+------------------------+ Smart_rollup (tag 3) ==================== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | smart_rollup_address | 20 bytes | bytes | +----------------------+----------+------------------------+ | padding | 1 byte | padding | +----------------------+----------+------------------------+ Zk_rollup (tag 4) ================= +----------------+----------+------------------------+ | Name | Size | Contents | +================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------+----------+------------------------+ | Zk_rollup_hash | 20 bytes | bytes | +----------------+----------+------------------------+ | padding | 1 byte | padding | +----------------+----------+------------------------+ alpha.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag) *************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ alpha.operation.alpha.internal_operation_result.delegation (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ sapling.transaction.ciphertext ****************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | cv | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | epk | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | payload_enc | Variable | bytes | +-----------------------+----------+------------------------------------+ | nonce_enc | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ | payload_out | 80 bytes | bytes | +-----------------------+----------+------------------------------------+ | nonce_out | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ X_84 **** +-----------------+----------------------+---------------------------------+ | Name | Size | Contents | +=================+======================+=================================+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------------------+---------------------------------+ | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext | +-----------------+----------------------+---------------------------------+ X_83 **** +-----------------------------+----------+------------------------------------+ | Name | Size | Contents | +=============================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_84 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | nullifiers | Variable | sequence of bytes | +-----------------------------+----------+------------------------------------+ X_89 (Determined from data, 8-bit tag) ************************************** update (tag 0) ============== +---------+----------------------+------------------------+ | Name | Size | Contents | +=========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------+----------------------+------------------------+ | updates | Determined from data | $X_83 | +---------+----------------------+------------------------+ 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_83 | +---------+----------------------+------------------------+ alloc (tag 3) ============= +-----------+----------------------+------------------------------------+ | Name | Size | Contents | +===========+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------------------+ | updates | Determined from data | $X_83 | +-----------+----------------------+------------------------------------+ | memo_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------+----------------------+------------------------------------+ X_90 **** +-----------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============================+======================+==========================================+ | key_hash | 32 bytes | bytes | +-----------------------------+----------------------+------------------------------------------+ | key | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ | ? presence of field "value" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+------------------------------------------+ | value | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ X_101 (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 big-endian integer | +-----------------------+----------+------------------------------------+ | updates | Variable | sequence of $X_90 | +-----------------------+----------+------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_90 | +-----------------------+----------------------+------------------------------------+ alloc (tag 3) ============= +-----------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=======================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------+ | updates | Variable | sequence of $X_90 | +-----------------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ | value_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ X_102 (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_101 | +------+----------------------+------------------------+ 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_89 | +------+----------------------+------------------------+ alpha.lazy_storage_diff *********************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_102 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.internal_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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ X_129 ***** +--------------+----------------------+------------------------------------------+ | Name | Size | Contents | +==============+======================+==========================================+ | ticketer | 22 bytes | $alpha.contract_id | +--------------+----------------------+------------------------------------------+ | content_type | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | content | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ X_132 ***** +---------+----------------------+--------------------------------+ | Name | Size | Contents | +=========+======================+================================+ | account | 22 bytes | $alpha.transaction_destination | +---------+----------------------+--------------------------------+ | amount | Determined from data | $Z.t | +---------+----------------------+--------------------------------+ X_128 ***** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | ticket_token | Determined from data | $X_129 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_132 | +-----------------------+----------------------+------------------------------------+ X_162 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_receipt | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_receipt | Variable | sequence of $X_128 | +-----------------------+----------------------+------------------------------------+ alpha.operation.alpha.internal_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_162 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_162 | +------------------------------+----------------------+-------------------------------------+ alpha.apply_internal_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 | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +----------------------------------+----------------------+--------------------------------------------------------------+ | amount | Determined from data | $N.t | +----------------------------------+----------------------+--------------------------------------------------------------+ | destination | 22 bytes | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+--------------------------------------------------------------+ | parameters | Determined from data | $X_32 | +----------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.transaction | +----------------------------------+----------------------+--------------------------------------------------------------+ origination (tag 2) =================== +--------------------------------+----------------------+--------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+==============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+--------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +--------------------------------+----------------------+--------------------------------------------------------------+ delegation (tag 3) ================== +--------------------------------+----------------------+-------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+=============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+-------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | ? presence of field "delegate" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------------------+-------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +--------------------------------+----------------------+-------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +--------------------------------+----------------------+-------------------------------------------------------------+ event (tag 4) ============= +-------------------------------+----------------------+--------------------------------------------------------+ | Name | Size | Contents | +===============================+======================+========================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------------------+--------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +-------------------------------+----------------------+--------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +-------------------------------+----------------------+--------------------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "tag" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | tag | Determined from data | $alpha.entrypoint | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "payload" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | payload | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------+----------------------+--------------------------------------------------------+ X_58 **** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_update | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag) ****************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_204 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag) ********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_347 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_493 (54 bytes, 8-bit tag) *************************** v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+ alpha.operation.alpha.operation_result.dal_publish_commitment (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | slot_header | 54 bytes | $X_493 | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | slot_header | 54 bytes | $X_493 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_488 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.dal_publish_commitment | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag) ************************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_624 ***** +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+===================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_recover_bond | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ X_778 (Determined from data, 8-bit tag) *************************************** Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +-----------+----------------------+------------------------+ | Name | Size | Contents | +===========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------+ | whitelist | Determined from data | $X_29 | +-----------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag) ************************************************************************************************************ Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_778 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_778 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_764 ***** +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=============================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ X_924 (1 byte, 8-bit tag) ************************* Conflict_resolved (tag 0) ========================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Timeout (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_925 (Determined from data, 8-bit tag) *************************************** Loser (tag 0) ============= +--------+----------+------------------------+ | Name | Size | Contents | +========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------+------------------------+ | reason | 1 byte | $X_924 | +--------+----------+------------------------+ | player | 21 bytes | $public_key_hash | +--------+----------+------------------------+ Draw (tag 1) ============ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_926 (Determined from data, 8-bit tag) *************************************** Ongoing (tag 0) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Ended (tag 1) ============= +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | result | Determined from data | $X_925 | +--------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | game_status | Determined from data | $X_926 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | game_status | Determined from data | $X_926 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_919 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_timeout | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1218 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+----------------------------------+ | Name | Size | Contents | +===================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+----------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------+----------------------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +-------------------+----------------------+----------------------------------+ | commitment_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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------------------+----------------------+-------------------------------------+ | commitment_hash | 32 bytes | bytes | +------------------------------+----------------------+-------------------------------------+ X_1358 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_cement | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_1493 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1629 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_originate | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.transfer_ticket (Determined from data, 8-bit tag) **************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1769 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transfer_ticket | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.update_consensus_key (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_1920 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.update_consensus_key | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | storage_size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | global_address | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_2463 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.register_global_constant | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2603 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2743 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2963 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_128 | +-----------------------+----------------------+------------------------------------+ alpha.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_2963 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_3 | +-----------------------+----------+------------------------------------+ 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_62 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_2963 | +------------------------------+----------------------+-------------------------------------+ X_2924 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transaction | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_3269 ****** +-----------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+==========+=========================================================================+ | delegate | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_pkh | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------+-------------------------------------------------------------------------+ X_3265 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | committee | Variable | sequence of $X_3269 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | total_consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ alpha.operation_metadata.alpha.balance_updates ********************************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_59 | +-----------------------+----------+------------------------------------+ X_3285 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_key | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ X_3297 ****** +-------------------------------------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=====================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------+ | balance_updates | Variable | sequence of $X_59 | +-------------------------------------------------------------------+----------+-------------------------------------+ | allocated_destination_contract | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------+-------------------------------------+ X_3310 (Enumeration: unsigned 8-bit integer): ********************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | preattestation | +-------------+----------------+ | 1 | attestation | +-------------+----------------+ | 2 | block | +-------------+----------------+ X_3309 ****** +-------+---------+-------------------------------------------------------------+ | Name | Size | Contents | +=======+=========+=============================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_3310) | +-------+---------+-------------------------------------------------------------+ X_3308 ****** +-------------------+----------+------------------+ | Name | Size | Contents | +===================+==========+==================+ | punished_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | rewarded_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | misbehaviour | 9 bytes | $X_3309 | +-------------------+----------+------------------+ alpha.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 big-endian integer | +----------+----------------------+-------------------------------------------------+ | nonce | 32 bytes | bytes | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | metadata | 51 bytes | $X_3308 | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | metadata | 51 bytes | $X_3308 | +-----------------------+----------+---------------------------------------+ 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +==========+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------------------+-------------------------------------------------+ | solution | 200 bytes | $X_43 | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------------------+------------------------+ | Name | Size | Contents | +===============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------------------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_3297 | +---------------+----------------------+------------------------+ Preattestation (tag 20) ======================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3285 | +--------------------+----------------------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3285 | +--------------------+----------------------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3285 | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+-------------------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | shard_with_proof | Determined from data | $X_40 | +-----------------------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +-----------------------+----------------------+-------------------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------------------+------------------------------------------------+ | Name | Size | Contents | +=======================+======================+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------------------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | metadata | Determined from data | $X_3265 | +-----------------------+----------------------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3265 | +-----------------------+----------------------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1493 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_32 | +----------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2924 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2743 | +--------------------------------+----------------------+-------------------------------------+ 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_2603 | +--------------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_2463 | +-----------------------+----------------------+------------------------------------+ 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_1493 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ | metadata | Determined from data | $X_624 | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1920 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1920 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1769 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_28) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_29 | +---------------------------------+----------------------+-----------------------------------------------------------+ | metadata | Determined from data | $X_1629 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_3 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1493 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1358 | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_26 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1218 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_25 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_919 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_19 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_919 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_764 | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_624 | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_18 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_488 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_15 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | metadata | Determined from data | $X_347 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_9 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_204 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_1 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_58 | +---------------+----------------------+------------------------+ X_3323 (Variable, 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 big-endian integer | +-----------------------+----------+------------------------------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.operation_contents_and_result | +-----------------------+----------+------------------------------------------------------------------+ | signature | Variable | 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 big-endian integer | +-----------------------+----------+---------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.contents | +-----------------------+----------+---------------------------------------------+ | signature | Variable | bytes | +-----------------------+----------+---------------------------------------------+ bls_signature_prefix (33 bytes, 8-bit tag) ****************************************** Bls_prefix (tag 3) ================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------+------------------------+ alpha.operation.alpha.contents_or_signature_prefix (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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_43 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_40 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_34 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_35 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_32 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_30 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_28) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_29 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_3 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_26 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_19 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_18 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_15 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_9 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_1 | +---------------+----------------------+------------------------+ Signature_prefix (tag 255) ========================== +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | signature_prefix | 33 bytes | $bls_signature_prefix | +------------------+----------+------------------------+ X_3422 (Variable, 8-bit tag) **************************** Operation with too large metadata (tag 0) ========================================= +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ Operation without metadata (tag 1) ================================== +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ Operation with metadata (tag 2) =============================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | Variable | $X_3323 | +-----------------+----------+------------------------+ operation ********* +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | chain_id | 4 bytes | bytes | +-----------------------+----------+------------------------------------+ | hash | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | branch | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | $X_3422 | +-----------------------+----------+------------------------------------+ X_0 *** +--------------------------+----------+------------------------------------+ | Name | Size | Contents | +==========================+==========+====================================+ | # bytes in next 2 fields | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +--------------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $operation | +--------------------------+----------+------------------------------------+
GET ../<block_id>/operations/<list_offset>?[version=<version>]&[force_metadata]&[metadata=<metadata_rpc_arg>]
All the operations included in `n-th` validation pass of the block.
Optional query arguments :
- version = <version>
- 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.
[ $operation ... ] /* operations_in_pass_encoding_v1 */ $Blinded public key hash: /* A blinded public key hash (Base58Check-encoded) */ $unistring $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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 $Signature.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.apply_internal_results.alpha.operation_result: { /* transaction */ "kind": "transaction", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "amount": $alpha.mutez, "destination": $alpha.transaction_destination, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "result": $alpha.operation.alpha.internal_operation_result.transaction } || { /* origination */ "kind": "origination", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "result": $alpha.operation.alpha.internal_operation_result.origination } || { /* delegation */ "kind": "delegation", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "delegate"?: $Signature.Public_key_hash, "result": $alpha.operation.alpha.internal_operation_result.delegation } || { /* event */ "kind": "event", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "type": $micheline.alpha.michelson_v1.expression, "tag"?: $alpha.entrypoint, "payload"?: $micheline.alpha.michelson_v1.expression, "result": $alpha.operation.alpha.internal_operation_result.event } $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.bond_id: { /* Smart_rollup_bond_id */ "smart_rollup": $smart_rollup_address } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.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 $alpha.frozen_staker: /* frozen_staker Abstract notion of staker used in operation receipts for frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } || { /* Baker */ "baker_own_stake": $Signature.Public_key_hash } || { /* Baker_edge */ "baker_edge": $Signature.Public_key_hash } $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.lazy_storage_diff: [ { /* big_map */ "kind": "big_map", "id": $alpha.big_map_id, "diff": { /* update */ "action": "update", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* remove */ "action": "remove" } || { /* copy */ "action": "copy", "source": $alpha.big_map_id, "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* alloc */ "action": "alloc", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ], "key_type": $micheline.alpha.michelson_v1.expression, "value_type": $micheline.alpha.michelson_v1.expression } } || { /* sapling_state */ "kind": "sapling_state", "id": $alpha.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": $alpha.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] } } ... ] $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.operation.alpha.contents_and_signature: { "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $alpha.operation.alpha.internal_operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.internal_operation_result.event: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.internal_operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.internal_operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_contents_and_result: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Activate_account */ "kind": "activate_account", "pkh": $Ed25519.Public_key_hash, "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.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": { } } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "allocated_destination_contract"?: boolean } } || { /* Reveal */ "kind": "reveal", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.reveal, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transaction, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "delegate"?: $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.delegation, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.register_global_constant, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Set_deposits_limit */ "kind": "set_deposits_limit", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.set_deposits_limit, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.increase_paid_storage, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transfer_ticket, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.dal_publish_commitment, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_originate, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_add_messages, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_cement, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_refute, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_timeout, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_recover_bond, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_update, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } $alpha.operation.alpha.operation_result.dal_publish_commitment: { /* Applied */ "status": "applied", "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.increase_paid_storage: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.operation_result.register_global_constant: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } $alpha.operation.alpha.operation_result.reveal: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.set_deposits_limit: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_add_messages: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_cement: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.smart_rollup_originate: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.smart_rollup_publish: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_recover_bond: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_refute: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_timeout: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_result.transfer_ticket: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.update_consensus_key: { /* Applied */ "status": "applied", "kind": boolean, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "kind": boolean, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.zk_rollup_origination: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_publish: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_update: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_with_metadata: { /* Operation_with_metadata */ "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* Operation_without_metadata */ "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $alpha.operation_metadata.alpha.balance_updates: [ { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "block" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "migration" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "subsidy" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "simulation" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "block" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "migration" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "subsidy" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "simulation" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "block" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "migration" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "subsidy" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "simulation" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "block" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "migration" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "subsidy" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "simulation" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "block" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "migration" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "subsidy" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "simulation" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "block" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "migration" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "subsidy" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "simulation" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "block" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "migration" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "subsidy" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "simulation" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "block" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "migration" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "subsidy" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "simulation" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "block" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "migration" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "subsidy" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "simulation" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "block" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "migration" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "subsidy" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "simulation" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "block" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "migration" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "subsidy" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "simulation" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "block" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "migration" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "subsidy" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "simulation" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "block" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "migration" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "subsidy" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "simulation" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "block" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "migration" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "subsidy" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "simulation" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "block" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "migration" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "subsidy" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "simulation" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "block" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "migration" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "subsidy" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "simulation" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "block" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "migration" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "subsidy" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "simulation" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "block" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "migration" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "subsidy" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "simulation" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "block" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "migration" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "subsidy" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "simulation" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } ... ] $alpha.sapling_state_id: /* Sapling state identifier A sapling state identifier */ $bignum $alpha.scripted.contracts: { "code": any, "storage": any } $alpha.staker: /* unstaked_frozen_staker Abstract notion of staker used in operation receipts for unstaked frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } $alpha.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, a base58 originated transaction rollup, or a base58 originated smart rollup. */ $unistring $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $operation: { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2, "metadata": "too large" } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $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 $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $operation | +-----------------------+----------+------------------------------------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_1 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_3 | +-----------------+----------------------+----------+ X_6 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_6 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_4 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_7 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_10 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_9 *** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_10 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_13 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_8 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_9 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_13 | +-----------------+----------------------+----------+ X_16 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_14 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_16 | +-----------------+----------------------+----------+ X_17 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_18 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_19 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_20 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_19 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_20 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_23 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_22 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_21 | +-----------------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_23 | +--------+----------------------+------------------------+ X_25 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_27 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_28 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_31 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_33 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_34 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_40 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_39 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_40 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_42 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_42 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ alpha.staker (Determined from data, 8-bit tag) ********************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ alpha.bond_id (21 bytes, 8-bit tag) *********************************** Smart_rollup_bond_id (tag 1) ============================ +--------------+----------+------------------------+ | Name | Size | Contents | +==============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------+------------------------+ | smart_rollup | 20 bytes | bytes | +--------------+----------+------------------------+ alpha.frozen_staker (Determined from data, 8-bit tag) ***************************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Baker (tag 2) ============= +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | baker_own_stake | 21 bytes | $public_key_hash | +-----------------+----------+------------------------+ Baker_edge (tag 3) ================== +------------+----------+------------------------+ | Name | Size | Contents | +============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+------------------------+ | baker_edge | 21 bytes | $public_key_hash | +------------+----------+------------------------+ X_59 (Determined from data, 8-bit tag) ************************************** Contract (tag 0) ================ +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Block_fees (tag 2) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Deposits (tag 4) ================ +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.frozen_staker | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Nonce_revelation_rewards (tag 5) ================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Attesting_rewards (tag 7) ========================= +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_rewards (tag 8) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_bonuses (tag 9) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Storage_fees (tag 11) ===================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Double_signing_punishments (tag 12) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_attesting_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) | +---------------+----------+-------------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +---------------+----------+-------------------------------------+ Liquidity_baking_subsidies (tag 14) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Burned (tag 15) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Commitments (tag 16) ==================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | committer | 20 bytes | bytes | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Bootstrap (tag 17) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Invoice (tag 18) ================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Initial_commitments (tag 19) ============================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Minted (tag 20) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Frozen_bonds (tag 21) ===================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | bond_id | 21 bytes | $alpha.bond_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Smart_rollup_refutation_punishments (tag 24) ============================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Smart_rollup_refutation_rewards (tag 25) ======================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Unstaked_deposits (tag 26) ========================== +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.staker | +--------+----------------------+----------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Staking_delegator_numerator (tag 27) ==================================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | delegator | 22 bytes | $alpha.contract_id | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Staking_delegate_denominator (tag 28) ===================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ DAL_attesting_rewards (tag 29) ============================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_DAL_attesting_rewards (tag 30) =================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ X_60 (Determined from data, 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 | +------+--------+------------------------+ Delayed_operation (tag 4) ========================= +------------------------+----------+------------------------+ | Name | Size | Contents | +========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------------+----------+------------------------+ | delayed_operation_hash | 32 bytes | bytes | +------------------------+----------+------------------------+ X_58 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_59 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_60 | +-----------------+----------------------+----------+ X_61 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag) ***************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ alpha.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 | +---------------+----------+------------------------+ Smart_rollup (tag 3) ==================== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | smart_rollup_address | 20 bytes | bytes | +----------------------+----------+------------------------+ | padding | 1 byte | padding | +----------------------+----------+------------------------+ Zk_rollup (tag 4) ================= +----------------+----------+------------------------+ | Name | Size | Contents | +================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------+----------+------------------------+ | Zk_rollup_hash | 20 bytes | bytes | +----------------+----------+------------------------+ | padding | 1 byte | padding | +----------------+----------+------------------------+ alpha.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag) *************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ alpha.operation.alpha.internal_operation_result.delegation (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ sapling.transaction.ciphertext ****************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | cv | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | epk | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | payload_enc | Variable | bytes | +-----------------------+----------+------------------------------------+ | nonce_enc | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ | payload_out | 80 bytes | bytes | +-----------------------+----------+------------------------------------+ | nonce_out | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ X_83 **** +-----------------+----------------------+---------------------------------+ | Name | Size | Contents | +=================+======================+=================================+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------------------+---------------------------------+ | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext | +-----------------+----------------------+---------------------------------+ X_82 **** +-----------------------------+----------+------------------------------------+ | Name | Size | Contents | +=============================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_83 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | nullifiers | Variable | sequence of bytes | +-----------------------------+----------+------------------------------------+ X_88 (Determined from data, 8-bit tag) ************************************** update (tag 0) ============== +---------+----------------------+------------------------+ | Name | Size | Contents | +=========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------+----------------------+------------------------+ | updates | Determined from data | $X_82 | +---------+----------------------+------------------------+ 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_82 | +---------+----------------------+------------------------+ alloc (tag 3) ============= +-----------+----------------------+------------------------------------+ | Name | Size | Contents | +===========+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------------------+ | updates | Determined from data | $X_82 | +-----------+----------------------+------------------------------------+ | memo_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------+----------------------+------------------------------------+ X_89 **** +-----------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============================+======================+==========================================+ | key_hash | 32 bytes | bytes | +-----------------------------+----------------------+------------------------------------------+ | key | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ | ? presence of field "value" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+------------------------------------------+ | value | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ X_100 (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 big-endian integer | +-----------------------+----------+------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------+------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------------------+------------------------------------+ alloc (tag 3) ============= +-----------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=======================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ | value_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ X_101 (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_100 | +------+----------------------+------------------------+ 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_88 | +------+----------------------+------------------------+ alpha.lazy_storage_diff *********************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_101 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.internal_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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ X_128 ***** +--------------+----------------------+------------------------------------------+ | Name | Size | Contents | +==============+======================+==========================================+ | ticketer | 22 bytes | $alpha.contract_id | +--------------+----------------------+------------------------------------------+ | content_type | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | content | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ X_131 ***** +---------+----------------------+--------------------------------+ | Name | Size | Contents | +=========+======================+================================+ | account | 22 bytes | $alpha.transaction_destination | +---------+----------------------+--------------------------------+ | amount | Determined from data | $Z.t | +---------+----------------------+--------------------------------+ X_127 ***** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | ticket_token | Determined from data | $X_128 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_131 | +-----------------------+----------------------+------------------------------------+ X_161 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_receipt | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_receipt | Variable | sequence of $X_127 | +-----------------------+----------------------+------------------------------------+ alpha.operation.alpha.internal_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_161 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_161 | +------------------------------+----------------------+-------------------------------------+ alpha.apply_internal_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 | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +----------------------------------+----------------------+--------------------------------------------------------------+ | amount | Determined from data | $N.t | +----------------------------------+----------------------+--------------------------------------------------------------+ | destination | 22 bytes | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+--------------------------------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.transaction | +----------------------------------+----------------------+--------------------------------------------------------------+ origination (tag 2) =================== +--------------------------------+----------------------+--------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+==============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+--------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +--------------------------------+----------------------+--------------------------------------------------------------+ delegation (tag 3) ================== +--------------------------------+----------------------+-------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+=============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+-------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | ? presence of field "delegate" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------------------+-------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +--------------------------------+----------------------+-------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +--------------------------------+----------------------+-------------------------------------------------------------+ event (tag 4) ============= +-------------------------------+----------------------+--------------------------------------------------------+ | Name | Size | Contents | +===============================+======================+========================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------------------+--------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +-------------------------------+----------------------+--------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +-------------------------------+----------------------+--------------------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "tag" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | tag | Determined from data | $alpha.entrypoint | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "payload" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | payload | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------+----------------------+--------------------------------------------------------+ X_57 **** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_update | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag) ****************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_203 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag) ********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_346 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_492 (54 bytes, 8-bit tag) *************************** v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+ alpha.operation.alpha.operation_result.dal_publish_commitment (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | slot_header | 54 bytes | $X_492 | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | slot_header | 54 bytes | $X_492 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_487 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.dal_publish_commitment | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag) ************************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_623 ***** +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+===================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_recover_bond | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ X_777 (Determined from data, 8-bit tag) *************************************** Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +-----------+----------------------+------------------------+ | Name | Size | Contents | +===========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------+ | whitelist | Determined from data | $X_28 | +-----------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag) ************************************************************************************************************ Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_777 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_777 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_763 ***** +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=============================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ X_923 (1 byte, 8-bit tag) ************************* Conflict_resolved (tag 0) ========================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Timeout (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_924 (Determined from data, 8-bit tag) *************************************** Loser (tag 0) ============= +--------+----------+------------------------+ | Name | Size | Contents | +========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------+------------------------+ | reason | 1 byte | $X_923 | +--------+----------+------------------------+ | player | 21 bytes | $public_key_hash | +--------+----------+------------------------+ Draw (tag 1) ============ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_925 (Determined from data, 8-bit tag) *************************************** Ongoing (tag 0) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Ended (tag 1) ============= +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | result | Determined from data | $X_924 | +--------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | game_status | Determined from data | $X_925 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | game_status | Determined from data | $X_925 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_918 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_timeout | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1217 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+----------------------------------+ | Name | Size | Contents | +===================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+----------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------+----------------------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +-------------------+----------------------+----------------------------------+ | commitment_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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------------------+----------------------+-------------------------------------+ | commitment_hash | 32 bytes | bytes | +------------------------------+----------------------+-------------------------------------+ X_1357 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_cement | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_1492 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1628 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_originate | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.transfer_ticket (Determined from data, 8-bit tag) **************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1768 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transfer_ticket | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.update_consensus_key (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_1919 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.update_consensus_key | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | storage_size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | global_address | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_2462 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.register_global_constant | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2602 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2742 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2962 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-----------------------+----------------------+------------------------------------+ alpha.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_2962 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_2962 | +------------------------------+----------------------+-------------------------------------+ X_2923 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transaction | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_3268 ****** +-----------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+==========+=========================================================================+ | delegate | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_pkh | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------+-------------------------------------------------------------------------+ X_3264 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | committee | Variable | sequence of $X_3268 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | total_consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ alpha.operation_metadata.alpha.balance_updates ********************************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_58 | +-----------------------+----------+------------------------------------+ X_3284 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_key | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ X_3296 ****** +-------------------------------------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=====================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------+ | allocated_destination_contract | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------+-------------------------------------+ X_3309 (Enumeration: unsigned 8-bit integer): ********************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | preattestation | +-------------+----------------+ | 1 | attestation | +-------------+----------------+ | 2 | block | +-------------+----------------+ X_3308 ****** +-------+---------+-------------------------------------------------------------+ | Name | Size | Contents | +=======+=========+=============================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_3309) | +-------+---------+-------------------------------------------------------------+ X_3307 ****** +-------------------+----------+------------------+ | Name | Size | Contents | +===================+==========+==================+ | punished_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | rewarded_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | misbehaviour | 9 bytes | $X_3308 | +-------------------+----------+------------------+ alpha.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 big-endian integer | +----------+----------------------+-------------------------------------------------+ | nonce | 32 bytes | bytes | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | metadata | 51 bytes | $X_3307 | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | metadata | 51 bytes | $X_3307 | +-----------------------+----------+---------------------------------------+ 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +==========+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------------------+-------------------------------------------------+ | solution | 200 bytes | $X_42 | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------------------+------------------------+ | Name | Size | Contents | +===============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------------------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_3296 | +---------------+----------------------+------------------------+ Preattestation (tag 20) ======================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+-------------------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +-----------------------+----------------------+-------------------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------------------+------------------------------------------------+ | Name | Size | Contents | +=======================+======================+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------------------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | metadata | Determined from data | $X_3264 | +-----------------------+----------------------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3264 | +-----------------------+----------------------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1492 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2923 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2742 | +--------------------------------+----------------------+-------------------------------------+ 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_2602 | +--------------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_2462 | +-----------------------+----------------------+------------------------------------+ 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_1492 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ | metadata | Determined from data | $X_623 | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1919 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1919 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1768 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ | metadata | Determined from data | $X_1628 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1492 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1357 | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1217 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_918 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_918 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_763 | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_623 | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_487 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | metadata | Determined from data | $X_346 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_203 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_57 | +---------------+----------------------+------------------------+ X_3322 (Variable, 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 big-endian integer | +-----------------------+----------+------------------------------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.operation_contents_and_result | +-----------------------+----------+------------------------------------------------------------------+ | signature | Variable | 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 big-endian integer | +-----------------------+----------+---------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.contents | +-----------------------+----------+---------------------------------------------+ | signature | Variable | bytes | +-----------------------+----------+---------------------------------------------+ bls_signature_prefix (33 bytes, 8-bit tag) ****************************************** Bls_prefix (tag 3) ================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------+------------------------+ alpha.operation.alpha.contents_or_signature_prefix (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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_42 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ Signature_prefix (tag 255) ========================== +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | signature_prefix | 33 bytes | $bls_signature_prefix | +------------------+----------+------------------------+ X_3421 (Variable, 8-bit tag) **************************** Operation with too large metadata (tag 0) ========================================= +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ Operation without metadata (tag 1) ================================== +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ Operation with metadata (tag 2) =============================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | Variable | $X_3322 | +-----------------+----------+------------------------+ operation ********* +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | chain_id | 4 bytes | bytes | +-----------------------+----------+------------------------------------+ | hash | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | branch | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | $X_3421 | +-----------------------+----------+------------------------------------+
GET ../<block_id>/operations/<list_offset>/<operation_offset>?[version=<version>]&[force_metadata]&[metadata=<metadata_rpc_arg>]
The `m-th` operation in the `n-th` validation pass of the block.
Optional query arguments :
- version = <version>
- 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.
$operation /* operation_encoding_v1 */ $Blinded public key hash: /* A blinded public key hash (Base58Check-encoded) */ $unistring $Bls12_381_signature: /* A Bls12_381 signature (Base58Check-encoded) */ $unistring $Chain_id: /* Network identifier (Base58Check-encoded) */ $unistring $Context_hash: /* A hash of context (Base58Check-encoded) */ $unistring $DAL_commitment: /* Commitment representation for the DAL (Base58Check-encoded) */ $unistring $Ed25519.Public_key_hash: /* An Ed25519 public key 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 $Signature.Public_key: /* A Ed25519, Secp256k1, or P256 public key (Base58Check-encoded) */ $unistring $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $Signature.V2: /* A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded) */ $unistring $Zk_rollup_hash: /* A zk rollup address (Base58Check-encoded) */ $unistring $alpha.adaptive_issuance_vote: "on" || "off" || "pass" $alpha.apply_internal_results.alpha.operation_result: { /* transaction */ "kind": "transaction", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "amount": $alpha.mutez, "destination": $alpha.transaction_destination, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "result": $alpha.operation.alpha.internal_operation_result.transaction } || { /* origination */ "kind": "origination", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "result": $alpha.operation.alpha.internal_operation_result.origination } || { /* delegation */ "kind": "delegation", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "delegate"?: $Signature.Public_key_hash, "result": $alpha.operation.alpha.internal_operation_result.delegation } || { /* event */ "kind": "event", "source": $alpha.transaction_destination, "nonce": integer ∈ [0, 2^16-1], "type": $micheline.alpha.michelson_v1.expression, "tag"?: $alpha.entrypoint, "payload"?: $micheline.alpha.michelson_v1.expression, "result": $alpha.operation.alpha.internal_operation_result.event } $alpha.big_map_id: /* Big map identifier A big map identifier */ $bignum $alpha.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": $alpha.liquidity_baking_vote, "adaptive_issuance_vote": $alpha.adaptive_issuance_vote, "signature": $Signature.V2 } $alpha.bond_id: { /* Smart_rollup_bond_id */ "smart_rollup": $smart_rollup_address } $alpha.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 $alpha.contract_id.originated: /* A contract handle -- originated account A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. */ $unistring $alpha.entrypoint: /* entrypoint Named entrypoint to a Michelson smart contract */ "default" || "root" || "do" || "set_delegate" || "remove_delegate" || "deposit" || "stake" || "unstake" || "finalize_unstake" || "set_delegate_parameters" || $unistring /* named */ $alpha.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 $alpha.frozen_staker: /* frozen_staker Abstract notion of staker used in operation receipts for frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } || { /* Baker */ "baker_own_stake": $Signature.Public_key_hash } || { /* Baker_edge */ "baker_edge": $Signature.Public_key_hash } $alpha.inlined.consensus_operation: /* An operation's shell header. */ { "branch": $block_hash, "operations": $alpha.inlined.consensus_operation.contents, "signature"?: $Signature.V2 } $alpha.inlined.consensus_operation.contents: { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } $alpha.lazy_storage_diff: [ { /* big_map */ "kind": "big_map", "id": $alpha.big_map_id, "diff": { /* update */ "action": "update", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* remove */ "action": "remove" } || { /* copy */ "action": "copy", "source": $alpha.big_map_id, "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ] } || { /* alloc */ "action": "alloc", "updates": [ { "key_hash": $script_expr, "key": $micheline.alpha.michelson_v1.expression, "value"?: $micheline.alpha.michelson_v1.expression } ... ], "key_type": $micheline.alpha.michelson_v1.expression, "value_type": $micheline.alpha.michelson_v1.expression } } || { /* sapling_state */ "kind": "sapling_state", "id": $alpha.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": $alpha.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] } } ... ] $alpha.liquidity_baking_vote: "on" || "off" || "pass" $alpha.michelson.v1.primitives: "SHA256" | "PUSH" | "GET_AND_UPDATE" | "RENAME" | "False" | "CAST" | "ISNAT" | "address" | "PACK" | "EMIT" | "mutez" | "bls12_381_g1" | "Pair" | "IF_CONS" | "bool" | "bytes" | "storage" | "OR" | "view" | "UNPACK" | "ADD" | "DIP" | "map" | "MEM" | "BYTES" | "SENDER" | "ADDRESS" | "CDR" | "SAPLING_EMPTY_STATE" | "or" | "LOOP" | "contract" | "unit" | "SHA512" | "CREATE_ACCOUNT" | "BLAKE2B" | "READ_TICKET" | "LE" | "chain_id" | "timestamp" | "operation" | "set" | "CHAIN_ID" | "chest" | "SELF_ADDRESS" | "SOURCE" | "IMPLICIT_ACCOUNT" | "key" | "AMOUNT" | "CHECK_SIGNATURE" | "sapling_transaction_deprecated" | "LSR" | "EQ" | "Elt" | "OPEN_CHEST" | "NIL" | "CREATE_CONTRACT" | "LSL" | "TRANSFER_TOKENS" | "JOIN_TICKETS" | "SWAP" | "Some" | "parameter" | "pair" | "bls12_381_g2" | "VIEW" | "None" | "SLICE" | "int" | "ABS" | "lambda" | "DUG" | "list" | "CAR" | "GET" | "HASH_KEY" | "CONCAT" | "LEVEL" | "SAPLING_VERIFY_UPDATE" | "TOTAL_VOTING_POWER" | "Lambda_rec" | "SIZE" | "nat" | "STEPS_TO_QUOTA" | "IF_NONE" | "UNPAIR" | "CONS" | "Unit" | "CONTRACT" | "MUL" | "UPDATE" | "EXEC" | "PAIR" | "SPLIT_TICKET" | "RIGHT" | "key_hash" | "AND" | "NEG" | "option" | "BALANCE" | "SET_DELEGATE" | "NEVER" | "MIN_BLOCK_TIME" | "INT" | "chest_key" | "ITER" | "True" | "Right" | "Ticket" | "GT" | "DIG" | "tx_rollup_l2_address" | "SUB" | "EDIV" | "MAP" | "IF_LEFT" | "big_map" | "VOTING_POWER" | "LAMBDA_REC" | "Left" | "ticket" | "TICKET_DEPRECATED" | "bls12_381_fr" | "never" | "DUP" | "LEFT" | "constant" | "signature" | "SHA3" | "LAMBDA" | "NOT" | "KECCAK" | "NOW" | "NAT" | "GE" | "string" | "sapling_transaction" | "NEQ" | "IF" | "FAILWITH" | "NONE" | "SUB_MUTEZ" | "XOR" | "LOOP_LEFT" | "PAIRING_CHECK" | "DROP" | "EMPTY_BIG_MAP" | "UNIT" | "sapling_state" | "TICKET" | "EMPTY_MAP" | "APPLY" | "LT" | "SOME" | "IS_IMPLICIT_ACCOUNT" | "COMPARE" | "EMPTY_SET" | "SELF" | "code" $alpha.mutez: $positive_bignum $alpha.operation.alpha.contents: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ] } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ] } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ] } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment } } || { /* 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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.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": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash } || { /* Failing_noop */ "kind": "failing_noop", "arbitrary": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ] } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30] } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ] } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } } $alpha.operation.alpha.contents_and_signature: { "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $alpha.operation.alpha.internal_operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.internal_operation_result.event: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.internal_operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.internal_operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_receipt"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_receipt": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_contents_and_result: { /* Attestation */ "kind": "attestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestation_with_dal */ "kind": "attestation_with_dal", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "dal_attestation": $bignum, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Preattestation */ "kind": "preattestation", "slot": integer ∈ [0, 2^16-1], "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "delegate": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30], "consensus_key": $Signature.Public_key_hash } } || { /* Attestations_aggregate */ "kind": "attestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ { "slot": integer ∈ [0, 2^16-1], "dal_attestation"?: $bignum } ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Preattestations_aggregate */ "kind": "preattestations_aggregate", "consensus_content": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "block_payload_hash": $value_hash }, "committee": [ integer ∈ [0, 2^16-1] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "committee": [ { "delegate": $Signature.Public_key_hash, "consensus_pkh": $Signature.Public_key_hash, "consensus_power": integer ∈ [-2^30, 2^30] } ... ], "total_consensus_power": integer ∈ [-2^30, 2^30] } } || { /* Double_consensus_operation_evidence */ "kind": "double_consensus_operation_evidence", "slot": integer ∈ [0, 2^16-1], "op1": $alpha.inlined.consensus_operation, "op2": $alpha.inlined.consensus_operation, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Dal_entrapment_evidence */ "kind": "dal_entrapment_evidence", "attestation": $alpha.inlined.consensus_operation, "consensus_slot": integer ∈ [0, 2^16-1], "slot_index": integer ∈ [0, 255], "shard_with_proof": { "shard": [ integer ∈ [-2^30, 2^30], [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] ], "proof": $DAL_commitment }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Seed_nonce_revelation */ "kind": "seed_nonce_revelation", "level": integer ∈ [0, 2^31], "nonce": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Vdf_revelation */ "kind": "vdf_revelation", "solution": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/, /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } } || { /* Double_baking_evidence */ "kind": "double_baking_evidence", "bh1": $alpha.block_header.alpha.full_header, "bh2": $alpha.block_header.alpha.full_header, "metadata": { "punished_delegate": $Signature.Public_key_hash, "rewarded_delegate": $Signature.Public_key_hash, "misbehaviour": { "level": integer ∈ [0, 2^31], "round": integer ∈ [-2^31-1, 2^31], "kind": "attestation" | "block" | "preattestation" } } } || { /* Activate_account */ "kind": "activate_account", "pkh": $Ed25519.Public_key_hash, "secret": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.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": { } } || { /* Drain_delegate */ "kind": "drain_delegate", "consensus_key": $Signature.Public_key_hash, "delegate": $Signature.Public_key_hash, "destination": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "allocated_destination_contract"?: boolean } } || { /* Reveal */ "kind": "reveal", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_key": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.reveal, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transaction */ "kind": "transaction", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $alpha.mutez, "destination": $alpha.contract_id, "parameters"?: { "entrypoint": $alpha.entrypoint, "value": any }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transaction, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Origination */ "kind": "origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "balance": $alpha.mutez, "delegate"?: $Signature.Public_key_hash, "script": $alpha.scripted.contracts, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Delegation */ "kind": "delegation", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "delegate"?: $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.delegation, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Register_global_constant */ "kind": "register_global_constant", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "value": any, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.register_global_constant, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Set_deposits_limit */ "kind": "set_deposits_limit", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "limit"?: $alpha.mutez, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.set_deposits_limit, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Increase_paid_storage */ "kind": "increase_paid_storage", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "amount": $bignum, "destination": $alpha.contract_id.originated, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.increase_paid_storage, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_consensus_key */ "kind": "update_consensus_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Update_companion_key */ "kind": "update_companion_key", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pk": $Signature.Public_key, "proof"?: $Bls12_381_signature, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.update_consensus_key, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Transfer_ticket */ "kind": "transfer_ticket", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "ticket_contents": any, "ticket_ty": any, "ticket_ticketer": $alpha.contract_id, "ticket_amount": $positive_bignum, "destination": $alpha.contract_id, "entrypoint": $unistring, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.transfer_ticket, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Dal_publish_commitment */ "kind": "dal_publish_commitment", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "slot_header": { "slot_index": integer ∈ [0, 255], "commitment": $DAL_commitment, "commitment_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.dal_publish_commitment, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_originate */ "kind": "smart_rollup_originate", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "pvm_kind": "wasm_2_0_0" | "arith" | "riscv", "kernel": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "parameters_ty": any, "whitelist"?: [ $Signature.Public_key_hash ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_originate, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_add_messages */ "kind": "smart_rollup_add_messages", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "message": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_add_messages, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_cement */ "kind": "smart_rollup_cement", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_cement, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_publish */ "kind": "smart_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "commitment": { "compressed_state": $smart_rollup_state_hash, "inbox_level": integer ∈ [0, 2^31], "predecessor": $smart_rollup_commitment_hash, "number_of_ticks": $int64 }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_refute */ "kind": "smart_rollup_refute", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "opponent": $Signature.Public_key_hash, "refutation": { /* Start */ "refutation_kind": "start", "player_commitment_hash": $smart_rollup_commitment_hash, "opponent_commitment_hash": $smart_rollup_commitment_hash } || { /* Move */ "refutation_kind": "move", "choice": $positive_bignum, "step": [ { "state"?: $smart_rollup_state_hash, "tick": $positive_bignum } ... ] /* Dissection */ || { /* Proof */ "pvm_step": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "input_proof"?: { /* inbox proof */ "input_proof_kind": "inbox_proof", "level": integer ∈ [0, 2^31], "message_counter": $positive_bignum, "serialized_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* reveal proof */ "input_proof_kind": "reveal_proof", "reveal_proof": { /* raw data proof */ "reveal_proof_kind": "raw_data_proof", "raw_data": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* metadata proof */ "reveal_proof_kind": "metadata_proof" } || { /* dal page proof */ "reveal_proof_kind": "dal_page_proof", "dal_page_id": { "published_level": integer ∈ [0, 2^31], "slot_index": integer ∈ [0, 255], "page_index": integer ∈ [-2^15, 2^15-1] }, "dal_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || { /* dal parameters proof */ "reveal_proof_kind": "dal_parameters_proof" } } || { /* first input */ "input_proof_kind": "first_input" } } }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_refute, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_timeout */ "kind": "smart_rollup_timeout", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "stakers": { "alice": $Signature.Public_key_hash, "bob": $Signature.Public_key_hash }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_timeout, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_execute_outbox_message */ "kind": "smart_rollup_execute_outbox_message", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "cemented_commitment": $smart_rollup_commitment_hash, "output_proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Smart_rollup_recover_bond */ "kind": "smart_rollup_recover_bond", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "rollup": $smart_rollup_address, "staker": $Signature.Public_key_hash, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.smart_rollup_recover_bond, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_origination */ "kind": "zk_rollup_origination", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "public_parameters": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "circuits_info": [ [ $unistring, { /* Public */ "public": any } || { /* Private */ "private": any } || { /* Fee */ "fee": any } ] ... ], "init_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "nb_ops": integer ∈ [-2^30, 2^30], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_origination, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_publish */ "kind": "zk_rollup_publish", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "op": [ [ { "op_code": integer ∈ [-2^30, 2^30], "price": { "id": $script_expr, "amount": $bignum }, "l1_dst": $Signature.Public_key_hash, "rollup_id": $Zk_rollup_hash, "payload": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, { /* Some */ "contents": $micheline.alpha.michelson_v1.expression, "ty": $micheline.alpha.michelson_v1.expression, "ticketer": $alpha.contract_id } || null /* None */ ] ... ], "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_publish, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } || { /* Zk_rollup_update */ "kind": "zk_rollup_update", "source": $Signature.Public_key_hash, "fee": $alpha.mutez, "counter": $positive_bignum, "gas_limit": $positive_bignum, "storage_limit": $positive_bignum, "zk_rollup": $Zk_rollup_hash, "update": { "pending_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/, "exit_validity": boolean } ] ... ], "private_pis": [ [ $unistring, { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ], "fee": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } ] ... ], "fee_pi": { "new_state": [ /^([a-zA-Z0-9][a-zA-Z0-9])*$/ ... ] }, "proof": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ }, "metadata": { "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "operation_result": $alpha.operation.alpha.operation_result.zk_rollup_update, "internal_operation_results"?: [ $alpha.apply_internal_results.alpha.operation_result ... ] } } $alpha.operation.alpha.operation_result.dal_publish_commitment: { /* Applied */ "status": "applied", "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "slot_header": { /* v0 */ "version": "0", "level": integer ∈ [0, 2^31], "index": integer ∈ [0, 255], "commitment": $DAL_commitment }, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.delegation: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.increase_paid_storage: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.origination: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "lazy_storage_diff"?: $alpha.lazy_storage_diff } $alpha.operation.alpha.operation_result.register_global_constant: { /* Applied */ "status": "applied", "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "global_address": $script_expr } $alpha.operation.alpha.operation_result.reveal: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.set_deposits_limit: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_add_messages: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_cement: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "inbox_level": integer ∈ [0, 2^31], "commitment_hash": $smart_rollup_commitment_hash } $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "whitelist_update"?: { /* Public */ "kind": "public" } || { /* Private */ "kind": "update", "whitelist": [ $Signature.Public_key_hash ... ] }, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.smart_rollup_originate: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "address": $smart_rollup_address, "genesis_commitment_hash": $smart_rollup_commitment_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.smart_rollup_publish: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "staked_hash": $smart_rollup_commitment_hash, "published_at_level": integer ∈ [0, 2^31], "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_recover_bond: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.smart_rollup_refute: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.smart_rollup_timeout: { /* Applied */ "status": "applied", "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "game_status": "ongoing" || { /* Ended */ "result": { /* Loser */ "kind": "loser", "reason": "conflict_resolved" || "timeout", "player": $Signature.Public_key_hash } || { /* Draw */ "kind": "draw" } }, "balance_updates": $alpha.operation_metadata.alpha.balance_updates } $alpha.operation.alpha.operation_result.transaction: /* Applied */ { /* To_contract */ "status": "applied", "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "applied", "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || /* Backtracked */ { /* To_contract */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "storage"?: $micheline.alpha.michelson_v1.expression, "balance_updates"?: $alpha.operation_metadata.alpha.balance_updates, "ticket_updates"?: [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "originated_contracts"?: [ $alpha.contract_id.originated ... ], "consumed_milligas"?: $positive_bignum, "storage_size"?: $bignum, "paid_storage_size_diff"?: $bignum, "allocated_destination_contract"?: boolean, "lazy_storage_diff"?: $alpha.lazy_storage_diff } || { /* To_smart_rollup */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "consumed_milligas"?: $positive_bignum, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ] } $alpha.operation.alpha.operation_result.transfer_ticket: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "ticket_updates": [ { "ticket_token": { "ticketer": $alpha.contract_id, "content_type": $micheline.alpha.michelson_v1.expression, "content": $micheline.alpha.michelson_v1.expression }, "updates": [ { "account": $alpha.transaction_destination, "amount": $bignum } ... ] } ... ], "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_result.update_consensus_key: { /* Applied */ "status": "applied", "kind": boolean, "consumed_milligas"?: $positive_bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "kind": boolean, "consumed_milligas"?: $positive_bignum } $alpha.operation.alpha.operation_result.zk_rollup_origination: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "originated_zk_rollup": $Zk_rollup_hash, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_publish: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "size": $bignum } $alpha.operation.alpha.operation_result.zk_rollup_update: { /* Applied */ "status": "applied", "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } || { /* Failed */ "status": "failed", "errors": [ $alpha.error ... ] } || { /* Skipped */ "status": "skipped" } || { /* Backtracked */ "status": "backtracked", "errors"?: [ $alpha.error ... ], "balance_updates": $alpha.operation_metadata.alpha.balance_updates, "consumed_milligas"?: $positive_bignum, "paid_storage_size_diff"?: $bignum } $alpha.operation.alpha.operation_with_metadata: { /* Operation_with_metadata */ "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* Operation_without_metadata */ "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $alpha.operation_metadata.alpha.balance_updates: [ { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Contract */ "kind": "contract", "contract": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "block" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "migration" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "subsidy" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "simulation" } || { /* Block_fees */ "kind": "accumulator", "category": "block fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "block" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "migration" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "subsidy" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "simulation" } || { /* Deposits */ "kind": "freezer", "category": "deposits", "staker": $alpha.frozen_staker, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "block" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "migration" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "subsidy" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "simulation" } || { /* Nonce_revelation_rewards */ "kind": "minted", "category": "nonce revelation rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "block" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "migration" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "subsidy" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "simulation" } || { /* Attesting_rewards */ "kind": "minted", "category": "attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "block" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "migration" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "subsidy" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "simulation" } || { /* Baking_rewards */ "kind": "minted", "category": "baking rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "block" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "migration" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "subsidy" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "simulation" } || { /* Baking_bonuses */ "kind": "minted", "category": "baking bonuses", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "block" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "migration" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "subsidy" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "simulation" } || { /* Storage_fees */ "kind": "burned", "category": "storage fees", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "block" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "migration" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "subsidy" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "simulation" } || { /* Double_signing_punishments */ "kind": "burned", "category": "punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "block" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "migration" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "subsidy" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "simulation" } || { /* Lost_attesting_rewards */ "kind": "burned", "category": "lost attesting rewards", "delegate": $Signature.Public_key_hash, "participation": boolean, "revelation": boolean, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "block" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "migration" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "subsidy" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "simulation" } || { /* Liquidity_baking_subsidies */ "kind": "minted", "category": "subsidy", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "block" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "migration" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "subsidy" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "simulation" } || { /* Burned */ "kind": "burned", "category": "burned", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "block" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "migration" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "subsidy" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "simulation" } || { /* Commitments */ "kind": "commitment", "category": "commitment", "committer": $Blinded public key hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "block" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "migration" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "subsidy" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "simulation" } || { /* Bootstrap */ "kind": "minted", "category": "bootstrap", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "block" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "migration" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "subsidy" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "simulation" } || { /* Invoice */ "kind": "minted", "category": "invoice", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "block" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "migration" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "subsidy" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "simulation" } || { /* Initial_commitments */ "kind": "minted", "category": "commitment", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "block" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "migration" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "subsidy" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "simulation" } || { /* Minted */ "kind": "minted", "category": "minted", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "block" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "migration" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "subsidy" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "simulation" } || { /* Frozen_bonds */ "kind": "freezer", "category": "bonds", "contract": $alpha.contract_id, "bond_id": $alpha.bond_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_punishments */ "kind": "burned", "category": "smart_rollup_refutation_punishments", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "block" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "migration" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "subsidy" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "simulation" } || { /* Smart_rollup_refutation_rewards */ "kind": "minted", "category": "smart_rollup_refutation_rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "block" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "migration" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "subsidy" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "simulation" } || { /* Unstaked_deposits */ "kind": "freezer", "category": "unstaked_deposits", "staker": $alpha.staker, "cycle": integer ∈ [-2^31-1, 2^31], "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "block" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "migration" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "subsidy" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "simulation" } || { /* Staking_delegator_numerator */ "kind": "staking", "category": "delegator_numerator", "delegator": $alpha.contract_id, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Staking_delegate_denominator */ "kind": "staking", "category": "delegate_denominator", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "block" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "migration" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "subsidy" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "simulation" } || { /* DAL_attesting_rewards */ "kind": "minted", "category": "DAL attesting rewards", "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "block" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "migration" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "subsidy" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "simulation" } || { /* Lost_DAL_attesting_rewards */ "kind": "burned", "category": "lost DAL attesting rewards", "delegate": $Signature.Public_key_hash, "change": $int64, "origin": "delayed_operation", "delayed_operation_hash": $Operation_hash } ... ] $alpha.sapling_state_id: /* Sapling state identifier A sapling state identifier */ $bignum $alpha.scripted.contracts: { "code": any, "storage": any } $alpha.staker: /* unstaked_frozen_staker Abstract notion of staker used in operation receipts for unstaked frozen deposits, either a single staker or all the stakers delegating to some delegate. */ { /* Single */ "contract": $alpha.contract_id, "delegate": $Signature.Public_key_hash } || { /* Shared */ "delegate": $Signature.Public_key_hash } $alpha.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, a base58 originated transaction rollup, or a base58 originated smart rollup. */ $unistring $bignum: /* Big number Decimal representation of a big number */ string $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])*$/ ... ] $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string $micheline.alpha.michelson_v1.expression: { /* Int */ "int": $bignum } || { /* String */ "string": $unistring } || { /* Bytes */ "bytes": /^([a-zA-Z0-9][a-zA-Z0-9])*$/ } || [ $micheline.alpha.michelson_v1.expression ... ] /* Sequence */ || { /* Prim__generic Generic primitive (any number of args with or without annotations) */ "prim": $alpha.michelson.v1.primitives, "args"?: [ $micheline.alpha.michelson_v1.expression ... ], "annots"?: [ $unistring ... ] } $operation: { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2, "metadata": "too large" } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.operation_contents_and_result ... ], "signature"?: $Signature.V2 } || { /* An operation's shell header. */ "protocol": "ProtoALphaALphaALphaALphaALphaALphaALphaALphaDdp3zK", "chain_id": $Chain_id, "hash": $Operation_hash, "branch": $block_hash, "contents": [ $alpha.operation.alpha.contents ... ], "signature"?: $Signature.V2 } $positive_bignum: /* Positive big number Decimal representation of a positive big number */ string $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 $smart_rollup_address: /* A smart rollup address (Base58Check-encoded) */ $unistring $smart_rollup_commitment_hash: /* The hash of a commitment of a smart rollup (Base58Check-encoded) */ $unistring $smart_rollup_state_hash: /* The hash of the VM state of a smart 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 | +=======================+==========+====================================+ | chain_id | 4 bytes | bytes | +-----------------------+----------+------------------------------------+ | hash | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | branch | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | $X_3421 | +-----------------------+----------+------------------------------------+ 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 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_2 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ X_3 *** +-----------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================+==========+=====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+-------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+-------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+-------------------------------------+ | exit_validity | 1 byte | boolean (0 for false, 255 for true) | +-----------------------+----------+-------------------------------------+ X_1 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_3 | +-----------------+----------------------+----------+ X_6 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | new_state | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ | fee | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ X_4 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_6 | +-----------------+----------------------+----------+ X_7 *** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of bytes | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | pending_pis | Variable | sequence of $X_1 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | private_pis | Variable | sequence of $X_4 | +-----------------------+----------------------+------------------------------------+ | fee_pi | Determined from data | $X_7 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ 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_10 **** +--------+----------------------+----------+ | Name | Size | Contents | +========+======================+==========+ | id | 32 bytes | bytes | +--------+----------------------+----------+ | amount | Determined from data | $Z.t | +--------+----------------------+----------+ X_9 *** +-----------------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=========================================================================+ | op_code | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | price | Determined from data | $X_10 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | l1_dst | 21 bytes | $public_key_hash | +-----------------------+----------------------+-------------------------------------------------------------------------+ | rollup_id | 20 bytes | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | payload | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ alpha.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_DEPRECATED | +-------------+--------------------------------+ | 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 | +-------------+--------------------------------+ | 151 | EMIT | +-------------+--------------------------------+ | 152 | Lambda_rec | +-------------+--------------------------------+ | 153 | LAMBDA_REC | +-------------+--------------------------------+ | 154 | TICKET | +-------------+--------------------------------+ | 155 | BYTES | +-------------+--------------------------------+ | 156 | NAT | +-------------+--------------------------------+ | 157 | Ticket | +-------------+--------------------------------+ | 158 | IS_IMPLICIT_ACCOUNT | +-------------+--------------------------------+ micheline.alpha.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 big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------------------------+ | Unnamed field 0 | Variable | sequence of $micheline.alpha.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 alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.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 alpha.michelson.v1.primitives) | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg1 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | arg2 | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 alpha.michelson.v1.primitives) | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------------------------------------------+ | args | Variable | sequence of $micheline.alpha.michelson_v1.expression | +-----------------------+----------+------------------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian 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 big-endian integer | +-----------------------+----------+------------------------------------+ | bytes | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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_13 (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 | +----------+----------------------+------------------------------------------+ | contents | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ty | Determined from data | $micheline.alpha.michelson_v1.expression | +----------+----------------------+------------------------------------------+ | ticketer | 22 bytes | $alpha.contract_id | +----------+----------------------+------------------------------------------+ X_8 *** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_9 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_13 | +-----------------+----------------------+----------+ X_16 (1 byte, 8-bit tag) ************************ Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Fee (tag 2) =========== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_14 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_2 | +-----------------+----------------------+----------+ | Unnamed field 1 | 1 byte | $X_16 | +-----------------+----------------------+----------+ X_17 **** +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | slot_index | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | commitment | 48 bytes | bytes | +------------------+----------+------------------------+ | commitment_proof | 96 bytes | bytes | +------------------+----------+------------------------+ X_18 **** +-------+----------+------------------+ | Name | Size | Contents | +=======+==========+==================+ | alice | 21 bytes | $public_key_hash | +-------+----------+------------------+ | bob | 21 bytes | $public_key_hash | +-------+----------+------------------+ X_19 **** +-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | published_level | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------+---------+----------------------------------+ | page_index | 2 bytes | signed 16-bit big-endian integer | +-----------------+---------+----------------------------------+ X_20 (Determined from data, 8-bit tag) ************************************** raw data proof (tag 0) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | raw_data | Variable | bytes | +-----------------------+----------+------------------------------------+ metadata proof (tag 1) ====================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ dal page proof (tag 2) ====================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | dal_page_id | 7 bytes | $X_19 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | dal_proof | Variable | bytes | +-----------------------+----------+------------------------------------+ dal parameters proof (tag 3) ============================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_21 (Determined from data, 8-bit tag) ************************************** inbox proof (tag 0) =================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message_counter | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | serialized_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ reveal proof (tag 1) ==================== +--------------+----------------------+------------------------+ | Name | Size | Contents | +==============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------------------+------------------------+ | reveal_proof | Determined from data | $X_20 | +--------------+----------------------+------------------------+ first input (tag 2) =================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_22 **** +-----------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=============================+======================+=====================================+ | ? presence of field "state" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | state | 32 bytes | bytes | +-----------------------------+----------------------+-------------------------------------+ | tick | Determined from data | $N.t | +-----------------------------+----------------------+-------------------------------------+ X_23 (Determined from data, 8-bit tag) ************************************** Dissection (tag 0) ================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_22 | +-----------------------+----------+------------------------------------+ Proof (tag 1) ============= +-----------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------------+----------------------+-------------------------------------+ | pvm_step | Variable | bytes | +-----------------------------------+----------------------+-------------------------------------+ | ? presence of field "input_proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------------+----------------------+-------------------------------------+ | input_proof | Determined from data | $X_21 | +-----------------------------------+----------------------+-------------------------------------+ X_24 (Determined from data, 8-bit tag) ************************************** Start (tag 0) ============= +--------------------------+----------+------------------------+ | Name | Size | Contents | +==========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------+----------+------------------------+ | player_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ | opponent_commitment_hash | 32 bytes | bytes | +--------------------------+----------+------------------------+ Move (tag 1) ============ +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | choice | Determined from data | $N.t | +--------+----------------------+------------------------+ | step | Determined from data | $X_23 | +--------+----------------------+------------------------+ X_25 **** +------------------+----------+----------------------------------+ | Name | Size | Contents | +==================+==========+==================================+ | compressed_state | 32 bytes | bytes | +------------------+----------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------+----------+----------------------------------+ | predecessor | 32 bytes | bytes | +------------------+----------+----------------------------------+ | number_of_ticks | 8 bytes | signed 64-bit big-endian integer | +------------------+----------+----------------------------------+ X_27 (Enumeration: unsigned 8-bit integer): ******************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | arith | +-------------+----------------+ | 1 | wasm_2_0_0 | +-------------+----------------+ | 2 | riscv | +-------------+----------------+ X_28 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $public_key_hash | +-----------------------+----------+------------------------------------+ 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 | +-----------------+----------+------------------------+ Bls (tag 3) =========== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | Bls12_381.Public_key | 48 bytes | bytes | +----------------------+----------+------------------------+ X_29 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Bls12_381_signature | 96 bytes | bytes | +-----------------------+----------+------------------------------------+ alpha.contract_id.originated (22 bytes, 8-bit tag) ************************************************** Originated (tag 1) ================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | Contract_hash | 20 bytes | bytes | +---------------+----------+------------------------+ | padding | 1 byte | padding | +---------------+----------+------------------------+ alpha.scripted.contracts ************************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | code | Variable | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | storage | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.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 | +------+--------+------------------------+ deposit (tag 5) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ stake (tag 6) ============= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ unstake (tag 7) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ finalize_unstake (tag 8) ======================== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ set_delegate_parameters (tag 9) =============================== +------+--------+------------------------+ | 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 | +-----------------------+----------+------------------------+ X_31 **** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | entrypoint | Determined from data | $alpha.entrypoint | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ X_33 **** +--------------------+----------+----------------------------------+ | Name | Size | Contents | +====================+==========+==================================+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+----------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+----------------------------------+ X_34 **** +---------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +=======================================+======================+=====================================+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +---------------------------------------+----------------------+-------------------------------------+ | ? presence of field "dal_attestation" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------------+----------------------+-------------------------------------+ | dal_attestation | Determined from data | $Z.t | +---------------------------------------+----------------------+-------------------------------------+ alpha.inlined.consensus_operation.contents (Determined from data, 8-bit tag) **************************************************************************** Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ alpha.inlined.consensus_operation ********************************* +------------+----------------------+---------------------------------------------+ | Name | Size | Contents | +============+======================+=============================================+ | branch | 32 bytes | bytes | +------------+----------------------+---------------------------------------------+ | operations | Determined from data | $alpha.inlined.consensus_operation.contents | +------------+----------------------+---------------------------------------------+ | signature | Variable | bytes | +------------+----------------------+---------------------------------------------+ X_40 **** +-----------------+----------------------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+======================+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------------------+-------------------------------------------------------------------------+ | Unnamed field 1 | Determined from data | $X_7 | +-----------------+----------------------+-------------------------------------------------------------------------+ X_39 **** +-------+----------------------+----------+ | Name | Size | Contents | +=======+======================+==========+ | shard | Determined from data | $X_40 | +-------+----------------------+----------+ | proof | 48 bytes | bytes | +-------+----------------------+----------+ X_42 **** +-----------------+-----------+----------+ | Name | Size | Contents | +=================+===========+==========+ | Unnamed field 0 | 100 bytes | bytes | +-----------------+-----------+----------+ | Unnamed field 1 | 100 bytes | bytes | +-----------------+-----------+----------+ fitness.elem ************ +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | bytes | +-----------------------+----------+------------------------------------+ alpha.per_block_votes (1 byte, 8-bit tag) ***************************************** case_0 (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_1 (tag 1) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_2 (tag 2) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_4 (tag 4) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_5 (tag 5) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_6 (tag 6) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_8 (tag 8) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_9 (tag 9) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ case_10 (tag 10) ================ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ alpha.block_header.alpha.full_header ************************************ +---------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +=======================================+==========+=====================================+ | level | 4 bytes | signed 32-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | proto | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | predecessor | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | timestamp | 8 bytes | signed 64-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | validation_pass | 1 byte | unsigned 8-bit integer | +---------------------------------------+----------+-------------------------------------+ | operations_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | # bytes in field "fitness" | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------------+----------+-------------------------------------+ | fitness | Variable | sequence of $fitness.elem | +---------------------------------------+----------+-------------------------------------+ | context | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_hash | 32 bytes | bytes | +---------------------------------------+----------+-------------------------------------+ | payload_round | 4 bytes | signed 32-bit big-endian 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 | +---------------------------------------+----------+-------------------------------------+ | per_block_votes | 1 byte | $alpha.per_block_votes | +---------------------------------------+----------+-------------------------------------+ | signature | Variable | bytes | +---------------------------------------+----------+-------------------------------------+ alpha.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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_42 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ alpha.staker (Determined from data, 8-bit tag) ********************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ alpha.bond_id (21 bytes, 8-bit tag) *********************************** Smart_rollup_bond_id (tag 1) ============================ +--------------+----------+------------------------+ | Name | Size | Contents | +==============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------+----------+------------------------+ | smart_rollup | 20 bytes | bytes | +--------------+----------+------------------------+ alpha.frozen_staker (Determined from data, 8-bit tag) ***************************************************** Single (tag 0) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Shared (tag 1) ============== +----------+----------+------------------------+ | Name | Size | Contents | +==========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+------------------------+ Baker (tag 2) ============= +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | baker_own_stake | 21 bytes | $public_key_hash | +-----------------+----------+------------------------+ Baker_edge (tag 3) ================== +------------+----------+------------------------+ | Name | Size | Contents | +============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+------------------------+ | baker_edge | 21 bytes | $public_key_hash | +------------+----------+------------------------+ X_59 (Determined from data, 8-bit tag) ************************************** Contract (tag 0) ================ +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Block_fees (tag 2) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Deposits (tag 4) ================ +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.frozen_staker | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Nonce_revelation_rewards (tag 5) ================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Attesting_rewards (tag 7) ========================= +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_rewards (tag 8) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Baking_bonuses (tag 9) ====================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Storage_fees (tag 11) ===================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Double_signing_punishments (tag 12) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_attesting_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) | +---------------+----------+-------------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +---------------+----------+-------------------------------------+ Liquidity_baking_subsidies (tag 14) =================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Burned (tag 15) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Commitments (tag 16) ==================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | committer | 20 bytes | bytes | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Bootstrap (tag 17) ================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Invoice (tag 18) ================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Initial_commitments (tag 19) ============================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Minted (tag 20) =============== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Frozen_bonds (tag 21) ===================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | contract | 22 bytes | $alpha.contract_id | +----------+----------+----------------------------------+ | bond_id | 21 bytes | $alpha.bond_id | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ Smart_rollup_refutation_punishments (tag 24) ============================================ +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Smart_rollup_refutation_rewards (tag 25) ======================================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Unstaked_deposits (tag 26) ========================== +--------+----------------------+----------------------------------+ | Name | Size | Contents | +========+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+----------------------------------+ | staker | Determined from data | $alpha.staker | +--------+----------------------+----------------------------------+ | cycle | 4 bytes | signed 32-bit big-endian integer | +--------+----------------------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+----------------------+----------------------------------+ Staking_delegator_numerator (tag 27) ==================================== +-----------+----------+----------------------------------+ | Name | Size | Contents | +===========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------+----------------------------------+ | delegator | 22 bytes | $alpha.contract_id | +-----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +-----------+----------+----------------------------------+ Staking_delegate_denominator (tag 28) ===================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ DAL_attesting_rewards (tag 29) ============================== +--------+---------+----------------------------------+ | Name | Size | Contents | +========+=========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+---------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +--------+---------+----------------------------------+ Lost_DAL_attesting_rewards (tag 30) =================================== +----------+----------+----------------------------------+ | Name | Size | Contents | +==========+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------+----------------------------------+ | delegate | 21 bytes | $public_key_hash | +----------+----------+----------------------------------+ | change | 8 bytes | signed 64-bit big-endian integer | +----------+----------+----------------------------------+ X_60 (Determined from data, 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 | +------+--------+------------------------+ Delayed_operation (tag 4) ========================= +------------------------+----------+------------------------+ | Name | Size | Contents | +========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------------+----------+------------------------+ | delayed_operation_hash | 32 bytes | bytes | +------------------------+----------+------------------------+ X_58 **** +-----------------+----------------------+----------+ | Name | Size | Contents | +=================+======================+==========+ | Unnamed field 0 | Determined from data | $X_59 | +-----------------+----------------------+----------+ | Unnamed field 1 | Determined from data | $X_60 | +-----------------+----------------------+----------+ X_61 **** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_update (Determined from data, 8-bit tag) ***************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ alpha.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 | +---------------+----------+------------------------+ Smart_rollup (tag 3) ==================== +----------------------+----------+------------------------+ | Name | Size | Contents | +======================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------------+----------+------------------------+ | smart_rollup_address | 20 bytes | bytes | +----------------------+----------+------------------------+ | padding | 1 byte | padding | +----------------------+----------+------------------------+ Zk_rollup (tag 4) ================= +----------------+----------+------------------------+ | Name | Size | Contents | +================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------------+----------+------------------------+ | Zk_rollup_hash | 20 bytes | bytes | +----------------+----------+------------------------+ | padding | 1 byte | padding | +----------------+----------+------------------------+ alpha.operation.alpha.internal_operation_result.event (Determined from data, 8-bit tag) *************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ alpha.operation.alpha.internal_operation_result.delegation (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ sapling.transaction.ciphertext ****************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | cv | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | epk | 32 bytes | bytes | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | payload_enc | Variable | bytes | +-----------------------+----------+------------------------------------+ | nonce_enc | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ | payload_out | 80 bytes | bytes | +-----------------------+----------+------------------------------------+ | nonce_out | 24 bytes | bytes | +-----------------------+----------+------------------------------------+ X_83 **** +-----------------+----------------------+---------------------------------+ | Name | Size | Contents | +=================+======================+=================================+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------------------+---------------------------------+ | Unnamed field 1 | Determined from data | $sapling.transaction.ciphertext | +-----------------+----------------------+---------------------------------+ X_82 **** +-----------------------------+----------+------------------------------------+ | Name | Size | Contents | +=============================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | commitments_and_ciphertexts | Variable | sequence of $X_83 | +-----------------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------------+----------+------------------------------------+ | nullifiers | Variable | sequence of bytes | +-----------------------------+----------+------------------------------------+ X_88 (Determined from data, 8-bit tag) ************************************** update (tag 0) ============== +---------+----------------------+------------------------+ | Name | Size | Contents | +=========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------+----------------------+------------------------+ | updates | Determined from data | $X_82 | +---------+----------------------+------------------------+ 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_82 | +---------+----------------------+------------------------+ alloc (tag 3) ============= +-----------+----------------------+------------------------------------+ | Name | Size | Contents | +===========+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------------------+ | updates | Determined from data | $X_82 | +-----------+----------------------+------------------------------------+ | memo_size | 2 bytes | unsigned 16-bit big-endian integer | +-----------+----------------------+------------------------------------+ X_89 **** +-----------------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=============================+======================+==========================================+ | key_hash | 32 bytes | bytes | +-----------------------------+----------------------+------------------------------------------+ | key | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ | ? presence of field "value" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+------------------------------------------+ | value | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------------+----------------------+------------------------------------------+ X_100 (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 big-endian integer | +-----------------------+----------+------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------+------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------------------+------------------------------------+ alloc (tag 3) ============= +-----------------------+----------------------+------------------------------------------+ | Name | Size | Contents | +=======================+======================+==========================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------+ | updates | Variable | sequence of $X_89 | +-----------------------+----------------------+------------------------------------------+ | key_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ | value_type | Determined from data | $micheline.alpha.michelson_v1.expression | +-----------------------+----------------------+------------------------------------------+ X_101 (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_100 | +------+----------------------+------------------------+ 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_88 | +------+----------------------+------------------------+ alpha.lazy_storage_diff *********************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_101 | +-----------------------+----------+------------------------------------+ alpha.operation.alpha.internal_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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ X_128 ***** +--------------+----------------------+------------------------------------------+ | Name | Size | Contents | +==============+======================+==========================================+ | ticketer | 22 bytes | $alpha.contract_id | +--------------+----------------------+------------------------------------------+ | content_type | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ | content | Determined from data | $micheline.alpha.michelson_v1.expression | +--------------+----------------------+------------------------------------------+ X_131 ***** +---------+----------------------+--------------------------------+ | Name | Size | Contents | +=========+======================+================================+ | account | 22 bytes | $alpha.transaction_destination | +---------+----------------------+--------------------------------+ | amount | Determined from data | $Z.t | +---------+----------------------+--------------------------------+ X_127 ***** +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | ticket_token | Determined from data | $X_128 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | updates | Variable | sequence of $X_131 | +-----------------------+----------------------+------------------------------------+ X_161 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_receipt | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_receipt | Variable | sequence of $X_127 | +-----------------------+----------------------+------------------------------------+ alpha.operation.alpha.internal_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_161 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_161 | +------------------------------+----------------------+-------------------------------------+ alpha.apply_internal_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 | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +----------------------------------+----------------------+--------------------------------------------------------------+ | amount | Determined from data | $N.t | +----------------------------------+----------------------+--------------------------------------------------------------+ | destination | 22 bytes | $alpha.transaction_destination | +----------------------------------+----------------------+--------------------------------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+--------------------------------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.transaction | +----------------------------------+----------------------+--------------------------------------------------------------+ origination (tag 2) =================== +--------------------------------+----------------------+--------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+==============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+--------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+--------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+--------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +--------------------------------+----------------------+--------------------------------------------------------------+ delegation (tag 3) ================== +--------------------------------+----------------------+-------------------------------------------------------------+ | Name | Size | Contents | +================================+======================+=============================================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +--------------------------------+----------------------+-------------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +--------------------------------+----------------------+-------------------------------------------------------------+ | ? presence of field "delegate" | 1 byte | boolean (0 for false, 255 for true) | +--------------------------------+----------------------+-------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +--------------------------------+----------------------+-------------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +--------------------------------+----------------------+-------------------------------------------------------------+ event (tag 4) ============= +-------------------------------+----------------------+--------------------------------------------------------+ | Name | Size | Contents | +===============================+======================+========================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------------------+--------------------------------------------------------+ | source | 22 bytes | $alpha.transaction_destination | +-------------------------------+----------------------+--------------------------------------------------------+ | nonce | 2 bytes | unsigned 16-bit big-endian integer | +-------------------------------+----------------------+--------------------------------------------------------+ | type | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "tag" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | tag | Determined from data | $alpha.entrypoint | +-------------------------------+----------------------+--------------------------------------------------------+ | ? presence of field "payload" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------+----------------------+--------------------------------------------------------+ | payload | Determined from data | $micheline.alpha.michelson_v1.expression | +-------------------------------+----------------------+--------------------------------------------------------+ | result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------+----------------------+--------------------------------------------------------+ X_57 **** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_update | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_publish (Determined from data, 8-bit tag) ****************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_203 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.zk_rollup_origination (Determined from data, 8-bit tag) ********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | originated_zk_rollup | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_346 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.zk_rollup_origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_492 (54 bytes, 8-bit tag) *************************** v0 (tag 0) ========== +------------+----------+----------------------------------+ | Name | Size | Contents | +============+==========+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +------------+----------+----------------------------------+ | index | 1 byte | unsigned 8-bit integer | +------------+----------+----------------------------------+ | commitment | 48 bytes | bytes | +------------+----------+----------------------------------+ alpha.operation.alpha.operation_result.dal_publish_commitment (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+------------------------+ | Name | Size | Contents | +===================+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+------------------------+ | slot_header | 54 bytes | $X_492 | +-------------------+----------------------+------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | slot_header | 54 bytes | $X_492 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_487 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.dal_publish_commitment | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_recover_bond (Determined from data, 8-bit tag) ************************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_623 ***** +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+===================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_recover_bond | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-------------------------------------------------------------------+ X_777 (Determined from data, 8-bit tag) *************************************** Public (tag 0) ============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Private (tag 1) =============== +-----------+----------------------+------------------------+ | Name | Size | Contents | +===========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------+----------------------+------------------------+ | whitelist | Determined from data | $X_28 | +-----------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message (Determined from data, 8-bit tag) ************************************************************************************************************ Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_777 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ? presence of field "whitelist_update" | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | whitelist_update | Determined from data | $X_777 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_763 ***** +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+=============================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_execute_outbox_message | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+-----------------------------------------------------------------------------+ X_923 (1 byte, 8-bit tag) ************************* Conflict_resolved (tag 0) ========================= +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Timeout (tag 1) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_924 (Determined from data, 8-bit tag) *************************************** Loser (tag 0) ============= +--------+----------+------------------------+ | Name | Size | Contents | +========+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------+------------------------+ | reason | 1 byte | $X_923 | +--------+----------+------------------------+ | player | 21 bytes | $public_key_hash | +--------+----------+------------------------+ Draw (tag 1) ============ +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ X_925 (Determined from data, 8-bit tag) *************************************** Ongoing (tag 0) =============== +------+--------+------------------------+ | Name | Size | Contents | +======+========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------+--------+------------------------+ Ended (tag 1) ============= +--------+----------------------+------------------------+ | Name | Size | Contents | +========+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +--------+----------------------+------------------------+ | result | Determined from data | $X_924 | +--------+----------------------+------------------------+ alpha.operation.alpha.operation_result.smart_rollup_timeout (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | game_status | Determined from data | $X_925 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | game_status | Determined from data | $X_925 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_918 ***** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_timeout | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_publish (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | staked_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | published_at_level | 4 bytes | signed 32-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1217 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_publish | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_cement (Determined from data, 8-bit tag) ******************************************************************************************** Applied (tag 0) =============== +-------------------+----------------------+----------------------------------+ | Name | Size | Contents | +===================+======================+==================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+----------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------+----------------------+----------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +-------------------+----------------------+----------------------------------+ | commitment_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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ | inbox_level | 4 bytes | signed 32-bit big-endian integer | +------------------------------+----------------------+-------------------------------------+ | commitment_hash | 32 bytes | bytes | +------------------------------+----------------------+-------------------------------------+ X_1357 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_cement | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_1492 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.event | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.smart_rollup_originate (Determined from data, 8-bit tag) *********************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | address | 20 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | genesis_commitment_hash | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1628 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.smart_rollup_originate | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.transfer_ticket (Determined from data, 8-bit tag) **************************************************************************************** Applied (tag 0) =============== +-------------------------------------------------------------------+----------------------+------------------------------------+ | Name | Size | Contents | +===================================================================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | paid_storage_size_diff | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_1768 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transfer_ticket | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.operation.alpha.operation_result.update_consensus_key (Determined from data, 8-bit tag) ********************************************************************************************* Applied (tag 0) =============== +-------------------+----------------------+-------------------------------------+ | Name | Size | Contents | +===================+======================+=====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +-------------------+----------------------+-------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | kind | 1 byte | boolean (0 for false, 255 for true) | +------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +------------------------------+----------------------+-------------------------------------+ X_1919 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.update_consensus_key | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ alpha.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 "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------+ | 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 big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | storage_size | Determined from data | $Z.t | +-------------------------------------------------------------------+----------------------+-------------------------------------+ | global_address | 32 bytes | bytes | +-------------------------------------------------------------------+----------------------+-------------------------------------+ X_2462 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.register_global_constant | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2602 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.delegation | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2742 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.internal_operation_result.origination | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_2962 (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 | $micheline.alpha.michelson_v1.expression | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | originated_contracts | Variable | sequence of $alpha.contract_id.originated | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ | 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 | $alpha.lazy_storage_diff | +-------------------------------------------------------------------+----------------------+-------------------------------------------+ To_smart_rollup (tag 2) ======================= +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consumed_milligas | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_updates | Variable | sequence of $X_127 | +-----------------------+----------------------+------------------------------------+ alpha.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_2962 | +-----------------+----------------------+------------------------+ Failed (tag 1) ============== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | errors | Variable | sequence of $X_2 | +-----------------------+----------+------------------------------------+ 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_61 | +------------------------------+----------------------+-------------------------------------+ | Unnamed field 0 | Determined from data | $X_2962 | +------------------------------+----------------------+-------------------------------------+ X_2923 ****** +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+======================+==================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | operation_result | Determined from data | $alpha.operation.alpha.operation_result.transaction | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ | internal_operation_results | Variable | sequence of $alpha.apply_internal_results.alpha.operation_result | +-------------------------------------------------------------------+----------------------+------------------------------------------------------------------+ X_3268 ****** +-----------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+==========+=========================================================================+ | delegate | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_pkh | 21 bytes | $public_key_hash | +-----------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+----------+-------------------------------------------------------------------------+ X_3264 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | committee | Variable | sequence of $X_3268 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | total_consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ alpha.operation_metadata.alpha.balance_updates ********************************************** +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_58 | +-----------------------+----------+------------------------------------+ X_3284 ****** +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=========================================================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | delegate | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_power | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ | consensus_key | 21 bytes | $public_key_hash | +-------------------------------------------------------------------+----------+-------------------------------------------------------------------------+ X_3296 ****** +-------------------------------------------------------------------+----------+-------------------------------------+ | Name | Size | Contents | +===================================================================+==========+=====================================+ | # bytes in field "alpha.operation_metadata.alpha.balance_updates" | 4 bytes | unsigned 30-bit big-endian integer | +-------------------------------------------------------------------+----------+-------------------------------------+ | balance_updates | Variable | sequence of $X_58 | +-------------------------------------------------------------------+----------+-------------------------------------+ | allocated_destination_contract | 1 byte | boolean (0 for false, 255 for true) | +-------------------------------------------------------------------+----------+-------------------------------------+ X_3309 (Enumeration: unsigned 8-bit integer): ********************************************* +-------------+----------------+ | Case number | Encoded string | +=============+================+ | 0 | preattestation | +-------------+----------------+ | 1 | attestation | +-------------+----------------+ | 2 | block | +-------------+----------------+ X_3308 ****** +-------+---------+-------------------------------------------------------------+ | Name | Size | Contents | +=======+=========+=============================================================+ | level | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +-------+---------+-------------------------------------------------------------+ | kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_3309) | +-------+---------+-------------------------------------------------------------+ X_3307 ****** +-------------------+----------+------------------+ | Name | Size | Contents | +===================+==========+==================+ | punished_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | rewarded_delegate | 21 bytes | $public_key_hash | +-------------------+----------+------------------+ | misbehaviour | 9 bytes | $X_3308 | +-------------------+----------+------------------+ alpha.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 big-endian integer | +----------+----------------------+-------------------------------------------------+ | nonce | 32 bytes | bytes | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | metadata | 51 bytes | $X_3307 | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | metadata | 51 bytes | $X_3307 | +-----------------------+----------+---------------------------------------+ 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 | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +==========+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+----------------------+-------------------------------------------------+ | solution | 200 bytes | $X_42 | +----------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +----------+----------------------+-------------------------------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------------------+------------------------+ | Name | Size | Contents | +===============+======================+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------------------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_3296 | +---------------+----------------------+------------------------+ Preattestation (tag 20) ======================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3284 | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+-------------------------------------------------+ | Name | Size | Contents | +=======================+======================+=================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+-------------------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+-------------------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+-------------------------------------------------+ | metadata | Determined from data | $alpha.operation_metadata.alpha.balance_updates | +-----------------------+----------------------+-------------------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------------------+------------------------------------------------+ | Name | Size | Contents | +=======================+======================+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------------------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------------------+ | metadata | Determined from data | $X_3264 | +-----------------------+----------------------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_3264 | +-----------------------+----------------------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1492 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2923 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.scripted.contracts | +--------------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_2742 | +--------------------------------+----------------------+-------------------------------------+ 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_2602 | +--------------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | value | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_2462 | +-----------------------+----------------------+------------------------------------+ 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_1492 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ | metadata | Determined from data | $X_623 | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1919 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ | metadata | Determined from data | $X_1919 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1768 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ | metadata | Determined from data | $X_1628 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_1492 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1357 | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_1217 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_918 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_918 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_763 | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_623 | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_487 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | metadata | Determined from data | $X_346 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ | metadata | Determined from data | $X_203 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ | metadata | Determined from data | $X_57 | +---------------+----------------------+------------------------+ X_3322 (Variable, 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 big-endian integer | +-----------------------+----------+------------------------------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.operation_contents_and_result | +-----------------------+----------+------------------------------------------------------------------+ | signature | Variable | 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 big-endian integer | +-----------------------+----------+---------------------------------------------+ | contents | Variable | sequence of $alpha.operation.alpha.contents | +-----------------------+----------+---------------------------------------------+ | signature | Variable | bytes | +-----------------------+----------+---------------------------------------------+ bls_signature_prefix (33 bytes, 8-bit tag) ****************************************** Bls_prefix (tag 3) ================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------+------------------------+ alpha.operation.alpha.contents_or_signature_prefix (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 big-endian integer | +-------+----------+----------------------------------+ | nonce | 32 bytes | bytes | +-------+----------+----------------------------------+ Double_consensus_operation_evidence (tag 2) =========================================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op1 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | op2 | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------+------------------------------------+ Double_baking_evidence (tag 3) ============================== +-----------------------+----------+---------------------------------------+ | Name | Size | Contents | +=======================+==========+=======================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh1 | Variable | $alpha.block_header.alpha.full_header | +-----------------------+----------+---------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+---------------------------------------+ | bh2 | Variable | $alpha.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 big-endian integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | proposals | Variable | sequence of at most 20 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 big-endian integer | +----------+----------+----------------------------------+ | proposal | 32 bytes | bytes | +----------+----------+----------------------------------+ | ballot | 1 byte | signed 8-bit integer | +----------+----------+----------------------------------+ Vdf_revelation (tag 8) ====================== +----------+-----------+------------------------+ | Name | Size | Contents | +==========+===========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +----------+-----------+------------------------+ | solution | 200 bytes | $X_42 | +----------+-----------+------------------------+ Drain_delegate (tag 9) ====================== +---------------+----------+------------------------+ | Name | Size | Contents | +===============+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------+----------+------------------------+ | consensus_key | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | delegate | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ | destination | 21 bytes | $public_key_hash | +---------------+----------+------------------------+ Failing_noop (tag 17) ===================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | arbitrary | Variable | bytes | +-----------------------+----------+------------------------------------+ Preattestation (tag 20) ======================= +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation (tag 21) ==================== +--------------------+----------+------------------------------------+ | Name | Size | Contents | +====================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------+------------------------------------+ Attestation_with_dal (tag 23) ============================= +--------------------+----------------------+------------------------------------+ | Name | Size | Contents | +====================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +--------------------+----------------------+------------------------------------+ | slot | 2 bytes | unsigned 16-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | level | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | round | 4 bytes | signed 32-bit big-endian integer | +--------------------+----------------------+------------------------------------+ | block_payload_hash | 32 bytes | bytes | +--------------------+----------------------+------------------------------------+ | dal_attestation | Determined from data | $Z.t | +--------------------+----------------------+------------------------------------+ Dal_entrapment_evidence (tag 24) ================================ +-----------------------+----------------------+------------------------------------+ | Name | Size | Contents | +=======================+======================+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | attestation | Variable | $alpha.inlined.consensus_operation | +-----------------------+----------------------+------------------------------------+ | consensus_slot | 2 bytes | unsigned 16-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | slot_index | 1 byte | unsigned 8-bit integer | +-----------------------+----------------------+------------------------------------+ | shard_with_proof | Determined from data | $X_39 | +-----------------------+----------------------+------------------------------------+ Preattestations_aggregate (tag 30) ================================== +-----------------------+----------+------------------------------------------------+ | Name | Size | Contents | +=======================+==========+================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ | committee | Variable | sequence of unsigned 16-bit big-endian integer | +-----------------------+----------+------------------------------------------------+ Attestations_aggregate (tag 31) =============================== +-----------------------+----------+------------------------------------+ | Name | Size | Contents | +=======================+==========+====================================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------------+----------+------------------------------------+ | consensus_content | 40 bytes | $X_33 | +-----------------------+----------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------+------------------------------------+ | committee | Variable | sequence of $X_34 | +-----------------------+----------+------------------------------------+ 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 | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 | $alpha.contract_id | +----------------------------------+----------------------+-------------------------------------+ | ? presence of field "parameters" | 1 byte | boolean (0 for false, 255 for true) | +----------------------------------+----------------------+-------------------------------------+ | parameters | Determined from data | $X_31 | +----------------------------------+----------------------+-------------------------------------+ 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 | $alpha.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 big-endian 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 | +-----------------------------+----------------------+-------------------------------------+ Increase_paid_storage (tag 113) =============================== +---------------+----------------------+-------------------------------+ | 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 | $Z.t | +---------------+----------------------+-------------------------------+ | destination | 22 bytes | $alpha.contract_id.originated | +---------------+----------------------+-------------------------------+ Update_consensus_key (tag 114) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ Update_companion_key (tag 115) ============================== +-----------------------------+----------------------+-------------------------------------+ | 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 | +-----------------------------+----------------------+-------------------------------------+ | pk | Determined from data | $public_key | +-----------------------------+----------------------+-------------------------------------+ | ? presence of field "proof" | 1 byte | boolean (0 for false, 255 for true) | +-----------------------------+----------------------+-------------------------------------+ | proof | Determined from data | $X_29 | +-----------------------------+----------------------+-------------------------------------+ 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 big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_contents | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | ticket_ty | Variable | bytes | +-----------------------+----------------------+------------------------------------+ | ticket_ticketer | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | ticket_amount | Determined from data | $N.t | +-----------------------+----------------------+------------------------------------+ | destination | 22 bytes | $alpha.contract_id | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | entrypoint | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------------------------+----------------------+-----------------------------------------------------------+ | pvm_kind | 1 byte | unsigned 8-bit integer encoding an enumeration (see X_27) | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | kernel | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +---------------------------------+----------------------+-----------------------------------------------------------+ | parameters_ty | Variable | bytes | +---------------------------------+----------------------+-----------------------------------------------------------+ | ? presence of field "whitelist" | 1 byte | boolean (0 for false, 255 for true) | +---------------------------------+----------------------+-----------------------------------------------------------+ | whitelist | Determined from data | $X_28 | +---------------------------------+----------------------+-----------------------------------------------------------+ Smart_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 next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | message | Variable | sequence of $X_2 | +-----------------------+----------------------+------------------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ Smart_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 | +---------------+----------------------+------------------------+ | rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | commitment | 76 bytes | $X_25 | +---------------+----------------------+------------------------+ Smart_rollup_refute (tag 204) ============================= +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | opponent | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ | refutation | Determined from data | $X_24 | +---------------+----------------------+------------------------+ Smart_rollup_timeout (tag 205) ============================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | stakers | 42 bytes | $X_18 | +---------------+----------------------+------------------------+ Smart_rollup_execute_outbox_message (tag 206) ============================================= +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | cemented_commitment | 32 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | output_proof | Variable | bytes | +-----------------------+----------------------+------------------------------------+ Smart_rollup_recover_bond (tag 207) =================================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | staker | 21 bytes | $public_key_hash | +---------------+----------------------+------------------------+ Dal_publish_commitment (tag 230) ================================ +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | slot_header | 145 bytes | $X_17 | +---------------+----------------------+------------------------+ Zk_rollup_origination (tag 250) =============================== +-----------------------+----------------------+-------------------------------------------------------------------------+ | 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 big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | public_parameters | Variable | bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | circuits_info | Variable | sequence of $X_14 | +-----------------------+----------------------+-------------------------------------------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+-------------------------------------------------------------------------+ | init_state | Variable | sequence of bytes | +-----------------------+----------------------+-------------------------------------------------------------------------+ | nb_ops | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------------+----------------------+-------------------------------------------------------------------------+ Zk_rollup_publish (tag 251) =========================== +-----------------------+----------------------+------------------------------------+ | 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 | +-----------------------+----------------------+------------------------------------+ | zk_rollup | 20 bytes | bytes | +-----------------------+----------------------+------------------------------------+ | # bytes in next field | 4 bytes | unsigned 30-bit big-endian integer | +-----------------------+----------------------+------------------------------------+ | op | Variable | sequence of $X_8 | +-----------------------+----------------------+------------------------------------+ Zk_rollup_update (tag 252) ========================== +---------------+----------------------+------------------------+ | 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 | +---------------+----------------------+------------------------+ | zk_rollup | 20 bytes | bytes | +---------------+----------------------+------------------------+ | update | Determined from data | $X_0 | +---------------+----------------------+------------------------+ Signature_prefix (tag 255) ========================== +------------------+----------+------------------------+ | Name | Size | Contents | +==================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +------------------+----------+------------------------+ | signature_prefix | 33 bytes | $bls_signature_prefix | +------------------+----------+------------------------+ X_3421 (Variable, 8-bit tag) **************************** Operation with too large metadata (tag 0) ========================================= +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ Operation without metadata (tag 1) ================================== +-------------------------------+----------+-----------------------------------------------------------------+ | Name | Size | Contents | +===============================+==========+=================================================================+ | Tag | 1 byte | unsigned 8-bit integer | +-------------------------------+----------+-----------------------------------------------------------------+ | contents_and_signature_prefix | Variable | sequence of $alpha.operation.alpha.contents_or_signature_prefix | +-------------------------------+----------+-----------------------------------------------------------------+ | signature_suffix | 64 bytes | bytes | +-------------------------------+----------+-----------------------------------------------------------------+ Operation with metadata (tag 2) =============================== +-----------------+----------+------------------------+ | Name | Size | Contents | +=================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +-----------------+----------+------------------------+ | Unnamed field 0 | Variable | $X_3322 | +-----------------+----------+------------------------+
GET ../<block_id>/operations_metadata_hash
GET ../<block_id>/protocols
Current and next protocol.
{ "protocol": $Protocol_hash, "next_protocol": $Protocol_hash } $Protocol_hash: /* A Tezos protocol ID (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 | +===============+==========+==========+ | protocol | 32 bytes | bytes | +---------------+----------+----------+ | next_protocol | 32 bytes | bytes | +---------------+----------+----------+
GET ../<block_id>/resulting_context_hash
Context hash resulting of the block application.
$unistring /* A hash of context (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 | +==============+==========+==========+ | Context_hash | 32 bytes | bytes | +--------------+----------+----------+
GET ../<block_id>/votes/ballot_list
Ballots casted so far during a voting period.
[ { "pkh": $Signature.Public_key_hash, "ballot": "nay" | "yay" | "pass" } ... ] $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS 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 big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_0 *** +--------+----------+----------------------+ | Name | Size | Contents | +========+==========+======================+ | pkh | 21 bytes | $public_key_hash | +--------+----------+----------------------+ | ballot | 1 byte | signed 8-bit integer | +--------+----------+----------------------+
GET ../<block_id>/votes/ballots
Sum of ballots casted so far during a voting period.
{ "yay": $int64, "nay": $int64, "pass": $int64 } $int64: /* 64 bit integers Decimal representation of 64 bit integers */ string
+------+---------+----------------------------------+ | Name | Size | Contents | +======+=========+==================================+ | yay | 8 bytes | signed 64-bit big-endian integer | +------+---------+----------------------------------+ | nay | 8 bytes | signed 64-bit big-endian integer | +------+---------+----------------------------------+ | pass | 8 bytes | signed 64-bit big-endian integer | +------+---------+----------------------------------+
GET ../<block_id>/votes/current_period
Returns the voting period (index, kind, starting position) and related information (position, remaining) of the interrogated block.
{ "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. */ }
+---------------+---------+----------------------------------+ | Name | Size | Contents | +===============+=========+==================================+ | voting_period | 9 bytes | $X_0 | +---------------+---------+----------------------------------+ | position | 4 bytes | signed 32-bit big-endian integer | +---------------+---------+----------------------------------+ | remaining | 4 bytes | signed 32-bit big-endian integer | +---------------+---------+----------------------------------+ X_1 (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_0 *** +----------------+---------+----------------------------------+ | Name | Size | Contents | +================+=========+==================================+ | index | 4 bytes | signed 32-bit big-endian integer | +----------------+---------+----------------------------------+ | kind | 1 byte | $X_1 | +----------------+---------+----------------------------------+ | start_position | 4 bytes | signed 32-bit big-endian integer | +----------------+---------+----------------------------------+
GET ../<block_id>/votes/current_proposal
Current proposal under evaluation.
$Protocol_hash /* Some */ || null /* None */ $Protocol_hash: /* A Tezos protocol ID (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 | +---------------+----------+------------------------+ | Protocol_hash | 32 bytes | bytes | +---------------+----------+------------------------+
GET ../<block_id>/votes/current_quorum
Current expected quorum.
integer ∈ [-2^31-1, 2^31]
+-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Unnamed field 0 | 4 bytes | signed 32-bit big-endian integer | +-----------------+---------+----------------------------------+
GET ../<block_id>/votes/listings
List of delegates with their voting power.
[ { "pkh": $Signature.Public_key_hash, "voting_power": $int64 } ... ] $Signature.Public_key_hash: /* A Ed25519, Secp256k1, P256, or BLS public key hash (Base58Check-encoded) */ $unistring $int64: /* 64 bit integers Decimal representation of 64 bit integers */ 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 big-endian 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 | +----------------------+----------+------------------------+ Bls (tag 3) =========== +---------------------------+----------+------------------------+ | Name | Size | Contents | +===========================+==========+========================+ | Tag | 1 byte | unsigned 8-bit integer | +---------------------------+----------+------------------------+ | Bls12_381.Public_key_hash | 20 bytes | bytes | +---------------------------+----------+------------------------+ X_0 *** +--------------+----------+----------------------------------+ | Name | Size | Contents | +==============+==========+==================================+ | pkh | 21 bytes | $public_key_hash | +--------------+----------+----------------------------------+ | voting_power | 8 bytes | signed 64-bit big-endian integer | +--------------+----------+----------------------------------+
GET ../<block_id>/votes/proposal_count/<pkh>
Number of votes casted during the current period.
integer ∈ [-2^30, 2^30]
+-----------------+---------+-------------------------------------------------------------------------+ | Name | Size | Contents | +=================+=========+=========================================================================+ | Unnamed field 0 | 4 bytes | signed 31-bit big-endian integer in the range -1073741824 to 1073741823 | +-----------------+---------+-------------------------------------------------------------------------+
GET ../<block_id>/votes/proposals
List of proposals with number of supporters.
[ [ $Protocol_hash, $int64 ] ... ] $Protocol_hash: /* A Tezos protocol ID (Base58Check-encoded) */ $unistring $int64: /* 64 bit integers Decimal representation of 64 bit integers */ 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 big-endian integer | +-----------------------+----------+------------------------------------+ | Unnamed field 0 | Variable | sequence of $X_0 | +-----------------------+----------+------------------------------------+ X_0 *** +-----------------+----------+----------------------------------+ | Name | Size | Contents | +=================+==========+==================================+ | Unnamed field 0 | 32 bytes | bytes | +-----------------+----------+----------------------------------+ | Unnamed field 1 | 8 bytes | signed 64-bit big-endian integer | +-----------------+----------+----------------------------------+
GET ../<block_id>/votes/successor_period
Returns the voting period (index, kind, starting position) and related information (position, remaining) of the next block.Useful to craft operations that will be valid in the next block.
{ "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. */ }
+---------------+---------+----------------------------------+ | Name | Size | Contents | +===============+=========+==================================+ | voting_period | 9 bytes | $X_0 | +---------------+---------+----------------------------------+ | position | 4 bytes | signed 32-bit big-endian integer | +---------------+---------+----------------------------------+ | remaining | 4 bytes | signed 32-bit big-endian integer | +---------------+---------+----------------------------------+ X_1 (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_0 *** +----------------+---------+----------------------------------+ | Name | Size | Contents | +================+=========+==================================+ | index | 4 bytes | signed 32-bit big-endian integer | +----------------+---------+----------------------------------+ | kind | 1 byte | $X_1 | +----------------+---------+----------------------------------+ | start_position | 4 bytes | signed 32-bit big-endian integer | +----------------+---------+----------------------------------+
GET ../<block_id>/votes/total_voting_power
Total voting power in the voting listings.
string /* 64 bit integers Decimal representation of 64 bit integers */
+-----------------+---------+----------------------------------+ | Name | Size | Contents | +=================+=========+==================================+ | Unnamed field 0 | 8 bytes | signed 64-bit big-endian integer | +-----------------+---------+----------------------------------+