{
  "openapi": "3.1.0",
  "info": {
    "title": "Ink Explorer public API",
    "version": "1.0.0",
    "description": "Read-only explorer data. Historical index routes retain their source cursor schema. Local live snapshots and indexed historical data are separate sources. Use BigInt for wei strings."
  },
  "servers": [
    {
      "url": "https://inkexplorer.xyz/api",
      "description": "Ink Mainnet · 57073"
    },
    {
      "url": "https://inkexplorer.xyz/testnet/api",
      "description": "Ink Sepolia · 763373"
    }
  ],
  "paths": {
    "/overview": {
      "get": {
        "summary": "Network overview",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/blocks": {
      "get": {
        "summary": "blocks",
        "description": "Parameters: type=block | reorg",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/blocks/{height-or-hash}": {
      "get": {
        "summary": "block",
        "parameters": [
          {
            "name": "height-or-hash",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          },
          {
            "name": "Accept",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "description": "Optional application/vnd.ink.indexing+json, application/json enables a proven indexing response."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "202": {
            "description": "BLOCK_INDEXING: the synced local node proved recent canonical inclusion, but the index is not ready. This is not an execution-success response. Retry after 3s; no-store. Only returned with explicit Accept opt-in.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/blocks/{height-or-hash}/transactions": {
      "get": {
        "summary": "transactions",
        "parameters": [
          {
            "name": "height-or-hash",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          },
          {
            "name": "Accept",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "description": "Optional application/vnd.ink.indexing+json, application/json enables a proven indexing response."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "202": {
            "description": "BLOCK_INDEXING: the synced local node proved recent canonical inclusion, but the index is not ready. This is not an execution-success response. Retry after 3s; no-store. Only returned with explicit Accept opt-in.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/transactions": {
      "get": {
        "summary": "transactions",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/v1/transactions": {
      "get": {
        "summary": "Filtered transactions",
        "description": "One row per parent transaction. ERC token filters resolve up to 25 parent transactions per page, scanning at most 3 source pages. A short or empty page can still have a next cursor. Failed transactions cannot emit token transfer events; an ERC token type with status=failed returns items=[] and next_page_params=null. Shared budget: 4 concurrent searches and 60 per minute per network instance. No API key.",
        "parameters": [
          {
            "name": "transaction_types",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "COIN_TRANSFER, CONTRACT_INTERACTION, CONTRACT_CREATION, ERC-20, ERC-721, or ERC-1155"
          },
          {
            "name": "methods",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Four-byte method selector, e.g. 0xa9059cbb"
          },
          {
            "name": "age_from",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "ISO 8601 UTC lower bound"
          },
          {
            "name": "age_to",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "ISO 8601 UTC upper bound"
          },
          {
            "name": "from_address_hashes_to_include",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Full 0x-prefixed parent transaction address"
          },
          {
            "name": "to_address_hashes_to_include",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Full 0x-prefixed parent transaction address"
          },
          {
            "name": "address_relation",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "and (default) or or"
          },
          {
            "name": "status",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "success or failed; failed with an ERC token type has no emitted transfer events and returns an empty terminal page"
          },
          {
            "name": "cursor",
            "in": "query",
            "schema": {
              "type": "string"
            },
            "description": "Opaque next_page_params.cursor; preserve filters"
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/transactions/{hash}": {
      "get": {
        "summary": "transactionHash",
        "parameters": [
          {
            "name": "hash",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          },
          {
            "name": "Accept",
            "in": "header",
            "schema": {
              "type": "string"
            },
            "description": "Optional application/vnd.ink.transaction-indexing+json, application/json enables a proven indexing response."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "202": {
            "description": "TRANSACTION_INDEXING: the synced local node proved recent canonical inclusion, but the index is not ready. This is not an execution-success response. Retry after 1s; no-store. Only returned with explicit Accept opt-in.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/transactions/{hash}/token-transfers": {
      "get": {
        "summary": "Token transfers",
        "parameters": [
          {
            "name": "hash",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/transactions/{hash}/internal-transactions": {
      "get": {
        "summary": "Internal transactions",
        "parameters": [
          {
            "name": "hash",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/transactions/{hash}/logs": {
      "get": {
        "summary": "Event logs",
        "parameters": [
          {
            "name": "hash",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/internal-transactions": {
      "get": {
        "summary": "Internal transactions",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/addresses": {
      "get": {
        "summary": "Top accounts",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/addresses/{address}": {
      "get": {
        "summary": "Address",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/address-balance/{address}": {
      "get": {
        "summary": "ETH balance",
        "description": "Current ETH balance from the local node, bound to a canonical block hash. Balance is a decimal wei string. block.timestamp is Unix seconds; observedAt is the start of the head observation in ISO 8601 UTC. Responses and block timestamps must be younger than 15 seconds; do not keep displaying a current balance after a disconnect or a replaced block. Requests for the same address are coalesced. At most 16 distinct address reads are in flight per network instance. An unavailable, behind, wrong-network or busy node returns 503 with Retry-After: 1; no indexed or stale fallback. No query parameters or API key.",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string",
              "pattern": "^0x[0-9a-fA-F]{40}$"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "schema",
                    "chainId",
                    "address",
                    "balance",
                    "block",
                    "observedAt",
                    "source"
                  ],
                  "properties": {
                    "schema": {
                      "const": 1
                    },
                    "chainId": {
                      "type": "integer",
                      "enum": [
                        57073,
                        763373
                      ]
                    },
                    "address": {
                      "type": "string",
                      "pattern": "^0x[0-9a-fA-F]{40}$"
                    },
                    "balance": {
                      "type": "string",
                      "pattern": "^[0-9]+$",
                      "description": "Exact wei; use BigInt, not a floating-point number."
                    },
                    "block": {
                      "type": "object",
                      "required": [
                        "number",
                        "hash",
                        "timestamp"
                      ],
                      "properties": {
                        "number": {
                          "type": "integer",
                          "minimum": 0
                        },
                        "hash": {
                          "type": "string",
                          "pattern": "^0x[0-9a-fA-F]{64}$"
                        },
                        "timestamp": {
                          "type": "integer",
                          "minimum": 0
                        }
                      }
                    },
                    "observedAt": {
                      "type": "string",
                      "format": "date-time"
                    },
                    "source": {
                      "const": "local"
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          },
          "503": {
            "description": "Node data unavailable or concurrency limit reached. No stale balance.",
            "headers": {
              "Retry-After": {
                "schema": {
                  "const": "1"
                }
              }
            }
          }
        }
      }
    },
    "/explorer/addresses/{address}/counters": {
      "get": {
        "summary": "Address counters",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/addresses/{address}/transactions": {
      "get": {
        "summary": "Address transactions",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/addresses/{address}/token-transfers": {
      "get": {
        "summary": "Token transfers",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/addresses/{address}/internal-transactions": {
      "get": {
        "summary": "Internal transactions",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/tokens": {
      "get": {
        "summary": "tokens",
        "description": "Parameters: type=ERC-20 | ERC-721 | ERC-1155",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/tokens/{address}": {
      "get": {
        "summary": "Token",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/tokens/{address}/transfers": {
      "get": {
        "summary": "Token transfers",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/tokens/{address}/holders": {
      "get": {
        "summary": "Token holders",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/tokens/{address}/instances": {
      "get": {
        "summary": "NFT instances",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/tokens/{address}/instances/{token-id}": {
      "get": {
        "summary": "NFT instance",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          },
          {
            "name": "token-id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/tokens/{address}/instances/{token-id}/transfers": {
      "get": {
        "summary": "NFT transfers",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          },
          {
            "name": "token-id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/token-transfers": {
      "get": {
        "summary": "Token transfers",
        "description": "Parameters: type=ERC-20 | ERC-721 | ERC-1155",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/optimism/deposits": {
      "get": {
        "summary": "L1 → L2 deposits",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/optimism/withdrawals": {
      "get": {
        "summary": "L2 → L1 withdrawals",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/optimism/batches": {
      "get": {
        "summary": "Transaction batches",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/optimism/batches/count": {
      "get": {
        "summary": "Transaction batch count",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "minimum": 0
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/optimism/batches/{number}": {
      "get": {
        "summary": "Transaction batch",
        "parameters": [
          {
            "name": "number",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/optimism/games": {
      "get": {
        "summary": "Dispute games",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/optimism/games/count": {
      "get": {
        "summary": "Dispute game count",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "integer",
                  "minimum": 0
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/blocks/optimism-batch/{number}": {
      "get": {
        "summary": "Batch blocks",
        "parameters": [
          {
            "name": "number",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/transactions/optimism-batch/{number}": {
      "get": {
        "summary": "Batch transactions",
        "parameters": [
          {
            "name": "number",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/proxy/account-abstraction/operations": {
      "get": {
        "summary": "User operations",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/proxy/account-abstraction/operations/{hash}": {
      "get": {
        "summary": "User operation",
        "parameters": [
          {
            "name": "hash",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/smart-contracts": {
      "get": {
        "summary": "Verified contracts",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/smart-contracts/{address}": {
      "get": {
        "summary": "Smart contract",
        "parameters": [
          {
            "name": "address",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/explorer/stats": {
      "get": {
        "summary": "Network statistics",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/contract-info/pools": {
      "get": {
        "summary": "DEX pools",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/contract-info/pools/{address-or-id}": {
      "get": {
        "summary": "DEX pool",
        "parameters": [
          {
            "name": "address-or-id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/dapps": {
      "get": {
        "summary": "Dapps",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "additionalProperties": true
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/stats/counters": {
      "get": {
        "summary": "Network totals",
        "description": "Indexer aggregates. X-Ink-Data-Fetched-At is the HTTP observation time, not the calculation time. The upstream does not supply calculation timestamps. For the current canonical block count, use /live/snapshot (block.height + 1, including genesis) after checking network readiness and the block timestamp.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "counters"
                  ],
                  "properties": {
                    "counters": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/stats/lines": {
      "get": {
        "summary": "All statistics",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "sections"
                  ],
                  "properties": {
                    "sections": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/stats/lines/{metric}": {
      "get": {
        "summary": "Chart",
        "description": "Parameters: from=YYYY-MM-DD, to=YYYY-MM-DD, resolution=DAY | WEEK | MONTH | YEAR",
        "parameters": [
          {
            "name": "metric",
            "in": "path",
            "required": true,
            "schema": {
              "type": "string"
            },
            "description": "Full identifier. Hashes and addresses use the 0x prefix."
          }
        ],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "chart"
                  ],
                  "properties": {
                    "chart": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/search": {
      "get": {
        "summary": "search",
        "description": "Parameters: q",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "items"
                  ],
                  "properties": {
                    "items": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "additionalProperties": true
                      }
                    },
                    "next_page_params": {
                      "type": [
                        "object",
                        "null"
                      ],
                      "additionalProperties": {
                        "type": [
                          "string",
                          "number",
                          "null"
                        ]
                      }
                    },
                    "meta": {
                      "type": "object",
                      "additionalProperties": true
                    }
                  }
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/live/config": {
      "get": {
        "summary": "WebSocket configuration",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/live/status": {
      "get": {
        "summary": "WebSocket status",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/live/snapshot": {
      "get": {
        "summary": "Latest blocks and transactions",
        "description": "Local node snapshot. A current canonical block count is block.height + 1 (genesis included). Require the expected chainId, network.online=true, network.synced=true, network.stale=false, matching network.head and block.height, and a block timestamp within 120 seconds of sentAt. Missing, disconnected or expired observations are unavailable. Optional rolling24h is the locally counted canonical transaction window (window.from, window.to], exactly 86400 seconds, including failed and L1/system deposit transactions, excluding pending transactions and internal calls. Verify chainId, window.toBlockHash against blocks, and sampledAt/window.to no more than 5 seconds before sentAt; expire silent feeds. rolling24h is null if unavailable, stale or replaced. feeWei stays null when any receipt fee is unknown; unknownFees and missingReceipts describe coverage. These aggregates do not imply L1 finality.",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/network": {
      "get": {
        "summary": "Network health",
        "parameters": [],
        "responses": {
          "200": {
            "description": "Source-backed JSON response. Values may be null.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          },
          "400": {
            "description": "Invalid request"
          },
          "429": {
            "description": "Rate limited; respect Retry-After"
          },
          "502": {
            "description": "Source unavailable"
          }
        }
      }
    },
    "/": {
      "get": {
        "summary": "Public service URLs and network identity",
        "responses": {
          "200": {
            "description": "API base, RPC, WebSocket, OpenAPI, documentation and sample URLs for this network.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      }
    },
    "/rpc": {
      "get": {
        "summary": "Read-only JSON-RPC capabilities",
        "responses": {
          "200": {
            "description": "Network, chainId, supported methods and public limits. No request is sent to the node.",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "additionalProperties": true
                }
              }
            }
          }
        }
      },
      "post": {
        "summary": "Read chain data and simulate calls using Ethereum JSON-RPC 2.0",
        "description": "HTTP only; no API key. No signing, broadcasting, admin, debug, engine or stateful filter methods. Batches contain at most 20 calls. Calls share 120 methods/minute per IP and 600 methods/minute per network. Log queries span at most 2000 blocks. Request body limit: 65536 bytes; response limit: 4194304 bytes per request, including the combined batch; simulation gas limit: 15000000. Current node readiness and network identity are checked; unavailable or pruned state is not replaced with indexed data.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "oneOf": [
                  {
                    "type": "object",
                    "required": [
                      "jsonrpc",
                      "method"
                    ],
                    "properties": {
                      "jsonrpc": {
                        "const": "2.0"
                      },
                      "id": {
                        "type": [
                          "string",
                          "integer",
                          "null"
                        ],
                        "description": "Client request ID, echoed unchanged. Integer IDs must fit the JavaScript safe-integer range."
                      },
                      "method": {
                        "type": "string",
                        "enum": [
                          "eth_chainId",
                          "net_version",
                          "web3_clientVersion",
                          "eth_blockNumber",
                          "eth_syncing",
                          "eth_gasPrice",
                          "eth_maxPriorityFeePerGas",
                          "eth_getBalance",
                          "eth_getCode",
                          "eth_getTransactionCount",
                          "eth_getStorageAt",
                          "eth_getBlockByNumber",
                          "eth_getBlockByHash",
                          "eth_getBlockTransactionCountByNumber",
                          "eth_getBlockTransactionCountByHash",
                          "eth_getTransactionByHash",
                          "eth_getTransactionReceipt",
                          "eth_getTransactionByBlockHashAndIndex",
                          "eth_getTransactionByBlockNumberAndIndex",
                          "eth_call",
                          "eth_estimateGas",
                          "eth_feeHistory",
                          "eth_getLogs"
                        ]
                      },
                      "params": {
                        "type": "array",
                        "description": "Positional Ethereum JSON-RPC parameters. Omitted parameters default to an empty array."
                      }
                    }
                  },
                  {
                    "type": "array",
                    "minItems": 1,
                    "maxItems": 20,
                    "items": {
                      "type": "object",
                      "required": [
                        "jsonrpc",
                        "method"
                      ],
                      "properties": {
                        "jsonrpc": {
                          "const": "2.0"
                        },
                        "id": {
                          "type": [
                            "string",
                            "integer",
                            "null"
                          ],
                          "description": "Client request ID, echoed unchanged. Integer IDs must fit the JavaScript safe-integer range."
                        },
                        "method": {
                          "type": "string",
                          "enum": [
                            "eth_chainId",
                            "net_version",
                            "web3_clientVersion",
                            "eth_blockNumber",
                            "eth_syncing",
                            "eth_gasPrice",
                            "eth_maxPriorityFeePerGas",
                            "eth_getBalance",
                            "eth_getCode",
                            "eth_getTransactionCount",
                            "eth_getStorageAt",
                            "eth_getBlockByNumber",
                            "eth_getBlockByHash",
                            "eth_getBlockTransactionCountByNumber",
                            "eth_getBlockTransactionCountByHash",
                            "eth_getTransactionByHash",
                            "eth_getTransactionReceipt",
                            "eth_getTransactionByBlockHashAndIndex",
                            "eth_getTransactionByBlockNumberAndIndex",
                            "eth_call",
                            "eth_estimateGas",
                            "eth_feeHistory",
                            "eth_getLogs"
                          ]
                        },
                        "params": {
                          "type": "array",
                          "description": "Positional Ethereum JSON-RPC parameters. Omitted parameters default to an empty array."
                        }
                      }
                    }
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "Single or batch responses. Notifications are omitted. JSON-RPC errors retain the client ID, including execution revert data.",
            "content": {
              "application/json": {
                "schema": {
                  "oneOf": [
                    {
                      "type": "object",
                      "required": [
                        "jsonrpc",
                        "id"
                      ],
                      "properties": {
                        "jsonrpc": {
                          "const": "2.0"
                        },
                        "id": {
                          "type": [
                            "string",
                            "integer",
                            "null"
                          ],
                          "description": "Client request ID, echoed unchanged. Integer IDs must fit the JavaScript safe-integer range."
                        },
                        "result": {},
                        "error": {
                          "type": "object",
                          "required": [
                            "code",
                            "message"
                          ],
                          "properties": {
                            "code": {
                              "type": "integer"
                            },
                            "message": {
                              "type": "string"
                            },
                            "data": {}
                          }
                        }
                      },
                      "oneOf": [
                        {
                          "required": [
                            "result"
                          ],
                          "not": {
                            "required": [
                              "error"
                            ]
                          }
                        },
                        {
                          "required": [
                            "error"
                          ],
                          "not": {
                            "required": [
                              "result"
                            ]
                          }
                        }
                      ]
                    },
                    {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "required": [
                          "jsonrpc",
                          "id"
                        ],
                        "properties": {
                          "jsonrpc": {
                            "const": "2.0"
                          },
                          "id": {
                            "type": [
                              "string",
                              "integer",
                              "null"
                            ],
                            "description": "Client request ID, echoed unchanged. Integer IDs must fit the JavaScript safe-integer range."
                          },
                          "result": {},
                          "error": {
                            "type": "object",
                            "required": [
                              "code",
                              "message"
                            ],
                            "properties": {
                              "code": {
                                "type": "integer"
                              },
                              "message": {
                                "type": "string"
                              },
                              "data": {}
                            }
                          }
                        },
                        "oneOf": [
                          {
                            "required": [
                              "result"
                            ],
                            "not": {
                              "required": [
                                "error"
                              ]
                            }
                          },
                          {
                            "required": [
                              "error"
                            ],
                            "not": {
                              "required": [
                                "result"
                              ]
                            }
                          }
                        ]
                      }
                    }
                  ]
                }
              }
            }
          },
          "204": {
            "description": "Valid notifications only; no response body."
          },
          "400": {
            "description": "Invalid JSON, empty batch or excessive batch size."
          },
          "413": {
            "description": "Request body too large."
          },
          "415": {
            "description": "Use Content-Type: application/json."
          },
          "429": {
            "description": "Public budget exhausted; respect Retry-After."
          },
          "503": {
            "description": "Request deadline or transport unavailable. Retry with backoff."
          }
        }
      }
    }
  }
}