Stellar · Schema

Ledger

BlockchainCryptocurrencyDecentralized ExchangeLedgerPaymentsSmart ContractsWeb3

Properties

Name Type Description
_embedded object
View JSON Schema on GitHub

JSON Schema

stellar-horizon-ledger.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://developers.stellar.org/schemas/horizon/Ledger.json",
  "title": "Ledger",
  "type": "object",
  "properties": {
    "_embedded": {
      "type": "object",
      "properties": {
        "records": {
          "type": "array",
          "items": {
            "type": "object",
            "properties": {
              "_links": {
                "type": "object",
                "properties": {
                  "self": {
                    "$ref": "#/components/schemas/link"
                  },
                  "transactions": {
                    "$ref": "#/components/schemas/link"
                  },
                  "operations": {
                    "$ref": "#/components/schemas/link"
                  },
                  "payments": {
                    "$ref": "#/components/schemas/link"
                  },
                  "effects": {
                    "$ref": "#/components/schemas/link"
                  }
                },
                "required": [
                  "self",
                  "transactions",
                  "operations",
                  "effects"
                ]
              },
              "id": {
                "$ref": "#/components/schemas/id"
              },
              "paging_token": {
                "$ref": "#/components/schemas/paging_token"
              },
              "hash": {
                "$ref": "#/components/schemas/hash"
              },
              "pre_hash": {
                "$ref": "#/components/schemas/hash"
              },
              "sequence": {
                "type": "integer",
                "format": "int32"
              },
              "successful_transaction_count": {
                "type": "integer",
                "format": "int32"
              },
              "failed_transaction_count": {
                "type": "integer",
                "format": "int32"
              },
              "operation_count": {
                "type": "integer",
                "format": "int32"
              },
              "tx_set_operation_count": {
                "type": "integer",
                "format": "int32"
              },
              "closed_at": {
                "type": "string"
              },
              "total_coins": {
                "type": "string"
              },
              "fee_pool": {
                "type": "string"
              },
              "base_fee_in_stroops": {
                "type": "integer",
                "format": "int32"
              },
              "base_reserve_in_stroops": {
                "type": "integer",
                "format": "int32"
              },
              "max_tx_set_size": {
                "type": "integer",
                "format": "int32"
              },
              "protocol_version": {
                "type": "integer",
                "format": "int32"
              },
              "header_xdr": {
                "type": "string"
              }
            }
          }
        }
      },
      "required": [
        "id",
        "paging_token",
        "hash",
        "sequence",
        "successful_transaction_count",
        "failed_transaction_count",
        "operation_count",
        "tx_set_operation_count",
        "closed_at",
        "total_coins",
        "fee_pool",
        "base_fee_in_stroops",
        "base_reserve_in_stroops",
        "max_tx_set_size",
        "protocol_version",
        "header_xdr"
      ]
    }
  }
}

Work with this as data

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

MCP server

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

https://apis.io/mcp

Tools for schemas

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

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/stellar-horizon-ledger"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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