getLedger
Retrieve details of a Stellar ledger by sequence number, or default to the latest ledger when no sequence is provided. Access blockchain data directly via the Stellar network.
Instructions
Get details of a specific Stellar ledger by sequence number
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "getLedger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sequence | No | Ledger sequence number (defaults to latest) |