getLedgers. The mock RPC serves the corpus’s canonical ledgers with exactly the same request and response shapes, so you can point an unmodified indexer at it and replay the corpus with no network, no credentials and no funds.
Hosted
/pubnet, /testnet and /local. Each answers with that network’s passphrase from getNetwork.
Local
Methods
Errors use Stellar RPC’s codes and messages, e.g.
-32600 with start ledger must be between the oldest ledger: … and the latest ledger: …, so an indexer’s error handling sees what it would see in production.
The ledger range is sparse
The corpus stores only the ledgers its fixtures came from: mainnet 65,474,279 and 65,474,309, and nothing in between.getHealth reports the full span, and getLedgers returns the stored ledgers from startLedger onward, skipping the gaps. The cursor always points at the last ledger returned.
Most indexers handle this fine because they request a range and process whatever comes back. If yours insists on contiguous sequences, ask for each fixture’s ledger directly (startLedger = the fixture’s source.ledger, limit = 1), which is what the pilot does.