Phala Network · Schema

OnChainKmsResponse

CompanyConfidential ComputingTrusted Execution EnvironmentsInferenceCloud InfrastructureAttestationLLM Router

Properties

Name Type Description
chain_name string
chain_id integer
contracts array
View JSON Schema on GitHub

JSON Schema

phala-on-chain-kms-response-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/phala/json-schema/phala-on-chain-kms-response-schema.json",
  "title": "OnChainKmsResponse",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/phala-kms-api-openapi.yml#/components/schemas/OnChainKmsResponse",
  "properties": {
    "chain_name": {
      "type": "string",
      "title": "Chain Name"
    },
    "chain_id": {
      "type": "integer",
      "title": "Chain Id"
    },
    "contracts": {
      "items": {
        "$ref": "#/$defs/OnChainKmsContractOut"
      },
      "type": "array",
      "title": "Contracts"
    }
  },
  "type": "object",
  "required": [
    "chain_name",
    "chain_id",
    "contracts"
  ],
  "$defs": {
    "OnChainDeviceOut": {
      "properties": {
        "device_id": {
          "type": "string",
          "title": "Device Id"
        },
        "node_name": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Node Name",
          "description": "Physical node name if available"
        },
        "on_chain_allowed": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "On Chain Allowed",
          "description": "null if check failed"
        }
      },
      "type": "object",
      "required": [
        "device_id"
      ],
      "title": "OnChainDeviceOut"
    },
    "OnChainKmsContractOut": {
      "properties": {
        "contract_address": {
          "type": "string",
          "title": "Contract Address"
        },
        "chain_id": {
          "type": "integer",
          "title": "Chain Id"
        },
        "chain_name": {
          "type": "string",
          "title": "Chain Name"
        },
        "devices": {
          "items": {
            "$ref": "#/$defs/OnChainDeviceOut"
          },
          "type": "array",
          "title": "Devices"
        },
        "os_images": {
          "items": {
            "$ref": "#/$defs/OnChainOsImageOut"
          },
          "type": "array",
          "title": "Os Images"
        }
      },
      "type": "object",
      "required": [
        "contract_address",
        "chain_id",
        "chain_name",
        "devices",
        "os_images"
      ],
      "title": "OnChainKmsContractOut"
    },
    "OnChainOsImageOut": {
      "properties": {
        "name": {
          "type": "string",
          "title": "Name"
        },
        "version": {
          "type": "string",
          "title": "Version"
        },
        "os_image_hash": {
          "anyOf": [
            {
              "type": "string"
            },
            {
              "type": "null"
            }
          ],
          "title": "Os Image Hash"
        },
        "on_chain_allowed": {
          "anyOf": [
            {
              "type": "boolean"
            },
            {
              "type": "null"
            }
          ],
          "title": "On Chain Allowed",
          "description": "null if no hash or check failed"
        }
      },
      "type": "object",
      "required": [
        "name",
        "version"
      ],
      "title": "OnChainOsImageOut"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/phala-on-chain-kms-response"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.