Skip to content
Eden Engine

Stellar Ledger

stellar-horizon/ledger

One Stellar ledger by sequence number: close time, operation and transaction counts, fee pool.

activeper callv1

Price

$0.0026 per call

You pay the price shown. If a call turns out to cost more than its quote, you pay the actual price, capped at twice the quote. No monthly minimum. Top-ups start at $0.50.

Data source

Stellar Development Foundation

Stellar Development Foundation data from the public Stellar Development Foundation API (https://horizon.stellar.org). Served by Eden Engine; not an official Stellar Development Foundation product.

Use it

Five steps: search, inspect, learn, run, settle. No per-tool setup; your agent reaches this tool through the meta-tools it already has.

Connect once and your AI can find and run this tool, and any other it needs.

agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "stellar-horizon/ledger" })

// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "stellar-horizon/ledger" })

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "stellar-horizon/ledger", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "stellar-horizon/ledger", input: { /* ... */ } })

// 5. settle: the call is charged when it finishes, nothing to do

Not connected yet? Point your MCP client at https://mcp.eden-engine.com/mcp, then copy a config for your client.

Pricing

Every charge this tool can incur.

ChargePrice
Per call
$0.0026
Updated
Oct 21, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "sequence"
  ],
  "properties": {
    "sequence": {
      "type": "integer",
      "maximum": 999999999,
      "minimum": 2,
      "description": "Ledger sequence number."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "_links",
    "id",
    "paging_token",
    "hash",
    "prev_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"
  ],
  "properties": {
    "id": {
      "type": "string"
    },
    "hash": {
      "type": "string"
    },
    "_links": {
      "type": "object"
    },
    "fee_pool": {
      "type": "string"
    },
    "sequence": {
      "type": "integer"
    },
    "closed_at": {
      "type": "string"
    },
    "prev_hash": {
      "type": "string"
    },
    "header_xdr": {
      "type": "string"
    },
    "total_coins": {
      "type": "string"
    },
    "paging_token": {
      "type": "string"
    },
    "max_tx_set_size": {
      "type": "integer"
    },
    "operation_count": {
      "type": "integer"
    },
    "protocol_version": {
      "type": "integer"
    },
    "base_fee_in_stroops": {
      "type": "integer"
    },
    "tx_set_operation_count": {
      "type": "integer"
    },
    "base_reserve_in_stroops": {
      "type": "integer"
    },
    "failed_transaction_count": {
      "type": "integer"
    },
    "successful_transaction_count": {
      "type": "integer"
    }
  },
  "description": "One ledger.",
  "additionalProperties": true
}