---
title: "POST /EXPERIMENTAL_protocol_config"
method: POST
path: "/EXPERIMENTAL_protocol_config"
---

# POST /EXPERIMENTAL_protocol_config

`POST /EXPERIMENTAL_protocol_config`

## Request

- The document declares no server URL.
- Auth: none declared

A configuration that defines the protocol-level parameters such as gas/storage costs, limits, feature flags, other settings

## Request body

- JsonRpcRequestForEXPERIMENTALProtocolConfig
  - `id` string, required
  - `jsonrpc` string, required
  - `method` 'EXPERIMENTAL_protocol_config', required
  - `params` union, required
    - object
      - `block_id` union, required
        - integer
        - string
    - object
      - `finality` 'optimistic' | 'near-final' | 'final', required: Different types of finality.
    - object
      - `sync_checkpoint` 'genesis' | 'earliest_available', required

## Response `200`

- union
  - object
    - `result` RpcProtocolConfigResponse, required
      - `block_producer_kickout_threshold` integer: Threshold for kicking out block producers, between 0 and 100.
      - `chain_id` string: ID of the blockchain. This must be unique for every blockchain. If your testnet blockchains do not have unique chain IDs, you will have a bad time.
      - `chunk_producer_kickout_threshold` integer: Threshold for kicking out chunk producers, between 0 and 100.
      - `chunk_validator_only_kickout_threshold` integer: Threshold for kicking out nodes which are only chunk validators, between 0 and 100.
      - `dynamic_resharding` boolean: Enable dynamic re-sharding.
      - `epoch_length` integer: Epoch length counted in block heights.
      - `fishermen_threshold` string: Fishermen stake threshold.
      - `gas_limit` integer: Initial gas limit.
      - `gas_price_adjustment_rate` integer[]: Gas price adjustment rate
      - `genesis_height` integer: Height of genesis block.
      - `genesis_time` string, date-time: Official time of blockchain start.
      - `max_gas_price` string: Maximum gas price.
      - `max_inflation_rate` integer[]: Maximum inflation on the total supply every epoch.
      - `max_kickout_stake_perc` integer: Max stake percentage of the validators we will kick out.
      - `min_gas_price` string: Minimum gas price. It is also the initial gas price.
      - `minimum_stake_divisor` integer: The minimum stake required for staking is last seat price divided by this number.
      - `minimum_stake_ratio` integer[]: The lowest ratio s/s_total any block producer can have. See <https://github.com/near/NEPs/pull/167> for details
      - `minimum_validators_per_shard` integer: The minimum number of validators each shard must have
      - `num_block_producer_seats` integer: Number of block producer seats at genesis.
      - `num_blocks_per_year` integer: Expected number of blocks per year
      - `online_max_threshold` integer[]: Online maximum threshold above which validator gets full reward.
      - `online_min_threshold` integer[]: Online minimum threshold below which validator doesn't receive reward.
      - `protocol_reward_rate` integer[]: Protocol treasury rate
      - `protocol_treasury_account` string: Protocol treasury account
      - `protocol_upgrade_stake_threshold` integer[]: Threshold of stake that needs to indicate that they ready for upgrade.
      - `protocol_version` integer: Current Protocol Version
      - `runtime_config` RuntimeConfigView: Runtime configuration (mostly economics constants).
        - `account_creation_charge` string: How much creating an account should cost in NEAR. Taken into account when burning gas for account creation.
        - `account_creation_config` AccountCreationConfigView: Config that defines rules for account creation.
          - `min_allowed_top_level_account_length` integer: The minimum length of the top-level account ID that is allowed to be created by any account.
          - `registrar_account_id` string: The account ID of the account registrar. This account ID allowed to create top-level accounts of any valid length.
        - `congestion_control_config` CongestionControlConfigView: The configuration for congestion control.
          - `allowed_shard_outgoing_gas` integer: How much gas the chosen allowed shard can send to a 100% congested shard. See [`CongestionControlConfig`] for more details.
          - `max_congestion_incoming_gas` integer: How much gas in delayed receipts of a shard is 100% incoming congestion. See [`CongestionControlConfig`] for more details.
          - `max_congestion_memory_consumption` integer: How much memory space of all delayed and buffered receipts in a shard is considered 100% congested. See [`CongestionControlConfig`] for more details.
          - `max_congestion_missed_chunks` integer: How many missed chunks in a row in a shard is considered 100% congested.
          - `max_congestion_outgoing_gas` integer: How much gas in outgoing buffered receipts of a shard is 100% congested. Outgoing congestion contributes to overall congestion, which reduces how much other shards are allowed to forward to this shard.
          - `max_outgoing_gas` integer: The maximum amount of gas attached to receipts a shard can forward to another shard per chunk. See [`CongestionControlConfig`] for more details.
          - `max_tx_gas` integer: The maximum amount of gas in a chunk spent on converting new transactions to receipts. See [`CongestionControlConfig`] for more details.
          - `min_outgoing_gas` integer: The minimum gas each shard can send to a shard that is not fully congested. See [`CongestionControlConfig`] for more details.
          - `min_receipt_congestion_size` integer: The smallest size a receipt counts for bandwidth and congestion. See [`CongestionControlConfig`] for more details.
          - `min_tx_gas` integer: The minimum amount of gas in a chunk spent on converting new transactions to receipts, as long as the receiving shard is not congested. See [`CongestionControlConfig`] for more details.
          - `reject_tx_congestion_threshold` number, double: How much congestion a shard can tolerate before it stops all shards from accepting new transactions with the receiver set to the congested shard.
        - `external_calls_config` ExternalCallsConfigView: Limits on external contract calls, per call and per chunk.
          - `chunk_compute_share` integer[], required: The share of the chunk's compute limit that its external calls may use.
          - `chunk_storage_proof_share` integer[], required: The share of `main_storage_proof_size_soft_limit` that a chunk's external calls may record.
          - `chunk_transactions_size_share` integer[], required: The share of `combined_transactions_size_limit` that a chunk's external calls may take.
          - `max_call_recorded_size` integer, required: Max storage proof an external call's run may record, in bytes.
          - `max_call_size` integer, required: Max size of an external contract call, in bytes.
          - `max_calls_per_chunk` integer, required: Max number of external calls in a chunk.
        - `max_cold_contract_bytes_per_chunk` integer: Maximum cold contract code bytes admitted for compilation per chunk.
        - `min_gas_purchase_price` string: Minimum price at which the gas attached to a receipt is purchased. The price at which it is burned might be lower, in which case the difference is refunded after execution.
        - `storage_amount_per_byte` string: Amount of yN per byte required to have on the account. See <https://nomicon.io/Economics/Economics.html#state-stake> for details.
        - `transaction_costs` RuntimeFeesConfigView: Costs of different actions that need to be performed when sending and processing transaction and receipts.
          - `action_creation_config` ActionCreationConfigView: Describes the cost of creating a certain action, `Action`. Includes all variants.
            - `add_key_cost` AccessKeyCreationConfigView: Base cost of adding a key.
              - …
            - `create_account_cost` Fee: Base cost of creating an account.
              - …
            - `delegate_cost` Fee: Base cost for processing a delegate action. This is on top of the costs for the actions inside the delegate action.
              - …
            - `delete_account_cost` Fee: Base cost of deleting an account.
              - …
            - `delete_key_cost` Fee: Base cost of deleting a key.
              - …
            - `deploy_contract_cost` Fee: Base cost of deploying a contract.
              - …
            - `deploy_contract_cost_per_byte` Fee: Cost per byte of deploying a contract.
              - …
            - `function_call_cost` Fee: Base cost of calling a function.
              - …
            - `function_call_cost_per_byte` Fee: Cost per byte of method name and arguments of calling a function.
              - …
            - `stake_cost` Fee: Base cost of staking.
              - …
            - `transfer_cost` Fee: Base cost of making a transfer.
              - …
          - `action_receipt_creation_config` Fee: Describes the cost of creating an action receipt, `ActionReceipt`, excluding the actual cost of actions. - `send` cost is burned when a receipt is created using `promise_create` or `promise_batch_create` - `exec` cost is burned when the receipt is being executed.
            - `execution` integer, required: Fee for executing the object.
            - `send_not_sir` integer, required: Fee for sending an object potentially across the shards.
            - `send_sir` integer, required: Fee for sending an object from the sender to itself, guaranteeing that it does not leave the shard.
          - `burnt_gas_reward` integer[]: Fraction of the burnt gas to reward to the contract account for execution.
          - `data_receipt_creation_config` DataReceiptCreationConfigView: Describes the cost of creating a data receipt, `DataReceipt`.
            - `base_cost` Fee: Base cost of creating a data receipt. Both `send` and `exec` costs are burned when a new receipt has input dependencies. The gas is charged for each input dependency. The dependencies are specified when a receipt is created using `promise_then` and `promise_batch_then`. NOTE: Any receipt with output dependencies will produce data receipts. Even if it fails. Even if the last action is not a function call (in case of success it will return empty value).
              - …
            - `cost_per_byte` Fee: Additional cost per byte sent. Both `send` and `exec` costs are burned when a function call finishes execution and returns `N` bytes of data to every output dependency. For each output dependency the cost is `(send(sir) + exec()) * N`.
              - …
          - `ml_dsa_65_verification_cost` integer: Describes the extra cost of verifying an ML-DSA-65 signature above the cost of verifying the standard signature types.
          - `pessimistic_gas_price_inflation_ratio` integer[]: Pessimistic gas price inflation ratio.
          - `storage_usage_config` StorageUsageConfigView: Describes fees for storage.
            - `num_bytes_account` integer: Number of bytes for an account record, including rounding up for account id.
            - `num_extra_bytes_record` integer: Additional number of bytes for a k/v record
        - `wasm_config` VMConfigView: Config of wasm operations.
          - `bls12381_not_in_group_fix` boolean: See [VMConfig::bls12381_not_in_group_fix](crate::vm::Config::bls12381_not_in_group_fix).
          - `ext_costs` ExtCostsConfigView: Costs for runtime externals
            - `alt_bn128_g1_multiexp_base` integer: Base cost for multiexp
            - `alt_bn128_g1_multiexp_element` integer: Per element cost for multiexp
            - `alt_bn128_g1_sum_base` integer: Base cost for sum
            - `alt_bn128_g1_sum_element` integer: Per element cost for sum
            - `alt_bn128_pairing_check_base` integer: Base cost for pairing check
            - `alt_bn128_pairing_check_element` integer: Per element cost for pairing check
            - `base` integer: Base cost for calling a host function.
            - `bls12381_g1_multiexp_base` integer
            - `bls12381_g1_multiexp_element` integer
            - `bls12381_g2_multiexp_base` integer
            - `bls12381_g2_multiexp_element` integer
            - `bls12381_map_fp2_to_g2_base` integer
            - `bls12381_map_fp2_to_g2_element` integer
            - `bls12381_map_fp_to_g1_base` integer
            - `bls12381_map_fp_to_g1_element` integer
            - `bls12381_p1_decompress_base` integer
            - `bls12381_p1_decompress_element` integer
            - `bls12381_p1_sum_base` integer
            - `bls12381_p1_sum_element` integer
            - `bls12381_p2_decompress_base` integer
            - `bls12381_p2_decompress_element` integer
            - `bls12381_p2_sum_base` integer
            - `bls12381_p2_sum_element` integer
            - `bls12381_pairing_base` integer
            - `bls12381_pairing_element` integer
            - `contract_loading_base` integer: Base cost of loading a pre-compiled contract
            - `contract_loading_bytes` integer: Cost per byte of loading a pre-compiled contract
            - `ecrecover_base` integer: Cost of calling ecrecover
            - `ed25519_verify_base` integer: Cost of getting ed25519 base
            - `ed25519_verify_byte` integer: Cost of getting ed25519 per byte
            - `keccak256_base` integer: Cost of getting sha256 base
            - `keccak256_byte` integer: Cost of getting sha256 per byte
            - `keccak512_base` integer: Cost of getting sha256 base
            - `keccak512_byte` integer: Cost of getting sha256 per byte
            - `log_base` integer: Cost for calling logging.
            - `log_byte` integer: Cost for logging per byte
            - `ml_dsa_verify_base` integer: Cost of ML-DSA-65 signature verification base
            - `ml_dsa_verify_byte` integer: Cost of ML-DSA-65 signature verification per byte
            - `p256_verify_base` integer: Cost of P-256 ECDSA signature verification base
            - `p256_verify_byte` integer: Cost of P-256 ECDSA signature verification per byte
            - `promise_and_base` integer: Cost for calling `promise_and`
            - `promise_and_per_promise` integer: Cost for calling `promise_and` for each promise
            - `promise_return` integer: Cost for calling `promise_return`
            - `read_cached_trie_node` integer: Cost for reading trie node from memory
            - `read_memory_base` integer: Base cost for guest memory read
            - `read_memory_byte` integer: Cost for guest memory read
            - `read_register_base` integer: Base cost for reading from register
            - `read_register_byte` integer: Cost for reading byte from register
            - `ripemd160_base` integer: Cost of getting ripemd160 base
            - `ripemd160_block` integer: Cost of getting ripemd160 per message block
            - `sha256_base` integer: Cost of getting sha256 base
            - `sha256_byte` integer: Cost of getting sha256 per byte
            - `sha3_256_base` integer: Cost of getting sha3-256 base
            - `sha3_256_byte` integer: Cost of getting sha3-256 per byte
            - `sha3_384_base` integer: Cost of getting sha3-384 base
            - `sha3_384_byte` integer: Cost of getting sha3-384 per byte
            - `sha3_512_base` integer: Cost of getting sha3-512 base
            - `sha3_512_byte` integer: Cost of getting sha3-512 per byte
            - `storage_has_key_base` integer: Storage trie check for key existence cost base
            - `storage_has_key_byte` integer: Storage trie check for key existence per key byte
            - `storage_iter_create_from_byte` integer: Create trie range iterator cost per byte of from key.
            - `storage_iter_create_prefix_base` integer: Create trie prefix iterator cost base
            - `storage_iter_create_prefix_byte` integer: Create trie prefix iterator cost per byte.
            - `storage_iter_create_range_base` integer: Create trie range iterator cost base
            - `storage_iter_create_to_byte` integer: Create trie range iterator cost per byte of to key.
            - `storage_iter_next_base` integer: Trie iterator per key base cost
            - `storage_iter_next_key_byte` integer: Trie iterator next key byte cost
            - `storage_iter_next_value_byte` integer: Trie iterator next key byte cost
            - `storage_large_read_overhead_base` integer: Storage trie read key overhead base cost, when doing large reads
            - `storage_large_read_overhead_byte` integer: Storage trie read key overhead per-byte cost, when doing large reads
            - `storage_read_base` integer: Storage trie read key base cost
            - `storage_read_key_byte` integer: Storage trie read key per byte cost
            - `storage_read_value_byte` integer: Storage trie read value cost per byte cost
            - `storage_remove_base` integer: Remove key from trie base cost
            - `storage_remove_key_byte` integer: Remove key from trie per byte cost
            - `storage_remove_ret_value_byte` integer: Remove key from trie ret value byte cost
            - `storage_write_base` integer: Storage trie write key base cost
            - `storage_write_evicted_byte` integer: Storage trie write cost per byte of evicted value.
            - `storage_write_key_byte` integer: Storage trie write key per byte cost
            - `storage_write_value_byte` integer: Storage trie write value per byte cost
            - `touching_trie_node` integer: Cost per reading trie node from DB
            - `universal_state_init_to_account_id_base` integer: Base cost of deriving a `0u` account id from a raw state init.
            - `universal_state_init_to_account_id_byte` integer: Per byte of the raw state init.
            - `utf16_decoding_base` integer: Base cost of decoding utf16. It's used for `log_utf16`.
            - `utf16_decoding_byte` integer: Cost per byte of decoding utf16. It's used for `log_utf16`.
            - `utf8_decoding_base` integer: Base cost of decoding utf8. It's used for `log_utf8` and `panic_utf8`.
            - `utf8_decoding_byte` integer: Cost per byte of decoding utf8. It's used for `log_utf8` and `panic_utf8`.
            - `validator_stake_base` integer: Cost of calling `validator_stake`.
            - `validator_total_stake_base` integer: Cost of calling `validator_total_stake`.
            - `write_memory_base` integer: Base cost for guest memory write
            - `write_memory_byte` integer: Cost for guest memory write per byte
            - `write_register_base` integer: Base cost for writing into register
            - `write_register_byte` integer: Cost for writing byte into register
            - `yield_create_base` integer: Base cost for creating a yield promise.
            - `yield_create_byte` integer: Per byte cost of arguments and method name.
            - `yield_create_with_id_base` integer: Base cost for creating a yield promise with a user-provided yield ID (covers the additional trie writes for the yield_id<->data_id mapping).
            - `yield_resume_base` integer: Base cost for resuming a yield receipt.
            - `yield_resume_byte` integer: Per byte cost of resume payload.
          - `fix_contract_loading_cost` boolean: See [VMConfig::fix_contract_loading_cost](crate::vm::Config::fix_contract_loading_cost).
          - `grow_mem_cost` integer: Gas cost of a growing memory by single page.
          - `limit_config` LimitConfig: Describes limits for VM and Runtime. TODO: Consider changing this to `VMLimitConfigView` to avoid dependency on runtime.
            - `initial_memory_pages` integer: The initial number of memory pages. NOTE: It's not a limiter itself, but it's a value we use for initial_memory_pages.
            - `max_actions_per_receipt` integer: Max number of actions per receipt.
            - `max_arguments_length` integer: Max length of arguments in a function call action.
            - `max_blocks_per_contract` integer, nullable: If present, stores max total number of basic blocks across all functions in a contract. This caps total compilation time for a contract.
            - `max_blocks_per_function` integer, nullable: If present, stores max number of basic blocks (block/loop/if) in a single function. This caps per-function compilation time in Cranelift.
            - `max_contract_size` integer: Max contract size
            - `max_deploy_actions_per_receipt` integer: Max number of `DeployContract` and `DeployGlobalContract` actions combined within a single receipt.
            - `max_elements_per_contract_table` integer, nullable: If present, stores max number of elements in a single contract's table
            - `max_function_body_size` integer, nullable: If present, stores max byte size of a single function body in a contract
            - `max_functions_number_per_contract` integer, nullable: If present, stores max number of functions in one contract
            - `max_gas_burnt` integer: Max amount of gas that can be used, excluding gas attached to promises.
            - `max_gas_burnt_external` integer: Max amount of gas that can be burnt by an external contract call, excluding gas attached to promises.
            - `max_gas_key_nonces_added_per_receipt` integer: Max number of gas key nonces the `AddKey` actions in one receipt may add, in total, including the actions inside a delegate action. Each nonce adds to the receipt's execution fees and so to its congestion gas, but the send fee does not depend on the number of nonces.
            - `max_gas_key_nonces_removed_per_receipt` integer: Max number of gas key nonces the actions in one receipt may remove, in total. Checked at execution, because the count comes from state. Removals are charged as compute only, and the chunk compute limit is checked between receipts, so without this bound one receipt can use many times the chunk compute limit.
            - `max_globals_per_contract` integer, nullable: If present, stores max number of globals (entries in the wasm global section) a contract may declare.
            - `max_instrumented_code_size` integer, nullable: If present, stores max byte size of the wasm code after gas instrumentation. This prevents Cranelift's 24-bit SSA counter from overflowing on pathologically large contracts.
            - `max_length_method_name` integer: Max length of any method name (without terminating character).
            - `max_length_returned_data` integer: Max length of returned data
            - `max_length_storage_key` integer: Max storage key size
            - `max_length_storage_value` integer: Max storage value size
            - `max_locals_per_contract` integer, nullable: If present, stores max number of locals declared globally in one contract
            - `max_memory_pages` integer: What is the maximal memory pages amount is allowed to have for a contract.
            - `max_number_bytes_method_names` integer: Max total length of all method names (including terminating character) for a function call permission access key.
            - `max_number_input_data_dependencies` integer: Max number of input data dependencies
            - `max_number_logs` integer: Maximum number of log entries.
            - `max_number_registers` integer: Maximum number of registers that can be used simultaneously. Note that due to an implementation quirk [read: a bug] in VMLogic, if we have this number of registers, no subsequent writes to the registers will succeed even if they replace an existing register.
            - `max_operand_stack_bytes_per_function` integer, nullable: If present, stores the max operand stack size (in bytes) at any point during the execution of a single function. Per-function: not summed across recursion. Computed by `finite_wasm::max_stack`.
            - `max_params_per_contract` integer, nullable
            - `max_params_per_function` integer, nullable
            - `max_promises_per_function_call_action` integer: Max number of promises that a function call can create
            - `max_receipt_size` integer: Max receipt size
            - `max_receipt_total_input_size` integer: Max combined size (in bytes) of the resolved promise inputs a single receipt may consume.
            - `max_register_size` integer: Maximum number of bytes that can be stored in a single register.
            - `max_stack_height` integer: How tall the stack is allowed to grow? See <https://wiki.parity.io/WebAssembly-StackHeight> to find out how the stack frame cost is calculated.
            - `max_state_init_entries` integer: Max number of storage entries the `DeterministicStateInit` and `UniversalStateInit` actions in one receipt may carry, in total. Each entry costs `..._state_init_per_entry` to execute, which is counted into the receipt's congestion gas whether or not it is ever burnt. Without a cap one receipt reserves several times `max_congestion_outgoing_gas`, pinning the sending shard at full outgoing congestion, which stops it accepting transactions.
            - `max_tables_per_contract` integer, nullable: If present, stores max number of tables declared globally in one contract
            - `max_total_log_length` integer: Maximum total length in bytes of all log messages.
            - `max_total_prepaid_gas` integer: Max total prepaid gas for all function call actions per receipt.
            - `max_transaction_size` integer: Max transaction size
            - `max_types_per_contract` integer, nullable: If present, stores max number of entries in the wasm type section that a contract may declare.
            - `max_universal_state_init_keys` integer: Max number of access keys the `UniversalStateInit` actions in one receipt may commit to, in total. Each committed key is priced as a full `AddKey`, at the send rate, so the whole cost lands when a transaction is converted to a receipt. Without a cap one transaction converts for more gas than a chunk has, and since conversion happens before anything is charged, transaction selection admits it anyway. The bound is per receipt because a receipt can carry many byte-identical copies of a state init and pays for each of them.
            - `max_yield_payload_size` integer: Maximum number of bytes for payload passed over a yield resume.
            - `min_contract_size_per_local` integer, nullable: If present, requires at least this many bytes of contract code per local.
            - `per_receipt_storage_proof_size_limit` integer: Hard limit on the size of storage proof generated while executing a single receipt.
            - `registers_memory_limit` integer: Limit of memory used by registers.
            - `yield_timeout_length_in_blocks` integer: Number of blocks after which a yielded promise times out.
          - `linear_op_base_cost` integer: Base gas cost of a linear operation
          - `linear_op_unit_cost` integer: Unit gas cost of a linear operation
          - `ml_dsa_verify_host_fn` boolean: See [VMConfig::ml_dsa_verify_host_fn](crate::vm::Config::ml_dsa_verify_host_fn).
          - `regular_op_cost` integer: Gas cost of a regular operation.
          - `sha3_host_fns` boolean: See [VMConfig::sha3_host_fns](crate::vm::Config::sha3_host_fns).
          - `universal_accounts` boolean: See [VMConfig::universal_accounts](crate::vm::Config::universal_accounts).
          - `vm_kind` union: See [VMConfig::vm_kind](crate::vm::Config::vm_kind).
            - 'Wasmer0': Wasmer 0.17.x VM. Gone now.
            - 'Wasmtime': Wasmtime VM.
            - 'Wasmer2': Wasmer 2.x VM.
            - 'NearVm': NearVM.
        - `witness_config` WitnessConfigView: Configuration specific to ChunkStateWitness.
          - `combined_transactions_size_limit` integer: Maximum size of transactions contained inside ChunkStateWitness. A witness contains transactions from both the previous chunk and the current one. This parameter limits the sum of sizes of transactions from both of those chunks.
          - `main_storage_proof_size_soft_limit` integer: Size limit for storage proof generated while executing receipts in a chunk. After this limit is reached we defer execution of any new receipts.
          - `new_transactions_validation_state_size_soft_limit` integer: Soft size limit of storage proof used to validate new transactions in ChunkStateWitness.
      - `shard_layout` union: Layout information regarding how to split accounts to shards
        - object
          - `V0` ShardLayoutV0, required: A shard layout that maps accounts evenly across all shards -- by calculate the hash of account id and mod number of shards. This is added to capture the old `account_id_to_shard_id` algorithm, to keep backward compatibility for some existing tests. `parent_shards` for `ShardLayoutV1` is always `None`, meaning it can only be the first shard layout a chain uses.
            - `num_shards` integer, required: Map accounts evenly across all shards
            - `version` integer, required: Version of the shard layout, this is useful for uniquely identify the shard layout
        - object
          - `V1` ShardLayoutV1, required
            - `boundary_accounts` AccountId[], required: The boundary accounts are the accounts on boundaries between shards. Each shard contains a range of accounts from one boundary account to another - or the smallest or largest account possible. The total number of shards is equal to the number of boundary accounts plus 1.
            - `shards_split_map` array[], nullable: Maps shards from the last shard layout to shards that it splits to in this shard layout, Useful for constructing states for the shards. None for the genesis shard layout
              - …
            - `to_parent_shard_map` ShardId[], nullable: Maps shard in this shard layout to their parent shard Since shard_ids always range from 0 to num_shards - 1, we use vec instead of a hashmap
            - `version` integer, required: Version of the shard layout, this is useful for uniquely identify the shard layout
        - object
          - `V2` ShardLayoutV2, required: Counterpart to `ShardLayoutV2` composed of maps with string keys to aid serde serialization.
            - `boundary_accounts` AccountId[], required
            - `id_to_index_map` object, required
            - `index_to_id_map` object, required
            - `shard_ids` ShardId[], required
            - `shards_parent_map` object, nullable
            - `shards_split_map` object, nullable
            - `version` integer, required
        - object
          - `V3` ShardLayoutV3, required: Counterpart to `ShardLayoutV3` composed of maps with string keys to aid serde serialization.
            - `boundary_accounts` AccountId[], required
            - `id_to_index_map` object, required
            - `last_split` integer, required: The shard identifier. It may be an arbitrary number - it does not need to be a number in the range 0..NUM_SHARDS. The shard ids do not need to be sequential or contiguous. The shard id is wrapped in a new type to prevent the old pattern of using indices in range 0..NUM_SHARDS and casting to ShardId. Once the transition if fully complete it potentially may be simplified to a regular type alias.
            - `shard_ids` ShardId[], required
            - `shards_split_map` object, required
      - `shuffle_shard_assignment_for_chunk_producers` boolean: If true, shuffle the chunk producers across shards. In other words, if the shard assignments were `[S_0, S_1, S_2, S_3]` where `S_i` represents the set of chunk producers for shard `i`, if this flag were true, the shard assignments might become, for example, `[S_2, S_0, S_3, S_1]`.
      - `target_validator_mandates_per_shard` integer: Number of target chunk validator mandates for each shard.
      - `transaction_validity_period` integer: Number of blocks for which a given transaction is valid
    - `id` string, required
    - `jsonrpc` string, required
  - object
    - `error` union, required
      - object
        - `cause` union, required
          - object
            - `info` object, required
              - …
            - `name` 'METHOD_NOT_FOUND', required
          - object
            - `info` object, required
              - …
            - `name` 'PARSE_ERROR', required
        - `name` 'REQUEST_VALIDATION_ERROR', required
      - object
        - `cause` union, required
          - object
            - `info` object, required
            - `name` 'UNKNOWN_BLOCK', required
          - object
            - `info` object, required
              - …
            - `name` 'INTERNAL_ERROR', required
        - `name` 'HANDLER_ERROR', required
      - object
        - `cause` InternalError, required
          - `info` object, required
            - `error_message` string, required
          - `name` 'INTERNAL_ERROR', required
        - `name` 'INTERNAL_ERROR', required
    - `id` string, required
    - `jsonrpc` string, required

