{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/sqd-dev/json-schema/sqd-dev-block-schema.json",
  "title": "Block",
  "description": "One line of a stream response. `header` always carries the requested header fields; the other keys appear only when the query asked for those item types.",
  "x-generated": "2026-11-25",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/sqd-dev-openapi.json#/components/schemas/Block",
  "type": "object",
  "required": [
    "header"
  ],
  "additionalProperties": true,
  "properties": {
    "header": {
      "type": "object",
      "description": "The header fields named in `fields.block`.",
      "additionalProperties": true,
      "properties": {
        "number": {
          "type": "integer",
          "format": "int64",
          "description": "Block number."
        },
        "hash": {
          "type": "string",
          "description": "Block hash."
        }
      }
    },
    "logs": {
      "type": "array",
      "description": "Matching logs.",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "transactions": {
      "type": "array",
      "description": "Matching transactions.",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "traces": {
      "type": "array",
      "description": "Matching traces.",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "stateDiffs": {
      "type": "array",
      "description": "Matching state diffs.",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    },
    "instructions": {
      "type": "array",
      "description": "Matching Solana instructions.",
      "items": {
        "type": "object",
        "additionalProperties": true
      }
    }
  }
}