{
  "openapi": "3.0.0",
  "info": {
    "title": "NEAR Protocol JSON RPC API",
    "version": "1.2.12"
  },
  "paths": {
    "/EXPERIMENTAL_call_function": {
      "post": {
        "description": "Calls a view function on a contract and returns the result.",
        "operationId": "EXPERIMENTAL_call_function",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_call_function"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcCallFunctionResponse_and_RpcCallFunctionError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_changes": {
      "post": {
        "description": "[Deprecated] Returns changes for a given account, contract or contract code for given block height or hash. Consider using changes instead.",
        "operationId": "EXPERIMENTAL_changes",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_changes"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcStateChangesInBlockResponse_and_RpcStateChangesError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_changes_in_block": {
      "post": {
        "description": "[Deprecated] Returns changes in block for given block height or hash over all transactions for all the types. Includes changes like account_touched, access_key_touched, data_touched, contract_code_touched. Consider using block_effects instead",
        "operationId": "EXPERIMENTAL_changes_in_block",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_changes_in_block"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcStateChangesInBlockByTypeResponse_and_RpcStateChangesError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_congestion_level": {
      "post": {
        "description": "Queries the congestion level of a shard. More info about congestion [here](https://near.github.io/nearcore/architecture/how/receipt-congestion.html?highlight=congestion#receipt-congestion)",
        "operationId": "EXPERIMENTAL_congestion_level",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_congestion_level"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcCongestionLevelResponse_and_RpcChunkError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_genesis_config": {
      "post": {
        "description": "[Deprecated] Get initial state and parameters for the genesis block. Consider genesis_config instead.",
        "operationId": "EXPERIMENTAL_genesis_config",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_genesis_config"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_GenesisConfig_and_GenesisConfigError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_light_client_block_proof": {
      "post": {
        "description": "Returns the proofs for a transaction execution.",
        "operationId": "EXPERIMENTAL_light_client_block_proof",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_light_client_block_proof"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcLightClientBlockProofResponse_and_RpcLightClientProofError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_light_client_proof": {
      "post": {
        "description": "Returns the proofs for a transaction execution.",
        "operationId": "EXPERIMENTAL_light_client_proof",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_light_client_proof"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcLightClientExecutionProofResponse_and_RpcLightClientProofError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_maintenance_windows": {
      "post": {
        "description": "[Deprecated] Returns the future windows for maintenance in current epoch for the specified account. In the maintenance windows, the node will not be block producer or chunk producer. Consider using maintenance_windows instead.",
        "operationId": "EXPERIMENTAL_maintenance_windows",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_maintenance_windows"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_Array_of_Range_of_uint64_and_RpcMaintenanceWindowsError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_protocol_config": {
      "post": {
        "description": "A configuration that defines the protocol-level parameters such as gas/storage costs, limits, feature flags, other settings",
        "operationId": "EXPERIMENTAL_protocol_config",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_protocol_config"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcProtocolConfigResponse_and_RpcProtocolConfigError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_receipt": {
      "post": {
        "description": "Fetches a receipt by its ID (as is, without a status or execution outcome)",
        "operationId": "EXPERIMENTAL_receipt",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_receipt"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcReceiptResponse_and_RpcReceiptError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_receipt_to_tx": {
      "post": {
        "description": "Resolves a receipt ID back to the originating transaction hash and sender account",
        "operationId": "EXPERIMENTAL_receipt_to_tx",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_receipt_to_tx"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcReceiptToTxResponse_and_RpcReceiptToTxError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_split_storage_info": {
      "post": {
        "description": "Contains the split storage information. More info on split storage [here](https://near-nodes.io/archival/split-storage-archival)",
        "operationId": "EXPERIMENTAL_split_storage_info",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_split_storage_info"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcSplitStorageInfoResponse_and_RpcSplitStorageInfoError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_tx_status": {
      "post": {
        "description": "Queries status of a transaction by hash, returning the final transaction result and details of all receipts.",
        "operationId": "EXPERIMENTAL_tx_status",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_tx_status"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcTransactionResponse_and_RpcTransactionError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_validators_ordered": {
      "post": {
        "description": "Returns the current epoch validators ordered in the block producer order with repetition. This endpoint is solely used for bridge currently and is not intended for other external use cases.",
        "operationId": "EXPERIMENTAL_validators_ordered",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_validators_ordered"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_Array_of_ValidatorStakeView_and_RpcValidatorError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_view_access_key": {
      "post": {
        "description": "Returns information about a single access key for given account.",
        "operationId": "EXPERIMENTAL_view_access_key",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_view_access_key"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcViewAccessKeyResponse_and_RpcViewAccessKeyError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_view_access_key_list": {
      "post": {
        "description": "Returns all access keys for a given account.",
        "operationId": "EXPERIMENTAL_view_access_key_list",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_view_access_key_list"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcViewAccessKeyListResponse_and_RpcViewAccessKeyListError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_view_account": {
      "post": {
        "description": "Returns information about an account for given account_id.",
        "operationId": "EXPERIMENTAL_view_account",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_view_account"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcViewAccountResponse_and_RpcViewAccountError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_view_code": {
      "post": {
        "description": "Returns the contract code (Wasm binary) deployed to the account.",
        "operationId": "EXPERIMENTAL_view_code",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_view_code"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcViewCodeResponse_and_RpcViewCodeError"
                }
              }
            }
          }
        }
      }
    },
    "/EXPERIMENTAL_view_state": {
      "post": {
        "description": "Returns the state (key-value pairs) of a contract based on the key prefix.",
        "operationId": "EXPERIMENTAL_view_state",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_EXPERIMENTAL_view_state"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcViewStateResponse_and_RpcViewStateError"
                }
              }
            }
          }
        }
      }
    },
    "/block": {
      "post": {
        "description": "Returns block details for given height or hash",
        "operationId": "block",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_block"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcBlockResponse_and_RpcBlockError"
                }
              }
            }
          }
        }
      }
    },
    "/block_effects": {
      "post": {
        "description": "Returns changes in block for given block height or hash over all transactions for all the types. Includes changes like account_touched, access_key_touched, data_touched, contract_code_touched.",
        "operationId": "block_effects",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_block_effects"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcStateChangesInBlockByTypeResponse_and_RpcStateChangesError"
                }
              }
            }
          }
        }
      }
    },
    "/broadcast_tx_async": {
      "post": {
        "description": "[Deprecated] Sends a transaction and immediately returns transaction hash. Consider using send_tx instead.",
        "operationId": "broadcast_tx_async",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_broadcast_tx_async"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_CryptoHash_and_RpcTransactionError"
                }
              }
            }
          }
        }
      }
    },
    "/broadcast_tx_commit": {
      "post": {
        "description": "[Deprecated] Sends a transaction and waits until transaction is fully complete. (Has a 10 second timeout). Consider using send_tx instead.",
        "operationId": "broadcast_tx_commit",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_broadcast_tx_commit"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcTransactionResponse_and_RpcTransactionError"
                }
              }
            }
          }
        }
      }
    },
    "/changes": {
      "post": {
        "description": "Returns changes for a given account, contract or contract code for given block height or hash.",
        "operationId": "changes",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_changes"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcStateChangesInBlockResponse_and_RpcStateChangesError"
                }
              }
            }
          }
        }
      }
    },
    "/chunk": {
      "post": {
        "description": "Returns details of a specific chunk. You can run a block details query to get a valid chunk hash.",
        "operationId": "chunk",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_chunk"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcChunkResponse_and_RpcChunkError"
                }
              }
            }
          }
        }
      }
    },
    "/client_config": {
      "post": {
        "description": "Queries client node configuration",
        "operationId": "client_config",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_client_config"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcClientConfigResponse_and_RpcClientConfigError"
                }
              }
            }
          }
        }
      }
    },
    "/gas_price": {
      "post": {
        "description": "Returns gas price for a specific block_height or block_hash. Using [null] will return the most recent block's gas price.",
        "operationId": "gas_price",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_gas_price"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcGasPriceResponse_and_RpcGasPriceError"
                }
              }
            }
          }
        }
      }
    },
    "/genesis_config": {
      "post": {
        "description": "Get initial state and parameters for the genesis block",
        "operationId": "genesis_config",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_genesis_config"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_GenesisConfig_and_GenesisConfigError"
                }
              }
            }
          }
        }
      }
    },
    "/health": {
      "post": {
        "description": "Returns the current health status of the RPC node the client connects to.",
        "operationId": "health",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_health"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_Nullable_RpcHealthResponse_and_RpcStatusError"
                }
              }
            }
          }
        }
      }
    },
    "/light_client_proof": {
      "post": {
        "description": "Returns the proofs for a transaction execution.",
        "operationId": "light_client_proof",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_light_client_proof"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcLightClientExecutionProofResponse_and_RpcLightClientProofError"
                }
              }
            }
          }
        }
      }
    },
    "/maintenance_windows": {
      "post": {
        "description": "Returns the future windows for maintenance in current epoch for the specified account. In the maintenance windows, the node will not be block producer or chunk producer.",
        "operationId": "maintenance_windows",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_maintenance_windows"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_Array_of_Range_of_uint64_and_RpcMaintenanceWindowsError"
                }
              }
            }
          }
        }
      }
    },
    "/network_info": {
      "post": {
        "description": "Queries the current state of node network connections. This includes information about active peers, transmitted data, known producers, etc.",
        "operationId": "network_info",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_network_info"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcNetworkInfoResponse_and_RpcNetworkInfoError"
                }
              }
            }
          }
        }
      }
    },
    "/next_light_client_block": {
      "post": {
        "description": "Returns the next light client block.",
        "operationId": "next_light_client_block",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_next_light_client_block"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcLightClientNextBlockResponse_and_RpcLightClientNextBlockError"
                }
              }
            }
          }
        }
      }
    },
    "/query": {
      "post": {
        "description": "This module allows you to make generic requests to the network.\n\nThe `RpcQueryRequest` struct takes in a [`BlockReference`](https://docs.rs/near-primitives/0.12.0/near_primitives/types/enum.BlockReference.html) and a [`QueryRequest`](https://docs.rs/near-primitives/0.12.0/near_primitives/views/enum.QueryRequest.html).\n\nThe `BlockReference` enum allows you to specify a block by `Finality`, `BlockId` or `SyncCheckpoint`.\n\nThe `QueryRequest` enum provides multiple variants for performing the following actions:\n - View an account's details\n - View a contract's code\n - View the state of an account\n - View the `AccessKey` of an account\n - View the `AccessKeyList` of an account\n - Call a function in a contract deployed on the network.",
        "operationId": "query",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_query"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcQueryResponse_and_RpcQueryError"
                }
              }
            }
          }
        }
      }
    },
    "/send_tx": {
      "post": {
        "description": "Sends transaction. Returns the guaranteed execution status and the results the blockchain can provide at the moment.",
        "operationId": "send_tx",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_send_tx"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcTransactionResponse_and_RpcTransactionError"
                }
              }
            }
          }
        }
      }
    },
    "/status": {
      "post": {
        "description": "Requests the status of the connected RPC node. This includes information about sync status, nearcore node version, protocol version, the current set of validators, etc.",
        "operationId": "status",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_status"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcStatusResponse_and_RpcStatusError"
                }
              }
            }
          }
        }
      }
    },
    "/tx": {
      "post": {
        "description": "Queries status of a transaction by hash and returns the final transaction result.",
        "operationId": "tx",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_tx"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcTransactionResponse_and_RpcTransactionError"
                }
              }
            }
          }
        }
      }
    },
    "/validators": {
      "post": {
        "description": "Queries active validators on the network. Returns details and the state of validation on the blockchain.",
        "operationId": "validators",
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/JsonRpcRequest_for_validators"
              }
            }
          },
          "required": true
        },
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/JsonRpcResponse_for_RpcValidatorResponse_and_RpcValidatorError"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "AccessKey": {
        "description": "Access key provides limited access to an account. Each access key belongs to some account and\nis identified by a unique (within the account) public key. One account may have large number of\naccess keys. Access keys allow to act on behalf of the account by restricting transactions\nthat can be issued.\n`account_id,public_key` is a key in the state",
        "properties": {
          "nonce": {
            "description": "Nonce for this access key, used for tx nonce generation. When access key is created, nonce\nis set to `(block_height - 1) * 1e6` to avoid tx hash collision on access key re-creation.\nSee <https://github.com/near/nearcore/issues/3779> for more details.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "permission": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccessKeyPermission"
              }
            ],
            "description": "Defines permissions for this access key."
          }
        },
        "required": [
          "nonce",
          "permission"
        ],
        "type": "object"
      },
      "AccessKeyCreationConfigView": {
        "description": "Describes the cost of creating an access key.",
        "properties": {
          "full_access_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost of creating a full access access-key."
          },
          "function_call_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost of creating an access-key restricted to specific functions."
          },
          "function_call_cost_per_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Cost per byte of method_names of creating a restricted access-key."
          }
        },
        "required": [
          "full_access_cost",
          "function_call_cost",
          "function_call_cost_per_byte"
        ],
        "type": "object"
      },
      "AccessKeyInfoView": {
        "description": "Describes information about an access key including its on-trie\nidentifier. For ed25519/secp256k1 access keys the `public_key` field\nis the full public key (string form unchanged from before); for\nML-DSA-65 access keys it is a `ml-dsa-65-hash:...` SHA3-256 digest\n(the full pubkey is not stored on-chain).",
        "properties": {
          "access_key": {
            "$ref": "#/components/schemas/AccessKeyView"
          },
          "public_key": {
            "$ref": "#/components/schemas/PublicKeyHandle"
          }
        },
        "required": [
          "public_key",
          "access_key"
        ],
        "type": "object"
      },
      "AccessKeyList": {
        "description": "Lists access keys",
        "properties": {
          "keys": {
            "items": {
              "$ref": "#/components/schemas/AccessKeyInfoView"
            },
            "type": "array"
          }
        },
        "required": [
          "keys"
        ],
        "type": "object"
      },
      "AccessKeyPermission": {
        "description": "Defines permissions for AccessKey",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "FunctionCall": {
                "$ref": "#/components/schemas/FunctionCallPermission"
              }
            },
            "required": [
              "FunctionCall"
            ],
            "type": "object"
          },
          {
            "description": "Grants full access to the account.\nNOTE: It's used to replace account-level public keys.",
            "enum": [
              "FullAccess"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Gas key with limited permission to make transactions with FunctionCallActions\nGas keys are a kind of access keys with a prepaid balance to pay for gas.",
            "properties": {
              "GasKeyFunctionCall": {
                "items": {
                  "oneOf": [
                    {
                      "$ref": "#/components/schemas/GasKeyInfo"
                    },
                    {
                      "$ref": "#/components/schemas/FunctionCallPermission"
                    }
                  ]
                },
                "maxItems": 2,
                "minItems": 2,
                "type": "array",
                "description": "Positional tuple of 2: [GasKeyInfo, FunctionCallPermission]."
              }
            },
            "required": [
              "GasKeyFunctionCall"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Gas key with full access to the account.\nGas keys are a kind of access keys with a prepaid balance to pay for gas.",
            "properties": {
              "GasKeyFullAccess": {
                "$ref": "#/components/schemas/GasKeyInfo"
              }
            },
            "required": [
              "GasKeyFullAccess"
            ],
            "type": "object"
          }
        ]
      },
      "AccessKeyPermissionView": {
        "description": "Describes the permission scope for an access key. Whether it is a function call or a full access key.",
        "oneOf": [
          {
            "enum": [
              "FullAccess"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "properties": {
              "FunctionCall": {
                "properties": {
                  "allowance": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/NearToken"
                      },
                      {
                        "enum": [
                          null
                        ],
                        "nullable": true
                      }
                    ]
                  },
                  "method_names": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "receiver_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "receiver_id",
                  "method_names"
                ],
                "type": "object"
              }
            },
            "required": [
              "FunctionCall"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "GasKeyFunctionCall": {
                "properties": {
                  "allowance": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/NearToken"
                      },
                      {
                        "enum": [
                          null
                        ],
                        "nullable": true
                      }
                    ]
                  },
                  "balance": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "method_names": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  },
                  "num_nonces": {
                    "format": "uint16",
                    "maximum": 65535,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "receiver_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "balance",
                  "num_nonces",
                  "receiver_id",
                  "method_names"
                ],
                "type": "object"
              }
            },
            "required": [
              "GasKeyFunctionCall"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "GasKeyFullAccess": {
                "properties": {
                  "balance": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "num_nonces": {
                    "format": "uint16",
                    "maximum": 65535,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "balance",
                  "num_nonces"
                ],
                "type": "object"
              }
            },
            "required": [
              "GasKeyFullAccess"
            ],
            "type": "object"
          }
        ]
      },
      "AccessKeyView": {
        "description": "Describes access key permission scope and nonce.",
        "properties": {
          "nonce": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "permission": {
            "$ref": "#/components/schemas/AccessKeyPermissionView"
          }
        },
        "required": [
          "nonce",
          "permission"
        ],
        "type": "object"
      },
      "AccountContractView": {
        "description": "RPC view of a non-empty [`AccountContract`]. The `AccountContract::None`\nvariant is represented externally as a JSON `null` via `Option`, so this\nenum only carries the three \"contract is present\" cases. Serializes as\nan externally-tagged object:\n\n- `Local(hash)` → `{\"local\": \"<CryptoHash>\"}`\n- `GlobalHash(hash)` → `{\"global_hash\": \"<CryptoHash>\"}`\n- `GlobalAccountId(id)` → `{\"global_account_id\": \"<AccountId>\"}`\n\nMirrors [`AccountContract`] 1:1 (minus `None`) so consumers can preserve\nthe distinction between a global-by-hash and global-by-account contract\nwithout descending into a nested identifier.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "local": {
                "$ref": "#/components/schemas/CryptoHash"
              }
            },
            "required": [
              "local"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "global_hash": {
                "$ref": "#/components/schemas/CryptoHash"
              }
            },
            "required": [
              "global_hash"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "global_account_id": {
                "$ref": "#/components/schemas/AccountId"
              }
            },
            "required": [
              "global_account_id"
            ],
            "type": "object"
          }
        ]
      },
      "AccountCreationConfigView": {
        "description": "The structure describes configuration for creation of new accounts.",
        "properties": {
          "min_allowed_top_level_account_length": {
            "description": "The minimum length of the top-level account ID that is allowed to be created by any account.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "registrar_account_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "description": "The account ID of the account registrar. This account ID allowed to create top-level\naccounts of any valid length."
          }
        },
        "type": "object"
      },
      "AccountDataView": {
        "description": "AccountData is a piece of global state that a validator\nsigns and broadcasts to the network.\n\nIt is essentially the data that a validator wants to share with the network.\nAll the nodes in the network are collecting the account data\nbroadcasted by the validators.\nSince the number of the validators is bounded and their\nidentity is known (and the maximal size of allowed AccountData is bounded)\nthe global state that is distributed in the form of AccountData is bounded\nas well.\nFind more information in the docs [here](https://github.com/near/nearcore/blob/560f7fc8f4b3106e0d5d46050688610b1f104ac6/chain/client/src/client.rs#L2232)",
        "properties": {
          "account_key": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              }
            ],
            "description": "Account key of the validator signing this AccountData."
          },
          "peer_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              }
            ],
            "description": "ID of the node that handles the account key (aka validator key)."
          },
          "proxies": {
            "description": "Proxy nodes that are directly connected to the validator node\n(this list may include the validator node itself).\nTIER1 nodes should connect to one of the proxies to sent TIER1\nmessages to the validator.",
            "items": {
              "$ref": "#/components/schemas/Tier1ProxyView"
            },
            "type": "array"
          },
          "timestamp": {
            "description": "UTC timestamp of when the AccountData has been signed.",
            "type": "string"
          }
        },
        "required": [
          "peer_id",
          "proxies",
          "account_key",
          "timestamp"
        ],
        "type": "object"
      },
      "AccountId": {
        "description": "NEAR Account Identifier.\n\nThis is a unique, syntactically valid, human-readable account identifier on the NEAR network.\n\n[See the crate-level docs for information about validation.](index.html#account-id-rules)\n\nAlso see [Error kind precedence](AccountId#error-kind-precedence).\n\n## Examples\n\n```\nuse near_account_id::AccountId;\n\nlet alice: AccountId = \"alice.near\".parse().unwrap();\n\nassert!(\"ƒelicia.near\".parse::<AccountId>().is_err()); // (ƒ is not f)\n```",
        "title": "AccountId",
        "type": "string"
      },
      "AccountIdValidityRulesVersion": {
        "format": "uint8",
        "maximum": 255,
        "minimum": 0,
        "type": "integer"
      },
      "AccountInfo": {
        "description": "Account info for validators",
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "amount": {
            "$ref": "#/components/schemas/NearToken"
          },
          "public_key": {
            "$ref": "#/components/schemas/PublicKey"
          }
        },
        "required": [
          "account_id",
          "public_key",
          "amount"
        ],
        "type": "object"
      },
      "AccountView": {
        "description": "A view of the account",
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/NearToken"
          },
          "code_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "global_contract_account_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "global_contract_hash": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "locked": {
            "$ref": "#/components/schemas/NearToken"
          },
          "storage_paid_at": {
            "default": 0,
            "description": "TODO(2271): deprecated.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "storage_usage": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "locked",
          "code_hash",
          "storage_usage"
        ],
        "type": "object"
      },
      "AccountWithPublicKey": {
        "description": "Account ID with its public key.",
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "public_key": {
            "$ref": "#/components/schemas/PublicKey"
          }
        },
        "required": [
          "account_id",
          "public_key"
        ],
        "type": "object"
      },
      "ActionCreationConfigView": {
        "description": "Describes the cost of creating a specific action, `Action`. Includes all variants.",
        "properties": {
          "add_key_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccessKeyCreationConfigView"
              }
            ],
            "description": "Base cost of adding a key."
          },
          "create_account_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost of creating an account."
          },
          "delegate_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost for processing a delegate action.\n\nThis is on top of the costs for the actions inside the delegate action."
          },
          "delete_account_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost of deleting an account."
          },
          "delete_key_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost of deleting a key."
          },
          "deploy_contract_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost of deploying a contract."
          },
          "deploy_contract_cost_per_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Cost per byte of deploying a contract."
          },
          "function_call_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost of calling a function."
          },
          "function_call_cost_per_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Cost per byte of method name and arguments of calling a function."
          },
          "stake_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost of staking."
          },
          "transfer_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost of making a transfer."
          }
        },
        "type": "object"
      },
      "ActionError": {
        "description": "An error happened during Action execution",
        "properties": {
          "index": {
            "description": "Index of the failed action in the transaction.\nAction index is not defined if ActionError.kind is `ActionErrorKind::LackBalanceForState`",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ActionErrorKind"
              }
            ],
            "description": "The kind of ActionError happened"
          }
        },
        "required": [
          "kind"
        ],
        "type": "object"
      },
      "ActionErrorKind": {
        "oneOf": [
          {
            "additionalProperties": false,
            "description": "Happens when CreateAccount action tries to create an account with account_id which is already exists in the storage",
            "properties": {
              "AccountAlreadyExists": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "AccountAlreadyExists"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Happens when TX receiver_id doesn't exist (but action is not Action::CreateAccount)",
            "properties": {
              "AccountDoesNotExist": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "AccountDoesNotExist"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "A top-level account ID can only be created by registrar.",
            "properties": {
              "CreateAccountOnlyByRegistrar": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "predecessor_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "registrar_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id",
                  "registrar_account_id",
                  "predecessor_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "CreateAccountOnlyByRegistrar"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "A newly created account must be under a namespace of the creator account",
            "properties": {
              "CreateAccountNotAllowed": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "predecessor_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id",
                  "predecessor_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "CreateAccountNotAllowed"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Administrative actions like `DeployContract`, `Stake`, `AddKey`, `DeleteKey`. can be proceed only if sender=receiver\nor the first TX action is a `CreateAccount` action",
            "properties": {
              "ActorNoPermission": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "actor_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id",
                  "actor_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "ActorNoPermission"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Account tries to remove an access key that doesn't exist",
            "properties": {
              "DeleteKeyDoesNotExist": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeleteKeyDoesNotExist"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The public key is already used for an existing access key",
            "properties": {
              "AddKeyAlreadyExists": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              }
            },
            "required": [
              "AddKeyAlreadyExists"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Account is staking and can not be deleted",
            "properties": {
              "DeleteAccountStaking": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeleteAccountStaking"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "ActionReceipt can't be completed, because the remaining balance will not be enough to cover storage.",
            "properties": {
              "LackBalanceForState": {
                "properties": {
                  "account_id": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/AccountId"
                      }
                    ],
                    "description": "An account which needs balance"
                  },
                  "amount": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/NearToken"
                      }
                    ],
                    "description": "Balance required to complete an action."
                  }
                },
                "required": [
                  "account_id",
                  "amount"
                ],
                "type": "object"
              }
            },
            "required": [
              "LackBalanceForState"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Account is not yet staked, but tries to unstake",
            "properties": {
              "TriesToUnstake": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "TriesToUnstake"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The account doesn't have enough balance to increase the stake.",
            "properties": {
              "TriesToStake": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "balance": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "locked": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "stake": {
                    "$ref": "#/components/schemas/NearToken"
                  }
                },
                "required": [
                  "account_id",
                  "stake",
                  "locked",
                  "balance"
                ],
                "type": "object"
              }
            },
            "required": [
              "TriesToStake"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "InsufficientStake": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "minimum_stake": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "stake": {
                    "$ref": "#/components/schemas/NearToken"
                  }
                },
                "required": [
                  "account_id",
                  "stake",
                  "minimum_stake"
                ],
                "type": "object"
              }
            },
            "required": [
              "InsufficientStake"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "An error occurred during a `FunctionCall` Action, parameter is debug message.",
            "properties": {
              "FunctionCallError": {
                "$ref": "#/components/schemas/FunctionCallError"
              }
            },
            "required": [
              "FunctionCallError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Error occurs when a new `ActionReceipt` created by the `FunctionCall` action fails\nreceipt validation.",
            "properties": {
              "NewReceiptValidationError": {
                "$ref": "#/components/schemas/ReceiptValidationError"
              }
            },
            "required": [
              "NewReceiptValidationError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Error occurs when a `CreateAccount` action is called on a NEAR-implicit or ETH-implicit account.\nSee NEAR-implicit account creation NEP: <https://github.com/nearprotocol/NEPs/pull/71>.\nAlso, see ETH-implicit account creation NEP: <https://github.com/near/NEPs/issues/518>.\n\nTODO(#8598): This error is named very poorly. A better name would be\n`OnlyNamedAccountCreationAllowed`.",
            "properties": {
              "OnlyImplicitAccountCreationAllowed": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "OnlyImplicitAccountCreationAllowed"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Delete account whose state is large is temporarily banned.",
            "properties": {
              "DeleteAccountWithLargeState": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeleteAccountWithLargeState"
            ],
            "type": "object"
          },
          {
            "description": "Signature does not match the provided actions and given signer public key.",
            "enum": [
              "DelegateActionInvalidSignature"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Receiver of the transaction doesn't match Sender of the delegate action",
            "properties": {
              "DelegateActionSenderDoesNotMatchTxReceiver": {
                "properties": {
                  "receiver_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "sender_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "sender_id",
                  "receiver_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "DelegateActionSenderDoesNotMatchTxReceiver"
            ],
            "type": "object"
          },
          {
            "description": "Delegate action has expired. `max_block_height` is less than actual block height.",
            "enum": [
              "DelegateActionExpired"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "The given public key doesn't exist for Sender account",
            "properties": {
              "DelegateActionAccessKeyError": {
                "$ref": "#/components/schemas/InvalidAccessKeyError"
              }
            },
            "required": [
              "DelegateActionAccessKeyError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "DelegateAction nonce must be greater sender[public_key].nonce",
            "properties": {
              "DelegateActionInvalidNonce": {
                "properties": {
                  "ak_nonce": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "delegate_nonce": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "delegate_nonce",
                  "ak_nonce"
                ],
                "type": "object"
              }
            },
            "required": [
              "DelegateActionInvalidNonce"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "DelegateAction nonce is larger than the upper bound given by the block height",
            "properties": {
              "DelegateActionNonceTooLarge": {
                "properties": {
                  "delegate_nonce": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "upper_bound": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "delegate_nonce",
                  "upper_bound"
                ],
                "type": "object"
              }
            },
            "required": [
              "DelegateActionNonceTooLarge"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "GlobalContractDoesNotExist": {
                "properties": {
                  "identifier": {
                    "$ref": "#/components/schemas/GlobalContractIdentifier"
                  }
                },
                "required": [
                  "identifier"
                ],
                "type": "object"
              }
            },
            "required": [
              "GlobalContractDoesNotExist"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Gas key does not exist for the specified public key",
            "properties": {
              "GasKeyDoesNotExist": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              }
            },
            "required": [
              "GasKeyDoesNotExist"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Gas key does not have sufficient balance for the requested withdrawal",
            "properties": {
              "InsufficientGasKeyBalance": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "balance": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  },
                  "required": {
                    "$ref": "#/components/schemas/NearToken"
                  }
                },
                "required": [
                  "account_id",
                  "public_key",
                  "balance",
                  "required"
                ],
                "type": "object"
              }
            },
            "required": [
              "InsufficientGasKeyBalance"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Gas key balance is too high to burn during deletion",
            "properties": {
              "GasKeyBalanceTooHigh": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "balance": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "public_key": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/PublicKey"
                      },
                      {
                        "enum": [
                          null
                        ],
                        "nullable": true
                      }
                    ],
                    "description": "Set for DeleteKey (specific key), None for DeleteAccount (aggregate)"
                  }
                },
                "required": [
                  "account_id",
                  "balance"
                ],
                "type": "object"
              }
            },
            "required": [
              "GasKeyBalanceTooHigh"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "DelegateAction nonce index is outside the gas key's nonce range",
            "properties": {
              "DelegateActionInvalidNonceIndex": {
                "properties": {
                  "nonce_index": {
                    "format": "uint16",
                    "maximum": 65535,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "num_nonces": {
                    "format": "uint16",
                    "maximum": 65535,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "nonce_index",
                  "num_nonces"
                ],
                "type": "object"
              }
            },
            "required": [
              "DelegateActionInvalidNonceIndex"
            ],
            "type": "object"
          }
        ]
      },
      "ActionView": {
        "oneOf": [
          {
            "enum": [
              "CreateAccount"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeployContract": {
                "properties": {
                  "code": {
                    "format": "bytes",
                    "type": "string"
                  }
                },
                "required": [
                  "code"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeployContract"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "FunctionCall": {
                "properties": {
                  "args": {
                    "$ref": "#/components/schemas/FunctionArgs"
                  },
                  "deposit": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "gas": {
                    "$ref": "#/components/schemas/NearGas"
                  },
                  "method_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "method_name",
                  "args",
                  "gas",
                  "deposit"
                ],
                "type": "object"
              }
            },
            "required": [
              "FunctionCall"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "Transfer": {
                "properties": {
                  "deposit": {
                    "$ref": "#/components/schemas/NearToken"
                  }
                },
                "required": [
                  "deposit"
                ],
                "type": "object"
              }
            },
            "required": [
              "Transfer"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "Stake": {
                "properties": {
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  },
                  "stake": {
                    "$ref": "#/components/schemas/NearToken"
                  }
                },
                "required": [
                  "stake",
                  "public_key"
                ],
                "type": "object"
              }
            },
            "required": [
              "Stake"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "AddKey": {
                "properties": {
                  "access_key": {
                    "$ref": "#/components/schemas/AccessKeyView"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "public_key",
                  "access_key"
                ],
                "type": "object"
              }
            },
            "required": [
              "AddKey"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeleteKey": {
                "properties": {
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "public_key"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeleteKey"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeleteAccount": {
                "properties": {
                  "beneficiary_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "beneficiary_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeleteAccount"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "Delegate": {
                "properties": {
                  "delegate_action": {
                    "$ref": "#/components/schemas/DelegateAction"
                  },
                  "signature": {
                    "$ref": "#/components/schemas/Signature"
                  }
                },
                "required": [
                  "delegate_action",
                  "signature"
                ],
                "type": "object"
              }
            },
            "required": [
              "Delegate"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DelegateV2": {
                "properties": {
                  "delegate_action": {
                    "$ref": "#/components/schemas/VersionedDelegateActionPayload"
                  },
                  "signature": {
                    "$ref": "#/components/schemas/Signature"
                  }
                },
                "required": [
                  "delegate_action",
                  "signature"
                ],
                "type": "object"
              }
            },
            "required": [
              "DelegateV2"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeployGlobalContract": {
                "properties": {
                  "code": {
                    "format": "bytes",
                    "type": "string"
                  }
                },
                "required": [
                  "code"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeployGlobalContract"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeployGlobalContractByAccountId": {
                "properties": {
                  "code": {
                    "format": "bytes",
                    "type": "string"
                  }
                },
                "required": [
                  "code"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeployGlobalContractByAccountId"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "UseGlobalContract": {
                "properties": {
                  "code_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  }
                },
                "required": [
                  "code_hash"
                ],
                "type": "object"
              }
            },
            "required": [
              "UseGlobalContract"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "UseGlobalContractByAccountId": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "UseGlobalContractByAccountId"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeterministicStateInit": {
                "properties": {
                  "code": {
                    "$ref": "#/components/schemas/GlobalContractIdentifierView"
                  },
                  "data": {
                    "additionalProperties": {
                      "type": "string"
                    },
                    "type": "object"
                  },
                  "deposit": {
                    "$ref": "#/components/schemas/NearToken"
                  }
                },
                "required": [
                  "code",
                  "data",
                  "deposit"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeterministicStateInit"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "TransferToGasKey": {
                "properties": {
                  "deposit": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "public_key",
                  "deposit"
                ],
                "type": "object"
              }
            },
            "required": [
              "TransferToGasKey"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "WithdrawFromGasKey": {
                "properties": {
                  "amount": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "public_key",
                  "amount"
                ],
                "type": "object"
              }
            },
            "required": [
              "WithdrawFromGasKey"
            ],
            "type": "object"
          }
        ]
      },
      "ActionsValidationError": {
        "description": "Describes the error for validating a list of actions.",
        "oneOf": [
          {
            "description": "The delete action must be a final action in transaction",
            "enum": [
              "DeleteActionMustBeFinal"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "The total prepaid gas (for all given actions) exceeded the limit.",
            "properties": {
              "TotalPrepaidGasExceeded": {
                "properties": {
                  "limit": {
                    "$ref": "#/components/schemas/NearGas"
                  },
                  "total_prepaid_gas": {
                    "$ref": "#/components/schemas/NearGas"
                  }
                },
                "required": [
                  "total_prepaid_gas",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "TotalPrepaidGasExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The number of actions exceeded the given limit.",
            "properties": {
              "TotalNumberOfActionsExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "total_number_of_actions": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "total_number_of_actions",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "TotalNumberOfActionsExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The total number of bytes of the method names exceeded the limit in a Add Key action.",
            "properties": {
              "AddKeyMethodNamesNumberOfBytesExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "total_number_of_bytes": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "total_number_of_bytes",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "AddKeyMethodNamesNumberOfBytesExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The length of some method name exceeded the limit in a Add Key action.",
            "properties": {
              "AddKeyMethodNameLengthExceeded": {
                "properties": {
                  "length": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "length",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "AddKeyMethodNameLengthExceeded"
            ],
            "type": "object"
          },
          {
            "description": "Integer overflow during a compute.",
            "enum": [
              "IntegerOverflow"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Invalid account ID.",
            "properties": {
              "InvalidAccountId": {
                "properties": {
                  "account_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidAccountId"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The size of the contract code exceeded the limit in a DeployContract action.",
            "properties": {
              "ContractSizeExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "size": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "size",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "ContractSizeExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The length of the method name exceeded the limit in a Function Call action.",
            "properties": {
              "FunctionCallMethodNameLengthExceeded": {
                "properties": {
                  "length": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "length",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "FunctionCallMethodNameLengthExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The length of the arguments exceeded the limit in a Function Call action.",
            "properties": {
              "FunctionCallArgumentsLengthExceeded": {
                "properties": {
                  "length": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "length",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "FunctionCallArgumentsLengthExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "An attempt to stake with a public key that is not convertible to ristretto.",
            "properties": {
              "UnsuitableStakingKey": {
                "properties": {
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "public_key"
                ],
                "type": "object"
              }
            },
            "required": [
              "UnsuitableStakingKey"
            ],
            "type": "object"
          },
          {
            "description": "The attached amount of gas in a FunctionCall action has to be a positive number.",
            "enum": [
              "FunctionCallZeroAttachedGas"
            ],
            "type": "string"
          },
          {
            "description": "There should be the only one DelegateAction",
            "enum": [
              "DelegateActionMustBeOnlyOne"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "The transaction includes a feature that the current protocol version\ndoes not support.\n\nNote: we stringify the protocol feature name instead of using\n`ProtocolFeature` here because we don't want to leak the internals of\nthat type into observable borsh serialization.",
            "properties": {
              "UnsupportedProtocolFeature": {
                "properties": {
                  "protocol_feature": {
                    "type": "string"
                  },
                  "version": {
                    "format": "uint32",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "protocol_feature",
                  "version"
                ],
                "type": "object"
              }
            },
            "required": [
              "UnsupportedProtocolFeature"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "InvalidDeterministicStateInitReceiver": {
                "properties": {
                  "derived_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "receiver_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "receiver_id",
                  "derived_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidDeterministicStateInitReceiver"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeterministicStateInitKeyLengthExceeded": {
                "properties": {
                  "length": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "length",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeterministicStateInitKeyLengthExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeterministicStateInitValueLengthExceeded": {
                "properties": {
                  "length": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "length",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "DeterministicStateInitValueLengthExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "GasKeyInvalidNumNonces": {
                "properties": {
                  "limit": {
                    "format": "uint16",
                    "maximum": 65535,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_nonces": {
                    "format": "uint16",
                    "maximum": 65535,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "requested_nonces",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "GasKeyInvalidNumNonces"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "AddGasKeyWithNonZeroBalance": {
                "properties": {
                  "balance": {
                    "$ref": "#/components/schemas/NearToken"
                  }
                },
                "required": [
                  "balance"
                ],
                "type": "object"
              }
            },
            "required": [
              "AddGasKeyWithNonZeroBalance"
            ],
            "type": "object"
          },
          {
            "description": "Gas keys with FunctionCall permission cannot have an allowance set.",
            "enum": [
              "GasKeyFunctionCallAllowanceNotAllowed"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "The combined number of `DeployContract` and `DeployGlobalContract`\nactions in one receipt exceeded the limit.",
            "properties": {
              "TotalNumberOfDeployActionsExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "number_of_deploy_actions": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "number_of_deploy_actions",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "TotalNumberOfDeployActionsExceeded"
            ],
            "type": "object"
          }
        ]
      },
      "AddKeyAction": {
        "description": "An action that adds key with public key associated",
        "properties": {
          "access_key": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccessKey"
              }
            ],
            "description": "An access key with the permission"
          },
          "public_key": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              }
            ],
            "description": "A public key which will be associated with an access_key"
          }
        },
        "required": [
          "public_key",
          "access_key"
        ],
        "type": "object"
      },
      "BandwidthRequest": {
        "description": "`BandwidthRequest` describes the size of receipts that a shard would like to send to another shard.\nWhen a shard wants to send a lot of receipts to another shard, it needs to create a request and wait\nfor a bandwidth grant from the bandwidth scheduler.",
        "properties": {
          "requested_values_bitmap": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BandwidthRequestBitmap"
              }
            ],
            "description": "Bitmap which describes what values of bandwidth are requested."
          },
          "to_shard": {
            "description": "Requesting bandwidth to this shard.",
            "format": "uint16",
            "maximum": 65535,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "to_shard",
          "requested_values_bitmap"
        ],
        "type": "object"
      },
      "BandwidthRequestBitmap": {
        "description": "Bitmap which describes which values from the predefined list are being requested.\nThe nth bit is set to 1 when the nth value from the list is being requested.",
        "properties": {
          "data": {
            "items": {
              "format": "uint8",
              "maximum": 255,
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 5,
            "minItems": 5,
            "type": "array"
          }
        },
        "required": [
          "data"
        ],
        "type": "object"
      },
      "BandwidthRequests": {
        "description": "A list of shard's bandwidth requests.\nDescribes how much the shard would like to send to other shards.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "V1": {
                "$ref": "#/components/schemas/BandwidthRequestsV1"
              }
            },
            "required": [
              "V1"
            ],
            "type": "object"
          }
        ]
      },
      "BandwidthRequestsV1": {
        "description": "Version 1 of [`BandwidthRequest`].",
        "properties": {
          "requests": {
            "items": {
              "$ref": "#/components/schemas/BandwidthRequest"
            },
            "type": "array"
          }
        },
        "required": [
          "requests"
        ],
        "type": "object"
      },
      "BlockHeaderInnerLiteView": {
        "description": "A part of a state for the current head of a light client. More info [here](https://nomicon.io/ChainSpec/LightClient).",
        "properties": {
          "block_merkle_root": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              }
            ],
            "description": "The merkle root of all the block hashes"
          },
          "epoch_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              }
            ],
            "description": "The epoch to which the block that is the current known head belongs"
          },
          "height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "next_bp_hash": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              }
            ],
            "description": "The hash of the block producers set for the next epoch"
          },
          "next_epoch_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              }
            ],
            "description": "The epoch that will follow the current epoch"
          },
          "outcome_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "prev_state_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "timestamp": {
            "description": "Legacy json number. Should not be used.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "timestamp_nanosec": {
            "type": "string"
          }
        },
        "required": [
          "height",
          "epoch_id",
          "next_epoch_id",
          "prev_state_root",
          "outcome_root",
          "timestamp",
          "timestamp_nanosec",
          "next_bp_hash",
          "block_merkle_root"
        ],
        "type": "object"
      },
      "BlockHeaderView": {
        "description": "Contains main info about the block.",
        "properties": {
          "approvals": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Signature"
                },
                {
                  "enum": [
                    null
                  ],
                  "nullable": true
                }
              ]
            },
            "type": "array"
          },
          "block_body_hash": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "block_merkle_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "block_ordinal": {
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "challenges_result": {
            "items": {
              "$ref": "#/components/schemas/SlashedValidator"
            },
            "type": "array"
          },
          "challenges_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "chunk_endorsements": {
            "items": {
              "items": {
                "format": "uint8",
                "maximum": 255,
                "minimum": 0,
                "type": "integer"
              },
              "type": "array"
            },
            "nullable": true,
            "type": "array"
          },
          "chunk_headers_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "chunk_mask": {
            "items": {
              "type": "boolean"
            },
            "type": "array"
          },
          "chunk_receipts_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "chunk_tx_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "chunks_included": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "epoch_id": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "epoch_sync_data_hash": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "gas_price": {
            "$ref": "#/components/schemas/NearToken"
          },
          "hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "last_ds_final_block": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "last_final_block": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "latest_protocol_version": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "next_bp_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "next_epoch_id": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "outcome_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "prev_hash": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              }
            ],
            "description": "The hash of the previous Block"
          },
          "prev_height": {
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "prev_last_certified_block_epoch_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EpochId"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "prev_state_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "random_value": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "rent_paid": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "default": "0",
            "description": "TODO(2271): deprecated."
          },
          "shard_split": {
            "items": {
              "oneOf": [
                {
                  "$ref": "#/components/schemas/ShardId"
                },
                {
                  "$ref": "#/components/schemas/AccountId"
                }
              ]
            },
            "maxItems": 2,
            "minItems": 2,
            "nullable": true,
            "type": "array",
            "description": "Positional tuple of 2: [ShardId, AccountId]."
          },
          "signature": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Signature"
              }
            ],
            "description": "Signature of the block producer."
          },
          "spice_chunk_endorsement_stats": {
            "items": {
              "$ref": "#/components/schemas/SpiceChunkEndorsementStats"
            },
            "nullable": true,
            "type": "array"
          },
          "timestamp": {
            "description": "Legacy json number. Should not be used.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "timestamp_nanosec": {
            "type": "string"
          },
          "total_supply": {
            "$ref": "#/components/schemas/NearToken"
          },
          "validator_proposals": {
            "items": {
              "$ref": "#/components/schemas/ValidatorStakeView"
            },
            "type": "array"
          },
          "validator_reward": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "default": "0",
            "description": "TODO(2271): deprecated."
          }
        },
        "required": [
          "height",
          "epoch_id",
          "next_epoch_id",
          "hash",
          "prev_hash",
          "prev_state_root",
          "chunk_receipts_root",
          "chunk_headers_root",
          "chunk_tx_root",
          "outcome_root",
          "chunks_included",
          "challenges_root",
          "timestamp",
          "timestamp_nanosec",
          "random_value",
          "validator_proposals",
          "chunk_mask",
          "gas_price",
          "total_supply",
          "challenges_result",
          "last_final_block",
          "last_ds_final_block",
          "next_bp_hash",
          "block_merkle_root",
          "approvals",
          "signature",
          "latest_protocol_version"
        ],
        "type": "object"
      },
      "BlockId": {
        "anyOf": [
          {
            "format": "uint64",
            "minimum": 0,
            "title": "block_height",
            "type": "integer"
          },
          {
            "$ref": "#/components/schemas/CryptoHash"
          }
        ]
      },
      "BlockReference": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "finality": {
                "$ref": "#/components/schemas/Finality"
              }
            },
            "required": [
              "finality"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "sync_checkpoint": {
                "$ref": "#/components/schemas/SyncCheckpoint"
              }
            },
            "required": [
              "sync_checkpoint"
            ],
            "type": "object"
          }
        ]
      },
      "BlockStatusView": {
        "description": "Height and hash of a block",
        "properties": {
          "hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "height",
          "hash"
        ],
        "type": "object"
      },
      "CallResult": {
        "description": "A result returned by contract method",
        "properties": {
          "logs": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "result": {
            "items": {
              "format": "uint8",
              "maximum": 255,
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          }
        },
        "required": [
          "result",
          "logs"
        ],
        "type": "object"
      },
      "CatchupStatusView": {
        "description": "Status of the [catchup](https://near.github.io/nearcore/architecture/how/sync.html#catchup) process",
        "properties": {
          "blocks_to_catchup": {
            "items": {
              "$ref": "#/components/schemas/BlockStatusView"
            },
            "type": "array"
          },
          "shard_sync_status": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object",
            "description": "Object keys must match: `^\\d+$`."
          },
          "sync_block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "sync_block_height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "sync_block_hash",
          "sync_block_height",
          "shard_sync_status",
          "blocks_to_catchup"
        ],
        "type": "object"
      },
      "ChunkDistributionNetworkConfig": {
        "description": "Config for the Chunk Distribution Network feature.\nThis allows nodes to push and pull chunks from a central stream.\nThe two benefits of this approach are: (1) less request/response traffic\non the peer-to-peer network and (2) lower latency for RPC nodes indexing the chain.",
        "properties": {
          "enabled": {
            "type": "boolean"
          },
          "uris": {
            "$ref": "#/components/schemas/ChunkDistributionUris"
          }
        },
        "type": "object"
      },
      "ChunkDistributionUris": {
        "description": "URIs for the Chunk Distribution Network feature.",
        "properties": {
          "get": {
            "description": "URI for pulling chunks from the stream.",
            "type": "string"
          },
          "set": {
            "description": "URI for publishing chunks to the stream.",
            "type": "string"
          }
        },
        "type": "object"
      },
      "ChunkHash": {
        "$ref": "#/components/schemas/CryptoHash"
      },
      "ChunkHeaderView": {
        "description": "Contains main info about the chunk.",
        "properties": {
          "balance_burnt": {
            "$ref": "#/components/schemas/NearToken"
          },
          "bandwidth_requests": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BandwidthRequests"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "chunk_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "congestion_info": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CongestionInfoView"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "encoded_length": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "encoded_merkle_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "gas_limit": {
            "$ref": "#/components/schemas/NearGas"
          },
          "gas_used": {
            "$ref": "#/components/schemas/NearGas"
          },
          "height_created": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "height_included": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "outcome_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "outgoing_receipts_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "prev_block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "prev_state_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "proposed_split": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/TrieSplit"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "Proposed trie split for dynamic resharding\n`None`: field missing (`ShardChunkHeaderInnerV4` or earlier)\n`Some(None)`: field present, but not set (`ChunkHeaderInnerV5` or later)\n`Some(Some(split))`: field present and set"
          },
          "rent_paid": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "default": "0",
            "description": "TODO(2271): deprecated."
          },
          "shard_id": {
            "$ref": "#/components/schemas/ShardId"
          },
          "signature": {
            "$ref": "#/components/schemas/Signature"
          },
          "tx_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "validator_proposals": {
            "items": {
              "$ref": "#/components/schemas/ValidatorStakeView"
            },
            "type": "array"
          },
          "validator_reward": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "default": "0",
            "description": "TODO(2271): deprecated."
          }
        },
        "required": [
          "chunk_hash",
          "prev_block_hash",
          "outcome_root",
          "prev_state_root",
          "encoded_merkle_root",
          "encoded_length",
          "height_created",
          "height_included",
          "shard_id",
          "gas_used",
          "gas_limit",
          "balance_burnt",
          "outgoing_receipts_root",
          "tx_root",
          "validator_proposals",
          "signature"
        ],
        "type": "object"
      },
      "CloudArchivalWriterConfig": {
        "description": "Configuration for a cloud-based archival writer. If this config is present, the writer is enabled and\nwrites chunk-related data based on the tracked shards. This config also controls additional archival\nbehavior such as block data and polling interval.",
        "properties": {
          "archive_block_data": {
            "default": false,
            "description": "Determines whether block-related data should be written to cloud storage.",
            "type": "boolean"
          },
          "polling_interval": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DurationAsStdSchemaProvider"
              }
            ],
            "default": {
              "nanos": 0,
              "secs": 1
            },
            "description": "Interval at which the system checks for new blocks or chunks to archive."
          },
          "snapshot_every_n_epochs": {
            "default": 10,
            "description": "Cadence of state snapshots, in epochs. Higher values reduce bucket cost at\nthe expense of potentially longer delta replay during reader bootstrap.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "CompilationError": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "CodeDoesNotExist": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "CodeDoesNotExist"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "PrepareError": {
                "$ref": "#/components/schemas/PrepareError"
              }
            },
            "required": [
              "PrepareError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "This is for defense in depth.\nWe expect our runtime-independent preparation code to fully catch all invalid wasms,\nbut, if it ever misses something we’ll emit this error",
            "properties": {
              "WasmerCompileError": {
                "properties": {
                  "msg": {
                    "type": "string"
                  }
                },
                "required": [
                  "msg"
                ],
                "type": "object"
              }
            },
            "required": [
              "WasmerCompileError"
            ],
            "type": "object"
          }
        ]
      },
      "CongestionControlConfigView": {
        "description": "The configuration for congestion control. More info about congestion [here](https://near.github.io/nearcore/architecture/how/receipt-congestion.html?highlight=congestion#receipt-congestion)",
        "properties": {
          "allowed_shard_outgoing_gas": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "How much gas the chosen allowed shard can send to a 100% congested shard.\n\nSee [`CongestionControlConfig`] for more details."
          },
          "max_congestion_incoming_gas": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "How much gas in delayed receipts of a shard is 100% incoming congestion.\n\nSee [`CongestionControlConfig`] for more details."
          },
          "max_congestion_memory_consumption": {
            "description": "How much memory space of all delayed and buffered receipts in a shard is\nconsidered 100% congested.\n\nSee [`CongestionControlConfig`] for more details.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_congestion_missed_chunks": {
            "description": "How many missed chunks in a row in a shard is considered 100% congested.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_congestion_outgoing_gas": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "How much gas in outgoing buffered receipts of a shard is 100% congested.\n\nOutgoing congestion contributes to overall congestion, which reduces how\nmuch other shards are allowed to forward to this shard."
          },
          "max_outgoing_gas": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "The maximum amount of gas attached to receipts a shard can forward to\nanother shard per chunk.\n\nSee [`CongestionControlConfig`] for more details."
          },
          "max_tx_gas": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "The maximum amount of gas in a chunk spent on converting new transactions to\nreceipts.\n\nSee [`CongestionControlConfig`] for more details."
          },
          "min_outgoing_gas": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "The minimum gas each shard can send to a shard that is not fully congested.\n\nSee [`CongestionControlConfig`] for more details."
          },
          "min_tx_gas": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "The minimum amount of gas in a chunk spent on converting new transactions\nto receipts, as long as the receiving shard is not congested.\n\nSee [`CongestionControlConfig`] for more details."
          },
          "outgoing_receipts_big_size_limit": {
            "description": "Large size limit for outgoing receipts to a shard, used when it's safe\nto send a lot of receipts without making the state witness too large.\nIt limits the total sum of outgoing receipts, not individual receipts.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "outgoing_receipts_usual_size_limit": {
            "description": "The standard size limit for outgoing receipts aimed at a single shard.\nThis limit is pretty small to keep the size of source_receipt_proofs under control.\nIt limits the total sum of outgoing receipts, not individual receipts.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "reject_tx_congestion_threshold": {
            "description": "How much congestion a shard can tolerate before it stops all shards from\naccepting new transactions with the receiver set to the congested shard.",
            "format": "double",
            "type": "number"
          }
        },
        "type": "object"
      },
      "CongestionInfoView": {
        "description": "Stores the congestion level of a shard. More info about congestion [here](https://near.github.io/nearcore/architecture/how/receipt-congestion.html?highlight=congestion#receipt-congestion)",
        "properties": {
          "allowed_shard": {
            "format": "uint16",
            "maximum": 65535,
            "minimum": 0,
            "type": "integer"
          },
          "buffered_receipts_gas": {
            "type": "string"
          },
          "delayed_receipts_gas": {
            "type": "string"
          },
          "receipt_bytes": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "delayed_receipts_gas",
          "buffered_receipts_gas",
          "receipt_bytes",
          "allowed_shard"
        ],
        "type": "object"
      },
      "ContractCodeView": {
        "description": "A view of the contract code.",
        "properties": {
          "code_base64": {
            "type": "string"
          },
          "hash": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "required": [
          "code_base64",
          "hash"
        ],
        "type": "object"
      },
      "CostGasUsed": {
        "description": "Shows gas profile. More info [here](https://near.github.io/nearcore/architecture/gas/gas_profile.html?highlight=WASM_HOST_COST#example-transaction-gas-profile).",
        "properties": {
          "cost": {
            "type": "string"
          },
          "cost_category": {
            "description": "Either ACTION_COST or WASM_HOST_COST.",
            "type": "string"
          },
          "gas_used": {
            "type": "string"
          }
        },
        "required": [
          "cost_category",
          "cost",
          "gas_used"
        ],
        "type": "object"
      },
      "CreateAccountAction": {
        "description": "Create account action",
        "type": "object"
      },
      "CryptoHash": {
        "type": "string"
      },
      "CurrentEpochValidatorInfo": {
        "description": "Describes information about the current epoch validator",
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "is_slashed": {
            "type": "boolean"
          },
          "num_expected_blocks": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_expected_chunks": {
            "default": 0,
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_expected_chunks_per_shard": {
            "default": [],
            "description": "Number of chunks this validator was expected to produce in each shard.\nEach entry in the array corresponds to the shard in the `shards_produced` array.",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "num_expected_endorsements": {
            "default": 0,
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_expected_endorsements_per_shard": {
            "default": [],
            "description": "Number of chunks this validator was expected to validate and endorse in each shard.\nEach entry in the array corresponds to the shard in the `shards_endorsed` array.",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "num_produced_blocks": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_produced_chunks": {
            "default": 0,
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_produced_chunks_per_shard": {
            "default": [],
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "num_produced_endorsements": {
            "default": 0,
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_produced_endorsements_per_shard": {
            "default": [],
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          },
          "public_key": {
            "$ref": "#/components/schemas/PublicKey"
          },
          "shards": {
            "description": "Shards this validator is assigned to as chunk producer in the current epoch.",
            "items": {
              "$ref": "#/components/schemas/ShardId"
            },
            "type": "array"
          },
          "shards_endorsed": {
            "default": [],
            "description": "Shards this validator is assigned to as chunk validator in the current epoch.",
            "items": {
              "$ref": "#/components/schemas/ShardId"
            },
            "type": "array"
          },
          "stake": {
            "$ref": "#/components/schemas/NearToken"
          }
        },
        "required": [
          "account_id",
          "public_key",
          "is_slashed",
          "stake",
          "shards",
          "num_produced_blocks",
          "num_expected_blocks"
        ],
        "type": "object"
      },
      "DataReceiptCreationConfigView": {
        "description": "The fees settings for a data receipt creation",
        "properties": {
          "base_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Base cost of creating a data receipt.\nBoth `send` and `exec` costs are burned when a new receipt has input dependencies. The gas\nis charged for each input dependency. The dependencies are specified when a receipt is\ncreated using `promise_then` and `promise_batch_then`.\nNOTE: Any receipt with output dependencies will produce data receipts. Even if it fails.\nEven if the last action is not a function call (in case of success it will return empty\nvalue)."
          },
          "cost_per_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Additional cost per byte sent.\nBoth `send` and `exec` costs are burned when a function call finishes execution and returns\n`N` bytes of data to every output dependency. For each output dependency the cost is\n`(send(sir) + exec()) * N`."
          }
        },
        "type": "object"
      },
      "DataReceiverView": {
        "properties": {
          "data_id": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "receiver_id": {
            "$ref": "#/components/schemas/AccountId"
          }
        },
        "required": [
          "data_id",
          "receiver_id"
        ],
        "type": "object"
      },
      "DelegateAction": {
        "description": "This action allows to execute the inner actions behalf of the defined sender.",
        "properties": {
          "actions": {
            "description": "List of actions to be executed.\n\nWith the meta transactions MVP defined in NEP-366, nested\nDelegateActions are not allowed. A separate type is used to enforce it.",
            "items": {
              "$ref": "#/components/schemas/NonDelegateAction"
            },
            "type": "array"
          },
          "max_block_height": {
            "description": "The maximal height of the block in the blockchain below which the given DelegateAction is valid.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "nonce": {
            "description": "Nonce to ensure that the same delegate action is not sent twice by a\nrelayer and should match for given account's `public_key`.\nAfter this action is processed it will increment.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "public_key": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              }
            ],
            "description": "Public key used to sign this delegated action."
          },
          "receiver_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "description": "Receiver of the delegated actions."
          },
          "sender_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "description": "Signer of the delegated actions"
          }
        },
        "required": [
          "sender_id",
          "receiver_id",
          "actions",
          "nonce",
          "max_block_height",
          "public_key"
        ],
        "type": "object"
      },
      "DelegateActionV2": {
        "description": "Delegate action with gas key support: `nonce` selects either the access\nkey's nonce or one of a gas key's parallel nonces by index, mirroring\n`TransactionV1`.",
        "properties": {
          "actions": {
            "description": "List of actions to be executed.",
            "items": {
              "$ref": "#/components/schemas/NonDelegateAction"
            },
            "type": "array"
          },
          "max_block_height": {
            "description": "The maximal height of the block in the blockchain below which the given DelegateActionV2 is valid.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "nonce": {
            "allOf": [
              {
                "$ref": "#/components/schemas/TransactionNonce"
              }
            ],
            "description": "Nonce of the signing key, advanced when this action is processed. For\na gas key it also selects which of the parallel nonces to advance."
          },
          "public_key": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              }
            ],
            "description": "Public key used to sign this delegated action."
          },
          "receiver_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "description": "Receiver of the delegated actions."
          },
          "sender_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "description": "Signer of the delegated actions"
          }
        },
        "required": [
          "sender_id",
          "receiver_id",
          "actions",
          "nonce",
          "max_block_height",
          "public_key"
        ],
        "type": "object"
      },
      "DeleteAccountAction": {
        "properties": {
          "beneficiary_id": {
            "$ref": "#/components/schemas/AccountId"
          }
        },
        "required": [
          "beneficiary_id"
        ],
        "type": "object"
      },
      "DeleteKeyAction": {
        "properties": {
          "public_key": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              }
            ],
            "description": "A public key associated with the access_key to be deleted."
          }
        },
        "required": [
          "public_key"
        ],
        "type": "object"
      },
      "DeployContractAction": {
        "description": "Deploy contract action",
        "properties": {
          "code": {
            "description": "WebAssembly binary",
            "type": "string"
          }
        },
        "required": [
          "code"
        ],
        "type": "object"
      },
      "DeployGlobalContractAction": {
        "description": "Deploy global contract action",
        "properties": {
          "code": {
            "description": "WebAssembly binary",
            "type": "string"
          },
          "deploy_mode": {
            "$ref": "#/components/schemas/GlobalContractDeployMode"
          }
        },
        "required": [
          "code",
          "deploy_mode"
        ],
        "type": "object"
      },
      "DepositCostFailureReason": {
        "description": "Reason why a gas key transaction failed at the deposit/account level.\nIn these cases, gas is still charged from the gas key.",
        "enum": [
          "NotEnoughBalance",
          "LackBalanceForState"
        ],
        "type": "string"
      },
      "DetailedDebugStatus": {
        "properties": {
          "block_production_delay_millis": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "catchup_status": {
            "items": {
              "$ref": "#/components/schemas/CatchupStatusView"
            },
            "type": "array"
          },
          "current_head_status": {
            "$ref": "#/components/schemas/BlockStatusView"
          },
          "current_header_head_status": {
            "$ref": "#/components/schemas/BlockStatusView"
          },
          "network_info": {
            "$ref": "#/components/schemas/NetworkInfoView"
          },
          "sync_status": {
            "type": "string"
          }
        },
        "required": [
          "network_info",
          "sync_status",
          "catchup_status",
          "current_head_status",
          "current_header_head_status",
          "block_production_delay_millis"
        ],
        "type": "object"
      },
      "DeterministicAccountStateInit": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "V1": {
                "$ref": "#/components/schemas/DeterministicAccountStateInitV1"
              }
            },
            "required": [
              "V1"
            ],
            "type": "object"
          }
        ]
      },
      "DeterministicAccountStateInitV1": {
        "properties": {
          "code": {
            "$ref": "#/components/schemas/GlobalContractIdentifier"
          },
          "data": {
            "additionalProperties": {
              "type": "string"
            },
            "type": "object"
          }
        },
        "required": [
          "code",
          "data"
        ],
        "type": "object"
      },
      "DeterministicStateInitAction": {
        "properties": {
          "deposit": {
            "$ref": "#/components/schemas/NearToken"
          },
          "state_init": {
            "$ref": "#/components/schemas/DeterministicAccountStateInit"
          }
        },
        "required": [
          "state_init",
          "deposit"
        ],
        "type": "object"
      },
      "Direction": {
        "enum": [
          "Left",
          "Right"
        ],
        "type": "string"
      },
      "DumpConfig": {
        "description": "Configures how to dump state to external storage.",
        "properties": {
          "credentials_file": {
            "description": "Location of a json file with credentials allowing access to the bucket.",
            "nullable": true,
            "type": "string"
          },
          "iteration_delay": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DurationAsStdSchemaProvider"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "How often to check if a new epoch has started.\nFeel free to set to `None`, defaults are sensible."
          },
          "location": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExternalStorageLocation"
              }
            ],
            "description": "Specifies where to write the obtained state parts."
          },
          "restart_dump_for_shards": {
            "description": "Use in case a node that dumps state to the external storage\ngets in trouble.",
            "items": {
              "$ref": "#/components/schemas/ShardId"
            },
            "nullable": true,
            "type": "array"
          }
        },
        "type": "object"
      },
      "DurationAsStdSchemaProvider": {
        "properties": {
          "nanos": {
            "format": "int32",
            "type": "integer"
          },
          "secs": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "secs",
          "nanos"
        ],
        "type": "object"
      },
      "EpochId": {
        "allOf": [
          {
            "$ref": "#/components/schemas/CryptoHash"
          }
        ],
        "description": "Epoch identifier -- wrapped hash, to make it easier to distinguish.\nEpochId of epoch T is the hash of last block in T-2\nEpochId of first two epochs is 0"
      },
      "EpochSyncConfig": {
        "properties": {
          "epoch_sync_horizon_num_epochs": {
            "default": 2,
            "description": "Number of epochs behind the network head beyond which the node will use\nepoch sync instead of header sync. At the consumption site, this is\nmultiplied by epoch_length to get the horizon in blocks.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "timeout_for_epoch_sync": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DurationAsStdSchemaProvider"
              }
            ],
            "description": "Timeout for epoch sync requests. The node will continue retrying indefinitely even\nif this timeout is exceeded."
          }
        },
        "type": "object"
      },
      "ErrorWrapper_for_GenesisConfigError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/GenesisConfigError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcBlockError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcBlockError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcCallFunctionError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcCallFunctionError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcChunkError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcChunkError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcClientConfigError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcClientConfigError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcGasPriceError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcGasPriceError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcLightClientNextBlockError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcLightClientNextBlockError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcLightClientProofError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcLightClientProofError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcMaintenanceWindowsError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcMaintenanceWindowsError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcNetworkInfoError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcNetworkInfoError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcProtocolConfigError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcProtocolConfigError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcQueryError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcQueryError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcReceiptError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcReceiptError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcReceiptToTxError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcReceiptToTxError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcSplitStorageInfoError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcSplitStorageInfoError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcStateChangesError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcStateChangesError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcStatusError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcStatusError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcTransactionError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcTransactionError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcValidatorError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcValidatorError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcViewAccessKeyError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcViewAccessKeyError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcViewAccessKeyListError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcViewAccessKeyListError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcViewAccountError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcViewAccountError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcViewCodeError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcViewCodeError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ErrorWrapper_for_RpcViewStateError": {
        "oneOf": [
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcRequestValidationErrorKind"
              },
              "name": {
                "enum": [
                  "REQUEST_VALIDATION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/RpcViewStateError"
              },
              "name": {
                "enum": [
                  "HANDLER_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          },
          {
            "properties": {
              "cause": {
                "$ref": "#/components/schemas/InternalError"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "cause"
            ],
            "type": "object"
          }
        ]
      },
      "ExecutionMetadataView": {
        "properties": {
          "contracts": {
            "description": "One entry per action in the receipt (V4+ only): the contract attached\nto the receiver account immediately before that action ran. The inner\n`Option` is `Some` (a tagged contract object) when the account had a\ncontract and `None` (rendered as JSON `null`) when it did not (e.g. an\naccount with no code, or one that did not yet exist). The outer\n`Option` is `None` for older metadata versions.",
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/AccountContractView"
                },
                {
                  "enum": [
                    null
                  ],
                  "nullable": true
                }
              ]
            },
            "nullable": true,
            "type": "array"
          },
          "gas_profile": {
            "items": {
              "$ref": "#/components/schemas/CostGasUsed"
            },
            "nullable": true,
            "type": "array"
          },
          "version": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "version"
        ],
        "type": "object"
      },
      "ExecutionOutcomeView": {
        "properties": {
          "executor_id": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "description": "The id of the account on which the execution happens. For transaction this is signer_id,\nfor receipt this is receiver_id."
          },
          "gas_burnt": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "The amount of the gas burnt by the given transaction or receipt."
          },
          "logs": {
            "description": "Logs from this transaction or receipt.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "metadata": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExecutionMetadataView"
              }
            ],
            "default": {
              "version": 1
            },
            "description": "Execution metadata, versioned"
          },
          "receipt_ids": {
            "description": "Receipt IDs generated by this transaction or receipt.",
            "items": {
              "$ref": "#/components/schemas/CryptoHash"
            },
            "type": "array"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExecutionStatusView"
              }
            ],
            "description": "Execution status. Contains the result in case of successful execution."
          },
          "tokens_burnt": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "The amount of tokens burnt corresponding to the burnt gas amount.\nThis value doesn't always equal to the `gas_burnt` multiplied by the gas price, because\nthe prepaid gas price might be lower than the actual gas price and it creates a deficit.\n`tokens_burnt` also contains the penalty subtracted from refunds, while\n`gas_burnt` only contains the gas that we actually burn for the execution."
          }
        },
        "required": [
          "logs",
          "receipt_ids",
          "gas_burnt",
          "tokens_burnt",
          "executor_id",
          "status"
        ],
        "type": "object"
      },
      "ExecutionOutcomeWithIdView": {
        "properties": {
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "id": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "outcome": {
            "$ref": "#/components/schemas/ExecutionOutcomeView"
          },
          "proof": {
            "items": {
              "$ref": "#/components/schemas/MerklePathItem"
            },
            "type": "array"
          }
        },
        "required": [
          "proof",
          "block_hash",
          "id",
          "outcome"
        ],
        "type": "object"
      },
      "ExecutionStatusView": {
        "oneOf": [
          {
            "description": "The execution is pending or unknown.",
            "enum": [
              "Unknown"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "The execution has failed.",
            "properties": {
              "Failure": {
                "$ref": "#/components/schemas/TxExecutionError"
              }
            },
            "required": [
              "Failure"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The final action succeeded and returned some value or an empty vec encoded in base64.",
            "properties": {
              "SuccessValue": {
                "type": "string"
              }
            },
            "required": [
              "SuccessValue"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The final action of the receipt returned a promise or the signed transaction was converted\nto a receipt. Contains the receipt_id of the generated receipt.",
            "properties": {
              "SuccessReceiptId": {
                "$ref": "#/components/schemas/CryptoHash"
              }
            },
            "required": [
              "SuccessReceiptId"
            ],
            "type": "object"
          }
        ]
      },
      "ExtCostsConfigView": {
        "description": "Typed view of ExtCostsConfig to preserve JSON output field names in protocol\nconfig RPC output.",
        "properties": {
          "alt_bn128_g1_multiexp_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for multiexp"
          },
          "alt_bn128_g1_multiexp_element": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Per element cost for multiexp"
          },
          "alt_bn128_g1_sum_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for sum"
          },
          "alt_bn128_g1_sum_element": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Per element cost for sum"
          },
          "alt_bn128_pairing_check_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for pairing check"
          },
          "alt_bn128_pairing_check_element": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Per element cost for pairing check"
          },
          "base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for calling a host function."
          },
          "bls12381_g1_multiexp_base": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_g1_multiexp_element": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_g2_multiexp_base": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_g2_multiexp_element": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_map_fp2_to_g2_base": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_map_fp2_to_g2_element": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_map_fp_to_g1_base": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_map_fp_to_g1_element": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_p1_decompress_base": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_p1_decompress_element": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_p1_sum_base": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_p1_sum_element": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_p2_decompress_base": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_p2_decompress_element": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_p2_sum_base": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_p2_sum_element": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_pairing_base": {
            "$ref": "#/components/schemas/NearGas"
          },
          "bls12381_pairing_element": {
            "$ref": "#/components/schemas/NearGas"
          },
          "contract_compile_base": {
            "$ref": "#/components/schemas/NearGas"
          },
          "contract_compile_bytes": {
            "$ref": "#/components/schemas/NearGas"
          },
          "contract_loading_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost of loading a pre-compiled contract"
          },
          "contract_loading_bytes": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost per byte of loading a pre-compiled contract"
          },
          "ecrecover_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of calling ecrecover"
          },
          "ed25519_verify_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting ed25519 base"
          },
          "ed25519_verify_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting ed25519 per byte"
          },
          "keccak256_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting sha256 base"
          },
          "keccak256_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting sha256 per byte"
          },
          "keccak512_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting sha256 base"
          },
          "keccak512_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting sha256 per byte"
          },
          "log_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost for calling logging."
          },
          "log_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost for logging per byte"
          },
          "p256_verify_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of P-256 ECDSA signature verification base"
          },
          "p256_verify_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of P-256 ECDSA signature verification per byte"
          },
          "promise_and_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost for calling `promise_and`"
          },
          "promise_and_per_promise": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost for calling `promise_and` for each promise"
          },
          "promise_return": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost for calling `promise_return`"
          },
          "read_cached_trie_node": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost for reading trie node from memory"
          },
          "read_memory_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for guest memory read"
          },
          "read_memory_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost for guest memory read"
          },
          "read_register_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for reading from register"
          },
          "read_register_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost for reading byte from register"
          },
          "ripemd160_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting ripemd160 base"
          },
          "ripemd160_block": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting ripemd160 per message block"
          },
          "sha256_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting sha256 base"
          },
          "sha256_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting sha256 per byte"
          },
          "sha3_256_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting sha3-256 base"
          },
          "sha3_256_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of getting sha3-256 per byte"
          },
          "storage_has_key_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie check for key existence cost base"
          },
          "storage_has_key_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie check for key existence per key byte"
          },
          "storage_iter_create_from_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Create trie range iterator cost per byte of from key."
          },
          "storage_iter_create_prefix_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Create trie prefix iterator cost base"
          },
          "storage_iter_create_prefix_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Create trie prefix iterator cost per byte."
          },
          "storage_iter_create_range_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Create trie range iterator cost base"
          },
          "storage_iter_create_to_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Create trie range iterator cost per byte of to key."
          },
          "storage_iter_next_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Trie iterator per key base cost"
          },
          "storage_iter_next_key_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Trie iterator next key byte cost"
          },
          "storage_iter_next_value_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Trie iterator next key byte cost"
          },
          "storage_large_read_overhead_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie read key overhead base cost, when doing large reads"
          },
          "storage_large_read_overhead_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie read key overhead  per-byte cost, when doing large reads"
          },
          "storage_read_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie read key base cost"
          },
          "storage_read_key_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie read key per byte cost"
          },
          "storage_read_value_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie read value cost per byte cost"
          },
          "storage_remove_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Remove key from trie base cost"
          },
          "storage_remove_key_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Remove key from trie per byte cost"
          },
          "storage_remove_ret_value_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Remove key from trie ret value byte cost"
          },
          "storage_write_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie write key base cost"
          },
          "storage_write_evicted_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie write cost per byte of evicted value."
          },
          "storage_write_key_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie write key per byte cost"
          },
          "storage_write_value_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Storage trie write value per byte cost"
          },
          "touching_trie_node": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost per reading trie node from DB"
          },
          "utf16_decoding_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost of decoding utf16. It's used for `log_utf16`."
          },
          "utf16_decoding_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost per byte of decoding utf16. It's used for `log_utf16`."
          },
          "utf8_decoding_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost of decoding utf8. It's used for `log_utf8` and `panic_utf8`."
          },
          "utf8_decoding_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost per byte of decoding utf8. It's used for `log_utf8` and `panic_utf8`."
          },
          "validator_stake_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of calling `validator_stake`."
          },
          "validator_total_stake_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost of calling `validator_total_stake`."
          },
          "write_memory_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for guest memory write"
          },
          "write_memory_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost for guest memory write per byte"
          },
          "write_register_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for writing into register"
          },
          "write_register_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Cost for writing byte into register"
          },
          "yield_create_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for creating a yield promise."
          },
          "yield_create_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Per byte cost of arguments and method name."
          },
          "yield_create_with_id_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for creating a yield promise with a user-provided yield ID\n(covers the additional trie writes for the yield_id<->data_id mapping)."
          },
          "yield_resume_base": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Base cost for resuming a yield receipt."
          },
          "yield_resume_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Per byte cost of resume payload."
          }
        },
        "type": "object"
      },
      "ExternalStorageLocation": {
        "description": "Supported external storage backends and their minimal config.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "S3": {
                "properties": {
                  "bucket": {
                    "description": "Location on S3.",
                    "type": "string"
                  },
                  "region": {
                    "description": "Data may only be available in certain locations.",
                    "type": "string"
                  }
                },
                "required": [
                  "bucket",
                  "region"
                ],
                "type": "object"
              }
            },
            "required": [
              "S3"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Local filesystem root for storing data.",
            "properties": {
              "Filesystem": {
                "properties": {
                  "root_dir": {
                    "type": "string"
                  }
                },
                "required": [
                  "root_dir"
                ],
                "type": "object"
              }
            },
            "required": [
              "Filesystem"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Google Cloud Storage bucket name.",
            "properties": {
              "GCS": {
                "properties": {
                  "bucket": {
                    "type": "string"
                  }
                },
                "required": [
                  "bucket"
                ],
                "type": "object"
              }
            },
            "required": [
              "GCS"
            ],
            "type": "object"
          }
        ]
      },
      "Fee": {
        "description": "Costs associated with an object that can only be sent over the network (and executed\nby the receiver).\nNOTE: `send_sir` or `send_not_sir` fees are usually burned when the item is being created.\nAnd `execution` fee is burned when the item is being executed.",
        "properties": {
          "execution": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Fee for executing the object."
          },
          "send_not_sir": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Fee for sending an object potentially across the shards."
          },
          "send_sir": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Fee for sending an object from the sender to itself, guaranteeing that it does not leave\nthe shard."
          }
        },
        "required": [
          "send_sir",
          "send_not_sir",
          "execution"
        ],
        "type": "object"
      },
      "FinalExecutionOutcomeView": {
        "description": "Execution outcome of the transaction and all the subsequent receipts.\nCould be not finalized yet",
        "properties": {
          "receipts_outcome": {
            "description": "The execution outcome of receipts.",
            "items": {
              "$ref": "#/components/schemas/ExecutionOutcomeWithIdView"
            },
            "type": "array"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FinalExecutionStatus"
              }
            ],
            "description": "Execution status defined by chain.rs:get_final_transaction_result\nFinalExecutionStatus::NotStarted - the tx is not converted to the receipt yet\nFinalExecutionStatus::Started - we have at least 1 receipt, but the first leaf receipt_id (using dfs) hasn't finished the execution\nFinalExecutionStatus::Failure - the result of the first leaf receipt_id\nFinalExecutionStatus::SuccessValue - the result of the first leaf receipt_id"
          },
          "transaction": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SignedTransactionView"
              }
            ],
            "description": "Signed Transaction"
          },
          "transaction_outcome": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExecutionOutcomeWithIdView"
              }
            ],
            "description": "The execution outcome of the signed transaction."
          }
        },
        "required": [
          "status",
          "transaction",
          "transaction_outcome",
          "receipts_outcome"
        ],
        "type": "object"
      },
      "FinalExecutionOutcomeWithReceiptView": {
        "description": "Final execution outcome of the transaction and all of subsequent the receipts. Also includes\nthe generated receipt.",
        "properties": {
          "receipts": {
            "description": "Receipts generated from the transaction",
            "items": {
              "$ref": "#/components/schemas/ReceiptView"
            },
            "type": "array"
          },
          "receipts_outcome": {
            "description": "The execution outcome of receipts.",
            "items": {
              "$ref": "#/components/schemas/ExecutionOutcomeWithIdView"
            },
            "type": "array"
          },
          "status": {
            "allOf": [
              {
                "$ref": "#/components/schemas/FinalExecutionStatus"
              }
            ],
            "description": "Execution status defined by chain.rs:get_final_transaction_result\nFinalExecutionStatus::NotStarted - the tx is not converted to the receipt yet\nFinalExecutionStatus::Started - we have at least 1 receipt, but the first leaf receipt_id (using dfs) hasn't finished the execution\nFinalExecutionStatus::Failure - the result of the first leaf receipt_id\nFinalExecutionStatus::SuccessValue - the result of the first leaf receipt_id"
          },
          "transaction": {
            "allOf": [
              {
                "$ref": "#/components/schemas/SignedTransactionView"
              }
            ],
            "description": "Signed Transaction"
          },
          "transaction_outcome": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExecutionOutcomeWithIdView"
              }
            ],
            "description": "The execution outcome of the signed transaction."
          }
        },
        "required": [
          "status",
          "transaction",
          "transaction_outcome",
          "receipts_outcome",
          "receipts"
        ],
        "type": "object"
      },
      "FinalExecutionStatus": {
        "oneOf": [
          {
            "description": "The execution has not yet started.",
            "enum": [
              "NotStarted"
            ],
            "type": "string"
          },
          {
            "description": "The execution has started and still going.",
            "enum": [
              "Started"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "The execution has failed with the given error.",
            "properties": {
              "Failure": {
                "$ref": "#/components/schemas/TxExecutionError"
              }
            },
            "required": [
              "Failure"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The execution has succeeded and returned some value or an empty vec encoded in base64.",
            "properties": {
              "SuccessValue": {
                "type": "string"
              }
            },
            "required": [
              "SuccessValue"
            ],
            "type": "object"
          }
        ]
      },
      "Finality": {
        "description": "Different types of finality.",
        "enum": [
          "optimistic",
          "near-final",
          "final"
        ],
        "type": "string"
      },
      "FunctionArgs": {
        "description": "This type is used to mark function arguments.\n\nNOTE: The main reason for this to exist (except the type-safety) is that the value is\ntransparently serialized and deserialized as a base64-encoded string when serde is used\n(serde_json).",
        "format": "bytes",
        "type": "string"
      },
      "FunctionCallAction": {
        "properties": {
          "args": {
            "type": "string"
          },
          "deposit": {
            "$ref": "#/components/schemas/NearToken"
          },
          "gas": {
            "$ref": "#/components/schemas/NearGas"
          },
          "method_name": {
            "type": "string"
          }
        },
        "required": [
          "method_name",
          "args",
          "gas",
          "deposit"
        ],
        "type": "object"
      },
      "FunctionCallError": {
        "description": "Serializable version of `near-vm-runner::FunctionCallError`.\n\nMust never reorder/remove elements, can only add new variants at the end (but do that very\ncarefully). It describes stable serialization format, and only used by serialization logic.",
        "oneOf": [
          {
            "enum": [
              "WasmUnknownError",
              "_EVMError"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Wasm compilation error",
            "properties": {
              "CompilationError": {
                "$ref": "#/components/schemas/CompilationError"
              }
            },
            "required": [
              "CompilationError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Wasm binary env link error\n\nNote: this is only to deserialize old data, use execution error for new data",
            "properties": {
              "LinkError": {
                "properties": {
                  "msg": {
                    "type": "string"
                  }
                },
                "required": [
                  "msg"
                ],
                "type": "object"
              }
            },
            "required": [
              "LinkError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Import/export resolve error",
            "properties": {
              "MethodResolveError": {
                "$ref": "#/components/schemas/MethodResolveError"
              }
            },
            "required": [
              "MethodResolveError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "A trap happened during execution of a binary\n\nNote: this is only to deserialize old data, use execution error for new data",
            "properties": {
              "WasmTrap": {
                "$ref": "#/components/schemas/WasmTrap"
              }
            },
            "required": [
              "WasmTrap"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Note: this is only to deserialize old data, use execution error for new data",
            "properties": {
              "HostError": {
                "$ref": "#/components/schemas/HostError"
              }
            },
            "required": [
              "HostError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "ExecutionError": {
                "type": "string"
              }
            },
            "required": [
              "ExecutionError"
            ],
            "type": "object"
          }
        ]
      },
      "FunctionCallPermission": {
        "description": "Grants limited permission to make transactions with FunctionCallActions\nThe permission can limit the allowed balance to be spent on the prepaid gas.\nIt also restrict the account ID of the receiver for this function call.\nIt also can restrict the method name for the allowed function calls.",
        "properties": {
          "allowance": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "Allowance is a balance limit to use by this access key to pay for function call gas and\ntransaction fees. When this access key is used, both account balance and the allowance is\ndecreased by the same value.\n`None` means unlimited allowance.\nNOTE: To change or increase the allowance, the old access key needs to be deleted and a new\naccess key should be created."
          },
          "method_names": {
            "description": "A list of method names that can be used. The access key only allows transactions with the\nfunction call of one of the given method names.\nEmpty list means any method name can be used.",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "receiver_id": {
            "description": "The access key only allows transactions with the given receiver's account id.",
            "type": "string"
          }
        },
        "required": [
          "receiver_id",
          "method_names"
        ],
        "type": "object"
      },
      "GCConfig": {
        "description": "Configuration for garbage collection.",
        "properties": {
          "gc_blocks_limit": {
            "default": 2,
            "description": "Maximum number of blocks to garbage collect at every garbage collection\ncall.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "gc_fork_clean_step": {
            "default": 100,
            "description": "Maximum number of height to go through at each garbage collection step\nwhen cleaning forks during garbage collection.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "gc_num_epochs_to_keep": {
            "default": 5,
            "description": "Number of epochs for which we keep store data.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "gc_step_period": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DurationAsStdSchemaProvider"
              }
            ],
            "default": {
              "nanos": 500000000,
              "secs": 0
            },
            "description": "How often gc should be run"
          }
        },
        "type": "object"
      },
      "GasKeyInfo": {
        "properties": {
          "balance": {
            "$ref": "#/components/schemas/NearToken"
          },
          "num_nonces": {
            "format": "uint16",
            "maximum": 65535,
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "balance",
          "num_nonces"
        ],
        "type": "object"
      },
      "GasKeyNoncesView": {
        "description": "Gas key nonces view returned by the `view_gas_key_nonces` RPC query.",
        "properties": {
          "nonces": {
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          }
        },
        "required": [
          "nonces"
        ],
        "type": "object"
      },
      "GenesisConfig": {
        "properties": {
          "block_producer_kickout_threshold": {
            "description": "Threshold for kicking out block producers, between 0 and 100.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "chain_id": {
            "description": "ID of the blockchain. This must be unique for every blockchain.\nIf your testnet blockchains do not have unique chain IDs, you will have a bad time.",
            "type": "string"
          },
          "chunk_producer_assignment_changes_limit": {
            "default": 5,
            "description": "Limits the number of shard changes in chunk producer assignments,\nif algorithm is able to choose assignment with better balance of\nnumber of chunk producers for shards.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "chunk_producer_kickout_threshold": {
            "description": "Threshold for kicking out chunk producers, between 0 and 100.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "chunk_validator_only_kickout_threshold": {
            "default": 80,
            "description": "Threshold for kicking out nodes which are only chunk validators, between 0 and 100.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "dynamic_resharding": {
            "description": "Enable dynamic re-sharding.",
            "type": "boolean"
          },
          "epoch_length": {
            "description": "Epoch length counted in block heights.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "fishermen_threshold": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "Fishermen stake threshold."
          },
          "gas_limit": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Initial gas limit."
          },
          "gas_price_adjustment_rate": {
            "description": "Gas price adjustment rate",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "genesis_height": {
            "description": "Height of genesis block.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "genesis_time": {
            "description": "Official time of blockchain start.",
            "format": "date-time",
            "type": "string"
          },
          "max_gas_price": {
            "$ref": "#/components/schemas/NearToken"
          },
          "max_inflation_rate": {
            "description": "Maximum inflation on the total supply every epoch.",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "max_kickout_stake_perc": {
            "default": 100,
            "description": "Max stake percentage of the validators we will kick out.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "min_gas_price": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "Minimum gas price. It is also the initial gas price."
          },
          "minimum_stake_divisor": {
            "default": 10,
            "description": "The minimum stake required for staking is last seat price divided by this number.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "minimum_stake_ratio": {
            "default": [
              1,
              6250
            ],
            "description": "The lowest ratio s/s_total any block producer can have.\nSee <https://github.com/near/NEPs/pull/167> for details",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "minimum_validators_per_shard": {
            "default": 1,
            "description": "The minimum number of validators each shard must have",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_block_producer_seats": {
            "description": "Number of block producer seats at genesis.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_blocks_per_year": {
            "description": "Expected number of blocks per year",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_chunk_producer_seats": {
            "default": 100,
            "description": "Number of chunk producers.\nDon't mess it up with chunk-only producers feature which is deprecated.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_chunk_validator_seats": {
            "default": 300,
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "online_max_threshold": {
            "default": [
              99,
              100
            ],
            "description": "Online maximum threshold above which validator gets full reward.",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "online_min_threshold": {
            "default": [
              9,
              10
            ],
            "description": "Online minimum threshold below which validator doesn't receive reward.",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "protocol_reward_rate": {
            "description": "Protocol treasury rate",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "protocol_treasury_account": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "description": "Protocol treasury account"
          },
          "protocol_upgrade_stake_threshold": {
            "default": [
              4,
              5
            ],
            "description": "Threshold of stake that needs to indicate that they ready for upgrade.",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "protocol_version": {
            "description": "Protocol version that this genesis works with.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "shard_layout": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ShardLayout"
              }
            ],
            "default": {
              "V2": {
                "boundary_accounts": [],
                "id_to_index_map": {
                  "0": 0
                },
                "index_to_id_map": {
                  "0": 0
                },
                "shard_ids": [
                  0
                ],
                "version": 0
              }
            },
            "description": "Layout information regarding how to split accounts to shards"
          },
          "shuffle_shard_assignment_for_chunk_producers": {
            "default": false,
            "description": "If true, shuffle the chunk producers across shards. In other words, if\nthe shard assignments were `[S_0, S_1, S_2, S_3]` where `S_i` represents\nthe set of chunk producers for shard `i`, if this flag were true, the\nshard assignments might become, for example, `[S_2, S_0, S_3, S_1]`.",
            "type": "boolean"
          },
          "target_validator_mandates_per_shard": {
            "default": 68,
            "description": "Number of target chunk validator mandates for each shard.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "total_supply": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "Total supply of tokens at genesis."
          },
          "transaction_validity_period": {
            "description": "Number of blocks for which a given transaction is valid",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "use_production_config": {
            "default": false,
            "description": "This is only for test purposes. We hard code some configs for mainnet and testnet\nin AllEpochConfig, and we want to have a way to test that code path. This flag is for that.\nIf set to true, the node will use the same config override path as mainnet and testnet.",
            "type": "boolean"
          },
          "validators": {
            "description": "List of initial validators.",
            "items": {
              "$ref": "#/components/schemas/AccountInfo"
            },
            "type": "array"
          }
        },
        "required": [
          "protocol_version",
          "genesis_time",
          "chain_id",
          "genesis_height",
          "num_block_producer_seats",
          "dynamic_resharding",
          "epoch_length",
          "gas_limit",
          "min_gas_price",
          "max_gas_price",
          "block_producer_kickout_threshold",
          "chunk_producer_kickout_threshold",
          "gas_price_adjustment_rate",
          "validators",
          "transaction_validity_period",
          "protocol_reward_rate",
          "max_inflation_rate",
          "total_supply",
          "num_blocks_per_year",
          "protocol_treasury_account",
          "fishermen_threshold"
        ],
        "type": "object"
      },
      "GenesisConfigError": {
        "enum": [
          null
        ],
        "nullable": true
      },
      "GenesisConfigRequest": {
        "enum": [
          null
        ],
        "nullable": true,
        "title": "GenesisConfigRequest"
      },
      "GlobalContractDeployMode": {
        "oneOf": [
          {
            "description": "Contract is deployed under its code hash.\nUsers will be able reference it by that hash.\nThis effectively makes the contract immutable.",
            "enum": [
              "CodeHash"
            ],
            "type": "string"
          },
          {
            "description": "Contract is deployed under the owner account id.\nUsers will be able reference it by that account id.\nThis allows the owner to update the contract for all its users.",
            "enum": [
              "AccountId"
            ],
            "type": "string"
          }
        ]
      },
      "GlobalContractIdentifier": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "hash": {
                "$ref": "#/components/schemas/CryptoHash"
              }
            },
            "required": [
              "hash"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "account_id": {
                "$ref": "#/components/schemas/AccountId"
              }
            },
            "required": [
              "account_id"
            ],
            "type": "object"
          }
        ]
      },
      "GlobalContractIdentifierView": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "hash": {
                "$ref": "#/components/schemas/CryptoHash"
              }
            },
            "required": [
              "hash"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "account_id": {
                "$ref": "#/components/schemas/AccountId"
              }
            },
            "required": [
              "account_id"
            ],
            "type": "object"
          }
        ]
      },
      "HostError": {
        "oneOf": [
          {
            "description": "String encoding is bad UTF-16 sequence",
            "enum": [
              "BadUTF16"
            ],
            "type": "string"
          },
          {
            "description": "String encoding is bad UTF-8 sequence",
            "enum": [
              "BadUTF8"
            ],
            "type": "string"
          },
          {
            "description": "Exceeded the prepaid gas",
            "enum": [
              "GasExceeded"
            ],
            "type": "string"
          },
          {
            "description": "Exceeded the maximum amount of gas allowed to burn per contract",
            "enum": [
              "GasLimitExceeded"
            ],
            "type": "string"
          },
          {
            "description": "Exceeded the account balance",
            "enum": [
              "BalanceExceeded"
            ],
            "type": "string"
          },
          {
            "description": "Tried to call an empty method name",
            "enum": [
              "EmptyMethodName"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Smart contract panicked",
            "properties": {
              "GuestPanic": {
                "properties": {
                  "panic_msg": {
                    "type": "string"
                  }
                },
                "required": [
                  "panic_msg"
                ],
                "type": "object"
              }
            },
            "required": [
              "GuestPanic"
            ],
            "type": "object"
          },
          {
            "description": "IntegerOverflow happened during a contract execution",
            "enum": [
              "IntegerOverflow"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "`promise_idx` does not correspond to existing promises",
            "properties": {
              "InvalidPromiseIndex": {
                "properties": {
                  "promise_idx": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "promise_idx"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidPromiseIndex"
            ],
            "type": "object"
          },
          {
            "description": "Actions can only be appended to non-joint promise.",
            "enum": [
              "CannotAppendActionToJointPromise"
            ],
            "type": "string"
          },
          {
            "description": "Returning joint promise is currently prohibited",
            "enum": [
              "CannotReturnJointPromise"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Accessed invalid promise result index",
            "properties": {
              "InvalidPromiseResultIndex": {
                "properties": {
                  "result_idx": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "result_idx"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidPromiseResultIndex"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Accessed invalid register id",
            "properties": {
              "InvalidRegisterId": {
                "properties": {
                  "register_id": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "register_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidRegisterId"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Iterator `iterator_index` was invalidated after its creation by performing a mutable operation on trie",
            "properties": {
              "IteratorWasInvalidated": {
                "properties": {
                  "iterator_index": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "iterator_index"
                ],
                "type": "object"
              }
            },
            "required": [
              "IteratorWasInvalidated"
            ],
            "type": "object"
          },
          {
            "description": "Accessed memory outside the bounds",
            "enum": [
              "MemoryAccessViolation"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "VM Logic returned an invalid receipt index",
            "properties": {
              "InvalidReceiptIndex": {
                "properties": {
                  "receipt_index": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "receipt_index"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidReceiptIndex"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Iterator index `iterator_index` does not exist",
            "properties": {
              "InvalidIteratorIndex": {
                "properties": {
                  "iterator_index": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "iterator_index"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidIteratorIndex"
            ],
            "type": "object"
          },
          {
            "description": "VM Logic returned an invalid account id",
            "enum": [
              "InvalidAccountId"
            ],
            "type": "string"
          },
          {
            "description": "VM Logic returned an invalid method name",
            "enum": [
              "InvalidMethodName"
            ],
            "type": "string"
          },
          {
            "description": "VM Logic provided an invalid public key",
            "enum": [
              "InvalidPublicKey"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "`method_name` is not allowed in view calls",
            "properties": {
              "ProhibitedInView": {
                "properties": {
                  "method_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "method_name"
                ],
                "type": "object"
              }
            },
            "required": [
              "ProhibitedInView"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The total number of logs will exceed the limit.",
            "properties": {
              "NumberOfLogsExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "NumberOfLogsExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The storage key length exceeded the limit.",
            "properties": {
              "KeyLengthExceeded": {
                "properties": {
                  "length": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "length",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "KeyLengthExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The storage value length exceeded the limit.",
            "properties": {
              "ValueLengthExceeded": {
                "properties": {
                  "length": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "length",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "ValueLengthExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The total log length exceeded the limit.",
            "properties": {
              "TotalLogLengthExceeded": {
                "properties": {
                  "length": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "length",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "TotalLogLengthExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The maximum number of promises within a FunctionCall exceeded the limit.",
            "properties": {
              "NumberPromisesExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "number_of_promises": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "number_of_promises",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "NumberPromisesExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The maximum number of input data dependencies exceeded the limit.",
            "properties": {
              "NumberInputDataDependenciesExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "number_of_input_data_dependencies": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "number_of_input_data_dependencies",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "NumberInputDataDependenciesExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The returned value length exceeded the limit.",
            "properties": {
              "ReturnedValueLengthExceeded": {
                "properties": {
                  "length": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "length",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "ReturnedValueLengthExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The contract size for DeployContract action exceeded the limit.",
            "properties": {
              "ContractSizeExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "size": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "size",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "ContractSizeExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The host function was deprecated.",
            "properties": {
              "Deprecated": {
                "properties": {
                  "method_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "method_name"
                ],
                "type": "object"
              }
            },
            "required": [
              "Deprecated"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "General errors for ECDSA recover.",
            "properties": {
              "ECRecoverError": {
                "properties": {
                  "msg": {
                    "type": "string"
                  }
                },
                "required": [
                  "msg"
                ],
                "type": "object"
              }
            },
            "required": [
              "ECRecoverError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Invalid input to alt_bn128 family of functions (e.g., point which isn't\non the curve).",
            "properties": {
              "AltBn128InvalidInput": {
                "properties": {
                  "msg": {
                    "type": "string"
                  }
                },
                "required": [
                  "msg"
                ],
                "type": "object"
              }
            },
            "required": [
              "AltBn128InvalidInput"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Invalid input to ed25519 signature verification function (e.g. signature cannot be\nderived from bytes).",
            "properties": {
              "Ed25519VerifyInvalidInput": {
                "properties": {
                  "msg": {
                    "type": "string"
                  }
                },
                "required": [
                  "msg"
                ],
                "type": "object"
              }
            },
            "required": [
              "Ed25519VerifyInvalidInput"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Input length mismatch for p256 signature verification (signature is not 64\nbytes or public key is not 33 bytes). Parse failures of otherwise\nwell-sized inputs return 0 from the host function instead of aborting.",
            "properties": {
              "P256VerifyInvalidInput": {
                "properties": {
                  "msg": {
                    "type": "string"
                  }
                },
                "required": [
                  "msg"
                ],
                "type": "object"
              }
            },
            "required": [
              "P256VerifyInvalidInput"
            ],
            "type": "object"
          }
        ]
      },
      "InternalError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "InvalidAccessKeyError": {
        "oneOf": [
          {
            "additionalProperties": false,
            "description": "The access key identified by the `public_key` doesn't exist for the account",
            "properties": {
              "AccessKeyNotFound": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              }
            },
            "required": [
              "AccessKeyNotFound"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Transaction `receiver_id` doesn't match the access key receiver_id",
            "properties": {
              "ReceiverMismatch": {
                "properties": {
                  "ak_receiver": {
                    "type": "string"
                  },
                  "tx_receiver": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "tx_receiver",
                  "ak_receiver"
                ],
                "type": "object"
              }
            },
            "required": [
              "ReceiverMismatch"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Transaction method name isn't allowed by the access key",
            "properties": {
              "MethodNameMismatch": {
                "properties": {
                  "method_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "method_name"
                ],
                "type": "object"
              }
            },
            "required": [
              "MethodNameMismatch"
            ],
            "type": "object"
          },
          {
            "description": "Transaction requires a full permission access key.",
            "enum": [
              "RequiresFullAccess"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Access Key does not have enough allowance to cover transaction cost",
            "properties": {
              "NotEnoughAllowance": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "allowance": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "cost": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "account_id",
                  "public_key",
                  "allowance",
                  "cost"
                ],
                "type": "object"
              }
            },
            "required": [
              "NotEnoughAllowance"
            ],
            "type": "object"
          },
          {
            "description": "Having a deposit with a function call action is not allowed with a function call access key.",
            "enum": [
              "DepositWithFunctionCall"
            ],
            "type": "string"
          },
          {
            "description": "Gas keys track nonces per index in dedicated storage, which a plain\naccess key nonce does not select, so a gas key must sign a `DelegateV2`\nwith a gas key nonce instead.",
            "enum": [
              "DelegateActionRequiresNonGasKey"
            ],
            "type": "string"
          },
          {
            "description": "A delegate action with a gas key nonce must be signed by a gas key.",
            "enum": [
              "DelegateActionRequiresGasKey"
            ],
            "type": "string"
          }
        ]
      },
      "InvalidTxError": {
        "description": "An error happened during TX execution",
        "oneOf": [
          {
            "additionalProperties": false,
            "description": "Happens if a wrong AccessKey used or AccessKey has not enough permissions",
            "properties": {
              "InvalidAccessKeyError": {
                "$ref": "#/components/schemas/InvalidAccessKeyError"
              }
            },
            "required": [
              "InvalidAccessKeyError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "TX signer_id is not a valid [`AccountId`]",
            "properties": {
              "InvalidSignerId": {
                "properties": {
                  "signer_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "signer_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidSignerId"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "TX signer_id is not found in a storage",
            "properties": {
              "SignerDoesNotExist": {
                "properties": {
                  "signer_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "signer_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "SignerDoesNotExist"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Transaction nonce must be strictly greater than `account[access_key].nonce`.",
            "properties": {
              "InvalidNonce": {
                "properties": {
                  "ak_nonce": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "tx_nonce": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "tx_nonce",
                  "ak_nonce"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidNonce"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Transaction nonce is larger than the upper bound given by the block height",
            "properties": {
              "NonceTooLarge": {
                "properties": {
                  "tx_nonce": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "upper_bound": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "tx_nonce",
                  "upper_bound"
                ],
                "type": "object"
              }
            },
            "required": [
              "NonceTooLarge"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "TX receiver_id is not a valid AccountId",
            "properties": {
              "InvalidReceiverId": {
                "properties": {
                  "receiver_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "receiver_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidReceiverId"
            ],
            "type": "object"
          },
          {
            "description": "TX signature is not valid",
            "enum": [
              "InvalidSignature"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Account does not have enough balance to cover TX cost",
            "properties": {
              "NotEnoughBalance": {
                "properties": {
                  "balance": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "cost": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "signer_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "signer_id",
                  "balance",
                  "cost"
                ],
                "type": "object"
              }
            },
            "required": [
              "NotEnoughBalance"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Signer account doesn't have enough balance after transaction.",
            "properties": {
              "LackBalanceForState": {
                "properties": {
                  "amount": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/NearToken"
                      }
                    ],
                    "description": "Required balance to cover the state."
                  },
                  "signer_id": {
                    "allOf": [
                      {
                        "$ref": "#/components/schemas/AccountId"
                      }
                    ],
                    "description": "An account which doesn't have enough balance to cover storage."
                  }
                },
                "required": [
                  "signer_id",
                  "amount"
                ],
                "type": "object"
              }
            },
            "required": [
              "LackBalanceForState"
            ],
            "type": "object"
          },
          {
            "description": "An integer overflow occurred during transaction cost estimation.",
            "enum": [
              "CostOverflow"
            ],
            "type": "string"
          },
          {
            "description": "Transaction parent block hash doesn't belong to the current chain",
            "enum": [
              "InvalidChain"
            ],
            "type": "string"
          },
          {
            "description": "Transaction has expired",
            "enum": [
              "Expired"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "An error occurred while validating actions of a Transaction.",
            "properties": {
              "ActionsValidation": {
                "$ref": "#/components/schemas/ActionsValidationError"
              }
            },
            "required": [
              "ActionsValidation"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The size of serialized transaction exceeded the limit.",
            "properties": {
              "TransactionSizeExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "size": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "size",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "TransactionSizeExceeded"
            ],
            "type": "object"
          },
          {
            "description": "Transaction version is invalid.",
            "enum": [
              "InvalidTransactionVersion"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "properties": {
              "StorageError": {
                "$ref": "#/components/schemas/StorageError"
              }
            },
            "required": [
              "StorageError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The receiver shard of the transaction is too congested to accept new\ntransactions at the moment.",
            "properties": {
              "ShardCongested": {
                "properties": {
                  "congestion_level": {
                    "description": "A value between 0 (no congestion) and 1 (max congestion).",
                    "format": "double",
                    "type": "number"
                  },
                  "shard_id": {
                    "description": "The congested shard.",
                    "format": "uint32",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "shard_id",
                  "congestion_level"
                ],
                "type": "object"
              }
            },
            "required": [
              "ShardCongested"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The receiver shard of the transaction missed several chunks and rejects\nnew transaction until it can make progress again.",
            "properties": {
              "ShardStuck": {
                "properties": {
                  "missed_chunks": {
                    "description": "The number of blocks since the last included chunk of the shard.",
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "shard_id": {
                    "description": "The shard that fails making progress.",
                    "format": "uint32",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "shard_id",
                  "missed_chunks"
                ],
                "type": "object"
              }
            },
            "required": [
              "ShardStuck"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Transaction is specifying an invalid nonce index. Gas key transactions\nmust have a nonce_index in valid range, regular transactions must not.",
            "properties": {
              "InvalidNonceIndex": {
                "properties": {
                  "num_nonces": {
                    "description": "Number of nonces supported by the key. 0 means no nonce_index allowed (regular key).",
                    "format": "uint16",
                    "maximum": 65535,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "tx_nonce_index": {
                    "description": "The nonce_index from the transaction (None if missing).",
                    "format": "uint16",
                    "maximum": 65535,
                    "minimum": 0,
                    "nullable": true,
                    "type": "integer"
                  }
                },
                "required": [
                  "num_nonces"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidNonceIndex"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Gas key does not have enough balance to cover gas costs.",
            "properties": {
              "NotEnoughGasKeyBalance": {
                "properties": {
                  "balance": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "cost": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "signer_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "signer_id",
                  "balance",
                  "cost"
                ],
                "type": "object"
              }
            },
            "required": [
              "NotEnoughGasKeyBalance"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Gas key transaction failed because the account could not cover the deposit cost.\nGas is still charged from the gas key in this case.",
            "properties": {
              "NotEnoughBalanceForDeposit": {
                "properties": {
                  "balance": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "cost": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "reason": {
                    "$ref": "#/components/schemas/DepositCostFailureReason"
                  },
                  "signer_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "signer_id",
                  "balance",
                  "cost",
                  "reason"
                ],
                "type": "object"
              }
            },
            "required": [
              "NotEnoughBalanceForDeposit"
            ],
            "type": "object"
          }
        ]
      },
      "JsonRpcRequest_for_EXPERIMENTAL_call_function": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_call_function"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcCallFunctionRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_call_function",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_changes": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_changes"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcStateChangesInBlockByTypeRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_changes",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_changes_in_block": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_changes_in_block"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcStateChangesInBlockRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_changes_in_block",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_congestion_level": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_congestion_level"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcCongestionLevelRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_congestion_level",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_genesis_config": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_genesis_config"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/GenesisConfigRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_genesis_config",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_light_client_block_proof": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_light_client_block_proof"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcLightClientBlockProofRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_light_client_block_proof",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_light_client_proof": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_light_client_proof"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcLightClientExecutionProofRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_light_client_proof",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_maintenance_windows": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_maintenance_windows"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcMaintenanceWindowsRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_maintenance_windows",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_protocol_config": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_protocol_config"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcProtocolConfigRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_protocol_config",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_receipt": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_receipt"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcReceiptRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_receipt",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_receipt_to_tx": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_receipt_to_tx"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcReceiptToTxRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_receipt_to_tx",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_split_storage_info": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_split_storage_info"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcSplitStorageInfoRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_split_storage_info",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_tx_status": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_tx_status"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcTransactionStatusRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_tx_status",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_validators_ordered": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_validators_ordered"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcValidatorsOrderedRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_validators_ordered",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_view_access_key": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_view_access_key"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcViewAccessKeyRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_view_access_key",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_view_access_key_list": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_view_access_key_list"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcViewAccessKeyListRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_view_access_key_list",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_view_account": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_view_account"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcViewAccountRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_view_account",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_view_code": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_view_code"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcViewCodeRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_view_code",
        "type": "object"
      },
      "JsonRpcRequest_for_EXPERIMENTAL_view_state": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "EXPERIMENTAL_view_state"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcViewStateRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_EXPERIMENTAL_view_state",
        "type": "object"
      },
      "JsonRpcRequest_for_block": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "block"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcBlockRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_block",
        "type": "object"
      },
      "JsonRpcRequest_for_block_effects": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "block_effects"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcStateChangesInBlockRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_block_effects",
        "type": "object"
      },
      "JsonRpcRequest_for_broadcast_tx_async": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "broadcast_tx_async"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcSendTransactionRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_broadcast_tx_async",
        "type": "object"
      },
      "JsonRpcRequest_for_broadcast_tx_commit": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "broadcast_tx_commit"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcSendTransactionRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_broadcast_tx_commit",
        "type": "object"
      },
      "JsonRpcRequest_for_changes": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "changes"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcStateChangesInBlockByTypeRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_changes",
        "type": "object"
      },
      "JsonRpcRequest_for_chunk": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "chunk"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcChunkRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_chunk",
        "type": "object"
      },
      "JsonRpcRequest_for_client_config": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "client_config"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcClientConfigRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_client_config",
        "type": "object"
      },
      "JsonRpcRequest_for_gas_price": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "gas_price"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcGasPriceRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_gas_price",
        "type": "object"
      },
      "JsonRpcRequest_for_genesis_config": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "genesis_config"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/GenesisConfigRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_genesis_config",
        "type": "object"
      },
      "JsonRpcRequest_for_health": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "health"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcHealthRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_health",
        "type": "object"
      },
      "JsonRpcRequest_for_light_client_proof": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "light_client_proof"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcLightClientExecutionProofRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_light_client_proof",
        "type": "object"
      },
      "JsonRpcRequest_for_maintenance_windows": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "maintenance_windows"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcMaintenanceWindowsRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_maintenance_windows",
        "type": "object"
      },
      "JsonRpcRequest_for_network_info": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "network_info"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcNetworkInfoRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_network_info",
        "type": "object"
      },
      "JsonRpcRequest_for_next_light_client_block": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "next_light_client_block"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcLightClientNextBlockRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_next_light_client_block",
        "type": "object"
      },
      "JsonRpcRequest_for_query": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "query"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcQueryRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_query",
        "type": "object"
      },
      "JsonRpcRequest_for_send_tx": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "send_tx"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcSendTransactionRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_send_tx",
        "type": "object"
      },
      "JsonRpcRequest_for_status": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "status"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcStatusRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_status",
        "type": "object"
      },
      "JsonRpcRequest_for_tx": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "tx"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcTransactionStatusRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_tx",
        "type": "object"
      },
      "JsonRpcRequest_for_validators": {
        "properties": {
          "id": {
            "type": "string",
            "default": "dontcare",
            "description": "JSON-RPC request id. Auto-populated; can be any string."
          },
          "jsonrpc": {
            "type": "string",
            "default": "2.0",
            "enum": [
              "2.0"
            ],
            "description": "JSON-RPC protocol version. Always `2.0`."
          },
          "method": {
            "enum": [
              "validators"
            ],
            "type": "string"
          },
          "params": {
            "$ref": "#/components/schemas/RpcValidatorRequest"
          }
        },
        "required": [
          "params",
          "method"
        ],
        "title": "JsonRpcRequest_for_validators",
        "type": "object"
      },
      "JsonRpcResponse_for_Array_of_Range_of_uint64_and_RpcMaintenanceWindowsError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "items": {
                  "$ref": "#/components/schemas/Range_of_uint64"
                },
                "type": "array"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcMaintenanceWindowsError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_Array_of_Range_of_uint64_and_RpcMaintenanceWindowsError",
        "type": "object"
      },
      "JsonRpcResponse_for_Array_of_ValidatorStakeView_and_RpcValidatorError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "items": {
                  "$ref": "#/components/schemas/ValidatorStakeView"
                },
                "type": "array"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcValidatorError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_Array_of_ValidatorStakeView_and_RpcValidatorError",
        "type": "object"
      },
      "JsonRpcResponse_for_CryptoHash_and_RpcTransactionError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/CryptoHash"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcTransactionError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_CryptoHash_and_RpcTransactionError",
        "type": "object"
      },
      "JsonRpcResponse_for_GenesisConfig_and_GenesisConfigError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/GenesisConfig"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_GenesisConfigError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_GenesisConfig_and_GenesisConfigError",
        "type": "object"
      },
      "JsonRpcResponse_for_Nullable_RpcHealthResponse_and_RpcStatusError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "anyOf": [
                  {
                    "$ref": "#/components/schemas/RpcHealthResponse"
                  },
                  {
                    "enum": [
                      null
                    ],
                    "nullable": true
                  }
                ]
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcStatusError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_Nullable_RpcHealthResponse_and_RpcStatusError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcBlockResponse_and_RpcBlockError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcBlockResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcBlockError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcBlockResponse_and_RpcBlockError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcCallFunctionResponse_and_RpcCallFunctionError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcCallFunctionResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcCallFunctionError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcCallFunctionResponse_and_RpcCallFunctionError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcChunkResponse_and_RpcChunkError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcChunkResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcChunkError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcChunkResponse_and_RpcChunkError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcClientConfigResponse_and_RpcClientConfigError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcClientConfigResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcClientConfigError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcClientConfigResponse_and_RpcClientConfigError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcCongestionLevelResponse_and_RpcChunkError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcCongestionLevelResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcChunkError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcCongestionLevelResponse_and_RpcChunkError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcGasPriceResponse_and_RpcGasPriceError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcGasPriceResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcGasPriceError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcGasPriceResponse_and_RpcGasPriceError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcLightClientBlockProofResponse_and_RpcLightClientProofError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcLightClientBlockProofResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcLightClientProofError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcLightClientBlockProofResponse_and_RpcLightClientProofError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcLightClientExecutionProofResponse_and_RpcLightClientProofError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcLightClientExecutionProofResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcLightClientProofError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcLightClientExecutionProofResponse_and_RpcLightClientProofError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcLightClientNextBlockResponse_and_RpcLightClientNextBlockError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcLightClientNextBlockResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcLightClientNextBlockError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcLightClientNextBlockResponse_and_RpcLightClientNextBlockError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcNetworkInfoResponse_and_RpcNetworkInfoError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcNetworkInfoResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcNetworkInfoError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcNetworkInfoResponse_and_RpcNetworkInfoError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcProtocolConfigResponse_and_RpcProtocolConfigError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcProtocolConfigResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcProtocolConfigError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcProtocolConfigResponse_and_RpcProtocolConfigError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcQueryResponse_and_RpcQueryError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcQueryResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcQueryError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcQueryResponse_and_RpcQueryError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcReceiptResponse_and_RpcReceiptError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcReceiptResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcReceiptError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcReceiptResponse_and_RpcReceiptError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcReceiptToTxResponse_and_RpcReceiptToTxError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcReceiptToTxResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcReceiptToTxError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcReceiptToTxResponse_and_RpcReceiptToTxError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcSplitStorageInfoResponse_and_RpcSplitStorageInfoError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcSplitStorageInfoResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcSplitStorageInfoError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcSplitStorageInfoResponse_and_RpcSplitStorageInfoError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcStateChangesInBlockByTypeResponse_and_RpcStateChangesError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcStateChangesInBlockByTypeResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcStateChangesError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcStateChangesInBlockByTypeResponse_and_RpcStateChangesError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcStateChangesInBlockResponse_and_RpcStateChangesError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcStateChangesInBlockResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcStateChangesError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcStateChangesInBlockResponse_and_RpcStateChangesError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcStatusResponse_and_RpcStatusError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcStatusResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcStatusError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcStatusResponse_and_RpcStatusError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcTransactionResponse_and_RpcTransactionError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcTransactionResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcTransactionError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcTransactionResponse_and_RpcTransactionError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcValidatorResponse_and_RpcValidatorError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcValidatorResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcValidatorError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcValidatorResponse_and_RpcValidatorError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcViewAccessKeyListResponse_and_RpcViewAccessKeyListError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcViewAccessKeyListResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcViewAccessKeyListError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcViewAccessKeyListResponse_and_RpcViewAccessKeyListError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcViewAccessKeyResponse_and_RpcViewAccessKeyError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcViewAccessKeyResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcViewAccessKeyError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcViewAccessKeyResponse_and_RpcViewAccessKeyError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcViewAccountResponse_and_RpcViewAccountError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcViewAccountResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcViewAccountError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcViewAccountResponse_and_RpcViewAccountError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcViewCodeResponse_and_RpcViewCodeError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcViewCodeResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcViewCodeError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcViewCodeResponse_and_RpcViewCodeError",
        "type": "object"
      },
      "JsonRpcResponse_for_RpcViewStateResponse_and_RpcViewStateError": {
        "oneOf": [
          {
            "properties": {
              "result": {
                "$ref": "#/components/schemas/RpcViewStateResponse"
              }
            },
            "required": [
              "result"
            ],
            "type": "object"
          },
          {
            "properties": {
              "error": {
                "$ref": "#/components/schemas/ErrorWrapper_for_RpcViewStateError"
              }
            },
            "required": [
              "error"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "id": {
            "type": "string"
          },
          "jsonrpc": {
            "type": "string"
          }
        },
        "required": [
          "jsonrpc",
          "id"
        ],
        "title": "JsonRpcResponse_for_RpcViewStateResponse_and_RpcViewStateError",
        "type": "object"
      },
      "KnownProducerView": {
        "description": "Information about a Producer: its account name, peer_id and a list of connected peers that\nthe node can use to send message for this producer.",
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "next_hops": {
            "items": {
              "$ref": "#/components/schemas/PublicKey"
            },
            "nullable": true,
            "type": "array"
          },
          "peer_id": {
            "$ref": "#/components/schemas/PublicKey"
          }
        },
        "required": [
          "account_id",
          "peer_id"
        ],
        "type": "object"
      },
      "LightClientBlockLiteView": {
        "properties": {
          "inner_lite": {
            "$ref": "#/components/schemas/BlockHeaderInnerLiteView"
          },
          "inner_rest_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "prev_block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "required": [
          "prev_block_hash",
          "inner_rest_hash",
          "inner_lite"
        ],
        "type": "object"
      },
      "LimitConfig": {
        "description": "Describes limits for VM and Runtime.\nTODO #4139: consider switching to strongly-typed wrappers instead of raw quantities",
        "properties": {
          "account_id_validity_rules_version": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountIdValidityRulesVersion"
              }
            ],
            "default": 0,
            "description": "Whether to enforce account_id well-formed-ness where it wasn't enforced\nhistorically."
          },
          "initial_memory_pages": {
            "description": "The initial number of memory pages.\nNOTE: It's not a limiter itself, but it's a value we use for initial_memory_pages.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "max_actions_per_receipt": {
            "description": "Max number of actions per receipt.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_arguments_length": {
            "description": "Max length of arguments in a function call action.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_blocks_per_contract": {
            "description": "If present, stores max total number of basic blocks across all functions in a contract.\nThis caps total compilation time for a contract.",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_blocks_per_function": {
            "description": "If present, stores max number of basic blocks (block/loop/if) in a single function.\nThis caps per-function compilation time in Cranelift.",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_contract_size": {
            "description": "Max contract size",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_deploy_actions_per_receipt": {
            "description": "Max number of `DeployContract` and `DeployGlobalContract` actions\ncombined within a single receipt.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_elements_per_contract_table": {
            "description": "If present, stores max number of elements in a single contract's table",
            "format": "uint",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_function_body_size": {
            "description": "If present, stores max byte size of a single function body in a contract",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_functions_number_per_contract": {
            "description": "If present, stores max number of functions in one contract",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_gas_burnt": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Max amount of gas that can be used, excluding gas attached to promises."
          },
          "max_instrumented_code_size": {
            "description": "If present, stores max byte size of the wasm code after gas instrumentation.\nThis prevents Cranelift's 24-bit SSA counter from overflowing on\npathologically large contracts.",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_length_method_name": {
            "description": "Max length of any method name (without terminating character).",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_length_returned_data": {
            "description": "Max length of returned data",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_length_storage_key": {
            "description": "Max storage key size",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_length_storage_value": {
            "description": "Max storage value size",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_locals_per_contract": {
            "description": "If present, stores max number of locals declared globally in one contract",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_memory_pages": {
            "description": "What is the maximal memory pages amount is allowed to have for a contract.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "max_number_bytes_method_names": {
            "description": "Max total length of all method names (including terminating character) for a function call\npermission access key.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_number_input_data_dependencies": {
            "description": "Max number of input data dependencies",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_number_logs": {
            "description": "Maximum number of log entries.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_number_registers": {
            "description": "Maximum number of registers that can be used simultaneously.\n\nNote that due to an implementation quirk [read: a bug] in VMLogic, if we\nhave this number of registers, no subsequent writes to the registers\nwill succeed even if they replace an existing register.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_operand_stack_bytes_per_function": {
            "description": "If present, stores the max operand stack size (in bytes) at any point\nduring the execution of a single function. Per-function: not summed\nacross recursion. Computed by `finite_wasm::max_stack`.",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_params_per_contract": {
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_params_per_function": {
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_promises_per_function_call_action": {
            "description": "Max number of promises that a function call can create",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_receipt_size": {
            "description": "Max receipt size",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_register_size": {
            "description": "Maximum number of bytes that can be stored in a single register.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_stack_height": {
            "description": "How tall the stack is allowed to grow?\n\nSee <https://wiki.parity.io/WebAssembly-StackHeight> to find out how the stack frame cost\nis calculated.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "max_tables_per_contract": {
            "description": "If present, stores max number of tables declared globally in one contract",
            "format": "uint32",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_total_log_length": {
            "description": "Maximum total length in bytes of all log messages.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_total_prepaid_gas": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Max total prepaid gas for all function call actions per receipt."
          },
          "max_transaction_size": {
            "description": "Max transaction size",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "max_types_per_contract": {
            "description": "If present, stores max number of entries in the wasm type section that\na contract may declare.",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "max_yield_payload_size": {
            "description": "Maximum number of bytes for payload passed over a yield resume.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "per_receipt_storage_proof_size_limit": {
            "description": "Hard limit on the size of storage proof generated while executing a single receipt.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "registers_memory_limit": {
            "description": "Limit of memory used by registers.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "yield_timeout_length_in_blocks": {
            "description": "Number of blocks after which a yielded promise times out.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "LogSummaryStyle": {
        "enum": [
          "plain",
          "colored"
        ],
        "type": "string"
      },
      "MerklePathItem": {
        "properties": {
          "direction": {
            "$ref": "#/components/schemas/Direction"
          },
          "hash": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "required": [
          "hash",
          "direction"
        ],
        "type": "object"
      },
      "MethodResolveError": {
        "enum": [
          "MethodEmptyName",
          "MethodNotFound",
          "MethodInvalidSignature"
        ],
        "type": "string"
      },
      "MissingTrieValue": {
        "properties": {
          "context": {
            "$ref": "#/components/schemas/MissingTrieValueContext"
          },
          "hash": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "required": [
          "context",
          "hash"
        ],
        "type": "object"
      },
      "MissingTrieValueContext": {
        "description": "Contexts in which `StorageError::MissingTrieValue` error might occur.",
        "oneOf": [
          {
            "description": "Missing trie value when reading from TrieIterator.",
            "enum": [
              "TrieIterator"
            ],
            "type": "string"
          },
          {
            "description": "Missing trie value when reading from TriePrefetchingStorage.",
            "enum": [
              "TriePrefetchingStorage"
            ],
            "type": "string"
          },
          {
            "description": "Missing trie value when reading from TrieMemoryPartialStorage.",
            "enum": [
              "TrieMemoryPartialStorage"
            ],
            "type": "string"
          },
          {
            "description": "Missing trie value when reading from TrieStorage.",
            "enum": [
              "TrieStorage"
            ],
            "type": "string"
          }
        ]
      },
      "MutableConfigValue": {
        "type": "string"
      },
      "NearGas": {
        "format": "uint64",
        "minimum": 0,
        "type": "integer"
      },
      "NearToken": {
        "type": "string"
      },
      "NetworkInfoView": {
        "properties": {
          "connected_peers": {
            "items": {
              "$ref": "#/components/schemas/PeerInfoView"
            },
            "type": "array"
          },
          "known_producers": {
            "items": {
              "$ref": "#/components/schemas/KnownProducerView"
            },
            "type": "array"
          },
          "num_connected_peers": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "peer_max_count": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "tier1_accounts_data": {
            "items": {
              "$ref": "#/components/schemas/AccountDataView"
            },
            "type": "array"
          },
          "tier1_accounts_keys": {
            "items": {
              "$ref": "#/components/schemas/PublicKey"
            },
            "type": "array"
          },
          "tier1_connections": {
            "items": {
              "$ref": "#/components/schemas/PeerInfoView"
            },
            "type": "array"
          }
        },
        "required": [
          "peer_max_count",
          "num_connected_peers",
          "connected_peers",
          "known_producers",
          "tier1_accounts_keys",
          "tier1_accounts_data",
          "tier1_connections"
        ],
        "type": "object"
      },
      "NextEpochValidatorInfo": {
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "public_key": {
            "$ref": "#/components/schemas/PublicKey"
          },
          "shards": {
            "items": {
              "$ref": "#/components/schemas/ShardId"
            },
            "type": "array"
          },
          "stake": {
            "$ref": "#/components/schemas/NearToken"
          }
        },
        "required": [
          "account_id",
          "public_key",
          "stake",
          "shards"
        ],
        "type": "object"
      },
      "NonDelegateAction": {
        "description": "An Action that can be included in a transaction or receipt, excluding delegate actions. This type represents all possible action types except DelegateAction to prevent infinite recursion in meta-transactions.",
        "oneOf": [
          {
            "additionalProperties": false,
            "description": "Create an (sub)account using a transaction `receiver_id` as an ID for\na new account ID must pass validation rules described here\n<https://nomicon.io/DataStructures/Account>.",
            "properties": {
              "CreateAccount": {
                "$ref": "#/components/schemas/CreateAccountAction"
              }
            },
            "required": [
              "CreateAccount"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Sets a Wasm code to a receiver_id",
            "properties": {
              "DeployContract": {
                "$ref": "#/components/schemas/DeployContractAction"
              }
            },
            "required": [
              "DeployContract"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "FunctionCall": {
                "$ref": "#/components/schemas/FunctionCallAction"
              }
            },
            "required": [
              "FunctionCall"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "Transfer": {
                "$ref": "#/components/schemas/TransferAction"
              }
            },
            "required": [
              "Transfer"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "Stake": {
                "$ref": "#/components/schemas/StakeAction"
              }
            },
            "required": [
              "Stake"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "AddKey": {
                "$ref": "#/components/schemas/AddKeyAction"
              }
            },
            "required": [
              "AddKey"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeleteKey": {
                "$ref": "#/components/schemas/DeleteKeyAction"
              }
            },
            "required": [
              "DeleteKey"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeleteAccount": {
                "$ref": "#/components/schemas/DeleteAccountAction"
              }
            },
            "required": [
              "DeleteAccount"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeployGlobalContract": {
                "$ref": "#/components/schemas/DeployGlobalContractAction"
              }
            },
            "required": [
              "DeployGlobalContract"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "UseGlobalContract": {
                "$ref": "#/components/schemas/UseGlobalContractAction"
              }
            },
            "required": [
              "UseGlobalContract"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "DeterministicStateInit": {
                "$ref": "#/components/schemas/DeterministicStateInitAction"
              }
            },
            "required": [
              "DeterministicStateInit"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "TransferToGasKey": {
                "$ref": "#/components/schemas/TransferToGasKeyAction"
              }
            },
            "required": [
              "TransferToGasKey"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "WithdrawFromGasKey": {
                "$ref": "#/components/schemas/WithdrawFromGasKeyAction"
              }
            },
            "required": [
              "WithdrawFromGasKey"
            ],
            "type": "object"
          }
        ]
      },
      "NonceMode": {
        "description": "Controls how the transaction nonce is validated against the access key nonce.",
        "oneOf": [
          {
            "description": "Any nonce strictly greater than the current access key nonce (default behavior).",
            "enum": [
              "monotonic"
            ],
            "type": "string"
          },
          {
            "description": "Nonce must be exactly `ak_nonce + 1` (sequential ordering).",
            "enum": [
              "strict"
            ],
            "type": "string"
          }
        ]
      },
      "PeerId": {
        "allOf": [
          {
            "$ref": "#/components/schemas/PublicKey"
          }
        ],
        "description": "Peer id is the public key."
      },
      "PeerInfoView": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "addr": {
            "type": "string"
          },
          "archival": {
            "type": "boolean"
          },
          "block_hash": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "connection_established_time_millis": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "height": {
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "is_highest_block_invalid": {
            "type": "boolean"
          },
          "is_outbound_peer": {
            "type": "boolean"
          },
          "last_time_peer_requested_millis": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "last_time_received_message_millis": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "nonce": {
            "description": "Connection nonce.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "peer_id": {
            "$ref": "#/components/schemas/PublicKey"
          },
          "received_bytes_per_sec": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "sent_bytes_per_sec": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "tracked_shards": {
            "items": {
              "$ref": "#/components/schemas/ShardId"
            },
            "type": "array"
          }
        },
        "required": [
          "addr",
          "is_highest_block_invalid",
          "tracked_shards",
          "archival",
          "peer_id",
          "received_bytes_per_sec",
          "sent_bytes_per_sec",
          "last_time_peer_requested_millis",
          "last_time_received_message_millis",
          "connection_established_time_millis",
          "is_outbound_peer",
          "nonce"
        ],
        "type": "object"
      },
      "PrepareError": {
        "description": "Error that can occur while preparing or executing Wasm smart-contract.",
        "oneOf": [
          {
            "description": "Error happened while serializing the module.",
            "enum": [
              "Serialization"
            ],
            "type": "string"
          },
          {
            "description": "Error happened while deserializing the module.",
            "enum": [
              "Deserialization"
            ],
            "type": "string"
          },
          {
            "description": "Internal memory declaration has been found in the module.",
            "enum": [
              "InternalMemoryDeclared"
            ],
            "type": "string"
          },
          {
            "description": "Gas instrumentation failed.\n\nThis most likely indicates the module isn't valid.",
            "enum": [
              "GasInstrumentation"
            ],
            "type": "string"
          },
          {
            "description": "Stack instrumentation failed.\n\nThis  most likely indicates the module isn't valid.",
            "enum": [
              "StackHeightInstrumentation"
            ],
            "type": "string"
          },
          {
            "description": "Error happened during instantiation.\n\nThis might indicate that `start` function trapped, or module isn't\ninstantiable and/or un-linkable.",
            "enum": [
              "Instantiate"
            ],
            "type": "string"
          },
          {
            "description": "Error creating memory.",
            "enum": [
              "Memory"
            ],
            "type": "string"
          },
          {
            "description": "Contract contains too many functions.",
            "enum": [
              "TooManyFunctions"
            ],
            "type": "string"
          },
          {
            "description": "Contract contains too many locals.",
            "enum": [
              "TooManyLocals"
            ],
            "type": "string"
          },
          {
            "description": "Contract contains too many tables.",
            "enum": [
              "TooManyTables"
            ],
            "type": "string"
          },
          {
            "description": "Contract contains too many table elements.",
            "enum": [
              "TooManyTableElements"
            ],
            "type": "string"
          },
          {
            "description": "A function body in the contract exceeds the size limit.",
            "enum": [
              "FunctionBodyTooLarge"
            ],
            "type": "string"
          },
          {
            "description": "The instrumented code exceeds the size limit.",
            "enum": [
              "InstrumentedCodeTooLarge"
            ],
            "type": "string"
          },
          {
            "description": "A function contains too many basic blocks.",
            "enum": [
              "TooManyBlocksPerFunction"
            ],
            "type": "string"
          },
          {
            "description": "A contract contains too many basic blocks.",
            "enum": [
              "TooManyBlocksPerContract"
            ],
            "type": "string"
          },
          {
            "description": "Contract declares too many entries in the wasm type section.",
            "enum": [
              "TooManyTypes"
            ],
            "type": "string"
          },
          {
            "description": "All contract functions combined have more than `max_params_per_contract` parameters.",
            "enum": [
              "TooManyParamsPerFunction"
            ],
            "type": "string"
          },
          {
            "description": "A function has more than `max_params_per_function` parameters.",
            "enum": [
              "TooManyParamsPerContract"
            ],
            "type": "string"
          },
          {
            "description": "A function's max operand-stack size (in bytes) exceeds\n`max_operand_stack_bytes_per_function`.",
            "enum": [
              "OperandStackTooLarge"
            ],
            "type": "string"
          }
        ]
      },
      "ProtocolVersionCheckConfig": {
        "description": "Configures whether the node checks the next or the next next epoch for network version compatibility.",
        "enum": [
          "Next",
          "NextNext"
        ],
        "type": "string"
      },
      "PublicKey": {
        "type": "string"
      },
      "PublicKeyHandle": {
        "type": "string"
      },
      "Range_of_uint64": {
        "properties": {
          "end": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "start": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "start",
          "end"
        ],
        "type": "object"
      },
      "ReceiptEnumView": {
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "Action": {
                "properties": {
                  "actions": {
                    "items": {
                      "$ref": "#/components/schemas/ActionView"
                    },
                    "type": "array"
                  },
                  "gas_price": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "input_data_ids": {
                    "items": {
                      "$ref": "#/components/schemas/CryptoHash"
                    },
                    "type": "array"
                  },
                  "is_promise_yield": {
                    "default": false,
                    "type": "boolean"
                  },
                  "output_data_receivers": {
                    "items": {
                      "$ref": "#/components/schemas/DataReceiverView"
                    },
                    "type": "array"
                  },
                  "refund_to": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/AccountId"
                      },
                      {
                        "enum": [
                          null
                        ],
                        "nullable": true
                      }
                    ]
                  },
                  "signer_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "signer_public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "signer_id",
                  "signer_public_key",
                  "gas_price",
                  "output_data_receivers",
                  "input_data_ids",
                  "actions"
                ],
                "type": "object"
              }
            },
            "required": [
              "Action"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "Data": {
                "properties": {
                  "data": {
                    "default": null,
                    "nullable": true,
                    "type": "string"
                  },
                  "data_id": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "is_promise_resume": {
                    "default": false,
                    "type": "boolean"
                  }
                },
                "required": [
                  "data_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "Data"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "GlobalContractDistribution": {
                "properties": {
                  "already_delivered_shards": {
                    "items": {
                      "$ref": "#/components/schemas/ShardId"
                    },
                    "type": "array"
                  },
                  "code": {
                    "type": "string"
                  },
                  "id": {
                    "$ref": "#/components/schemas/GlobalContractIdentifier"
                  },
                  "nonce": {
                    "format": "uint64",
                    "minimum": 0,
                    "nullable": true,
                    "type": "integer"
                  },
                  "target_shard": {
                    "$ref": "#/components/schemas/ShardId"
                  }
                },
                "required": [
                  "id",
                  "target_shard",
                  "already_delivered_shards",
                  "code"
                ],
                "type": "object"
              }
            },
            "required": [
              "GlobalContractDistribution"
            ],
            "type": "object"
          }
        ]
      },
      "ReceiptValidationError": {
        "description": "Describes the error for validating a receipt.",
        "oneOf": [
          {
            "additionalProperties": false,
            "description": "The `predecessor_id` of a Receipt is not valid.",
            "properties": {
              "InvalidPredecessorId": {
                "properties": {
                  "account_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidPredecessorId"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The `receiver_id` of a Receipt is not valid.",
            "properties": {
              "InvalidReceiverId": {
                "properties": {
                  "account_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidReceiverId"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The `signer_id` of an ActionReceipt is not valid.",
            "properties": {
              "InvalidSignerId": {
                "properties": {
                  "account_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidSignerId"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The `receiver_id` of a DataReceiver within an ActionReceipt is not valid.",
            "properties": {
              "InvalidDataReceiverId": {
                "properties": {
                  "account_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidDataReceiverId"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The length of the returned data exceeded the limit in a DataReceipt.",
            "properties": {
              "ReturnedValueLengthExceeded": {
                "properties": {
                  "length": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "length",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "ReturnedValueLengthExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The number of input data dependencies exceeds the limit in an ActionReceipt.",
            "properties": {
              "NumberInputDataDependenciesExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "number_of_input_data_dependencies": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "number_of_input_data_dependencies",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "NumberInputDataDependenciesExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "An error occurred while validating actions of an ActionReceipt.",
            "properties": {
              "ActionsValidation": {
                "$ref": "#/components/schemas/ActionsValidationError"
              }
            },
            "required": [
              "ActionsValidation"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Receipt is bigger than the limit.",
            "properties": {
              "ReceiptSizeExceeded": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "size": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "size",
                  "limit"
                ],
                "type": "object"
              }
            },
            "required": [
              "ReceiptSizeExceeded"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "The `refund_to` of an ActionReceipt is not valid.",
            "properties": {
              "InvalidRefundTo": {
                "properties": {
                  "account_id": {
                    "type": "string"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              }
            },
            "required": [
              "InvalidRefundTo"
            ],
            "type": "object"
          }
        ]
      },
      "ReceiptView": {
        "properties": {
          "predecessor_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "priority": {
            "default": 0,
            "description": "Deprecated, retained for backward compatibility.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "receipt": {
            "$ref": "#/components/schemas/ReceiptEnumView"
          },
          "receipt_id": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "receiver_id": {
            "$ref": "#/components/schemas/AccountId"
          }
        },
        "required": [
          "predecessor_id",
          "receiver_id",
          "receipt_id",
          "receipt"
        ],
        "type": "object"
      },
      "RpcBlockError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "name": {
                "enum": [
                  "NOT_SYNCED_YET"
                ],
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcBlockRequest": {
        "oneOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "finality": {
                "$ref": "#/components/schemas/Finality"
              }
            },
            "required": [
              "finality"
            ],
            "type": "object"
          },
          {
            "properties": {
              "sync_checkpoint": {
                "$ref": "#/components/schemas/SyncCheckpoint"
              }
            },
            "required": [
              "sync_checkpoint"
            ],
            "type": "object"
          }
        ],
        "title": "RpcBlockRequest",
        "type": "object"
      },
      "RpcBlockResponse": {
        "properties": {
          "author": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "description": "The AccountId of the author of the Block"
          },
          "chunks": {
            "items": {
              "$ref": "#/components/schemas/ChunkHeaderView"
            },
            "type": "array"
          },
          "header": {
            "$ref": "#/components/schemas/BlockHeaderView"
          }
        },
        "required": [
          "author",
          "header",
          "chunks"
        ],
        "type": "object"
      },
      "RpcCallFunctionError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "block_reference": {
                    "$ref": "#/components/schemas/BlockReference"
                  }
                },
                "required": [
                  "block_reference"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INVALID_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "contract_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "contract_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "NO_CONTRACT_CODE"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "vm_error": {
                    "$ref": "#/components/schemas/FunctionCallError"
                  }
                },
                "required": [
                  "vm_error",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "CONTRACT_EXECUTION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcCallFunctionRequest": {
        "oneOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "finality": {
                "$ref": "#/components/schemas/Finality"
              }
            },
            "required": [
              "finality"
            ],
            "type": "object"
          },
          {
            "properties": {
              "sync_checkpoint": {
                "$ref": "#/components/schemas/SyncCheckpoint"
              }
            },
            "required": [
              "sync_checkpoint"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "args_base64": {
            "$ref": "#/components/schemas/FunctionArgs"
          },
          "method_name": {
            "type": "string"
          }
        },
        "required": [
          "account_id",
          "method_name",
          "args_base64"
        ],
        "title": "RpcCallFunctionRequest",
        "type": "object"
      },
      "RpcCallFunctionResponse": {
        "description": "A result returned by contract method",
        "properties": {
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "block_height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "logs": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "result": {
            "items": {
              "format": "uint8",
              "maximum": 255,
              "minimum": 0,
              "type": "integer"
            },
            "type": "array"
          }
        },
        "required": [
          "result",
          "logs",
          "block_height",
          "block_hash"
        ],
        "type": "object"
      },
      "RpcChunkError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "shard_id": {
                    "$ref": "#/components/schemas/ShardId"
                  }
                },
                "required": [
                  "shard_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INVALID_SHARD_ID"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "chunk_hash": {
                    "$ref": "#/components/schemas/ChunkHash"
                  }
                },
                "required": [
                  "chunk_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_CHUNK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcChunkRequest": {
        "anyOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              },
              "shard_id": {
                "$ref": "#/components/schemas/ShardId"
              }
            },
            "required": [
              "block_id",
              "shard_id"
            ],
            "title": "block_shard_id",
            "type": "object"
          },
          {
            "properties": {
              "chunk_id": {
                "$ref": "#/components/schemas/CryptoHash"
              }
            },
            "required": [
              "chunk_id"
            ],
            "title": "chunk_hash",
            "type": "object"
          }
        ],
        "title": "RpcChunkRequest",
        "type": "object"
      },
      "RpcChunkResponse": {
        "properties": {
          "author": {
            "$ref": "#/components/schemas/AccountId"
          },
          "header": {
            "$ref": "#/components/schemas/ChunkHeaderView"
          },
          "receipts": {
            "items": {
              "$ref": "#/components/schemas/ReceiptView"
            },
            "type": "array"
          },
          "transactions": {
            "items": {
              "$ref": "#/components/schemas/SignedTransactionView"
            },
            "type": "array"
          }
        },
        "required": [
          "author",
          "header",
          "transactions",
          "receipts"
        ],
        "type": "object"
      },
      "RpcClientConfigError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcClientConfigRequest": {
        "enum": [
          null
        ],
        "nullable": true,
        "title": "RpcClientConfigRequest"
      },
      "RpcClientConfigResponse": {
        "description": "ClientConfig where some fields can be updated at runtime.",
        "properties": {
          "archive": {
            "description": "Not clear old data, set `true` for archive nodes.",
            "type": "boolean"
          },
          "block_header_fetch_horizon": {
            "description": "Behind this horizon header fetch kicks in.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "block_production_tracking_delay": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MutableConfigValue"
              }
            ],
            "description": "Duration to check for producing / skipping block."
          },
          "catchup_step_period": {
            "description": "Time between check to perform catchup.",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "chain_id": {
            "description": "Chain id for status.",
            "type": "string"
          },
          "chunk_distribution_network": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ChunkDistributionNetworkConfig"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "Optional config for the Chunk Distribution Network feature.\nIf set to `None` then this node does not participate in the Chunk Distribution Network.\nNodes not participating will still function fine, but possibly with higher\nlatency due to the need of requesting chunks over the peer-to-peer network."
          },
          "chunk_request_retry_period": {
            "description": "Time between checking to re-request chunks.",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "chunk_validation_threads": {
            "description": "Number of threads for ChunkValidationActor pool.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "chunk_wait_mult": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MutableConfigValue"
              }
            ],
            "description": "Multiplier for the wait time for all chunks to be received."
          },
          "chunks_cache_height_horizon": {
            "description": "Height horizon for the chunk cache. A chunk is removed from the cache\nif its height + chunks_cache_height_horizon < largest_seen_height.\nThe default value is DEFAULT_CHUNKS_CACHE_HEIGHT_HORIZON.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "client_background_migration_threads": {
            "description": "Number of threads to execute background migration work in client.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "cloud_archival_writer": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CloudArchivalWriterConfig"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "Configuration for a cloud-based archival writer. If this config is present, the writer is enabled and\nwrites chunk-related data based on the tracked shards."
          },
          "disable_tx_routing": {
            "description": "If true, the node won't forward transactions to next the chunk producers.",
            "type": "boolean"
          },
          "doomslug_step_period": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MutableConfigValue"
              }
            ],
            "description": "Time between running doomslug timer."
          },
          "enable_early_prepare_transactions": {
            "description": "If true, transactions for the next chunk will be prepared early, right after the previous chunk's\npost-state is ready. This can help produce chunks faster, for high-throughput chains.\nThe current implementation increases latency on low-load chains, which will be fixed in the future.\nThe default is disabled.",
            "type": "boolean"
          },
          "enable_multiline_logging": {
            "type": "boolean"
          },
          "enable_statistics_export": {
            "description": "Re-export storage layer statistics as prometheus metrics.",
            "type": "boolean"
          },
          "epoch_length": {
            "description": "Epoch length.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "epoch_sync": {
            "allOf": [
              {
                "$ref": "#/components/schemas/EpochSyncConfig"
              }
            ],
            "description": "Options for epoch sync."
          },
          "expected_shutdown": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MutableConfigValue"
              }
            ],
            "description": "Graceful shutdown at expected block height."
          },
          "gc": {
            "allOf": [
              {
                "$ref": "#/components/schemas/GCConfig"
              }
            ],
            "description": "Garbage collection configuration."
          },
          "header_sync_expected_height_per_second": {
            "description": "Expected increase of header head height per second during header sync",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "header_sync_initial_timeout": {
            "description": "How much time to wait after initial header sync",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "header_sync_progress_timeout": {
            "description": "How much time to wait after some progress is made in header sync",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "header_sync_stall_ban_timeout": {
            "description": "How much time to wait before banning a peer in header sync if sync is too slow",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "log_summary_period": {
            "description": "Period between logging summary information.",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "log_summary_style": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LogSummaryStyle"
              }
            ],
            "description": "Enable coloring of the logs"
          },
          "max_block_production_delay": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MutableConfigValue"
              }
            ],
            "description": "Maximum wait for approvals before producing block."
          },
          "max_block_wait_delay": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MutableConfigValue"
              }
            ],
            "description": "Maximum duration before skipping given height."
          },
          "max_gas_burnt_view": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "Max burnt gas per view method.  If present, overrides value stored in\ngenesis file.  The value only affects the RPCs without influencing the\nprotocol thus changing it per-node doesn’t affect the blockchain."
          },
          "min_block_production_delay": {
            "allOf": [
              {
                "$ref": "#/components/schemas/MutableConfigValue"
              }
            ],
            "description": "Minimum duration before producing block."
          },
          "min_num_peers": {
            "description": "Minimum number of peers to start syncing.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "num_block_producer_seats": {
            "description": "Number of block producer seats",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "orphan_state_witness_max_size": {
            "description": "Maximum size of state witnesses in the OrphanStateWitnessPool.\n\nWe keep only orphan witnesses which are smaller than this size.\nThis limits the maximum memory usage of OrphanStateWitnessPool.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "orphan_state_witness_pool_size": {
            "description": "OrphanStateWitnessPool keeps instances of ChunkStateWitness which can't be processed\nbecause the previous block isn't available. The witnesses wait in the pool until the\nrequired block appears. This variable controls how many witnesses can be stored in the pool.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "produce_chunk_add_transactions_time_limit": {
            "description": "Limit the time of adding transactions to a chunk.\nA node produces a chunk by adding transactions from the transaction pool until\nsome limit is reached. This time limit ensures that adding transactions won't take\nlonger than the specified duration, which helps to produce the chunk quickly.",
            "type": "string"
          },
          "produce_empty_blocks": {
            "description": "Produce empty blocks, use `false` for testing.",
            "type": "boolean"
          },
          "protocol_version_check": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ProtocolVersionCheckConfig"
              }
            ],
            "description": "Determines whether client should exit if the protocol version is not supported\nfor the next or next next epoch."
          },
          "receipt_to_tx_max_hint_window": {
            "description": "Max `±window` accepted on `EXPERIMENTAL_receipt_to_tx` requests.\nCaps caller's `window`. Applies to pre-first-scan `CenterOut`\nagainst caller's literal hint; ancestor scans use\n`receipt_to_tx_max_hop_distance` instead. Operators raising this\nshould also raise `receipt_to_tx_max_hop_distance` so backward reach\nmatches caller's wider hint scope. Requests with `window` over this\nrejected with `WindowTooLarge`.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "receipt_to_tx_max_hop_distance": {
            "description": "Max block-distance ancestor scan walks per hop once any scan in\nwalk refreshed `current_height`. Subsequent column-miss scans visit\n`h, h-1, ..., h-max_hop_distance` from most-recent scan-refreshed\nanchor, regardless of column hits between. Anchor included —\nsame-shard local receipts execute in same block as producing\noutcome. Raise if cold archival traffic shows ancestor misses —\ngap = scan-refreshed anchor to producer-outcome height of receipt\nwith missing column row (column hits don't reset anchor). Default\n20 (matches `receipt_to_tx_max_hint_window`).",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "receipt_to_tx_max_outcomes_per_request": {
            "description": "Per-request ceiling on outcome rows the `EXPERIMENTAL_receipt_to_tx`\nhint-fallback scanner reads across hops + shards. Caps cold-RocksDB\nworst case on unauthenticated public endpoint. Default 20_000.\nOperators serving cold archival traffic with deep walks or sparse\noutcomes may raise; benchmark first (see TODO in\n`view_client_actor.rs`). Mid-scan exhaustion fails with\n`BudgetExceeded { scanned, limit }`.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "resharding_config": {
            "$ref": "#/components/schemas/MutableConfigValue"
          },
          "rpc_addr": {
            "description": "Listening rpc port for status.",
            "nullable": true,
            "type": "string"
          },
          "save_invalid_witnesses": {
            "description": "Save observed instances of invalid ChunkStateWitness to the database in DBCol::InvalidChunkStateWitnesses.\nSaving invalid witnesses is useful for analysis and debugging.\nThis option can cause extra load on the database and is not recommended for production use.",
            "type": "boolean"
          },
          "save_latest_witnesses": {
            "description": "Save observed instances of ChunkStateWitness to the database in DBCol::LatestChunkStateWitnesses.\nSaving the latest witnesses is useful for analysis and debugging.\nThis option can cause extra load on the database and is not recommended for production use.",
            "type": "boolean"
          },
          "save_receipt_to_tx": {
            "description": "Whether to persist receipt-to-tx origin mappings to disk or not.",
            "type": "boolean"
          },
          "save_state_changes": {
            "description": "Whether to persist state changes on disk or not.",
            "type": "boolean"
          },
          "save_trie_changes": {
            "description": "save_trie_changes should be set to true iff\n- archive if false - non-archival nodes need trie changes to perform garbage collection\n- archive is true, cold_store is configured and migration to split_storage is finished - node\nworking in split storage mode needs trie changes in order to do garbage collection on hot.",
            "type": "boolean"
          },
          "save_tx_outcomes": {
            "description": "Whether to persist transaction outcomes to disk or not.",
            "type": "boolean"
          },
          "save_untracked_partial_chunks_parts": {
            "description": "Whether to persist partial chunk parts for untracked shards or not.",
            "type": "boolean"
          },
          "skip_sync_wait": {
            "description": "Skip waiting for sync (for testing or single node testnet).",
            "type": "boolean"
          },
          "state_request_server_threads": {
            "description": "Number of threads for StateRequestActor pool.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "state_request_throttle_period": {
            "description": "Number of seconds between state requests for view client.\nThrottling window for state requests (headers and parts).",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "state_requests_per_throttle_period": {
            "description": "Maximum number of state requests served per throttle period",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "state_sync": {
            "allOf": [
              {
                "$ref": "#/components/schemas/StateSyncConfig"
              }
            ],
            "description": "Options for syncing state."
          },
          "state_sync_external_timeout": {
            "description": "How long to wait for a state sync block request response",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "state_sync_p2p_timeout": {
            "description": "How long to wait for a response from p2p state sync",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "state_sync_retry_backoff": {
            "description": "How long to wait after a failed state sync request",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "sync_check_period": {
            "description": "How often to check that we are not out of sync.",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "sync_height_threshold": {
            "description": "Sync height threshold: below this difference in height don't start syncing.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "sync_max_block_requests": {
            "description": "Maximum number of block requests to send to peers to sync",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "sync_step_period": {
            "description": "While syncing, how long to check for each step.",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "tracked_shards_config": {
            "$ref": "#/components/schemas/TrackedShardsConfig"
          },
          "transaction_pool_size_limit": {
            "description": "Limit of the size of per-shard transaction pool measured in bytes. If not set, the size\nwill be unbounded.",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "transaction_pool_strict_nonce_ttl_blocks": {
            "description": "TTL in blocks for gapped strict-nonce transactions in the pool. Transactions with a\nnonce gap whose block_hash is older than this many blocks are evicted during\nprepare_transactions.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "transaction_request_handler_threads": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "trie_viewer_state_size_limit": {
            "description": "Upper bound of the byte size of contract state that is still viewable. None is no limit",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "ttl_account_id_router": {
            "description": "Time to persist Accounts Id in the router without removing them.",
            "items": {
              "format": "uint64",
              "minimum": 0,
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "tx_routing_height_horizon": {
            "description": "If the node is not a chunk producer within that many blocks, then route\nto upcoming chunk producers.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "version": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Version"
              }
            ],
            "description": "Version of the binary."
          },
          "view_client_threads": {
            "description": "Number of threads for ViewClientActor pool.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RpcCongestionLevelRequest": {
        "anyOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              },
              "shard_id": {
                "$ref": "#/components/schemas/ShardId"
              }
            },
            "required": [
              "block_id",
              "shard_id"
            ],
            "title": "block_shard_id",
            "type": "object"
          },
          {
            "properties": {
              "chunk_id": {
                "$ref": "#/components/schemas/CryptoHash"
              }
            },
            "required": [
              "chunk_id"
            ],
            "title": "chunk_hash",
            "type": "object"
          }
        ],
        "title": "RpcCongestionLevelRequest",
        "type": "object"
      },
      "RpcCongestionLevelResponse": {
        "properties": {
          "congestion_level": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "congestion_level"
        ],
        "type": "object"
      },
      "RpcGasPriceError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcGasPriceRequest": {
        "properties": {
          "block_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BlockId"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          }
        },
        "title": "RpcGasPriceRequest",
        "type": "object"
      },
      "RpcGasPriceResponse": {
        "properties": {
          "gas_price": {
            "$ref": "#/components/schemas/NearToken"
          }
        },
        "required": [
          "gas_price"
        ],
        "type": "object"
      },
      "RpcHealthRequest": {
        "enum": [
          null
        ],
        "nullable": true,
        "title": "RpcHealthRequest"
      },
      "RpcHealthResponse": {
        "enum": [
          null
        ],
        "nullable": true
      },
      "RpcKnownProducer": {
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "addr": {
            "nullable": true,
            "type": "string"
          },
          "peer_id": {
            "$ref": "#/components/schemas/PeerId"
          }
        },
        "required": [
          "account_id",
          "peer_id"
        ],
        "type": "object"
      },
      "RpcLightClientBlockProofRequest": {
        "properties": {
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "light_client_head": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "required": [
          "block_hash",
          "light_client_head"
        ],
        "title": "RpcLightClientBlockProofRequest",
        "type": "object"
      },
      "RpcLightClientBlockProofResponse": {
        "properties": {
          "block_header_lite": {
            "$ref": "#/components/schemas/LightClientBlockLiteView"
          },
          "block_proof": {
            "items": {
              "$ref": "#/components/schemas/MerklePathItem"
            },
            "type": "array"
          }
        },
        "required": [
          "block_header_lite",
          "block_proof"
        ],
        "type": "object"
      },
      "RpcLightClientExecutionProofRequest": {
        "oneOf": [
          {
            "properties": {
              "sender_id": {
                "$ref": "#/components/schemas/AccountId"
              },
              "transaction_hash": {
                "$ref": "#/components/schemas/CryptoHash"
              },
              "type": {
                "enum": [
                  "transaction"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "transaction_hash",
              "sender_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "receipt_id": {
                "$ref": "#/components/schemas/CryptoHash"
              },
              "receiver_id": {
                "$ref": "#/components/schemas/AccountId"
              },
              "type": {
                "enum": [
                  "receipt"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "receipt_id",
              "receiver_id"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "light_client_head": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "required": [
          "light_client_head"
        ],
        "title": "RpcLightClientExecutionProofRequest",
        "type": "object"
      },
      "RpcLightClientExecutionProofResponse": {
        "properties": {
          "block_header_lite": {
            "$ref": "#/components/schemas/LightClientBlockLiteView"
          },
          "block_proof": {
            "items": {
              "$ref": "#/components/schemas/MerklePathItem"
            },
            "type": "array"
          },
          "outcome_proof": {
            "$ref": "#/components/schemas/ExecutionOutcomeWithIdView"
          },
          "outcome_root_proof": {
            "items": {
              "$ref": "#/components/schemas/MerklePathItem"
            },
            "type": "array"
          }
        },
        "required": [
          "outcome_proof",
          "outcome_root_proof",
          "block_header_lite",
          "block_proof"
        ],
        "type": "object"
      },
      "RpcLightClientNextBlockError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "epoch_id": {
                    "$ref": "#/components/schemas/EpochId"
                  }
                },
                "required": [
                  "epoch_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "EPOCH_OUT_OF_BOUNDS"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcLightClientNextBlockRequest": {
        "properties": {
          "last_block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "required": [
          "last_block_hash"
        ],
        "title": "RpcLightClientNextBlockRequest",
        "type": "object"
      },
      "RpcLightClientNextBlockResponse": {
        "description": "A state for the current head of a light client. More info [here](https://nomicon.io/ChainSpec/LightClient).",
        "properties": {
          "approvals_after_next": {
            "items": {
              "anyOf": [
                {
                  "$ref": "#/components/schemas/Signature"
                },
                {
                  "enum": [
                    null
                  ],
                  "nullable": true
                }
              ]
            },
            "type": "array"
          },
          "inner_lite": {
            "allOf": [
              {
                "$ref": "#/components/schemas/BlockHeaderInnerLiteView"
              }
            ],
            "description": "Inner part of the block header that gets hashed, split into two parts, one that is sent\n   to light clients, and the rest"
          },
          "inner_rest_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "next_block_inner_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "next_bps": {
            "items": {
              "$ref": "#/components/schemas/ValidatorStakeView"
            },
            "nullable": true,
            "type": "array"
          },
          "prev_block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "type": "object"
      },
      "RpcLightClientProofError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "execution_outcome_shard_id": {
                    "$ref": "#/components/schemas/ShardId"
                  },
                  "number_or_shards": {
                    "format": "uint",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "number_or_shards",
                  "execution_outcome_shard_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INCONSISTENT_STATE"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "transaction_or_receipt_id": {
                    "$ref": "#/components/schemas/CryptoHash"
                  }
                },
                "required": [
                  "transaction_or_receipt_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "NOT_CONFIRMED"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "transaction_or_receipt_id": {
                    "$ref": "#/components/schemas/CryptoHash"
                  }
                },
                "required": [
                  "transaction_or_receipt_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_TRANSACTION_OR_RECEIPT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "shard_id": {
                    "$ref": "#/components/schemas/ShardId"
                  },
                  "transaction_or_receipt_id": {
                    "$ref": "#/components/schemas/CryptoHash"
                  }
                },
                "required": [
                  "transaction_or_receipt_id",
                  "shard_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNAVAILABLE_SHARD"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcMaintenanceWindowsError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcMaintenanceWindowsRequest": {
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          }
        },
        "required": [
          "account_id"
        ],
        "title": "RpcMaintenanceWindowsRequest",
        "type": "object"
      },
      "RpcNetworkInfoError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcNetworkInfoRequest": {
        "enum": [
          null
        ],
        "nullable": true,
        "title": "RpcNetworkInfoRequest"
      },
      "RpcNetworkInfoResponse": {
        "properties": {
          "active_peers": {
            "items": {
              "$ref": "#/components/schemas/RpcPeerInfo"
            },
            "type": "array"
          },
          "known_producers": {
            "description": "Accounts of known block and chunk producers from routing table.",
            "items": {
              "$ref": "#/components/schemas/RpcKnownProducer"
            },
            "type": "array"
          },
          "num_active_peers": {
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "peer_max_count": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "received_bytes_per_sec": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "sent_bytes_per_sec": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "active_peers",
          "num_active_peers",
          "peer_max_count",
          "sent_bytes_per_sec",
          "received_bytes_per_sec",
          "known_producers"
        ],
        "type": "object"
      },
      "RpcPeerInfo": {
        "properties": {
          "account_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "addr": {
            "nullable": true,
            "type": "string"
          },
          "id": {
            "$ref": "#/components/schemas/PeerId"
          }
        },
        "required": [
          "id"
        ],
        "type": "object"
      },
      "RpcProtocolConfigError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcProtocolConfigRequest": {
        "oneOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "finality": {
                "$ref": "#/components/schemas/Finality"
              }
            },
            "required": [
              "finality"
            ],
            "type": "object"
          },
          {
            "properties": {
              "sync_checkpoint": {
                "$ref": "#/components/schemas/SyncCheckpoint"
              }
            },
            "required": [
              "sync_checkpoint"
            ],
            "type": "object"
          }
        ],
        "title": "RpcProtocolConfigRequest",
        "type": "object"
      },
      "RpcProtocolConfigResponse": {
        "properties": {
          "block_producer_kickout_threshold": {
            "description": "Threshold for kicking out block producers, between 0 and 100.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "chain_id": {
            "description": "ID of the blockchain. This must be unique for every blockchain.\nIf your testnet blockchains do not have unique chain IDs, you will have a bad time.",
            "type": "string"
          },
          "chunk_producer_kickout_threshold": {
            "description": "Threshold for kicking out chunk producers, between 0 and 100.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "chunk_validator_only_kickout_threshold": {
            "description": "Threshold for kicking out nodes which are only chunk validators, between 0 and 100.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "dynamic_resharding": {
            "description": "Enable dynamic re-sharding.",
            "type": "boolean"
          },
          "epoch_length": {
            "description": "Epoch length counted in block heights.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "fishermen_threshold": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "Fishermen stake threshold."
          },
          "gas_limit": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Initial gas limit."
          },
          "gas_price_adjustment_rate": {
            "description": "Gas price adjustment rate",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "genesis_height": {
            "description": "Height of genesis block.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "genesis_time": {
            "description": "Official time of blockchain start.",
            "format": "date-time",
            "type": "string"
          },
          "max_gas_price": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "Maximum gas price."
          },
          "max_inflation_rate": {
            "description": "Maximum inflation on the total supply every epoch.",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "max_kickout_stake_perc": {
            "description": "Max stake percentage of the validators we will kick out.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "min_gas_price": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "Minimum gas price. It is also the initial gas price."
          },
          "minimum_stake_divisor": {
            "description": "The minimum stake required for staking is last seat price divided by this number.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "minimum_stake_ratio": {
            "description": "The lowest ratio s/s_total any block producer can have.\nSee <https://github.com/near/NEPs/pull/167> for details",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "minimum_validators_per_shard": {
            "description": "The minimum number of validators each shard must have",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_block_producer_seats": {
            "description": "Number of block producer seats at genesis.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_blocks_per_year": {
            "description": "Expected number of blocks per year",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "online_max_threshold": {
            "description": "Online maximum threshold above which validator gets full reward.",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "online_min_threshold": {
            "description": "Online minimum threshold below which validator doesn't receive reward.",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "protocol_reward_rate": {
            "description": "Protocol treasury rate",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "protocol_treasury_account": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "description": "Protocol treasury account"
          },
          "protocol_upgrade_stake_threshold": {
            "description": "Threshold of stake that needs to indicate that they ready for upgrade.",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "protocol_version": {
            "description": "Current Protocol Version",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "runtime_config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RuntimeConfigView"
              }
            ],
            "description": "Runtime configuration (mostly economics constants)."
          },
          "shard_layout": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ShardLayout"
              }
            ],
            "description": "Layout information regarding how to split accounts to shards"
          },
          "shuffle_shard_assignment_for_chunk_producers": {
            "description": "If true, shuffle the chunk producers across shards. In other words, if\nthe shard assignments were `[S_0, S_1, S_2, S_3]` where `S_i` represents\nthe set of chunk producers for shard `i`, if this flag were true, the\nshard assignments might become, for example, `[S_2, S_0, S_3, S_1]`.",
            "type": "boolean"
          },
          "target_validator_mandates_per_shard": {
            "description": "Number of target chunk validator mandates for each shard.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "transaction_validity_period": {
            "description": "Number of blocks for which a given transaction is valid",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "RpcQueryError": {
        "oneOf": [
          {
            "properties": {
              "name": {
                "enum": [
                  "NO_SYNCED_BLOCKS"
                ],
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "requested_shard_id": {
                    "$ref": "#/components/schemas/ShardId"
                  }
                },
                "required": [
                  "requested_shard_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNAVAILABLE_SHARD"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "GARBAGE_COLLECTED_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_reference": {
                    "$ref": "#/components/schemas/BlockReference"
                  }
                },
                "required": [
                  "block_reference"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INVALID_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "contract_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "contract_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "NO_CONTRACT_CODE"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "contract_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "contract_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "TOO_LARGE_CONTRACT_STATE"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "public_key",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_ACCESS_KEY"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "public_key",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_GAS_KEY"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "error": {
                    "$ref": "#/components/schemas/FunctionCallError"
                  },
                  "vm_error": {
                    "type": "string"
                  }
                },
                "required": [
                  "vm_error",
                  "error",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "CONTRACT_EXECUTION_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "identifier": {
                    "$ref": "#/components/schemas/GlobalContractIdentifier"
                  }
                },
                "required": [
                  "identifier",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "NO_GLOBAL_CONTRACT_CODE"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcQueryRequest": {
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_account"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_account_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_code"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_code_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "after_key_base64": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/StoreKey"
                      },
                      {
                        "enum": [
                          null
                        ],
                        "nullable": true
                      }
                    ]
                  },
                  "include_proof": {
                    "type": "boolean"
                  },
                  "limit": {
                    "format": "uint32",
                    "minimum": 1,
                    "nullable": true,
                    "type": "integer"
                  },
                  "prefix_base64": {
                    "$ref": "#/components/schemas/StoreKey"
                  },
                  "request_type": {
                    "enum": [
                      "view_state"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "prefix_base64"
                ],
                "type": "object"
              }
            ],
            "title": "view_state_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  },
                  "request_type": {
                    "enum": [
                      "view_access_key"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              }
            ],
            "title": "view_access_key_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_access_key_list"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_access_key_list_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  },
                  "request_type": {
                    "enum": [
                      "view_gas_key_nonces"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              }
            ],
            "title": "view_gas_key_nonces_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "args_base64": {
                    "$ref": "#/components/schemas/FunctionArgs"
                  },
                  "method_name": {
                    "type": "string"
                  },
                  "request_type": {
                    "enum": [
                      "call_function"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "method_name",
                  "args_base64"
                ],
                "type": "object"
              }
            ],
            "title": "call_function_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "code_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "request_type": {
                    "enum": [
                      "view_global_contract_code"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "code_hash"
                ],
                "type": "object"
              }
            ],
            "title": "view_global_contract_code_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_global_contract_code_by_account_id"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_global_contract_code_by_account_id_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_account"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_account_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_code"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_code_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "after_key_base64": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/StoreKey"
                      },
                      {
                        "enum": [
                          null
                        ],
                        "nullable": true
                      }
                    ]
                  },
                  "include_proof": {
                    "type": "boolean"
                  },
                  "limit": {
                    "format": "uint32",
                    "minimum": 1,
                    "nullable": true,
                    "type": "integer"
                  },
                  "prefix_base64": {
                    "$ref": "#/components/schemas/StoreKey"
                  },
                  "request_type": {
                    "enum": [
                      "view_state"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "prefix_base64"
                ],
                "type": "object"
              }
            ],
            "title": "view_state_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  },
                  "request_type": {
                    "enum": [
                      "view_access_key"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              }
            ],
            "title": "view_access_key_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_access_key_list"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_access_key_list_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  },
                  "request_type": {
                    "enum": [
                      "view_gas_key_nonces"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              }
            ],
            "title": "view_gas_key_nonces_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "args_base64": {
                    "$ref": "#/components/schemas/FunctionArgs"
                  },
                  "method_name": {
                    "type": "string"
                  },
                  "request_type": {
                    "enum": [
                      "call_function"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "method_name",
                  "args_base64"
                ],
                "type": "object"
              }
            ],
            "title": "call_function_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "code_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "request_type": {
                    "enum": [
                      "view_global_contract_code"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "code_hash"
                ],
                "type": "object"
              }
            ],
            "title": "view_global_contract_code_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_global_contract_code_by_account_id"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_global_contract_code_by_account_id_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_account"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_account_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_code"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_code_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "after_key_base64": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/StoreKey"
                      },
                      {
                        "enum": [
                          null
                        ],
                        "nullable": true
                      }
                    ]
                  },
                  "include_proof": {
                    "type": "boolean"
                  },
                  "limit": {
                    "format": "uint32",
                    "minimum": 1,
                    "nullable": true,
                    "type": "integer"
                  },
                  "prefix_base64": {
                    "$ref": "#/components/schemas/StoreKey"
                  },
                  "request_type": {
                    "enum": [
                      "view_state"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "prefix_base64"
                ],
                "type": "object"
              }
            ],
            "title": "view_state_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  },
                  "request_type": {
                    "enum": [
                      "view_access_key"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              }
            ],
            "title": "view_access_key_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_access_key_list"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_access_key_list_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  },
                  "request_type": {
                    "enum": [
                      "view_gas_key_nonces"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              }
            ],
            "title": "view_gas_key_nonces_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "args_base64": {
                    "$ref": "#/components/schemas/FunctionArgs"
                  },
                  "method_name": {
                    "type": "string"
                  },
                  "request_type": {
                    "enum": [
                      "call_function"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id",
                  "method_name",
                  "args_base64"
                ],
                "type": "object"
              }
            ],
            "title": "call_function_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "code_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "request_type": {
                    "enum": [
                      "view_global_contract_code"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "code_hash"
                ],
                "type": "object"
              }
            ],
            "title": "view_global_contract_code_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "request_type": {
                    "enum": [
                      "view_global_contract_code_by_account_id"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "request_type",
                  "account_id"
                ],
                "type": "object"
              }
            ],
            "title": "view_global_contract_code_by_account_id_by_sync_checkpoint"
          }
        ],
        "title": "RpcQueryRequest",
        "type": "object"
      },
      "RpcQueryResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/AccountView"
          },
          {
            "$ref": "#/components/schemas/ContractCodeView"
          },
          {
            "$ref": "#/components/schemas/ViewStateResult"
          },
          {
            "$ref": "#/components/schemas/CallResult"
          },
          {
            "$ref": "#/components/schemas/AccessKeyView"
          },
          {
            "$ref": "#/components/schemas/AccessKeyList"
          },
          {
            "$ref": "#/components/schemas/GasKeyNoncesView"
          }
        ],
        "properties": {
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "block_height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "block_height",
          "block_hash"
        ],
        "type": "object"
      },
      "RpcReceiptError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "receipt_id": {
                    "$ref": "#/components/schemas/CryptoHash"
                  }
                },
                "required": [
                  "receipt_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_RECEIPT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcReceiptRequest": {
        "properties": {
          "receipt_id": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "required": [
          "receipt_id"
        ],
        "title": "RpcReceiptRequest",
        "type": "object"
      },
      "RpcReceiptResponse": {
        "properties": {
          "predecessor_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "priority": {
            "default": 0,
            "description": "Deprecated, retained for backward compatibility.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "receipt": {
            "$ref": "#/components/schemas/ReceiptEnumView"
          },
          "receipt_id": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "receiver_id": {
            "$ref": "#/components/schemas/AccountId"
          }
        },
        "required": [
          "predecessor_id",
          "receiver_id",
          "receipt_id",
          "receipt"
        ],
        "type": "object"
      },
      "RpcReceiptToTxError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "receipt_id": {
                    "$ref": "#/components/schemas/CryptoHash"
                  }
                },
                "required": [
                  "receipt_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_RECEIPT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "limit": {
                    "format": "uint32",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "receipt_id": {
                    "$ref": "#/components/schemas/CryptoHash"
                  }
                },
                "required": [
                  "receipt_id",
                  "limit"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "DEPTH_EXCEEDED"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNSUPPORTED"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "name": {
                "enum": [
                  "OUTCOMES_NOT_STORED"
                ],
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "maximum": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "requested",
                  "maximum"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "WINDOW_TOO_LARGE"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "MALFORMED_HINT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "limit": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "scanned": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "scanned",
                  "limit"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "BUDGET_EXCEEDED"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcReceiptToTxRequest": {
        "properties": {
          "block_height": {
            "description": "Block height near where receipt was created. Enables hint fallback\nscan on column miss. Anchor refreshes to each scan-resolved parent's\nexact execution height; later ancestors bounded via causality\n(emit before execute), so subsequent column-miss scans go\n`Ancestor`. Bump `receipt_to_tx_max_hop_distance` if cold archival\ngaps exceed default 20.\n\nCold-storage cost: per-row latency orders of magnitude over hot. To\nbound request cost:\n  - Supply `block_height` within parent's `±window` (default 5).\n  - Supply `shard_id`. Omit → all-shards enumeration until walker\n    crosses `FromReceipt` hop, multiplying cold-read cost.\n  - Don't widen `window` beyond indexer's accuracy; budget shared\n    across full ancestry walk.\n\nReceipt-id-only queries against periods with `save_receipt_to_tx`\ndisabled stay unsupported: column never written, no self-locating.",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "receipt_id": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "shard_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/ShardId"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "Shard hint. Narrows scan to this shard at hint height. Omit to\nenumerate all tracked shards (higher cost). After walker crosses a\nreceipt-origin hop, shard derived from parent's predecessor account\nand hint no longer applies. Best-effort across resharding: layout\nshifts can miss producer, walk returns `UnknownReceipt`."
          },
          "window": {
            "description": "Pre-first-scan width: `±window` heights around hint. Caps at\n`receipt_to_tx_max_hint_window` (default 20). Ignored after first\nscan-resolved hop — walker switches to `Ancestor` mode at\n`receipt_to_tx_max_hop_distance` width.",
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          }
        },
        "required": [
          "receipt_id"
        ],
        "title": "RpcReceiptToTxRequest",
        "type": "object"
      },
      "RpcReceiptToTxResponse": {
        "properties": {
          "sender_account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "transaction_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "required": [
          "transaction_hash",
          "sender_account_id"
        ],
        "type": "object"
      },
      "RpcRequestValidationErrorKind": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "method_name": {
                    "type": "string"
                  }
                },
                "required": [
                  "method_name"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "METHOD_NOT_FOUND"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "PARSE_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcSendTransactionRequest": {
        "properties": {
          "signed_tx_base64": {
            "$ref": "#/components/schemas/SignedTransaction"
          },
          "wait_until": {
            "$ref": "#/components/schemas/TxExecutionStatus",
            "description": "Optional. Tells the RPC how long to wait before returning the transaction status. See the TxExecutionStatus enum for the six available milestones. Defaults to `EXECUTED_OPTIMISTIC`."
          }
        },
        "required": [
          "signed_tx_base64"
        ],
        "title": "RpcSendTransactionRequest",
        "type": "object"
      },
      "RpcSplitStorageInfoError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcSplitStorageInfoRequest": {
        "title": "RpcSplitStorageInfoRequest",
        "type": "object"
      },
      "RpcSplitStorageInfoResponse": {
        "description": "Contains the split storage information.",
        "properties": {
          "cold_head_height": {
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "final_head_height": {
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "head_height": {
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "hot_db_kind": {
            "nullable": true,
            "type": "string"
          }
        },
        "type": "object"
      },
      "RpcStateChangesError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "name": {
                "enum": [
                  "NOT_SYNCED_YET"
                ],
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "shard_id": {
                    "$ref": "#/components/schemas/ShardId"
                  }
                },
                "required": [
                  "shard_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "SHARD_NOT_APPLIED"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcStateChangesInBlockByTypeRequest": {
        "description": "It is a [serializable view] of [`StateChangesRequest`].\n\n[serializable view]: ./index.html\n[`StateChangesRequest`]: ../types/struct.StateChangesRequest.html",
        "oneOf": [
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "account_changes"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids"
                ],
                "type": "object"
              }
            ],
            "title": "account_changes_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "changes_type": {
                    "enum": [
                      "single_access_key_changes"
                    ],
                    "type": "string"
                  },
                  "keys": {
                    "items": {
                      "$ref": "#/components/schemas/AccountWithPublicKey"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "changes_type",
                  "keys"
                ],
                "type": "object"
              }
            ],
            "title": "single_access_key_changes_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "all_access_key_changes"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids"
                ],
                "type": "object"
              }
            ],
            "title": "all_access_key_changes_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "contract_code_changes"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids"
                ],
                "type": "object"
              }
            ],
            "title": "contract_code_changes_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "block_id": {
                    "$ref": "#/components/schemas/BlockId"
                  }
                },
                "required": [
                  "block_id"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "data_changes"
                    ],
                    "type": "string"
                  },
                  "key_prefix_base64": {
                    "$ref": "#/components/schemas/StoreKey"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids",
                  "key_prefix_base64"
                ],
                "type": "object"
              }
            ],
            "title": "data_changes_by_block_id"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "account_changes"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids"
                ],
                "type": "object"
              }
            ],
            "title": "account_changes_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "changes_type": {
                    "enum": [
                      "single_access_key_changes"
                    ],
                    "type": "string"
                  },
                  "keys": {
                    "items": {
                      "$ref": "#/components/schemas/AccountWithPublicKey"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "changes_type",
                  "keys"
                ],
                "type": "object"
              }
            ],
            "title": "single_access_key_changes_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "all_access_key_changes"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids"
                ],
                "type": "object"
              }
            ],
            "title": "all_access_key_changes_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "contract_code_changes"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids"
                ],
                "type": "object"
              }
            ],
            "title": "contract_code_changes_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "finality": {
                    "$ref": "#/components/schemas/Finality"
                  }
                },
                "required": [
                  "finality"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "data_changes"
                    ],
                    "type": "string"
                  },
                  "key_prefix_base64": {
                    "$ref": "#/components/schemas/StoreKey"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids",
                  "key_prefix_base64"
                ],
                "type": "object"
              }
            ],
            "title": "data_changes_by_finality"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "account_changes"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids"
                ],
                "type": "object"
              }
            ],
            "title": "account_changes_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "changes_type": {
                    "enum": [
                      "single_access_key_changes"
                    ],
                    "type": "string"
                  },
                  "keys": {
                    "items": {
                      "$ref": "#/components/schemas/AccountWithPublicKey"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "changes_type",
                  "keys"
                ],
                "type": "object"
              }
            ],
            "title": "single_access_key_changes_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "all_access_key_changes"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids"
                ],
                "type": "object"
              }
            ],
            "title": "all_access_key_changes_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "contract_code_changes"
                    ],
                    "type": "string"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids"
                ],
                "type": "object"
              }
            ],
            "title": "contract_code_changes_by_sync_checkpoint"
          },
          {
            "allOf": [
              {
                "properties": {
                  "sync_checkpoint": {
                    "$ref": "#/components/schemas/SyncCheckpoint"
                  }
                },
                "required": [
                  "sync_checkpoint"
                ],
                "type": "object"
              },
              {
                "properties": {
                  "account_ids": {
                    "items": {
                      "$ref": "#/components/schemas/AccountId"
                    },
                    "type": "array"
                  },
                  "changes_type": {
                    "enum": [
                      "data_changes"
                    ],
                    "type": "string"
                  },
                  "key_prefix_base64": {
                    "$ref": "#/components/schemas/StoreKey"
                  }
                },
                "required": [
                  "changes_type",
                  "account_ids",
                  "key_prefix_base64"
                ],
                "type": "object"
              }
            ],
            "title": "data_changes_by_sync_checkpoint"
          }
        ],
        "title": "RpcStateChangesInBlockByTypeRequest",
        "type": "object"
      },
      "RpcStateChangesInBlockByTypeResponse": {
        "properties": {
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "changes": {
            "items": {
              "$ref": "#/components/schemas/StateChangeKindView"
            },
            "type": "array"
          }
        },
        "required": [
          "block_hash",
          "changes"
        ],
        "type": "object"
      },
      "RpcStateChangesInBlockRequest": {
        "oneOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "finality": {
                "$ref": "#/components/schemas/Finality"
              }
            },
            "required": [
              "finality"
            ],
            "type": "object"
          },
          {
            "properties": {
              "sync_checkpoint": {
                "$ref": "#/components/schemas/SyncCheckpoint"
              }
            },
            "required": [
              "sync_checkpoint"
            ],
            "type": "object"
          }
        ],
        "title": "RpcStateChangesInBlockRequest",
        "type": "object"
      },
      "RpcStateChangesInBlockResponse": {
        "properties": {
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "changes": {
            "items": {
              "$ref": "#/components/schemas/StateChangeWithCauseView"
            },
            "type": "array"
          }
        },
        "required": [
          "block_hash",
          "changes"
        ],
        "type": "object"
      },
      "RpcStatusError": {
        "oneOf": [
          {
            "properties": {
              "name": {
                "enum": [
                  "NODE_IS_SYNCING"
                ],
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "elapsed": {
                    "items": {
                      "format": "uint64",
                      "minimum": 0,
                      "type": "integer"
                    },
                    "maxItems": 2,
                    "minItems": 2,
                    "type": "array"
                  }
                },
                "required": [
                  "elapsed"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "NO_NEW_BLOCKS"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "epoch_id": {
                    "$ref": "#/components/schemas/EpochId"
                  }
                },
                "required": [
                  "epoch_id"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "EPOCH_OUT_OF_BOUNDS"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcStatusRequest": {
        "enum": [
          null
        ],
        "nullable": true,
        "title": "RpcStatusRequest"
      },
      "RpcStatusResponse": {
        "properties": {
          "chain_id": {
            "description": "Unique chain id.",
            "type": "string"
          },
          "detailed_debug_status": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DetailedDebugStatus"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "Information about last blocks, network, epoch and chain & chunk info."
          },
          "genesis_hash": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              }
            ],
            "description": "Genesis hash of the chain."
          },
          "latest_protocol_version": {
            "description": "Latest protocol version that this client supports.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "node_key": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "Deprecated; same as `validator_public_key` which you should use instead."
          },
          "node_public_key": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              }
            ],
            "description": "Public key of the node."
          },
          "protocol_version": {
            "description": "Currently active protocol version.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "rpc_addr": {
            "description": "Address for RPC server.  None if node doesn't have RPC endpoint enabled.",
            "nullable": true,
            "type": "string"
          },
          "sync_info": {
            "allOf": [
              {
                "$ref": "#/components/schemas/StatusSyncInfo"
              }
            ],
            "description": "Sync status of the node."
          },
          "uptime_sec": {
            "description": "Uptime of the node.",
            "format": "int64",
            "type": "integer"
          },
          "validator_account_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "Validator id of the node"
          },
          "validator_public_key": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "Public key of the validator."
          },
          "validators": {
            "description": "Current epoch validators.",
            "items": {
              "$ref": "#/components/schemas/ValidatorInfo"
            },
            "type": "array"
          },
          "version": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Version"
              }
            ],
            "description": "Binary version."
          }
        },
        "required": [
          "version",
          "chain_id",
          "protocol_version",
          "latest_protocol_version",
          "validators",
          "sync_info",
          "node_public_key",
          "uptime_sec",
          "genesis_hash"
        ],
        "type": "object"
      },
      "RpcTransactionError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "type": "object"
              },
              "name": {
                "enum": [
                  "INVALID_TRANSACTION"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "name": {
                "enum": [
                  "DOES_NOT_TRACK_SHARD"
                ],
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "transaction_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  }
                },
                "required": [
                  "transaction_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "REQUEST_ROUTED"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "requested_transaction_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  }
                },
                "required": [
                  "requested_transaction_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_TRANSACTION"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "debug_info": {
                    "type": "string"
                  }
                },
                "required": [
                  "debug_info"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "name": {
                "enum": [
                  "TIMEOUT_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          }
        ]
      },
      "RpcTransactionResponse": {
        "anyOf": [
          {
            "$ref": "#/components/schemas/FinalExecutionOutcomeWithReceiptView"
          },
          {
            "$ref": "#/components/schemas/FinalExecutionOutcomeView"
          },
          {}
        ],
        "properties": {
          "final_execution_status": {
            "$ref": "#/components/schemas/TxExecutionStatus"
          }
        },
        "required": [
          "final_execution_status"
        ],
        "type": "object"
      },
      "RpcTransactionStatusRequest": {
        "anyOf": [
          {
            "properties": {
              "signed_tx_base64": {
                "$ref": "#/components/schemas/SignedTransaction"
              }
            },
            "required": [
              "signed_tx_base64"
            ],
            "type": "object"
          },
          {
            "properties": {
              "sender_account_id": {
                "$ref": "#/components/schemas/AccountId"
              },
              "tx_hash": {
                "$ref": "#/components/schemas/CryptoHash"
              }
            },
            "required": [
              "tx_hash",
              "sender_account_id"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "wait_until": {
            "$ref": "#/components/schemas/TxExecutionStatus",
            "description": "Optional. Tells the RPC how long to wait before returning the transaction status. See the TxExecutionStatus enum for the six available milestones. Defaults to `EXECUTED_OPTIMISTIC`."
          }
        },
        "title": "RpcTransactionStatusRequest",
        "type": "object"
      },
      "RpcValidatorError": {
        "oneOf": [
          {
            "properties": {
              "name": {
                "enum": [
                  "UNKNOWN_EPOCH"
                ],
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          {
            "properties": {
              "name": {
                "enum": [
                  "VALIDATOR_INFO_UNAVAILABLE"
                ],
                "type": "string"
              }
            },
            "required": [
              "name"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcValidatorRequest": {
        "oneOf": [
          {
            "properties": {
              "epoch_id": {
                "$ref": "#/components/schemas/EpochId"
              }
            },
            "required": [
              "epoch_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "latest": {
                "enum": [
                  null
                ],
                "nullable": true
              }
            },
            "required": [
              "latest"
            ],
            "type": "object"
          }
        ],
        "title": "RpcValidatorRequest",
        "type": "object"
      },
      "RpcValidatorResponse": {
        "description": "Information about this epoch validators and next epoch validators",
        "properties": {
          "current_fishermen": {
            "description": "Fishermen for the current epoch",
            "items": {
              "$ref": "#/components/schemas/ValidatorStakeView"
            },
            "type": "array"
          },
          "current_proposals": {
            "description": "Proposals in the current epoch",
            "items": {
              "$ref": "#/components/schemas/ValidatorStakeView"
            },
            "type": "array"
          },
          "current_validators": {
            "description": "Validators for the current epoch",
            "items": {
              "$ref": "#/components/schemas/CurrentEpochValidatorInfo"
            },
            "type": "array"
          },
          "epoch_height": {
            "description": "Epoch height",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "epoch_start_height": {
            "description": "Epoch start block height",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "next_fishermen": {
            "description": "Fishermen for the next epoch",
            "items": {
              "$ref": "#/components/schemas/ValidatorStakeView"
            },
            "type": "array"
          },
          "next_validators": {
            "description": "Validators for the next epoch",
            "items": {
              "$ref": "#/components/schemas/NextEpochValidatorInfo"
            },
            "type": "array"
          },
          "prev_epoch_kickout": {
            "description": "Kickout in the previous epoch",
            "items": {
              "$ref": "#/components/schemas/ValidatorKickoutView"
            },
            "type": "array"
          },
          "validator_reward_paid_prev_epoch": {
            "additionalProperties": {
              "$ref": "#/components/schemas/NearToken"
            },
            "default": {},
            "description": "Per-validator rewards paid out at the start of the previous epoch.\nFor epoch E, this contains the rewards earned in epoch E-2 that were\nadded to validator and treasury balances at the first block of epoch\nE-1 (via `ValidatorAccountsUpdate`).",
            "type": "object"
          }
        },
        "required": [
          "current_validators",
          "next_validators",
          "current_fishermen",
          "next_fishermen",
          "current_proposals",
          "prev_epoch_kickout",
          "epoch_start_height",
          "epoch_height"
        ],
        "type": "object"
      },
      "RpcValidatorsOrderedRequest": {
        "properties": {
          "block_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/BlockId"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          }
        },
        "title": "RpcValidatorsOrderedRequest",
        "type": "object"
      },
      "RpcViewAccessKeyError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "block_reference": {
                    "$ref": "#/components/schemas/BlockReference"
                  }
                },
                "required": [
                  "block_reference"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INVALID_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKey"
                  }
                },
                "required": [
                  "public_key",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_ACCESS_KEY"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcViewAccessKeyListError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "block_reference": {
                    "$ref": "#/components/schemas/BlockReference"
                  }
                },
                "required": [
                  "block_reference"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INVALID_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcViewAccessKeyListRequest": {
        "oneOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "finality": {
                "$ref": "#/components/schemas/Finality"
              }
            },
            "required": [
              "finality"
            ],
            "type": "object"
          },
          {
            "properties": {
              "sync_checkpoint": {
                "$ref": "#/components/schemas/SyncCheckpoint"
              }
            },
            "required": [
              "sync_checkpoint"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          }
        },
        "required": [
          "account_id"
        ],
        "title": "RpcViewAccessKeyListRequest",
        "type": "object"
      },
      "RpcViewAccessKeyListResponse": {
        "description": "Lists access keys",
        "properties": {
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "block_height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "keys": {
            "items": {
              "$ref": "#/components/schemas/AccessKeyInfoView"
            },
            "type": "array"
          }
        },
        "required": [
          "keys",
          "block_height",
          "block_hash"
        ],
        "type": "object"
      },
      "RpcViewAccessKeyRequest": {
        "oneOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "finality": {
                "$ref": "#/components/schemas/Finality"
              }
            },
            "required": [
              "finality"
            ],
            "type": "object"
          },
          {
            "properties": {
              "sync_checkpoint": {
                "$ref": "#/components/schemas/SyncCheckpoint"
              }
            },
            "required": [
              "sync_checkpoint"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "public_key": {
            "$ref": "#/components/schemas/PublicKey"
          }
        },
        "required": [
          "account_id",
          "public_key"
        ],
        "title": "RpcViewAccessKeyRequest",
        "type": "object"
      },
      "RpcViewAccessKeyResponse": {
        "description": "Describes access key permission scope and nonce.",
        "properties": {
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "block_height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "nonce": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "permission": {
            "$ref": "#/components/schemas/AccessKeyPermissionView"
          }
        },
        "required": [
          "nonce",
          "permission",
          "block_height",
          "block_hash"
        ],
        "type": "object"
      },
      "RpcViewAccountError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "block_reference": {
                    "$ref": "#/components/schemas/BlockReference"
                  }
                },
                "required": [
                  "block_reference"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INVALID_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcViewAccountRequest": {
        "oneOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "finality": {
                "$ref": "#/components/schemas/Finality"
              }
            },
            "required": [
              "finality"
            ],
            "type": "object"
          },
          {
            "properties": {
              "sync_checkpoint": {
                "$ref": "#/components/schemas/SyncCheckpoint"
              }
            },
            "required": [
              "sync_checkpoint"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          }
        },
        "required": [
          "account_id"
        ],
        "title": "RpcViewAccountRequest",
        "type": "object"
      },
      "RpcViewAccountResponse": {
        "description": "A view of the account",
        "properties": {
          "amount": {
            "$ref": "#/components/schemas/NearToken"
          },
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "block_height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "code_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "global_contract_account_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "global_contract_hash": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "locked": {
            "$ref": "#/components/schemas/NearToken"
          },
          "storage_paid_at": {
            "default": 0,
            "description": "TODO(2271): deprecated.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "storage_usage": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "amount",
          "locked",
          "code_hash",
          "storage_usage",
          "block_height",
          "block_hash"
        ],
        "type": "object"
      },
      "RpcViewCodeError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "block_reference": {
                    "$ref": "#/components/schemas/BlockReference"
                  }
                },
                "required": [
                  "block_reference"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INVALID_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "contract_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "contract_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "NO_CONTRACT_CODE"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcViewCodeRequest": {
        "oneOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "finality": {
                "$ref": "#/components/schemas/Finality"
              }
            },
            "required": [
              "finality"
            ],
            "type": "object"
          },
          {
            "properties": {
              "sync_checkpoint": {
                "$ref": "#/components/schemas/SyncCheckpoint"
              }
            },
            "required": [
              "sync_checkpoint"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          }
        },
        "required": [
          "account_id"
        ],
        "title": "RpcViewCodeRequest",
        "type": "object"
      },
      "RpcViewCodeResponse": {
        "description": "A view of the contract code.",
        "properties": {
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "block_height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "code_base64": {
            "type": "string"
          },
          "hash": {
            "$ref": "#/components/schemas/CryptoHash"
          }
        },
        "required": [
          "code_base64",
          "hash",
          "block_height",
          "block_hash"
        ],
        "type": "object"
      },
      "RpcViewStateError": {
        "oneOf": [
          {
            "properties": {
              "info": {
                "properties": {
                  "block_reference": {
                    "$ref": "#/components/schemas/BlockReference"
                  }
                },
                "required": [
                  "block_reference"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_BLOCK"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INVALID_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "requested_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "requested_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "UNKNOWN_ACCOUNT"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "block_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "block_height": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "contract_account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "contract_account_id",
                  "block_height",
                  "block_hash"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "TOO_LARGE_CONTRACT_STATE"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          },
          {
            "properties": {
              "info": {
                "properties": {
                  "error_message": {
                    "type": "string"
                  }
                },
                "required": [
                  "error_message"
                ],
                "type": "object"
              },
              "name": {
                "enum": [
                  "INTERNAL_ERROR"
                ],
                "type": "string"
              }
            },
            "required": [
              "name",
              "info"
            ],
            "type": "object"
          }
        ]
      },
      "RpcViewStateRequest": {
        "oneOf": [
          {
            "properties": {
              "block_id": {
                "$ref": "#/components/schemas/BlockId"
              }
            },
            "required": [
              "block_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "finality": {
                "$ref": "#/components/schemas/Finality"
              }
            },
            "required": [
              "finality"
            ],
            "type": "object"
          },
          {
            "properties": {
              "sync_checkpoint": {
                "$ref": "#/components/schemas/SyncCheckpoint"
              }
            },
            "required": [
              "sync_checkpoint"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "after_key_base64": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/StoreKey"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "default": null
          },
          "include_proof": {
            "default": false,
            "type": "boolean"
          },
          "limit": {
            "default": null,
            "format": "uint32",
            "minimum": 1,
            "nullable": true,
            "type": "integer"
          },
          "prefix_base64": {
            "$ref": "#/components/schemas/StoreKey"
          }
        },
        "required": [
          "account_id",
          "prefix_base64"
        ],
        "title": "RpcViewStateRequest",
        "type": "object"
      },
      "RpcViewStateResponse": {
        "description": "Resulting state values for a view state query request",
        "properties": {
          "block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "block_height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "last_key": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/StoreKey"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "proof": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "values": {
            "items": {
              "$ref": "#/components/schemas/StateItem"
            },
            "type": "array"
          }
        },
        "required": [
          "values",
          "block_height",
          "block_hash"
        ],
        "type": "object"
      },
      "RuntimeConfigView": {
        "description": "View that preserves JSON format of the runtime config.",
        "properties": {
          "account_creation_charge": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "default": "0",
            "description": "How much creating an account should cost in NEAR. Taken into account when burning gas for\naccount creation."
          },
          "account_creation_config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountCreationConfigView"
              }
            ],
            "description": "Config that defines rules for account creation."
          },
          "congestion_control_config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/CongestionControlConfigView"
              }
            ],
            "description": "The configuration for congestion control."
          },
          "min_gas_purchase_price": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "default": "0",
            "description": "Minimum price at which the gas attached to a receipt is purchased. The price at which it is\nburned might be lower, in which case the difference is refunded after execution."
          },
          "storage_amount_per_byte": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "Amount of yN per byte required to have on the account.  See\n<https://nomicon.io/Economics/Economics.html#state-stake> for details."
          },
          "transaction_costs": {
            "allOf": [
              {
                "$ref": "#/components/schemas/RuntimeFeesConfigView"
              }
            ],
            "description": "Costs of different actions that need to be performed when sending and\nprocessing transaction and receipts."
          },
          "wasm_config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/VMConfigView"
              }
            ],
            "description": "Config of wasm operations."
          },
          "witness_config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/WitnessConfigView"
              }
            ],
            "description": "Configuration specific to ChunkStateWitness."
          }
        },
        "type": "object"
      },
      "RuntimeFeesConfigView": {
        "description": "Describes different fees for the runtime",
        "properties": {
          "action_creation_config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ActionCreationConfigView"
              }
            ],
            "description": "Describes the cost of creating a certain action, `Action`. Includes all variants."
          },
          "action_receipt_creation_config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/Fee"
              }
            ],
            "description": "Describes the cost of creating an action receipt, `ActionReceipt`, excluding the actual cost\nof actions.\n- `send` cost is burned when a receipt is created using `promise_create` or\n    `promise_batch_create`\n- `exec` cost is burned when the receipt is being executed."
          },
          "burnt_gas_reward": {
            "description": "Fraction of the burnt gas to reward to the contract account for execution.",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "data_receipt_creation_config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/DataReceiptCreationConfigView"
              }
            ],
            "description": "Describes the cost of creating a data receipt, `DataReceipt`."
          },
          "ml_dsa_65_verification_cost": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearGas"
              }
            ],
            "description": "Describes the extra cost of verifying an ML-DSA-65 signature above the\ncost of verifying the standard signature types."
          },
          "pessimistic_gas_price_inflation_ratio": {
            "description": "Pessimistic gas price inflation ratio.",
            "items": {
              "format": "int32",
              "type": "integer"
            },
            "maxItems": 2,
            "minItems": 2,
            "type": "array"
          },
          "storage_usage_config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/StorageUsageConfigView"
              }
            ],
            "description": "Describes fees for storage."
          }
        },
        "type": "object"
      },
      "ShardId": {
        "description": "The shard identifier. It may be an arbitrary number - it does not need to be\na number in the range 0..NUM_SHARDS. The shard ids do not need to be\nsequential or contiguous.\n\nThe shard id is wrapped in a new type to prevent the old pattern of using\nindices in range 0..NUM_SHARDS and casting to ShardId. Once the transition\nif fully complete it potentially may be simplified to a regular type alias.",
        "format": "uint64",
        "minimum": 0,
        "type": "integer"
      },
      "ShardLayout": {
        "description": "A versioned struct that contains all information needed to assign accounts to shards.\n\nBecause of re-sharding, the chain may use different shard layout to split shards at different\ntimes. Currently, `ShardLayout` is stored as part of `EpochConfig`, which is generated each\nepoch given the epoch protocol version. In mainnet/testnet, we use two shard layouts since\nre-sharding has only happened once. It is stored as part of genesis config, see\ndefault_simple_nightshade_shard_layout() Below is an overview for some important\nfunctionalities of ShardLayout interface.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "V0": {
                "$ref": "#/components/schemas/ShardLayoutV0"
              }
            },
            "required": [
              "V0"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "V1": {
                "$ref": "#/components/schemas/ShardLayoutV1"
              }
            },
            "required": [
              "V1"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "V2": {
                "$ref": "#/components/schemas/ShardLayoutV2"
              }
            },
            "required": [
              "V2"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "properties": {
              "V3": {
                "$ref": "#/components/schemas/ShardLayoutV3"
              }
            },
            "required": [
              "V3"
            ],
            "type": "object"
          }
        ]
      },
      "ShardLayoutV0": {
        "description": "A shard layout that maps accounts evenly across all shards -- by calculate the hash of account\nid and mod number of shards. This is added to capture the old `account_id_to_shard_id` algorithm,\nto keep backward compatibility for some existing tests.\n`parent_shards` for `ShardLayoutV1` is always `None`, meaning it can only be the first shard layout\na chain uses.",
        "properties": {
          "num_shards": {
            "description": "Map accounts evenly across all shards",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "version": {
            "description": "Version of the shard layout, this is useful for uniquely identify the shard layout",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "num_shards",
          "version"
        ],
        "type": "object"
      },
      "ShardLayoutV1": {
        "properties": {
          "boundary_accounts": {
            "description": "The boundary accounts are the accounts on boundaries between shards.\nEach shard contains a range of accounts from one boundary account to\nanother - or the smallest or largest account possible. The total\nnumber of shards is equal to the number of boundary accounts plus 1.",
            "items": {
              "$ref": "#/components/schemas/AccountId"
            },
            "type": "array"
          },
          "shards_split_map": {
            "description": "Maps shards from the last shard layout to shards that it splits to in this shard layout,\nUseful for constructing states for the shards.\nNone for the genesis shard layout",
            "items": {
              "items": {
                "$ref": "#/components/schemas/ShardId"
              },
              "type": "array"
            },
            "nullable": true,
            "type": "array"
          },
          "to_parent_shard_map": {
            "description": "Maps shard in this shard layout to their parent shard\nSince shard_ids always range from 0 to num_shards - 1, we use vec instead of a hashmap",
            "items": {
              "$ref": "#/components/schemas/ShardId"
            },
            "nullable": true,
            "type": "array"
          },
          "version": {
            "description": "Version of the shard layout, this is useful for uniquely identify the shard layout",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "boundary_accounts",
          "version"
        ],
        "type": "object"
      },
      "ShardLayoutV2": {
        "description": "Counterpart to `ShardLayoutV2` composed of maps with string keys to aid\nserde serialization.",
        "properties": {
          "boundary_accounts": {
            "items": {
              "$ref": "#/components/schemas/AccountId"
            },
            "type": "array"
          },
          "id_to_index_map": {
            "additionalProperties": {
              "format": "uint",
              "minimum": 0,
              "type": "integer"
            },
            "type": "object"
          },
          "index_to_id_map": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ShardId"
            },
            "type": "object"
          },
          "shard_ids": {
            "items": {
              "$ref": "#/components/schemas/ShardId"
            },
            "type": "array"
          },
          "shards_parent_map": {
            "additionalProperties": {
              "$ref": "#/components/schemas/ShardId"
            },
            "nullable": true,
            "type": "object"
          },
          "shards_split_map": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/ShardId"
              },
              "type": "array"
            },
            "nullable": true,
            "type": "object"
          },
          "version": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "boundary_accounts",
          "shard_ids",
          "id_to_index_map",
          "index_to_id_map",
          "version"
        ],
        "type": "object"
      },
      "ShardLayoutV3": {
        "description": "Counterpart to `ShardLayoutV3` composed of maps with string keys to aid\nserde serialization.",
        "properties": {
          "boundary_accounts": {
            "items": {
              "$ref": "#/components/schemas/AccountId"
            },
            "type": "array"
          },
          "id_to_index_map": {
            "additionalProperties": {
              "format": "uint",
              "minimum": 0,
              "type": "integer"
            },
            "type": "object"
          },
          "last_split": {
            "$ref": "#/components/schemas/ShardId"
          },
          "shard_ids": {
            "items": {
              "$ref": "#/components/schemas/ShardId"
            },
            "type": "array"
          },
          "shards_split_map": {
            "additionalProperties": {
              "items": {
                "$ref": "#/components/schemas/ShardId"
              },
              "type": "array"
            },
            "type": "object"
          }
        },
        "required": [
          "boundary_accounts",
          "shard_ids",
          "id_to_index_map",
          "shards_split_map",
          "last_split"
        ],
        "type": "object"
      },
      "ShardUId": {
        "description": "`ShardUId` is a unique representation for shards from different shard layouts.\n\nComparing to `ShardId`, which is just an ordinal number ranging from 0 to NUM_SHARDS-1,\n`ShardUId` provides a way to unique identify shards when shard layouts may change across epochs.\nThis is important because we store states indexed by shards in our database, so we need a\nway to unique identify shard even when shards change across epochs.\nAnother difference between `ShardUId` and `ShardId` is that `ShardUId` should only exist in\na node's internal state while `ShardId` can be exposed to outside APIs and used in protocol\nlevel information (for example, `ShardChunkHeader` contains `ShardId` instead of `ShardUId`)",
        "properties": {
          "shard_id": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "version": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "version",
          "shard_id"
        ],
        "type": "object"
      },
      "Signature": {
        "type": "string"
      },
      "SignedDelegateAction": {
        "properties": {
          "delegate_action": {
            "$ref": "#/components/schemas/DelegateAction"
          },
          "signature": {
            "$ref": "#/components/schemas/Signature"
          }
        },
        "required": [
          "delegate_action",
          "signature"
        ],
        "type": "object"
      },
      "SignedTransaction": {
        "format": "byte",
        "type": "string"
      },
      "SignedTransactionView": {
        "properties": {
          "actions": {
            "items": {
              "$ref": "#/components/schemas/ActionView"
            },
            "type": "array"
          },
          "hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "nonce": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "nonce_index": {
            "format": "uint16",
            "maximum": 65535,
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "nonce_mode": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/NonceMode"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "priority_fee": {
            "default": 0,
            "description": "Deprecated, retained for backward compatibility.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "public_key": {
            "$ref": "#/components/schemas/PublicKey"
          },
          "receiver_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "signature": {
            "$ref": "#/components/schemas/Signature"
          },
          "signer_id": {
            "$ref": "#/components/schemas/AccountId"
          }
        },
        "required": [
          "signer_id",
          "public_key",
          "nonce",
          "receiver_id",
          "actions",
          "signature",
          "hash"
        ],
        "type": "object"
      },
      "SlashedValidator": {
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "is_double_sign": {
            "type": "boolean"
          }
        },
        "required": [
          "account_id",
          "is_double_sign"
        ],
        "type": "object"
      },
      "SpiceChunkEndorsementStats": {
        "description": "Per-validator chunk endorsement stats accumulated over a spice epoch,\nindexed by the current epoch's validator id. Carried on the last block of\nthe epoch (see `BlockHeaderInnerRestV7`) and consumed by reward and kickout.",
        "properties": {
          "expected": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "produced": {
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "produced",
          "expected"
        ],
        "type": "object"
      },
      "StakeAction": {
        "description": "An action which stakes signer_id tokens and setup's validator public key",
        "properties": {
          "public_key": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              }
            ],
            "description": "Validator key which will be used to sign transactions on behalf of signer_id"
          },
          "stake": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "Amount of tokens to stake."
          }
        },
        "required": [
          "stake",
          "public_key"
        ],
        "type": "object"
      },
      "StateChangeCauseView": {
        "description": "See crate::types::StateChangeCause for details.",
        "oneOf": [
          {
            "properties": {
              "type": {
                "enum": [
                  "not_writable_to_disk"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "properties": {
              "type": {
                "enum": [
                  "initial_state"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "properties": {
              "tx_hash": {
                "$ref": "#/components/schemas/CryptoHash"
              },
              "type": {
                "enum": [
                  "transaction_processing"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "tx_hash"
            ],
            "type": "object"
          },
          {
            "properties": {
              "receipt_hash": {
                "$ref": "#/components/schemas/CryptoHash"
              },
              "type": {
                "enum": [
                  "action_receipt_processing_started"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "receipt_hash"
            ],
            "type": "object"
          },
          {
            "properties": {
              "receipt_hash": {
                "$ref": "#/components/schemas/CryptoHash"
              },
              "type": {
                "enum": [
                  "action_receipt_gas_reward"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "receipt_hash"
            ],
            "type": "object"
          },
          {
            "properties": {
              "receipt_hash": {
                "$ref": "#/components/schemas/CryptoHash"
              },
              "type": {
                "enum": [
                  "receipt_processing"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "receipt_hash"
            ],
            "type": "object"
          },
          {
            "properties": {
              "receipt_hash": {
                "$ref": "#/components/schemas/CryptoHash"
              },
              "type": {
                "enum": [
                  "postponed_receipt"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "receipt_hash"
            ],
            "type": "object"
          },
          {
            "properties": {
              "type": {
                "enum": [
                  "updated_delayed_receipts"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "properties": {
              "type": {
                "enum": [
                  "validator_accounts_update"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "properties": {
              "type": {
                "enum": [
                  "migration"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          },
          {
            "properties": {
              "type": {
                "enum": [
                  "bandwidth_scheduler_state_update"
                ],
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        ]
      },
      "StateChangeKindView": {
        "description": "It is a [serializable view] of [`StateChangeKind`].\n\n[serializable view]: ./index.html\n[`StateChangeKind`]: ../types/struct.StateChangeKind.html",
        "oneOf": [
          {
            "properties": {
              "account_id": {
                "$ref": "#/components/schemas/AccountId"
              },
              "type": {
                "enum": [
                  "account_touched"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "account_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "account_id": {
                "$ref": "#/components/schemas/AccountId"
              },
              "type": {
                "enum": [
                  "access_key_touched"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "account_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "account_id": {
                "$ref": "#/components/schemas/AccountId"
              },
              "type": {
                "enum": [
                  "data_touched"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "account_id"
            ],
            "type": "object"
          },
          {
            "properties": {
              "account_id": {
                "$ref": "#/components/schemas/AccountId"
              },
              "type": {
                "enum": [
                  "contract_code_touched"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "account_id"
            ],
            "type": "object"
          }
        ]
      },
      "StateChangeWithCauseView": {
        "oneOf": [
          {
            "properties": {
              "change": {
                "description": "A view of the account",
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "amount": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "code_hash": {
                    "$ref": "#/components/schemas/CryptoHash"
                  },
                  "global_contract_account_id": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/AccountId"
                      },
                      {
                        "enum": [
                          null
                        ],
                        "nullable": true
                      }
                    ]
                  },
                  "global_contract_hash": {
                    "anyOf": [
                      {
                        "$ref": "#/components/schemas/CryptoHash"
                      },
                      {
                        "enum": [
                          null
                        ],
                        "nullable": true
                      }
                    ]
                  },
                  "locked": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "storage_paid_at": {
                    "default": 0,
                    "description": "TODO(2271): deprecated.",
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "storage_usage": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "account_id",
                  "amount",
                  "locked",
                  "code_hash",
                  "storage_usage"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "account_update"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "change"
            ],
            "type": "object"
          },
          {
            "properties": {
              "change": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "account_deletion"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "change"
            ],
            "type": "object"
          },
          {
            "properties": {
              "change": {
                "properties": {
                  "access_key": {
                    "$ref": "#/components/schemas/AccessKeyView"
                  },
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKeyHandle"
                  }
                },
                "required": [
                  "account_id",
                  "public_key",
                  "access_key"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "access_key_update"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "change"
            ],
            "type": "object"
          },
          {
            "properties": {
              "change": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKeyHandle"
                  }
                },
                "required": [
                  "account_id",
                  "public_key"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "access_key_deletion"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "change"
            ],
            "type": "object"
          },
          {
            "properties": {
              "change": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "index": {
                    "format": "uint16",
                    "maximum": 65535,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "nonce": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "public_key": {
                    "$ref": "#/components/schemas/PublicKeyHandle"
                  }
                },
                "required": [
                  "account_id",
                  "public_key",
                  "index",
                  "nonce"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "gas_key_nonce_update"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "change"
            ],
            "type": "object"
          },
          {
            "properties": {
              "change": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "key_base64": {
                    "$ref": "#/components/schemas/StoreKey"
                  },
                  "value_base64": {
                    "$ref": "#/components/schemas/StoreValue"
                  }
                },
                "required": [
                  "account_id",
                  "key_base64",
                  "value_base64"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "data_update"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "change"
            ],
            "type": "object"
          },
          {
            "properties": {
              "change": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "key_base64": {
                    "$ref": "#/components/schemas/StoreKey"
                  }
                },
                "required": [
                  "account_id",
                  "key_base64"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "data_deletion"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "change"
            ],
            "type": "object"
          },
          {
            "properties": {
              "change": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  },
                  "code_base64": {
                    "type": "string"
                  }
                },
                "required": [
                  "account_id",
                  "code_base64"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "contract_code_update"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "change"
            ],
            "type": "object"
          },
          {
            "properties": {
              "change": {
                "properties": {
                  "account_id": {
                    "$ref": "#/components/schemas/AccountId"
                  }
                },
                "required": [
                  "account_id"
                ],
                "type": "object"
              },
              "type": {
                "enum": [
                  "contract_code_deletion"
                ],
                "type": "string"
              }
            },
            "required": [
              "type",
              "change"
            ],
            "type": "object"
          }
        ],
        "properties": {
          "cause": {
            "$ref": "#/components/schemas/StateChangeCauseView"
          }
        },
        "required": [
          "cause"
        ],
        "type": "object"
      },
      "StateItem": {
        "description": "Item of the state, key and value are serialized in base64 and proof for inclusion of given state item.",
        "properties": {
          "key": {
            "$ref": "#/components/schemas/StoreKey"
          },
          "value": {
            "$ref": "#/components/schemas/StoreValue"
          }
        },
        "required": [
          "key",
          "value"
        ],
        "type": "object"
      },
      "StateSyncConfig": {
        "properties": {
          "concurrency": {
            "$ref": "#/components/schemas/SyncConcurrency"
          },
          "dump": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/DumpConfig"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ],
            "description": "`none` value disables state dump to external storage."
          },
          "parts_compression_lvl": {
            "default": 1,
            "description": "Zstd compression level for state parts.",
            "format": "int32",
            "type": "integer"
          },
          "sync": {
            "$ref": "#/components/schemas/SyncConfig"
          }
        },
        "type": "object"
      },
      "StatusSyncInfo": {
        "properties": {
          "earliest_block_hash": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/CryptoHash"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "earliest_block_height": {
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "earliest_block_time": {
            "nullable": true,
            "type": "string"
          },
          "epoch_id": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/EpochId"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "epoch_start_height": {
            "format": "uint64",
            "minimum": 0,
            "nullable": true,
            "type": "integer"
          },
          "latest_block_hash": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "latest_block_height": {
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "latest_block_time": {
            "type": "string"
          },
          "latest_state_root": {
            "$ref": "#/components/schemas/CryptoHash"
          },
          "syncing": {
            "type": "boolean"
          }
        },
        "required": [
          "latest_block_hash",
          "latest_block_height",
          "latest_state_root",
          "latest_block_time",
          "syncing"
        ],
        "type": "object"
      },
      "StorageError": {
        "description": "Errors which may occur during working with trie storages, storing\ntrie values (trie nodes and state values) by their hashes.",
        "oneOf": [
          {
            "description": "Key-value db internal failure",
            "enum": [
              "StorageInternalError"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Requested trie value by its hash which is missing in storage.",
            "properties": {
              "MissingTrieValue": {
                "$ref": "#/components/schemas/MissingTrieValue"
              }
            },
            "required": [
              "MissingTrieValue"
            ],
            "type": "object"
          },
          {
            "description": "Found trie node which shouldn't be part of state. Raised during\nvalidation of state sync parts where incorrect node was passed.\nTODO (#8997): consider including hash of trie node.",
            "enum": [
              "UnexpectedTrieValue"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Either invalid state or key-value db is corrupted.\nFor PartialStorage it cannot be corrupted.\nError message is unreliable and for debugging purposes only. It's also probably ok to\npanic in every place that produces this error.\nWe can check if db is corrupted by verifying everything in the state trie.",
            "properties": {
              "StorageInconsistentState": {
                "type": "string"
              }
            },
            "required": [
              "StorageInconsistentState"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Flat storage error, meaning that it doesn't support some block anymore.\nWe guarantee that such block cannot become final, thus block processing\nmust resume normally.",
            "properties": {
              "FlatStorageBlockNotSupported": {
                "type": "string"
              }
            },
            "required": [
              "FlatStorageBlockNotSupported"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "In-memory trie could not be loaded for some reason.",
            "properties": {
              "MemTrieLoadingError": {
                "type": "string"
              }
            },
            "required": [
              "MemTrieLoadingError"
            ],
            "type": "object"
          }
        ]
      },
      "StorageGetMode": {
        "description": "This enum represents if a storage_get call will be performed through flat storage or trie",
        "enum": [
          "FlatStorage",
          "Trie"
        ],
        "type": "string"
      },
      "StorageUsageConfigView": {
        "description": "Describes cost of storage per block",
        "properties": {
          "num_bytes_account": {
            "description": "Number of bytes for an account record, including rounding up for account id.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "num_extra_bytes_record": {
            "description": "Additional number of bytes for a k/v record",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "StoreKey": {
        "description": "This type is used to mark keys (arrays of bytes) that are queried from store.\n\nNOTE: Currently, this type is only used in the view_client and RPC to be able to transparently\npretty-serialize the bytes arrays as base64-encoded strings (see `serialize.rs`).",
        "format": "bytes",
        "type": "string"
      },
      "StoreValue": {
        "description": "This type is used to mark values returned from store (arrays of bytes).\n\nNOTE: Currently, this type is only used in the view_client and RPC to be able to transparently\npretty-serialize the bytes arrays as base64-encoded strings (see `serialize.rs`).",
        "format": "bytes",
        "type": "string"
      },
      "SyncCheckpoint": {
        "enum": [
          "genesis",
          "earliest_available"
        ],
        "type": "string"
      },
      "SyncConcurrency": {
        "properties": {
          "apply": {
            "description": "Maximum number of \"apply parts\" tasks that can be performed in parallel.\nThis is a very disk-heavy task and therefore we set this to a low limit,\nor else the rocksdb contention makes the whole server freeze up.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "apply_during_catchup": {
            "description": "Maximum number of \"apply parts\" tasks that can be performed in parallel\nduring catchup. We set this to a very low value to avoid overloading the\nnode while it is still performing normal tasks.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "peer_downloads": {
            "description": "Maximum number of outstanding requests for decentralized state sync.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          },
          "per_shard": {
            "description": "The maximum parallelism to use per shard. This is mostly for fairness, because\nthe actual rate limiting is done by the TaskTrackers, but this is useful for\nbalancing the shards a little.",
            "format": "uint8",
            "maximum": 255,
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      },
      "SyncConfig": {
        "description": "Configures how to fetch state parts during state sync.",
        "oneOf": [
          {
            "description": "Syncs state from the peers without reading anything from external storage.",
            "enum": [
              "Peers"
            ],
            "type": "string"
          }
        ]
      },
      "Tier1ProxyView": {
        "properties": {
          "addr": {
            "type": "string"
          },
          "peer_id": {
            "$ref": "#/components/schemas/PublicKey"
          }
        },
        "required": [
          "addr",
          "peer_id"
        ],
        "type": "object"
      },
      "TrackedShardsConfig": {
        "description": "Describes the expected behavior of the node regarding shard tracking.\nIf the node is an active validator, it will also track the shards it is responsible for as a validator.",
        "oneOf": [
          {
            "description": "Tracks no shards (light client).",
            "enum": [
              "NoShards"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Tracks arbitrary shards.",
            "properties": {
              "Shards": {
                "items": {
                  "$ref": "#/components/schemas/ShardUId"
                },
                "type": "array"
              }
            },
            "required": [
              "Shards"
            ],
            "type": "object"
          },
          {
            "description": "Tracks all shards.",
            "enum": [
              "AllShards"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Tracks shards that are assigned to given validator account.",
            "properties": {
              "ShadowValidator": {
                "$ref": "#/components/schemas/AccountId"
              }
            },
            "required": [
              "ShadowValidator"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Rotate between these sets of tracked shards.\nUsed to simulate the behavior of chunk only producers without staking tokens.",
            "properties": {
              "Schedule": {
                "items": {
                  "items": {
                    "$ref": "#/components/schemas/ShardId"
                  },
                  "type": "array"
                },
                "type": "array"
              }
            },
            "required": [
              "Schedule"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Tracks shards that contain one of the given account.",
            "properties": {
              "Accounts": {
                "items": {
                  "$ref": "#/components/schemas/AccountId"
                },
                "type": "array"
              }
            },
            "required": [
              "Accounts"
            ],
            "type": "object"
          }
        ]
      },
      "TransactionNonce": {
        "oneOf": [
          {
            "additionalProperties": false,
            "description": "Simple nonce without index, used by ordinary access keys",
            "properties": {
              "Nonce": {
                "properties": {
                  "nonce": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "nonce"
                ],
                "type": "object"
              }
            },
            "required": [
              "Nonce"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Nonce with index, used by gas keys",
            "properties": {
              "GasKeyNonce": {
                "properties": {
                  "nonce": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "nonce_index": {
                    "format": "uint16",
                    "maximum": 65535,
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "nonce",
                  "nonce_index"
                ],
                "type": "object"
              }
            },
            "required": [
              "GasKeyNonce"
            ],
            "type": "object"
          }
        ]
      },
      "TransferAction": {
        "properties": {
          "deposit": {
            "$ref": "#/components/schemas/NearToken"
          }
        },
        "required": [
          "deposit"
        ],
        "type": "object"
      },
      "TransferToGasKeyAction": {
        "description": "Transfer NEAR to a gas key's balance",
        "properties": {
          "deposit": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "Amount of NEAR to transfer to the gas key"
          },
          "public_key": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              }
            ],
            "description": "The public key of the gas key to fund"
          }
        },
        "required": [
          "public_key",
          "deposit"
        ],
        "type": "object"
      },
      "TrieSplit": {
        "description": "The result of splitting a memtrie into two possibly even parts, according to `memory_usage`\nstored in the trie nodes.\n\n**NOTE: This is an artificial value calculated according to `TRIE_COST`. Hence, it does not\nrepresent actual memory allocation, but the split ratio should be roughly consistent with that.**",
        "properties": {
          "boundary_account": {
            "allOf": [
              {
                "$ref": "#/components/schemas/AccountId"
              }
            ],
            "description": "Account ID representing the split path"
          },
          "left_memory": {
            "description": "Total `memory_usage` of the left part (excluding the split path)",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "right_memory": {
            "description": "Total `memory_usage` of the right part (including the split path)",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "required": [
          "boundary_account",
          "left_memory",
          "right_memory"
        ],
        "type": "object"
      },
      "TxExecutionError": {
        "description": "Error returned in the ExecutionOutcome in case of failure",
        "oneOf": [
          {
            "additionalProperties": false,
            "description": "An error happened during Action execution",
            "properties": {
              "ActionError": {
                "$ref": "#/components/schemas/ActionError"
              }
            },
            "required": [
              "ActionError"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "An error happened during Transaction execution",
            "properties": {
              "InvalidTxError": {
                "$ref": "#/components/schemas/InvalidTxError"
              }
            },
            "required": [
              "InvalidTxError"
            ],
            "type": "object"
          }
        ]
      },
      "TxExecutionStatus": {
        "type": "string",
        "title": "TxExecutionStatus",
        "description": "How long the RPC should wait before returning a transaction result. Each value waits for a stricter execution milestone than the previous one. Defaults to `EXECUTED_OPTIMISTIC`.\n\n- `NONE`: Transaction is waiting to be included into a block.\n- `INCLUDED`: Transaction is included in a block (block may not be finalized).\n- `EXECUTED_OPTIMISTIC` (default): Included + all non-refund receipts executed (blocks may not be finalized).\n- `INCLUDED_FINAL`: Transaction is included in a finalized block.\n- `EXECUTED`: Included in a finalized block + all non-refund receipts executed.\n- `FINAL`: Included in a finalized block + all receipts (including refunds) finalized.",
        "enum": [
          "NONE",
          "INCLUDED",
          "EXECUTED_OPTIMISTIC",
          "INCLUDED_FINAL",
          "EXECUTED",
          "FINAL"
        ],
        "default": "EXECUTED_OPTIMISTIC"
      },
      "UseGlobalContractAction": {
        "description": "Use global contract action",
        "properties": {
          "contract_identifier": {
            "$ref": "#/components/schemas/GlobalContractIdentifier"
          }
        },
        "required": [
          "contract_identifier"
        ],
        "type": "object"
      },
      "VMConfigView": {
        "properties": {
          "bls12381_not_in_group_fix": {
            "description": "See [VMConfig::bls12381_not_in_group_fix](crate::vm::Config::bls12381_not_in_group_fix).",
            "type": "boolean"
          },
          "chain_id_host_fn": {
            "description": "See [VMConfig::chain_id_host_fn](crate::vm::Config::chain_id_host_fn).",
            "type": "boolean"
          },
          "discard_custom_sections": {
            "description": "See [VMConfig::discard_custom_sections](crate::vm::Config::discard_custom_sections).",
            "type": "boolean"
          },
          "eth_implicit_accounts": {
            "description": "See [VMConfig::eth_implicit_accounts](crate::vm::Config::eth_implicit_accounts).",
            "type": "boolean"
          },
          "ext_costs": {
            "allOf": [
              {
                "$ref": "#/components/schemas/ExtCostsConfigView"
              }
            ],
            "description": "Costs for runtime externals"
          },
          "fix_contract_loading_cost": {
            "description": "See [VMConfig::fix_contract_loading_cost](crate::vm::Config::fix_contract_loading_cost).",
            "type": "boolean"
          },
          "gas_key_host_fns": {
            "description": "See [VMConfig::gas_key_host_fns](crate::vm::Config::gas_key_host_fns).",
            "type": "boolean"
          },
          "global_contract_host_fns": {
            "description": "See [VMConfig::global_contract_host_fns](crate::vm::Config::global_contract_host_fns).",
            "type": "boolean"
          },
          "grow_mem_cost": {
            "description": "Gas cost of a growing memory by single page.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "implicit_account_creation": {
            "description": "Deprecated",
            "type": "boolean"
          },
          "limit_config": {
            "allOf": [
              {
                "$ref": "#/components/schemas/LimitConfig"
              }
            ],
            "description": "Describes limits for VM and Runtime.\n\nTODO: Consider changing this to `VMLimitConfigView` to avoid dependency\non runtime."
          },
          "linear_op_base_cost": {
            "description": "Base gas cost of a linear operation",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "linear_op_unit_cost": {
            "description": "Unit gas cost of a linear operation",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "one_yocto_on_promise": {
            "description": "See [VMConfig::one_yocto_on_promise](crate::vm::Config::one_yocto_on_promise).",
            "type": "boolean"
          },
          "p256_verify_host_fn": {
            "description": "See [VMConfig::p256_verify_host_fn](crate::vm::Config::p256_verify_host_fn).",
            "type": "boolean"
          },
          "reftypes_bulk_memory": {
            "description": "See [VMConfig::reftypes_bulk_memory](crate::vm::Config::reftypes_bulk_memory).",
            "type": "boolean"
          },
          "regular_op_cost": {
            "description": "Gas cost of a regular operation.",
            "format": "uint32",
            "minimum": 0,
            "type": "integer"
          },
          "storage_get_mode": {
            "allOf": [
              {
                "$ref": "#/components/schemas/StorageGetMode"
              }
            ],
            "description": "See [VMConfig::storage_get_mode](crate::vm::Config::storage_get_mode)."
          },
          "vm_kind": {
            "allOf": [
              {
                "$ref": "#/components/schemas/VMKind"
              }
            ],
            "description": "See [VMConfig::vm_kind](crate::vm::Config::vm_kind)."
          },
          "yield_with_id_host_fns": {
            "description": "See [VMConfig::yield_with_id_host_fns](crate::vm::Config::yield_with_id_host_fns).",
            "type": "boolean"
          }
        },
        "type": "object"
      },
      "VMKind": {
        "oneOf": [
          {
            "description": "Wasmer 0.17.x VM. Gone now.",
            "enum": [
              "Wasmer0"
            ],
            "type": "string"
          },
          {
            "description": "Wasmtime VM.",
            "enum": [
              "Wasmtime"
            ],
            "type": "string"
          },
          {
            "description": "Wasmer 2.x VM.",
            "enum": [
              "Wasmer2"
            ],
            "type": "string"
          },
          {
            "description": "NearVM.",
            "enum": [
              "NearVm"
            ],
            "type": "string"
          }
        ]
      },
      "ValidatorInfo": {
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          }
        },
        "required": [
          "account_id"
        ],
        "type": "object"
      },
      "ValidatorKickoutReason": {
        "description": "Reasons for removing a validator from the validator set.",
        "oneOf": [
          {
            "description": "Deprecated",
            "enum": [
              "_UnusedSlashed"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Validator didn't produce enough blocks.",
            "properties": {
              "NotEnoughBlocks": {
                "properties": {
                  "expected": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "produced": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "produced",
                  "expected"
                ],
                "type": "object"
              }
            },
            "required": [
              "NotEnoughBlocks"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Validator didn't produce enough chunks.",
            "properties": {
              "NotEnoughChunks": {
                "properties": {
                  "expected": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "produced": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "produced",
                  "expected"
                ],
                "type": "object"
              }
            },
            "required": [
              "NotEnoughChunks"
            ],
            "type": "object"
          },
          {
            "description": "Validator unstaked themselves.",
            "enum": [
              "Unstaked"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Validator stake is now below threshold",
            "properties": {
              "NotEnoughStake": {
                "properties": {
                  "stake_u128": {
                    "$ref": "#/components/schemas/NearToken"
                  },
                  "threshold_u128": {
                    "$ref": "#/components/schemas/NearToken"
                  }
                },
                "required": [
                  "stake_u128",
                  "threshold_u128"
                ],
                "type": "object"
              }
            },
            "required": [
              "NotEnoughStake"
            ],
            "type": "object"
          },
          {
            "description": "Enough stake but is not chosen because of seat limits.",
            "enum": [
              "DidNotGetASeat"
            ],
            "type": "string"
          },
          {
            "additionalProperties": false,
            "description": "Validator didn't produce enough chunk endorsements.",
            "properties": {
              "NotEnoughChunkEndorsements": {
                "properties": {
                  "expected": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "produced": {
                    "format": "uint64",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "produced",
                  "expected"
                ],
                "type": "object"
              }
            },
            "required": [
              "NotEnoughChunkEndorsements"
            ],
            "type": "object"
          },
          {
            "additionalProperties": false,
            "description": "Validator's last block proposal was for a protocol version older than\nthe network's voted protocol version.",
            "properties": {
              "ProtocolVersionTooOld": {
                "properties": {
                  "network_version": {
                    "format": "uint32",
                    "minimum": 0,
                    "type": "integer"
                  },
                  "version": {
                    "format": "uint32",
                    "minimum": 0,
                    "type": "integer"
                  }
                },
                "required": [
                  "version",
                  "network_version"
                ],
                "type": "object"
              }
            },
            "required": [
              "ProtocolVersionTooOld"
            ],
            "type": "object"
          }
        ]
      },
      "ValidatorKickoutView": {
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "reason": {
            "$ref": "#/components/schemas/ValidatorKickoutReason"
          }
        },
        "required": [
          "account_id",
          "reason"
        ],
        "type": "object"
      },
      "ValidatorStakeView": {
        "oneOf": [
          {
            "allOf": [
              {
                "$ref": "#/components/schemas/ValidatorStakeViewV1"
              }
            ],
            "properties": {
              "validator_stake_struct_version": {
                "enum": [
                  "V1"
                ],
                "type": "string"
              }
            },
            "required": [
              "validator_stake_struct_version"
            ],
            "type": "object"
          }
        ]
      },
      "ValidatorStakeViewV1": {
        "properties": {
          "account_id": {
            "$ref": "#/components/schemas/AccountId"
          },
          "public_key": {
            "$ref": "#/components/schemas/PublicKey"
          },
          "stake": {
            "$ref": "#/components/schemas/NearToken"
          }
        },
        "required": [
          "account_id",
          "public_key",
          "stake"
        ],
        "type": "object"
      },
      "Version": {
        "description": "Data structure for semver version and github tag or commit.",
        "properties": {
          "build": {
            "type": "string"
          },
          "commit": {
            "type": "string"
          },
          "rustc_version": {
            "default": "",
            "type": "string"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "build",
          "commit"
        ],
        "type": "object"
      },
      "VersionedDelegateActionPayload": {
        "description": "Versions of the delegate action carried by `Action::DelegateV2`. New\nversions add a variant here rather than a new `Action` variant. The variant\nis part of the signed payload, so a signature can't be ambiguous across\nversions.",
        "oneOf": [
          {
            "additionalProperties": false,
            "properties": {
              "V2": {
                "$ref": "#/components/schemas/DelegateActionV2"
              }
            },
            "required": [
              "V2"
            ],
            "type": "object"
          }
        ]
      },
      "VersionedSignedDelegateAction": {
        "properties": {
          "delegate_action": {
            "$ref": "#/components/schemas/VersionedDelegateActionPayload"
          },
          "signature": {
            "$ref": "#/components/schemas/Signature"
          }
        },
        "required": [
          "delegate_action",
          "signature"
        ],
        "type": "object"
      },
      "ViewStateResult": {
        "description": "Resulting state values for a view state query request",
        "properties": {
          "last_key": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/StoreKey"
              },
              {
                "enum": [
                  null
                ],
                "nullable": true
              }
            ]
          },
          "proof": {
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "values": {
            "items": {
              "$ref": "#/components/schemas/StateItem"
            },
            "type": "array"
          }
        },
        "required": [
          "values"
        ],
        "type": "object"
      },
      "WasmTrap": {
        "description": "A kind of a trap happened during execution of a binary",
        "oneOf": [
          {
            "description": "An `unreachable` opcode was executed.",
            "enum": [
              "Unreachable"
            ],
            "type": "string"
          },
          {
            "description": "Call indirect incorrect signature trap.",
            "enum": [
              "IncorrectCallIndirectSignature"
            ],
            "type": "string"
          },
          {
            "description": "Memory out of bounds trap.",
            "enum": [
              "MemoryOutOfBounds"
            ],
            "type": "string"
          },
          {
            "description": "Call indirect out of bounds trap.",
            "enum": [
              "CallIndirectOOB"
            ],
            "type": "string"
          },
          {
            "description": "An arithmetic exception, e.g. divided by zero.",
            "enum": [
              "IllegalArithmetic"
            ],
            "type": "string"
          },
          {
            "description": "Misaligned atomic access trap.",
            "enum": [
              "MisalignedAtomicAccess"
            ],
            "type": "string"
          },
          {
            "description": "Indirect call to null.",
            "enum": [
              "IndirectCallToNull"
            ],
            "type": "string"
          },
          {
            "description": "Stack overflow.",
            "enum": [
              "StackOverflow"
            ],
            "type": "string"
          },
          {
            "description": "Generic trap.",
            "enum": [
              "GenericTrap"
            ],
            "type": "string"
          }
        ]
      },
      "WithdrawFromGasKeyAction": {
        "description": "Withdraw NEAR from a gas key's balance to the account.\n\nThis action must only be available via transactions, not via contract execution\n(there is no corresponding promise batch action host function).",
        "properties": {
          "amount": {
            "allOf": [
              {
                "$ref": "#/components/schemas/NearToken"
              }
            ],
            "description": "Amount of NEAR to transfer from the gas key"
          },
          "public_key": {
            "allOf": [
              {
                "$ref": "#/components/schemas/PublicKey"
              }
            ],
            "description": "The public key of the gas key to withdraw from"
          }
        },
        "required": [
          "public_key",
          "amount"
        ],
        "type": "object"
      },
      "WitnessConfigView": {
        "description": "Configuration specific to ChunkStateWitness.",
        "properties": {
          "combined_transactions_size_limit": {
            "description": "Maximum size of transactions contained inside ChunkStateWitness.\n\nA witness contains transactions from both the previous chunk and the current one.\nThis parameter limits the sum of sizes of transactions from both of those chunks.",
            "format": "uint",
            "minimum": 0,
            "type": "integer"
          },
          "main_storage_proof_size_soft_limit": {
            "description": "Size limit for storage proof generated while executing receipts in a chunk.\nAfter this limit is reached we defer execution of any new receipts.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          },
          "new_transactions_validation_state_size_soft_limit": {
            "description": "Soft size limit of storage proof used to validate new transactions in ChunkStateWitness.",
            "format": "uint64",
            "minimum": 0,
            "type": "integer"
          }
        },
        "type": "object"
      }
    }
  }
}