{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/publicaml-org/json-schema/publicaml-org-solana-coverage-schema.json",
  "title": "SolanaCoverage",
  "description": "Present on EVERY chain=SOL answer of the graph endpoints, and only there. Read it before reading the lists: `status` is `partial` for an RPC window (the answer covers `window` only), `not_indexed` where Solana has no data of that kind at all (clusters), `unavailable` on the 503 when the node could not be asked. Every key is always present; null where it does not apply.",
  "x-generated": "2026-11-22",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/publicaml-org-openapi.json#/components/schemas/SolanaCoverage",
  "type": "object",
  "required": [
    "status",
    "chain",
    "indexed",
    "scored",
    "source",
    "window",
    "gaps",
    "rpc",
    "reason"
  ],
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "partial",
        "not_indexed",
        "unavailable"
      ],
      "description": "`partial`: the window was read; `not_indexed`: no data of that kind on Solana; `unavailable`: the node could not be asked. (`skipped` was produced by /v2/enrich counterparties until 03.11.2026; enrich now uses SolanaGraphCoverage.)"
    },
    "chain": {
      "type": "string",
      "enum": [
        "SOL"
      ]
    },
    "indexed": {
      "type": "boolean",
      "enum": [
        false
      ],
      "description": "Always false: Solana has no indexer here."
    },
    "scored": {
      "type": "boolean",
      "enum": [
        false
      ],
      "description": "Always false: no risk score is computed on Solana."
    },
    "source": {
      "type": [
        "string",
        "null"
      ],
      "enum": [
        "rpc_window",
        "labels",
        null
      ]
    },
    "window": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "txs": {
          "type": "integer",
          "description": "Transactions in the window."
        },
        "txs_parsed": {
          "type": "integer",
          "description": "Of those, how many bodies were read and parsed."
        },
        "txs_requested": {
          "type": "integer"
        },
        "from_slot": {
          "type": [
            "integer",
            "null"
          ]
        },
        "to_slot": {
          "type": [
            "integer",
            "null"
          ]
        },
        "from_ts": {
          "type": [
            "integer",
            "null"
          ],
          "description": "Unix seconds."
        },
        "to_ts": {
          "type": [
            "integer",
            "null"
          ]
        },
        "has_more": {
          "type": "boolean",
          "description": "Older transactions exist beyond the window."
        },
        "history_start_reached": {
          "type": "boolean",
          "description": "The listing ran out before the window filled."
        },
        "accounts": {
          "type": "array",
          "items": {
            "type": "string"
          },
          "description": "Accounts whose history was listed. `method: gtfa`: the address only (its token accounts are covered by `token_accounts: balance_changed`). `method: signatures`: the address and its associated USDC/USDT/WSOL token accounts that have history."
        },
        "accounts_failed": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "method": {
          "type": "string",
          "enum": [
            "gtfa",
            "signatures"
          ],
          "description": "How the window was read (since 27.10.2026). `gtfa`: the node's getTransactionsForAddress, one call per 100 transactions (the default). `signatures`: getSignaturesForAddress per account plus one getTransaction per transaction (the fallback; also used to resume a cursor issued before 27.10.2026)."
        },
        "token_accounts": {
          "type": "string",
          "enum": [
            "balance_changed",
            "associated"
          ],
          "description": "Which token accounts of the address are in the window. `balance_changed`: every token account it owns, for transactions where that account's balance changed (any mint). `associated`: only the associated USDC/USDT/WSOL accounts listed in `accounts`; incoming tokens of other mints are missing."
        }
      }
    },
    "gaps": {
      "type": "object",
      "properties": {
        "archive_gap_txs": {
          "type": "integer",
          "description": "Window transactions inside the node's archive hole (`node_archive_gap`). Rows from them carry `archive_gap: true`."
        },
        "unavailable_txs": {
          "type": "integer",
          "description": "Bodies not read: the node returned nothing, or the RPC budget ran out. Their transfers are missing from the answer."
        },
        "failed_txs": {
          "type": "integer",
          "description": "Failed transactions; they move nothing but the fee and produce no rows."
        },
        "window_spans_archive_gap": {
          "type": "boolean"
        },
        "node_archive_gap": {
          "type": [
            "object",
            "null"
          ],
          "properties": {
            "from_slot": {
              "type": "integer"
            },
            "to_slot": {
              "type": "integer"
            }
          }
        }
      }
    },
    "rpc": {
      "type": [
        "object",
        "null"
      ],
      "description": "What the answer cost: calls, http_requests, cache_hits, rate_limited, errors, not_sent, retries, rpc_ms, elapsed_ms, budget_exhausted. `calls` is upstream JSON-RPC calls: with `window.method: gtfa` a window of N transactions costs ceil(N/100) (0 when served from cache), plus `retries` after a node internal error (-32603); with `signatures` it is up to 1 + 3 + N."
    },
    "labels": {
      "type": "string",
      "enum": [
        "ok",
        "unavailable"
      ]
    },
    "unattributed_transfers": {
      "type": [
        "integer",
        "null"
      ],
      "description": "Balance changes of the address that no instruction explains and no single other account mirrors (rows with `counterparty: null`)."
    },
    "reason": {
      "type": "string"
    }
  }
}