Developer builds open-source Rust tool for efficient Stellar data access, combining RPC nodes and public data lake queries with REST API and command-line interfaces.
A developer presents a custom open-source tool written in Rust designed to simplify data access for Stellar developers. The tool addresses Stellar's data architecture where RPC nodes cache 7 days of recent data while older data is archived to a public cloud dataset. The tool offers multiple interfaces: command-line queries for transactions, balances, and block data; a REST API server returning decoded JSON; and filtering capabilities by block range, contract address, and function names. The tool automatically falls back to RPC nodes when data isn't available on the public data lake. The developer notes the tool is optimized for occasional web application queries, while recommending Galaxy for full-chain data analytics on the 3.8 terabyte dataset.