Skip to content
Eden Engine

XRP Ledger by Index

xrplrpc/ledger-by-index

One XRP Ledger ledger by its index: hash, parent hash, close time (UTC), total XRP in drops and the first 100 transaction hashes. A ledger the server does not hold (an index past the tip) is found false. Read from the public Honeycluster XRP Ledger server, which offers no SLA, can be slow, throttled or a ledger behind, and is the only server: there is no failover. Served by Eden Engine; not an official product of the XRP Ledger Foundation, Ripple or any server operator.

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

Public blockchains

On-chain data read from public XRP Ledger servers; no licence or credit is required. Served by Eden Engine; not an official product of the XRP Ledger Foundation, Ripple or any server operator.

Use it

Your AI assistant does the work: it finds this tool, shows you the price first, runs it, and you are charged when the run finishes. There is nothing to set up for this tool in particular.

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

For developers: the calls your assistant makes
agent
// 1. search: find the tool
omnial_search({ query: "what you need" })

// 2. inspect: price and input schema
omnial_inspect({ tool: "xrplrpc/ledger-by-index" })

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

// 4. run: price the exact call first, then run it
omnial_execute({ tool: "xrplrpc/ledger-by-index", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "xrplrpc/ledger-by-index", 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 28, 2026

Input and output schemas

Input schema
input_schema.json
{
  "type": "object",
  "required": [
    "network",
    "ledger_index"
  ],
  "properties": {
    "network": {
      "enum": [
        "mainnet"
      ],
      "type": "string",
      "description": "The network to read: mainnet (XRP Ledger mainnet). Required; there is no default, so a call never reads the wrong chain silently."
    },
    "ledger_index": {
      "type": "integer",
      "maximum": 4294967295,
      "minimum": 0,
      "description": "The ledger sequence number. History runs from 32570."
    }
  },
  "additionalProperties": false
}
Output schema
output_schema.json
{
  "type": "object",
  "required": [
    "found"
  ],
  "properties": {
    "found": {
      "type": "boolean",
      "description": "False when the node has no such item; then no other field is present."
    },
    "closed_at": {
      "type": [
        "string",
        "null"
      ],
      "description": "When the ledger closed, an ISO 8601 UTC time."
    },
    "validated": {
      "type": "boolean"
    },
    "ledger_hash": {
      "type": [
        "string",
        "null"
      ]
    },
    "parent_hash": {
      "type": [
        "string",
        "null"
      ]
    },
    "ledger_index": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The ledger sequence number."
    },
    "transactions": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Transaction hashes, the first 100 only (see transactions_truncated)."
    },
    "total_coins_xrp": {
      "type": [
        "string",
        "null"
      ]
    },
    "total_coins_drops": {
      "type": [
        "string",
        "null"
      ],
      "description": "XRP in existence, in drops, an exact decimal string."
    },
    "transaction_count": {
      "type": [
        "integer",
        "null"
      ],
      "description": "How many transactions the ledger holds."
    },
    "transactions_truncated": {
      "type": "boolean",
      "description": "True when the ledger holds more than 100 transactions."
    }
  },
  "description": "One ledger header with its first 100 transaction hashes, or found false.",
  "additionalProperties": true
}