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"
      ]
    }
  }
}