## Changes

- **2026-11-30** `bfaef1a08996`: 1 info
  - added the optional property `oneOf[subschema #1]/result/runtime_config/allOf[#/components/schemas/RuntimeConfigView]/max_cold_contract_bytes_per_chunk` to the response with the `200` status
- **2026-11-25** `d6ca1b9dac3f`: 1 info
  - added the optional property `oneOf[subschema #1]/result/runtime_config/allOf[#/components/schemas/RuntimeConfigView]/congestion_control_config/allOf[#/components/schemas/CongestionControlConfigView]/min_receipt_congestion_size` to the response with the `200` status
- **2026-11-12** `79ed36295796`: 2 info
  - added the optional property `oneOf[subschema #1]/result/runtime_config/allOf[#/components/schemas/RuntimeConfigView]/wasm_config/allOf[#/components/schemas/VMConfigView]/limit_config/allOf[#/components/schemas/LimitConfig]/max_gas_key_nonces_added_per_receipt` to the response with the `200` status
  - added the optional property `oneOf[subschema #1]/result/runtime_config/allOf[#/components/schemas/RuntimeConfigView]/wasm_config/allOf[#/components/schemas/VMConfigView]/limit_config/allOf[#/components/schemas/LimitConfig]/max_gas_key_nonces_removed_per_receipt` to the response with the `200` status
- **2026-11-09** `d7e36ee69864`: 1 info
  - added the optional property `oneOf[subschema #1]/result/runtime_config/allOf[#/components/schemas/RuntimeConfigView]/external_calls_config` to the response with the `200` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/changes/EXPERIMENTAL_protocol_config/post.md)

---

[API](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3.md) - [All operations](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/llms.txt) - [OpenAPI document](https://skmtc.dev/near/apis/near-protocol-json-rpc-api-3/revisions/961a6d5d2b57?raw)
