Download OpenAPI specification:
The RPC API for protocol rio served by the Octez node.
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.
version required | string Supported RPC versions are version "1" (default) |
force_metadata | string DEPRECATED: Forces to recompute the operations metadata if it was considered as too large. |
metadata | string defines the way metadata are queried Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use "always". To avoid getting the metadata, use "never". By default, the metadata will be returned depending on the node's metadata size limit policy. |
{- "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
- "chain_id": "string",
- "hash": "string",
- "header": {
- "level": -2147483648,
- "proto": 255,
- "predecessor": "string",
- "timestamp": "string",
- "validation_pass": 255,
- "operations_hash": "string",
- "fitness": [
- "string"
], - "context": "string",
- "content": {
- "command": "activate",
- "hash": "string",
- "fitness": [
- "string"
], - "protocol_parameters": "string"
}, - "signature": "string"
}, - "metadata": {
- "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
- "next_protocol": "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7",
- "test_chain_status": {
- "status": "not_running"
}, - "max_operations_ttl": -1073741824,
- "max_operation_data_length": -1073741824,
- "max_block_header_length": -1073741824,
- "max_operation_list_length": [
- {
- "max_size": -1073741824,
- "max_op": -1073741824
}
], - "property1": null,
- "property2": null
}, - "operations": [
- [
- {
- "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
- "chain_id": "string",
- "hash": "string",
- "branch": "string",
- "metadata": "too large",
- "property1": null,
- "property2": null
}
]
]
}
Get the (optionally paginated) list of values in a big map. Order of values is unspecified, but is guaranteed to be consistent.
big_map_id required | string A big map identifier |
offset | string A non-negative integer (greater than or equal to 0). Skip the first [offset] values. Useful in combination with [length] for pagination. |
length | string A non-negative integer (greater than or equal to 0). Only retrieve [length] values. Useful in combination with [offset] for pagination. |
[- {
- "int": "string"
}
]
Access the value associated with a key in a big map.
big_map_id required | string A big map identifier |
script_expr required | string script_expr (Base58Check-encoded) |
{- "int": "string"
}
Access the value associated with a key in a big map, normalize the output using the requested unparsing mode.
big_map_id required | string A big map identifier |
script_expr required | string script_expr (Base58Check-encoded) |
required | Readable (string) or Optimized (string) or Optimized_legacy (string) |
{- "unparsing_mode": "Readable"
}
{- "int": "string"
}
Return the number of cached contracts older than the provided contract
Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences.
"string"
0
{- "proof_of_work_nonce_size": 255,
- "nonce_length": 255,
- "max_anon_ops_per_block": 255,
- "max_operation_data_length": -1073741824,
- "max_proposals_per_delegate": 255,
- "max_micheline_node_count": -1073741824,
- "max_micheline_bytes_limit": -1073741824,
- "max_allowed_global_constants_depth": -1073741824,
- "cache_layout_size": 255,
- "michelson_maximum_type_size": 65535,
- "denunciation_period": 255,
- "slashing_delay": 255,
- "smart_rollup_max_wrapped_proof_binary_size": -1073741824,
- "smart_rollup_message_size_limit": -1073741824,
- "smart_rollup_max_number_of_messages_per_level": "string",
- "consensus_rights_delay": 255,
- "blocks_preservation_cycles": 255,
- "delegate_parameters_activation_delay": 255,
- "tolerated_inactivity_period": 255,
- "blocks_per_cycle": -2147483648,
- "blocks_per_commitment": -2147483648,
- "nonce_revelation_threshold": -2147483648,
- "cycles_per_voting_period": -2147483648,
- "hard_gas_limit_per_operation": "string",
- "hard_gas_limit_per_block": "string",
- "proof_of_work_threshold": "string",
- "minimal_stake": "string",
- "minimal_frozen_stake": "string",
- "vdf_difficulty": "string",
- "origination_size": -1073741824,
- "issuance_weights": {
- "base_total_issued_per_minute": "string",
- "baking_reward_fixed_portion_weight": -1073741824,
- "baking_reward_bonus_weight": -1073741824,
- "attesting_reward_weight": -1073741824,
- "seed_nonce_revelation_tip_weight": -1073741824,
- "vdf_revelation_tip_weight": -1073741824,
- "dal_rewards_weight": -1073741824
}, - "cost_per_byte": "string",
- "hard_storage_limit_per_operation": "string",
- "quorum_min": -2147483648,
- "quorum_max": -2147483648,
- "min_proposal_quorum": -2147483648,
- "liquidity_baking_subsidy": "string",
- "liquidity_baking_toggle_ema_threshold": -2147483648,
- "max_operations_time_to_live": -32768,
- "minimal_block_delay": "string",
- "delay_increment_per_round": "string",
- "consensus_committee_size": -1073741824,
- "consensus_threshold_size": -1073741824,
- "minimal_participation_ratio": {
- "numerator": 65535,
- "denominator": 65535
}, - "limit_of_delegation_over_baking": 255,
- "percentage_of_frozen_deposits_slashed_per_double_baking": 65535,
- "max_slashing_per_block": 65535,
- "max_slashing_threshold": {
- "numerator": 65535,
- "denominator": 65535
}, - "testnet_dictator": "string",
- "initial_seed": "string",
- "cache_script_size": -1073741824,
- "cache_stake_distribution_cycles": -128,
- "cache_sampler_state_cycles": -128,
- "dal_parametric": {
- "feature_enable": true,
- "incentives_enable": true,
- "number_of_slots": 65535,
- "attestation_lag": 255,
- "attestation_threshold": 255,
- "minimal_participation_ratio": {
- "numerator": "string",
- "denominator": "string"
}, - "rewards_ratio": {
- "numerator": "string",
- "denominator": "string"
}, - "traps_fraction": {
- "numerator": "string",
- "denominator": "string"
}, - "redundancy_factor": 255,
- "page_size": 65535,
- "slot_size": -1073741824,
- "number_of_shards": 65535
}, - "smart_rollup_arith_pvm_enable": true,
- "smart_rollup_origination_size": -1073741824,
- "smart_rollup_challenge_window_in_blocks": -1073741824,
- "smart_rollup_stake_amount": "string",
- "smart_rollup_commitment_period_in_blocks": -1073741824,
- "smart_rollup_max_lookahead_in_blocks": -2147483648,
- "smart_rollup_max_active_outbox_levels": -2147483648,
- "smart_rollup_max_outbox_messages_per_level": -1073741824,
- "smart_rollup_number_of_sections_in_dissection": 255,
- "smart_rollup_timeout_period_in_blocks": -1073741824,
- "smart_rollup_max_number_of_cemented_commitments": -1073741824,
- "smart_rollup_max_number_of_parallel_games": -1073741824,
- "smart_rollup_reveal_activation_level": {
- "raw_data": {
- "Blake2B": 2147483647
}, - "metadata": 2147483647,
- "dal_page": 2147483647,
- "dal_parameters": 2147483647,
- "dal_attested_slots_validity_lag": -1073741824
}, - "smart_rollup_private_enable": true,
- "smart_rollup_riscv_pvm_enable": true,
- "zk_rollup_enable": true,
- "zk_rollup_origination_size": -1073741824,
- "zk_rollup_min_pending_to_process": -1073741824,
- "zk_rollup_max_ticket_payload_size": -1073741824,
- "global_limit_of_staking_over_baking": 255,
- "edge_of_staking_over_delegation": 255,
- "adaptive_rewards_params": {
- "issuance_ratio_final_min": {
- "numerator": "string",
- "denominator": "string"
}, - "issuance_ratio_final_max": {
- "numerator": "string",
- "denominator": "string"
}, - "issuance_ratio_initial_min": {
- "numerator": "string",
- "denominator": "string"
}, - "issuance_ratio_initial_max": {
- "numerator": "string",
- "denominator": "string"
}, - "initial_period": 255,
- "transition_period": 255,
- "max_bonus": "string",
- "growth_rate": {
- "numerator": "string",
- "denominator": "string"
}, - "center_dz": {
- "numerator": "string",
- "denominator": "string"
}, - "radius_dz": {
- "numerator": "string",
- "denominator": "string"
}
}, - "direct_ticket_spending_enable": true,
- "aggregate_attestation": true,
- "allow_tz4_delegate_enable": true,
- "all_bakers_attest_activation_level": 2147483647,
- "issuance_modification_delay": 255,
- "consensus_key_activation_delay": 255,
- "unstake_finalization_delay": 255
}
{- "consensus_rights_delay": 255,
- "blocks_preservation_cycles": 255,
- "delegate_parameters_activation_delay": 255,
- "tolerated_inactivity_period": 255,
- "blocks_per_cycle": -2147483648,
- "blocks_per_commitment": -2147483648,
- "nonce_revelation_threshold": -2147483648,
- "cycles_per_voting_period": -2147483648,
- "hard_gas_limit_per_operation": "string",
- "hard_gas_limit_per_block": "string",
- "proof_of_work_threshold": "string",
- "minimal_stake": "string",
- "minimal_frozen_stake": "string",
- "vdf_difficulty": "string",
- "origination_size": -1073741824,
- "issuance_weights": {
- "base_total_issued_per_minute": "string",
- "baking_reward_fixed_portion_weight": -1073741824,
- "baking_reward_bonus_weight": -1073741824,
- "attesting_reward_weight": -1073741824,
- "seed_nonce_revelation_tip_weight": -1073741824,
- "vdf_revelation_tip_weight": -1073741824,
- "dal_rewards_weight": -1073741824
}, - "cost_per_byte": "string",
- "hard_storage_limit_per_operation": "string",
- "quorum_min": -2147483648,
- "quorum_max": -2147483648,
- "min_proposal_quorum": -2147483648,
- "liquidity_baking_subsidy": "string",
- "liquidity_baking_toggle_ema_threshold": -2147483648,
- "max_operations_time_to_live": -32768,
- "minimal_block_delay": "string",
- "delay_increment_per_round": "string",
- "consensus_committee_size": -1073741824,
- "consensus_threshold_size": -1073741824,
- "minimal_participation_ratio": {
- "numerator": 65535,
- "denominator": 65535
}, - "limit_of_delegation_over_baking": 255,
- "percentage_of_frozen_deposits_slashed_per_double_baking": 65535,
- "max_slashing_per_block": 65535,
- "max_slashing_threshold": {
- "numerator": 65535,
- "denominator": 65535
}, - "testnet_dictator": "string",
- "initial_seed": "string",
- "cache_script_size": -1073741824,
- "cache_stake_distribution_cycles": -128,
- "cache_sampler_state_cycles": -128,
- "dal_parametric": {
- "feature_enable": true,
- "incentives_enable": true,
- "number_of_slots": 65535,
- "attestation_lag": 255,
- "attestation_threshold": 255,
- "minimal_participation_ratio": {
- "numerator": "string",
- "denominator": "string"
}, - "rewards_ratio": {
- "numerator": "string",
- "denominator": "string"
}, - "traps_fraction": {
- "numerator": "string",
- "denominator": "string"
}, - "redundancy_factor": 255,
- "page_size": 65535,
- "slot_size": -1073741824,
- "number_of_shards": 65535
}, - "smart_rollup_arith_pvm_enable": true,
- "smart_rollup_origination_size": -1073741824,
- "smart_rollup_challenge_window_in_blocks": -1073741824,
- "smart_rollup_stake_amount": "string",
- "smart_rollup_commitment_period_in_blocks": -1073741824,
- "smart_rollup_max_lookahead_in_blocks": -2147483648,
- "smart_rollup_max_active_outbox_levels": -2147483648,
- "smart_rollup_max_outbox_messages_per_level": -1073741824,
- "smart_rollup_number_of_sections_in_dissection": 255,
- "smart_rollup_timeout_period_in_blocks": -1073741824,
- "smart_rollup_max_number_of_cemented_commitments": -1073741824,
- "smart_rollup_max_number_of_parallel_games": -1073741824,
- "smart_rollup_reveal_activation_level": {
- "raw_data": {
- "Blake2B": 2147483647
}, - "metadata": 2147483647,
- "dal_page": 2147483647,
- "dal_parameters": 2147483647,
- "dal_attested_slots_validity_lag": -1073741824
}, - "smart_rollup_private_enable": true,
- "smart_rollup_riscv_pvm_enable": true,
- "zk_rollup_enable": true,
- "zk_rollup_origination_size": -1073741824,
- "zk_rollup_min_pending_to_process": -1073741824,
- "zk_rollup_max_ticket_payload_size": -1073741824,
- "global_limit_of_staking_over_baking": 255,
- "edge_of_staking_over_delegation": 255,
- "adaptive_rewards_params": {
- "issuance_ratio_final_min": {
- "numerator": "string",
- "denominator": "string"
}, - "issuance_ratio_final_max": {
- "numerator": "string",
- "denominator": "string"
}, - "issuance_ratio_initial_min": {
- "numerator": "string",
- "denominator": "string"
}, - "issuance_ratio_initial_max": {
- "numerator": "string",
- "denominator": "string"
}, - "initial_period": 255,
- "transition_period": 255,
- "max_bonus": "string",
- "growth_rate": {
- "numerator": "string",
- "denominator": "string"
}, - "center_dz": {
- "numerator": "string",
- "denominator": "string"
}, - "radius_dz": {
- "numerator": "string",
- "denominator": "string"
}
}, - "direct_ticket_spending_enable": true,
- "aggregate_attestation": true,
- "allow_tz4_delegate_enable": true,
- "all_bakers_attest_activation_level": 2147483647
}
Access the complete status of a contract.
contract_id required | string A contract identifier encoded in b58check. |
normalize_types | string Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script. |
{- "balance": "string",
- "delegate": "string",
- "script": {
- "code": null,
- "storage": null
}, - "counter": "string"
}
Access the complete list of tickets owned by the given contract by scanning the contract's storage.
contract_id required | string A contract identifier encoded in b58check. |
[- {
- "ticketer": "string",
- "content_type": {
- "int": "string"
}, - "content": {
- "int": "string"
}, - "amount": "string"
}
]
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.
contract_id required | string A contract identifier encoded in b58check. |
"string"
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.
contract_id required | string A contract identifier encoded in b58check. |
"string"
Access the value associated with a key in a big map of the contract (deprecated).
contract_id required | string A contract identifier encoded in b58check. |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
{- "key": {
- "int": "string"
}, - "type": {
- "int": "string"
}
}
{- "int": "string"
}
Return the list of entrypoints of the contract
contract_id required | string A contract identifier encoded in b58check. |
normalize_types | string Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script. |
{- "unreachable": [
- {
- "path": [
- "SHA256"
]
}
], - "entrypoints": {
- "property1": {
- "int": "string"
}, - "property2": {
- "int": "string"
}
}
}
Return the type of the given entrypoint of the contract
contract_id required | string A contract identifier encoded in b58check. |
entrypoint required | string A Michelson entrypoint (string of length < 32) |
normalize_types | string Whether types should be normalized (annotations removed, combs flattened) or kept as they appeared in the original script. |
{- "int": "string"
}
Returns the estimated own pending slashed amount (in mutez) of a given contract.
contract_id required | string A contract identifier encoded in b58check. |
"string"
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.
contract_id required | string A contract identifier encoded in b58check. |
"string"
Access the script of the contract and normalize it using the requested unparsing mode.
contract_id required | string A contract identifier encoded in b58check. |
required | Readable (string) or Optimized (string) or Optimized_legacy (string) |
normalize_types | boolean |
{- "unparsing_mode": "Readable",
- "normalize_types": true
}
{- "code": null,
- "storage": null
}
Returns the root and a diff of a state starting from an optional offset which is zero by default.
contract_id required | string A contract identifier encoded in b58check. |
offset_commitment | string Commitments and ciphertexts are returned from the specified offset up to the most recent. |
offset_nullifier | string Nullifiers are returned from the specified offset up to the most recent. |
{- "root": "string",
- "commitments_and_ciphertexts": [
- [
- "string"
]
], - "nullifiers": [
- "string"
]
}
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.
contract_id required | string A contract identifier encoded in b58check. |
"string"
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.
contract_id required | string A contract identifier encoded in b58check. |
"string"
Access the staked balance of a contract (in mutez). Returns None if the contract is originated, or neither delegated nor a delegate.
contract_id required | string A contract identifier encoded in b58check. |
"string"
Access the data of the contract and normalize it using the requested unparsing mode.
contract_id required | string A contract identifier encoded in b58check. |
required | Readable (string) or Optimized (string) or Optimized_legacy (string) |
{- "unparsing_mode": "Readable"
}
{- "int": "string"
}
Access the contract's balance of ticket with specified ticketer, content type, and content.
contract_id required | string A contract identifier encoded in b58check. |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (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. |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
{- "ticketer": "string",
- "content_type": {
- "int": "string"
}, - "content": {
- "int": "string"
}
}
"string"
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.
contract_id required | string A contract identifier encoded in b58check. |
{- "finalizable": [
- {
- "delegate": "string",
- "cycle": -2147483648,
- "amount": "string"
}
], - "unfinalizable": {
- "delegate": "string",
- "requests": [
- {
- "cycle": -2147483648,
- "amount": "string"
}
]
}
}
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.
contract_id required | string A contract identifier encoded in b58check. |
"string"
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.
contract_id required | string A contract identifier encoded in b58check. |
"string"
Get the shards assignment for a given level (the default is the current level) and given delegates (the default is all delegates)
level | string A level integer |
delegates | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- {
- "delegate": "string",
- "indexes": [
- -32768
]
}
]
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.
[- [
- "string"
]
]
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.
active | string |
inactive | string |
with_minimal_stake | string |
without_minimal_stake | string |
[- "string"
]
Everything about a delegate. Gathers the outputs of all RPCs with the ../delegates/
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
{- "deactivated": true,
- "is_forbidden": true,
- "participation": {
- "expected_cycle_activity": -1073741824,
- "minimal_cycle_activity": -1073741824,
- "missed_slots": -1073741824,
- "missed_levels": -1073741824,
- "remaining_allowed_missed_slots": -1073741824,
- "expected_attesting_rewards": "string"
}, - "dal_participation": {
- "expected_assigned_shards_per_slot": -1073741824,
- "delegate_attested_dal_slots": -1073741824,
- "delegate_attestable_dal_slots": -1073741824,
- "expected_dal_rewards": "string",
- "sufficient_dal_participation": true,
- "denounced": true
}, - "grace_period": -2147483648,
- "active_staking_parameters": {
- "limit_of_staking_over_baking_millionth": -2147483648,
- "edge_of_baking_over_staking_billionth": -2147483648
}, - "pending_staking_parameters": [
- {
- "cycle": -2147483648,
- "parameters": {
- "limit_of_staking_over_baking_millionth": -2147483648,
- "edge_of_baking_over_staking_billionth": -2147483648
}
}
], - "baking_power": "string",
- "total_staked": "string",
- "total_delegated": "string",
- "min_delegated_in_current_cycle": {
- "amount": "string",
- "level": {
- "level": 2147483647,
- "level_position": -2147483648,
- "cycle": -2147483648,
- "cycle_position": -2147483648,
- "expected_commitment": true
}
}, - "own_full_balance": "string",
- "own_staked": "string",
- "own_delegated": "string",
- "external_staked": "string",
- "external_delegated": "string",
- "total_unstaked_per_cycle": [
- {
- "cycle": -2147483648,
- "deposit": "string"
}
], - "denunciations": [
- {
- "operation_hash": "string",
- "rewarded": "string",
- "misbehaviour": {
- "level": 2147483647,
- "round": -2147483648,
- "kind": "attestation"
}
}
], - "estimated_shared_pending_slashed_amount": "string",
- "staking_denominator": "string",
- "current_voting_power": "string",
- "voting_power": "string",
- "voting_info": {
- "voting_power": "string",
- "current_ballot": "nay",
- "current_proposals": [
- "string"
], - "remaining_proposals": -1073741824
}, - "consensus_key": {
- "active": {
- "pkh": "string",
- "pk": "string"
}, - "pendings": [
- {
- "cycle": -2147483648,
- "pkh": "string",
- "pk": "string"
}
]
}, - "stakers": [
- {
- "staker": "string",
- "frozen_deposits": "string"
}
], - "delegators": [
- "string"
]
}
Returns the currently active staking parameters for the given delegate.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
{- "limit_of_staking_over_baking_millionth": -2147483648,
- "edge_of_baking_over_staking_billionth": -2147483648
}
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.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
The active consensus key for a given delegate and the pending consensus keys.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
{- "active": {
- "pkh": "string",
- "pk": "string"
}, - "pendings": [
- {
- "cycle": -2147483648,
- "pkh": "string",
- "pk": "string"
}
]
}
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 no DAL slots have been globally attested during the cycle (i.e., when 'delegate_attestable_dal_slots' is zero), the flag is true. The 'denounced' field specifies whether the delegate was denounced for not detecting traps during the current cycle.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
{- "expected_assigned_shards_per_slot": -1073741824,
- "delegate_attested_dal_slots": -1073741824,
- "delegate_attestable_dal_slots": -1073741824,
- "expected_dal_rewards": "string",
- "sufficient_dal_participation": true,
- "denounced": true
}
DEPRECATED; to get this value, you can call RPCs external_staked and external_delegated, and add their outputs together.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
The list of all contracts that are currently delegating to the delegate. Includes both user accounts and smart contracts. Includes the delegate itself.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- "string"
]
Returns the pending denunciations for the given delegate.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- {
- "operation_hash": "string",
- "rewarded": "string",
- "misbehaviour": {
- "level": 2147483647,
- "round": -2147483648,
- "kind": "attestation"
}
}
]
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.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
The sum (in mutez) of all tokens currently staked by the baker's external delegators. This excludes the baker's own staked tokens.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
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.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
DEPRECATED; the frozen deposits limit has no effects since the activation of Adaptive Issuance and Staking during the Paris protocol.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
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.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
-2147483648
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.)
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
{- "amount": "string",
- "level": {
- "level": 2147483647,
- "level_position": -2147483648,
- "cycle": -2147483648,
- "cycle_position": -2147483648,
- "expected_commitment": true
}
}
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.)
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
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 ../
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
The amount (in mutez) currently owned and staked by the baker itself. Returns the same value as ../
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
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.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
{- "expected_cycle_activity": -1073741824,
- "minimal_cycle_activity": -1073741824,
- "missed_slots": -1073741824,
- "missed_levels": -1073741824,
- "remaining_allowed_missed_slots": -1073741824,
- "expected_attesting_rewards": "string"
}
Returns the pending values for the given delegate's staking parameters.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- {
- "cycle": -2147483648,
- "parameters": {
- "limit_of_staking_over_baking_millionth": -2147483648,
- "edge_of_baking_over_staking_billionth": -2147483648
}
}
]
Returns the list of accounts that stake to a given delegate together with their share of the frozen deposits.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- {
- "staker": "string",
- "frozen_deposits": "string"
}
]
DEPRECATED; to get this value, you can call RPCs total_staked and total_delegated, and add their outputs together.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
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).
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
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.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
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.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- {
- "cycle": -2147483648,
- "deposit": "string"
}
]
DEPRECATED; use total_unstaked_per_cycle instead.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- {
- "cycle": -2147483648,
- "deposit": "string"
}
]
Returns the delegate info (e.g. voting power) found in the listings of the current voting period.
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
{- "voting_power": "string",
- "current_ballot": "nay",
- "current_proposals": [
- "string"
], - "remaining_proposals": -1073741824
}
[- {
- "slashed_delegate": "string",
- "operation_hash": "string",
- "rewarded": "string",
- "misbehaviour": {
- "level": 2147483647,
- "round": -2147483648,
- "kind": "attestation"
}
}
]
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": "string",
- "denominator": "string"
}, - "dynamic": {
- "numerator": "string",
- "denominator": "string"
}
}
Returns the current expected maximum yearly issuance rate (exact quotient) (in %). The value only includes participation rewards (and does not include liquidity baking)
{- "numerator": "string",
- "denominator": "string"
}
Returns the expected issued tez for the provided block and the next 'consensus_rights_delay' cycles (in mutez)
[- {
- "cycle": -2147483648,
- "baking_reward_fixed_portion": "string",
- "baking_reward_bonus_per_slot": "string",
- "attesting_reward_per_slot": "string",
- "seed_nonce_revelation_tip": "string",
- "vdf_revelation_tip": "string",
- "dal_attesting_reward_per_shard": "string"
}
]
Returns the Irmin merkle tree of a piece of context.
holey | string Send only hashes, omit data of key |
{- "version": -32768,
- "before": {
- "value": "string"
}, - "after": {
- "value": "string"
}, - "state": {
- "inode": {
- "length": "string",
- "proofs": {
- "sparse_proof": [
- [
- 255
]
]
}
}
}
}
Returns the root and a diff of a state starting from an optional offset which is zero by default.
sapling_state_id required | string A sapling state identifier |
offset_commitment | string Commitments and ciphertexts are returned from the specified offset up to the most recent. |
offset_nullifier | string Nullifiers are returned from the specified offset up to the most recent. |
{- "root": "string",
- "commitments_and_ciphertexts": [
- [
- "string"
]
], - "nullifiers": [
- "string"
]
}
Commitment for a smart rollup from its hash
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
smart_rollup_commitment_hash required | string smart_rollup_commitment_hash (Base58Check-encoded) |
{- "compressed_state": "string",
- "inbox_level": 2147483647,
- "predecessor": "string",
- "number_of_ticks": "string"
}
Returns true if and only if the provided commitment can be cemented.
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
smart_rollup_commitment_hash required | string smart_rollup_commitment_hash (Base58Check-encoded) |
true
List of stakers indexes staking on a given commitment
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
smart_rollup_commitment_hash required | string smart_rollup_commitment_hash (Base58Check-encoded) |
[- "string"
]
Return the known consumed outputs of a smart rollup.
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
block_level required | string A level integer |
[- -1073741824
]
Genesis information (level and commitment hash) for a smart rollup
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
{- "level": 2147483647,
- "commitment_hash": "string"
}
List of commitments associated to a rollup for a given inbox level
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
block_level required | string A level integer |
[ ]
Level and hash of the last cemented commitment for a smart rollup
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
{- "hash": "string",
- "level": 2147483647
}
Last whitelist update for private smart rollups. If the output is None then the rollup is public.
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
{- "message_index": "string",
- "outbox_level": 2147483647
}
List of stakers in conflict with the given staker
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- {
- "other": "string",
- "their_commitment": {
- "compressed_state": "string",
- "inbox_level": 2147483647,
- "predecessor": "string",
- "number_of_ticks": "string"
}, - "our_commitment": {
- "compressed_state": "string",
- "inbox_level": 2147483647,
- "predecessor": "string",
- "number_of_ticks": "string"
}, - "parent_commitment": "string"
}
]
Ongoing refutation games for a given staker
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- {
- "game": {
- "turn": "alice",
- "inbox_snapshot": {
- "index": "string",
- "content": {
- "hash": "string",
- "level": 2147483647
}, - "back_pointers": [
- "string"
]
}, - "dal_snapshot": {
- "kind": "dal_skip_list_legacy",
- "skip_list": "string"
}, - "start_level": 2147483647,
- "inbox_level": 2147483647,
- "game_state": {
- "kind": "Dissecting",
- "dissection": [
- {
- "state": "string",
- "tick": "string"
}
], - "default_number_of_sections": 255
}
}, - "alice": "string",
- "bob": "string"
}
]
Staker index associated to a public key hash for a given rollup
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
"string"
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.
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
{- "hash": "string",
- "compressed_state": "string",
- "inbox_level": 2147483647,
- "predecessor": "string",
- "number_of_ticks": "string"
}
Returns the timeout of players.
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
staker1_pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
staker2_pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
{- "alice": -1073741824,
- "bob": -1073741824,
- "last_turn_level": 2147483647
}
Returns whether the timeout creates a result for the game.
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
staker1_pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
staker2_pkh required | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
{- "kind": "loser",
- "reason": "conflict_resolved",
- "player": "string"
}
Access the smart rollup's balance of ticket with specified ticketer, content type, and content.
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (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. |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
{- "ticketer": "string",
- "content_type": {
- "int": "string"
}, - "content": {
- "int": "string"
}
}
"string"
Whitelist for private smart rollups. If the output is None then the rollup is public.
smart_rollup_address required | string smart_rollup_address (Base58Check-encoded) |
[ ]
{- "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
- "chain_id": "string",
- "hash": "string",
- "level": -2147483648,
- "proto": 255,
- "predecessor": "string",
- "timestamp": "string",
- "validation_pass": 255,
- "operations_hash": "string",
- "fitness": [
- "string"
], - "context": "string",
- "content": {
- "command": "activate",
- "hash": "string",
- "fitness": [
- "string"
], - "protocol_parameters": "string"
}, - "signature": "string"
}
{- "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
- "content": {
- "command": "activate",
- "hash": "string",
- "fitness": [
- "string"
], - "protocol_parameters": "string"
}, - "signature": "string"
}
{- "level": -2147483648,
- "proto": 255,
- "predecessor": "string",
- "timestamp": "string",
- "validation_pass": 255,
- "operations_hash": "string",
- "fitness": [
- "string"
], - "context": "string"
}
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.
level | string A level integer |
cycle | string A cycle integer |
delegate | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
consensus_key | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- {
- "level": 2147483647,
- "delegates": [
- {
- "delegate": "string",
- "first_slot": 65535,
- "attestation_power": 65535,
- "consensus_key": "string"
}
], - "estimated_time": "string"
}
]
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.
level | string A level integer |
cycle | string A cycle integer |
delegate | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
consensus_key | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
max_round | string |
all | string |
[- {
- "level": 2147483647,
- "delegate": "string",
- "round": -2147483648,
- "estimated_time": "string",
- "consensus_key": "string"
}
]
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.
offset required | string |
{- "level": 2147483647,
- "level_position": -2147483648,
- "cycle": -2147483648,
- "cycle_position": -2147483648,
- "expected_commitment": true
}
Forge an operation
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (A block identifier (Base58Check-encoded)) |
required | Array of Preattestation (object) or Attestation (object) or Attestations_aggregate (object) or Attestation_with_dal (object) or Double_preattestation_evidence (object) or Double_attestation_evidence (object) or Seed_nonce_revelation (object) or Vdf_revelation (object) or Double_baking_evidence (object) or Dal_entrapment_evidence (object) or Activate_account (object) or Proposals (object) or Ballot (object) or Reveal (object) or Transaction (object) or Origination (object) or Delegation (object) or Set_deposits_limit (object) or Increase_paid_storage (object) or Update_consensus_key (object) or Drain_delegate (object) or Failing_noop (object) or Register_global_constant (object) or Transfer_ticket (object) or Dal_publish_commitment (object) or Smart_rollup_originate (object) or Smart_rollup_add_messages (object) or Smart_rollup_cement (object) or Smart_rollup_publish (object) or Smart_rollup_refute (object) or Smart_rollup_timeout (object) or Smart_rollup_execute_outbox_message (object) or Smart_rollup_recover_bond (object) or Zk_rollup_origination (object) or Zk_rollup_publish (object) or Zk_rollup_update (object) (022-PsRiotum.operation.alpha.contents) |
{- "branch": "string",
- "contents": [
- {
- "kind": "preattestation",
- "slot": 65535,
- "level": 2147483647,
- "round": -2147483648,
- "block_payload_hash": "string"
}
]
}
"string"
Forge the protocol-specific part of a block header
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (Hash of a consensus value (Base58Check-encoded)) |
payload_round required | integer [ -2147483648 .. 2147483647 ] |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (A nonce hash (Base58Check-encoded)) | |
proof_of_work_nonce | string^([a-zA-Z0-9][a-zA-Z0-9])*$ |
object (022-PsRiotum.per_block_votes) |
{- "payload_hash": "string",
- "payload_round": -2147483648,
- "nonce_hash": "string",
- "proof_of_work_nonce": "string",
- "per_block_votes": {
- "liquidity_baking_vote": "on",
- "adaptive_issuance_vote": "on"
}
}
{- "protocol_data": "string"
}
Forge a block header
level required | integer [ -2147483648 .. 2147483647 ] |
proto required | integer [ 0 .. 255 ] |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (A block identifier (Base58Check-encoded)) |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (timestamp.protocol) A timestamp as seen by the protocol: second-level precision, epoch based. |
validation_pass required | integer [ 0 .. 255 ] |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (A list of list of operations (Base58Check-encoded)) |
fitness required | Array of strings (Block fitness) [ items^([a-zA-Z0-9][a-zA-Z0-9])*$ ] 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. |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (A hash of context (Base58Check-encoded)) |
protocol_data required | string^([a-zA-Z0-9][a-zA-Z0-9])*$ |
{- "level": -2147483648,
- "proto": 255,
- "predecessor": "string",
- "timestamp": "string",
- "validation_pass": 255,
- "operations_hash": "string",
- "fitness": [
- "string"
], - "context": "string",
- "protocol_data": "string"
}
{- "block": "string"
}
Parse a block
level required | integer [ -2147483648 .. 2147483647 ] |
proto required | integer [ 0 .. 255 ] |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (A block identifier (Base58Check-encoded)) |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (timestamp.protocol) A timestamp as seen by the protocol: second-level precision, epoch based. |
validation_pass required | integer [ 0 .. 255 ] |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (A list of list of operations (Base58Check-encoded)) |
fitness required | Array of strings (Block fitness) [ items^([a-zA-Z0-9][a-zA-Z0-9])*$ ] 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. |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (A hash of context (Base58Check-encoded)) |
protocol_data required | string^([a-zA-Z0-9][a-zA-Z0-9])*$ |
{- "level": -2147483648,
- "proto": 255,
- "predecessor": "string",
- "timestamp": "string",
- "validation_pass": 255,
- "operations_hash": "string",
- "fitness": [
- "string"
], - "context": "string",
- "protocol_data": "string"
}
{- "payload_hash": "string",
- "payload_round": -2147483648,
- "proof_of_work_nonce": "string",
- "seed_nonce_hash": "string",
- "liquidity_baking_toggle_vote": "on",
- "adaptive_issuance_vote": "on",
- "signature": "string"
}
Parse operations
version | string Supported RPC version is version '1' |
required | Array of objects or objects or objects (operation) |
check_signature | boolean |
{- "operations": [
- {
- "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
- "chain_id": "string",
- "hash": "string",
- "branch": "string",
- "metadata": "too large",
- "property1": null,
- "property2": null
}
], - "check_signature": true
}
[- {
- "branch": "string",
- "contents": [
- {
- "kind": "preattestation",
- "slot": 65535,
- "level": 2147483647,
- "round": -2147483648,
- "block_payload_hash": "string"
}
], - "signature": "string"
}
]
Simulate the validation of a block that would contain the given operations and return the resulting fitness and context hash.
sort | string |
timestamp | string A date in seconds from epoch |
required | object |
required | Array of objects (next_operation) [ items ] |
{- "protocol_data": {
- "protocol": "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7",
- "payload_hash": "string",
- "payload_round": -2147483648,
- "proof_of_work_nonce": "string",
- "seed_nonce_hash": "string",
- "liquidity_baking_toggle_vote": "on",
- "adaptive_issuance_vote": "on",
- "signature": "string"
}, - "operations": [
- [
- {
- "protocol": "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7",
- "branch": "string",
- "contents": [
- {
- "kind": "preattestation",
- "slot": 65535,
- "level": 2147483647,
- "round": -2147483648,
- "block_payload_hash": "string"
}
], - "signature": "string"
}
]
]
}
{- "shell_header": {
- "level": -2147483648,
- "proto": 255,
- "predecessor": "string",
- "timestamp": "string",
- "validation_pass": 255,
- "operations_hash": "string",
- "fitness": [
- "string"
], - "context": "string"
}, - "operations": [
- {
- "applied": [
- {
- "hash": "string",
- "branch": "string",
- "data": "string"
}
], - "refused": [
- {
- "hash": "string",
- "branch": "string",
- "data": "string",
- "error": null
}
], - "outdated": [
- {
- "hash": "string",
- "branch": "string",
- "data": "string",
- "error": null
}
], - "branch_refused": [
- {
- "hash": "string",
- "branch": "string",
- "data": "string",
- "error": null
}
], - "branch_delayed": [
- {
- "hash": "string",
- "branch": "string",
- "data": "string",
- "error": null
}
]
}
]
}
Simulate the application of the operations with the context of the given block and return the result of each operation application.
version required | string Supported RPC versions are version "1" (default) |
protocol required | string Value: "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7" |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (A block identifier (Base58Check-encoded)) |
required | Array of Preattestation (object) or Attestation (object) or Attestations_aggregate (object) or Attestation_with_dal (object) or Double_preattestation_evidence (object) or Double_attestation_evidence (object) or Seed_nonce_revelation (object) or Vdf_revelation (object) or Double_baking_evidence (object) or Dal_entrapment_evidence (object) or Activate_account (object) or Proposals (object) or Ballot (object) or Reveal (object) or Transaction (object) or Origination (object) or Delegation (object) or Set_deposits_limit (object) or Increase_paid_storage (object) or Update_consensus_key (object) or Drain_delegate (object) or Failing_noop (object) or Register_global_constant (object) or Transfer_ticket (object) or Dal_publish_commitment (object) or Smart_rollup_originate (object) or Smart_rollup_add_messages (object) or Smart_rollup_cement (object) or Smart_rollup_publish (object) or Smart_rollup_refute (object) or Smart_rollup_timeout (object) or Smart_rollup_execute_outbox_message (object) or Smart_rollup_recover_bond (object) or Zk_rollup_origination (object) or Zk_rollup_publish (object) or Zk_rollup_update (object) (022-PsRiotum.operation.alpha.contents) |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (A Ed25519, Secp256k1, P256 or BLS signature (Base58Check-encoded)) |
[- {
- "protocol": "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7",
- "branch": "string",
- "contents": [
- {
- "kind": "preattestation",
- "slot": 65535,
- "level": 2147483647,
- "round": -2147483648,
- "block_payload_hash": "string"
}
], - "signature": "string"
}
]
[- {
- "contents": [
- {
- "kind": "attestation",
- "slot": 65535,
- "level": 2147483647,
- "round": -2147483648,
- "block_payload_hash": "string",
- "metadata": {
- "balance_updates": [
- {
- "kind": "contract",
- "contract": "string",
- "change": "string",
- "origin": "block"
}
], - "delegate": "string",
- "consensus_power": -1073741824,
- "consensus_key": "string"
}
}
], - "signature": "string"
}
]
Return the type of the given entrypoint
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
Universal string representation (string) or Universal string representation (object) (Universal string representation) Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences. |
{- "script": {
- "int": "string"
}, - "entrypoint": "string"
}
{- "entrypoint_type": {
- "int": "string"
}
}
Return the list of entrypoints of the given script
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
{- "script": {
- "int": "string"
}
}
{- "unreachable": [
- {
- "path": [
- "SHA256"
]
}
], - "entrypoints": {
- "property1": {
- "int": "string"
}, - "property2": {
- "int": "string"
}
}
}
Normalizes some data expression using the requested unparsing mode
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Readable (string) or Optimized (string) or Optimized_legacy (string) |
legacy | boolean |
Array of objects | |
Array of objects |
{- "data": {
- "int": "string"
}, - "type": {
- "int": "string"
}, - "unparsing_mode": "Readable",
- "legacy": true,
- "other_contracts": [
- {
- "address": "string",
- "type": {
- "int": "string"
}
}
], - "extra_big_maps": [
- {
- "id": "string",
- "key_type": {
- "int": "string"
}, - "val_type": {
- "int": "string"
}, - "map_literal": {
- "int": "string"
}
}
]
}
{- "normalized": {
- "int": "string"
}
}
Normalizes a Michelson script using the requested unparsing mode
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Readable (string) or Optimized (string) or Optimized_legacy (string) |
{- "script": {
- "int": "string"
}, - "unparsing_mode": "Readable"
}
{- "normalized": {
- "int": "string"
}
}
Normalize a Michelson stack using the requested unparsing mode
required | Array of objects |
required | Readable (string) or Optimized (string) or Optimized_legacy (string) |
legacy | boolean |
Array of objects | |
Array of objects |
{- "input": [
- {
- "type": {
- "int": "string"
}, - "val": {
- "int": "string"
}
}
], - "unparsing_mode": "Readable",
- "legacy": true,
- "other_contracts": [
- {
- "address": "string",
- "type": {
- "int": "string"
}
}
], - "extra_big_maps": [
- {
- "id": "string",
- "key_type": {
- "int": "string"
}, - "val_type": {
- "int": "string"
}, - "map_literal": {
- "int": "string"
}
}
]
}
{- "output": [
- {
- "type": {
- "int": "string"
}, - "val": {
- "int": "string"
}
}
]
}
Normalizes some Michelson type by expanding pair a b c
as `pair a (pair b c)
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
{- "type": {
- "int": "string"
}
}
{- "normalized": {
- "int": "string"
}
}
Computes the serialized version of some data expression using the same algorithm as script instruction PACK
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
gas | string (Big number) Decimal representation of a big number |
{- "data": {
- "int": "string"
}, - "type": {
- "int": "string"
}, - "gas": "string"
}
{- "packed": "string",
- "gas": "string"
}
Run a Michelson script in the current context
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
amount required | string (Positive big number) Decimal representation of a positive big number |
balance | string (Positive big number) Decimal representation of a positive big number |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (Network identifier (Base58Check-encoded)) |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (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. | |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (A contract handle -- implicit account) A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. | |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (A contract handle -- originated account) A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. | |
Universal string representation (string) or Universal string representation (object) (Universal string representation) Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences. | |
Readable (string) or Optimized (string) or Optimized_legacy (string) | |
gas | string (Big number) Decimal representation of a big number |
now | string (Big number) Decimal representation of a big number |
level | string (Positive big number) Decimal representation of a positive big number |
Array of objects | |
Array of objects |
{- "script": {
- "int": "string"
}, - "storage": {
- "int": "string"
}, - "input": {
- "int": "string"
}, - "amount": "string",
- "balance": "string",
- "chain_id": "string",
- "source": "string",
- "payer": "string",
- "self": "string",
- "entrypoint": "string",
- "unparsing_mode": "Readable",
- "gas": "string",
- "now": "string",
- "level": "string",
- "other_contracts": [
- {
- "address": "string",
- "type": {
- "int": "string"
}
}
], - "extra_big_maps": [
- {
- "id": "string",
- "key_type": {
- "int": "string"
}, - "val_type": {
- "int": "string"
}, - "map_literal": {
- "int": "string"
}
}
]
}
{- "storage": {
- "int": "string"
}, - "operations": [
- {
- "kind": "transaction",
- "source": "string",
- "nonce": 65535,
- "amount": "string",
- "destination": "string",
- "parameters": {
- "entrypoint": "default",
- "value": null
}, - "result": {
- "status": "applied",
- "storage": {
- "int": "string"
}, - "balance_updates": [
- {
- "kind": "contract",
- "contract": "string",
- "change": "string",
- "origin": "block"
}
], - "ticket_receipt": [
- {
- "ticket_token": {
- "ticketer": "string",
- "content_type": {
- "int": "string"
}, - "content": {
- "int": "string"
}
}, - "updates": [
- {
- "account": "string",
- "amount": "string"
}
]
}
], - "originated_contracts": [
- "string"
], - "consumed_milligas": "string",
- "storage_size": "string",
- "paid_storage_size_diff": "string",
- "allocated_destination_contract": true,
- "lazy_storage_diff": [
- {
- "kind": "big_map",
- "id": "string",
- "diff": {
- "action": "update",
- "updates": [
- {
- "key_hash": "string",
- "key": {
- "int": null
}, - "value": {
- "int": null
}
}
]
}
}
]
}
}
], - "lazy_storage_diff": [
- {
- "kind": "big_map",
- "id": "string",
- "diff": {
- "action": "update",
- "updates": [
- {
- "key_hash": "string",
- "key": {
- "int": "string"
}, - "value": {
- "int": "string"
}
}
]
}
}
]
}
Run a single Michelson instruction
required | Array of objects |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (Network identifier (Base58Check-encoded)) |
gas | string (Big number) Decimal representation of a big number |
now | string (Big number) Decimal representation of a big number |
level | string (Positive big number) Decimal representation of a positive big number |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (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. | |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (A contract handle -- implicit account) A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. | |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (A contract handle -- originated account) A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. | |
Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) | |
amount required | string (Positive big number) Decimal representation of a positive big number |
balance | string (Positive big number) Decimal representation of a positive big number |
Array of objects | |
Array of objects | |
Readable (string) or Optimized (string) or Optimized_legacy (string) | |
legacy | boolean |
{- "input": [
- {
- "type": {
- "int": "string"
}, - "val": {
- "int": "string"
}
}
], - "code": {
- "int": "string"
}, - "chain_id": "string",
- "gas": "string",
- "now": "string",
- "level": "string",
- "sender": "string",
- "source": "string",
- "self": "string",
- "parameter": {
- "int": "string"
}, - "amount": "string",
- "balance": "string",
- "other_contracts": [
- {
- "address": "string",
- "type": {
- "int": "string"
}
}
], - "big_maps": [
- {
- "id": "string",
- "key_type": {
- "int": "string"
}, - "val_type": {
- "int": "string"
}, - "map_literal": {
- "int": "string"
}
}
], - "unparsing_mode": "Readable",
- "legacy": true
}
{- "output": [
- {
- "type": {
- "int": "string"
}, - "val": {
- "int": "string"
}
}
], - "gas": "string"
}
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.
version | string Supported RPC version is version '1' |
required | object An operation's shell header. |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (Network identifier (Base58Check-encoded)) |
{- "operation": {
- "branch": "string",
- "contents": [
- {
- "kind": "preattestation",
- "slot": 65535,
- "level": 2147483647,
- "round": -2147483648,
- "block_payload_hash": "string"
}
], - "signature": "string"
}, - "chain_id": "string"
}
{- "contents": [
- {
- "kind": "attestation",
- "slot": 65535,
- "level": 2147483647,
- "round": -2147483648,
- "block_payload_hash": "string",
- "metadata": {
- "balance_updates": [
- {
- "kind": "contract",
- "contract": "string",
- "change": "string",
- "origin": "block"
}
], - "delegate": "string",
- "consensus_power": -1073741824,
- "consensus_key": "string"
}
}
], - "signature": "string"
}
Simulate a call to a michelson view
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (A contract handle -- originated account) A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. |
required | Universal string representation (string) or Universal string representation (object) (Universal string representation) Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences. |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
unlimited_gas | boolean |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (Network identifier (Base58Check-encoded)) |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (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. | |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (A contract handle -- implicit account) A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. | |
gas | string (Big number) Decimal representation of a big number |
required | Readable (string) or Optimized (string) or Optimized_legacy (string) |
now | string (Big number) Decimal representation of a big number |
level | string (Positive big number) Decimal representation of a positive big number |
Array of objects | |
Array of objects |
{- "contract": "string",
- "view": "string",
- "input": {
- "int": "string"
}, - "unlimited_gas": true,
- "chain_id": "string",
- "source": "string",
- "payer": "string",
- "gas": "string",
- "unparsing_mode": "Readable",
- "now": "string",
- "level": "string",
- "other_contracts": [
- {
- "address": "string",
- "type": {
- "int": "string"
}
}
], - "extra_big_maps": [
- {
- "id": "string",
- "key_type": {
- "int": "string"
}, - "val_type": {
- "int": "string"
}, - "map_literal": {
- "int": "string"
}
}
]
}
{- "data": {
- "int": "string"
}
}
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.
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (A contract handle -- originated account) A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. |
required | Universal string representation (string) or Universal string representation (object) (Universal string representation) Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences. |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (Network identifier (Base58Check-encoded)) |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (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. | |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (A contract handle -- implicit account) A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. | |
gas | string (Big number) Decimal representation of a big number |
required | Readable (string) or Optimized (string) or Optimized_legacy (string) |
now | string (Big number) Decimal representation of a big number |
level | string (Positive big number) Decimal representation of a positive big number |
Array of objects | |
Array of objects |
{- "contract": "string",
- "entrypoint": "string",
- "input": {
- "int": "string"
}, - "chain_id": "string",
- "source": "string",
- "payer": "string",
- "gas": "string",
- "unparsing_mode": "Readable",
- "now": "string",
- "level": "string",
- "other_contracts": [
- {
- "address": "string",
- "type": {
- "int": "string"
}
}
], - "extra_big_maps": [
- {
- "id": "string",
- "key_type": {
- "int": "string"
}, - "val_type": {
- "int": "string"
}, - "map_literal": {
- "int": "string"
}
}
]
}
{- "data": {
- "int": "string"
}
}
Compute the size of a script in the current context
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
gas | string (Big number) Decimal representation of a big number |
legacy | boolean |
{- "program": {
- "int": "string"
}, - "storage": {
- "int": "string"
}, - "gas": "string",
- "legacy": true
}
{- "script_size": -1073741824
}
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.
version | string Supported RPC version is version '1' |
successor_level | string If true, the simulation is done on the successor level of the current context. |
blocks_before_activation | integer [ -2147483648 .. 2147483647 ] |
required | object An operation's shell header. |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (Network identifier (Base58Check-encoded)) |
latency | integer [ -32768 .. 32767 ] |
{- "blocks_before_activation": -2147483648,
- "operation": {
- "branch": "string",
- "contents": [
- {
- "kind": "preattestation",
- "slot": 65535,
- "level": 2147483647,
- "round": -2147483648,
- "block_payload_hash": "string"
}
], - "signature": "string"
}, - "chain_id": "string",
- "latency": -32768
}
{- "contents": [
- {
- "kind": "attestation",
- "slot": 65535,
- "level": 2147483647,
- "round": -2147483648,
- "block_payload_hash": "string",
- "metadata": {
- "balance_updates": [
- {
- "kind": "contract",
- "contract": "string",
- "change": "string",
- "origin": "block"
}
], - "delegate": "string",
- "consensus_power": -1073741824,
- "consensus_key": "string"
}
}
], - "signature": "string"
}
Run a Michelson script in the current context, keeping a trace
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
amount required | string (Positive big number) Decimal representation of a positive big number |
balance | string (Positive big number) Decimal representation of a positive big number |
required | (Universal string representation (Universal string representation (string) or Universal string representation (object))) (Network identifier (Base58Check-encoded)) |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (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. | |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (A contract handle -- implicit account) A contract notation as given to an RPC or inside scripts. Can be a base58 implicit contract hash. | |
(Universal string representation (Universal string representation (string) or Universal string representation (object))) (A contract handle -- originated account) A contract notation as given to an RPC or inside scripts. Can be a base58 originated contract hash. | |
Universal string representation (string) or Universal string representation (object) (Universal string representation) Either a plain UTF8 string, or a sequence of bytes for strings that contain invalid byte sequences. | |
Readable (string) or Optimized (string) or Optimized_legacy (string) | |
gas | string (Big number) Decimal representation of a big number |
now | string (Big number) Decimal representation of a big number |
level | string (Positive big number) Decimal representation of a positive big number |
Array of objects | |
Array of objects |
{- "script": {
- "int": "string"
}, - "storage": {
- "int": "string"
}, - "input": {
- "int": "string"
}, - "amount": "string",
- "balance": "string",
- "chain_id": "string",
- "source": "string",
- "payer": "string",
- "self": "string",
- "entrypoint": "string",
- "unparsing_mode": "Readable",
- "gas": "string",
- "now": "string",
- "level": "string",
- "other_contracts": [
- {
- "address": "string",
- "type": {
- "int": "string"
}
}
], - "extra_big_maps": [
- {
- "id": "string",
- "key_type": {
- "int": "string"
}, - "val_type": {
- "int": "string"
}, - "map_literal": {
- "int": "string"
}
}
]
}
{- "storage": {
- "int": "string"
}, - "operations": [
- {
- "kind": "transaction",
- "source": "string",
- "nonce": 65535,
- "amount": "string",
- "destination": "string",
- "parameters": {
- "entrypoint": "default",
- "value": null
}, - "result": {
- "status": "applied",
- "storage": {
- "int": "string"
}, - "balance_updates": [
- {
- "kind": "contract",
- "contract": "string",
- "change": "string",
- "origin": "block"
}
], - "ticket_receipt": [
- {
- "ticket_token": {
- "ticketer": "string",
- "content_type": {
- "int": "string"
}, - "content": {
- "int": "string"
}
}, - "updates": [
- {
- "account": "string",
- "amount": "string"
}
]
}
], - "originated_contracts": [
- "string"
], - "consumed_milligas": "string",
- "storage_size": "string",
- "paid_storage_size_diff": "string",
- "allocated_destination_contract": true,
- "lazy_storage_diff": [
- {
- "kind": "big_map",
- "id": "string",
- "diff": {
- "action": "update",
- "updates": [
- {
- "key_hash": "string",
- "key": {
- "int": null
}, - "value": {
- "int": null
}
}
]
}
}
]
}
}
], - "trace": [
- {
- "location": -1073741824,
- "gas": "string",
- "stack": [
- {
- "int": "string"
}
]
}
], - "lazy_storage_diff": [
- {
- "kind": "big_map",
- "id": "string",
- "diff": {
- "action": "update",
- "updates": [
- {
- "key_hash": "string",
- "key": {
- "int": "string"
}, - "value": {
- "int": "string"
}
}
]
}
}
]
}
Typecheck a piece of code in the current context
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
gas | string (Big number) Decimal representation of a big number |
legacy | boolean |
show_types | boolean |
{- "program": {
- "int": "string"
}, - "gas": "string",
- "legacy": true,
- "show_types": true
}
{- "type_map": [
- {
- "location": -1073741824,
- "stack_before": [
- {
- "int": "string"
}
], - "stack_after": [
- {
- "int": "string"
}
]
}
], - "gas": "string"
}
Check that some data expression is well formed and of a given type in the current context
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
required | Int (object) or String (object) or Bytes (object) or Array of Sequence (any) or Prim__generic (object) (micheline.022-PsRiotum.michelson_v1.expression) |
gas | string (Big number) Decimal representation of a big number |
legacy | boolean |
{- "data": {
- "int": "string"
}, - "type": {
- "int": "string"
}, - "gas": "string",
- "legacy": true
}
{- "gas": "string"
}
Retrieves the level, the attestation slots and the public key hash of each delegate allowed to attest a block.
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.
level | string A level integer |
delegate | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
consensus_key | string A Secp256k1 of a Ed25519 public key hash (Base58Check-encoded) |
[- {
- "level": 2147483647,
- "delegate": "string",
- "slots": [
- 65535
], - "consensus_key": "string"
}
]
All the metadata associated to the block.
version required | string Supported RPC versions are version "1" (default) |
{- "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
- "next_protocol": "PsRiotumaAMotcRoDWW1bysEhQy2n1M5fy8JgRp8jjRfHGmfeA7",
- "test_chain_status": {
- "status": "not_running"
}, - "max_operations_ttl": -1073741824,
- "max_operation_data_length": -1073741824,
- "max_block_header_length": -1073741824,
- "max_operation_list_length": [
- {
- "max_size": -1073741824,
- "max_op": -1073741824
}
], - "property1": null,
- "property2": null
}
The hash of then m-th
operation in the n-th
validation pass of the block.
list_offset required | string Index |
operation_offset required | string Index |
"string"
All the operation metadata included in n-th
validation pass of the block. This is only set on blocks starting from environment V1.
list_offset required | string Index |
[- "string"
]
The hash of then m-th
operation metadata in the n-th
validation pass of the block. This is only set on blocks starting from environment V1.
list_offset required | string Index |
operation_offset required | string Index |
"string"
All the operations included in the block.
version required | string Supported RPC versions are version "1" (default) |
force_metadata | string DEPRECATED: Forces to recompute the operations metadata if it was considered as too large. |
metadata | string defines the way metadata are queried Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use "always". To avoid getting the metadata, use "never". By default, the metadata will be returned depending on the node's metadata size limit policy. |
[- [
- {
- "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
- "chain_id": "string",
- "hash": "string",
- "branch": "string",
- "metadata": "too large",
- "property1": null,
- "property2": null
}
]
]
All the operations included in n-th
validation pass of the block.
list_offset required | string Index |
version required | string Supported RPC versions are version "1" (default) |
force_metadata | string DEPRECATED: Forces to recompute the operations metadata if it was considered as too large. |
metadata | string defines the way metadata are queried Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use "always". To avoid getting the metadata, use "never". By default, the metadata will be returned depending on the node's metadata size limit policy. |
[- {
- "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
- "chain_id": "string",
- "hash": "string",
- "branch": "string",
- "metadata": "too large",
- "property1": null,
- "property2": null
}
]
The m-th
operation in the n-th
validation pass of the block.
list_offset required | string Index |
operation_offset required | string Index |
version required | string Supported RPC versions are version "1" (default) |
force_metadata | string DEPRECATED: Forces to recompute the operations metadata if it was considered as too large. |
metadata | string defines the way metadata are queried Specifies whether or not if the operations metadata should be returned. To get the metadata, even if it is needed to recompute them, use "always". To avoid getting the metadata, use "never". By default, the metadata will be returned depending on the node's metadata size limit policy. |
{- "protocol": "ProtoGenesisGenesisGenesisGenesisGenesisGenesk612im",
- "chain_id": "string",
- "hash": "string",
- "branch": "string",
- "property1": null,
- "property2": null
}
Returns the voting period (index, kind, starting position) and related information (position, remaining) of the interrogated block.
{- "voting_period": {
- "index": -2147483648,
- "kind": "proposal",
- "start_position": -2147483648
}, - "position": -2147483648,
- "remaining": -2147483648
}
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": {
- "index": -2147483648,
- "kind": "proposal",
- "start_position": -2147483648
}, - "position": -2147483648,
- "remaining": -2147483648
}