XRP Ledger by Hash
xrplrpc/ledger-by-hash
One XRP Ledger ledger by its hash: index, parent hash, close time (UTC), total XRP in drops and the first 100 transaction hashes. An unknown hash 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.
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
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
// 1. search: find the tool
omnial_search({ query: "what you need" })
// 2. inspect: price and input schema
omnial_inspect({ tool: "xrplrpc/ledger-by-hash" })
// 3. learn: read the usage guide at runtime
omnial_learn({ tool: "xrplrpc/ledger-by-hash" })
// 4. run: price the exact call first, then run it
omnial_execute({ tool: "xrplrpc/ledger-by-hash", input: { /* see input_schema */ }, dry_run: true })
omnial_execute({ tool: "xrplrpc/ledger-by-hash", input: { /* ... */ } })
// 5. settle: the call is charged when it finishes, nothing to doNot 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.
| Charge | Price |
|---|---|
Per call | $0.0026 |
- Updated
- Oct 28, 2026
Input and output schemas
Input schema
{
"type": "object",
"required": [
"network",
"ledger_hash"
],
"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_hash": {
"type": "string",
"pattern": "^[0-9A-Fa-f]{64}$",
"description": "The ledger hash: 64 hex characters."
}
},
"additionalProperties": false
}Output schema
{
"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
}