get_ledger
Retrieve the header and summary of a specific ledger from the Xahau network. Supports mainnet and testnet, defaulting to the latest validated ledger.
Instructions
Header/summary of a ledger (default the latest validated). Read-only.
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": "get_ledger"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| network | No | mainnet | |
| ledgerIndex | No | validated |