stellar_ledger_fetch
Fetch Stellar ledger data by sequence number to inspect ledger details, transactions, or metadata. Supports limit, output format, network, RPC URL, and XDR options.
Instructions
Fetch specific ledger information by sequence number
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Number of ledgers to fetch (default: 1) | |
| output | No | Format of the output | |
| rpcUrl | No | RPC server endpoint | |
| network | No | Name of network to use from config | |
| sequence | Yes | Ledger sequence to start fetch (inclusive) | |
| xdrFormat | No | Format of the XDR in the output | |
| rpcHeaders | No | RPC Header(s) to include in requests to the RPC provider | |
| networkPassphrase | No | Network passphrase |