Stellar-RPC was renamed from Soroban-RPC in Nov 2024. Additional context on this decision can be found on our developer blog.
Why Run RPC?
Running RPC within your own infrastructure provides a number of benefits. You can:- Have full operational control without dependency on any third party provider for network data and transaction submission. The only way to harness the true power of a decentralized blockchain!
- Avoid the added overhead of directly interacting with Stellar Core, whose primary focus is performance and therefore provides a very limited API
- Avoid the added overhead of storing way more data than your application actually needs, as would be the case when running Horizon
- An indexer for historical data. RPC retains only a bounded, recent window of history (about 7 days by default).
- A primary backend service for your application. Use RPC as your gateway to the blockchain, but ingest and index only the data you care about.
- A drop-in replacement for Horizon. Horizon provides several indexing features not commonly supported by RPC nodes. We believe these business opportunities should be passed back to third party applications (indexers, analytics providers, etc) and away from the SDF.
In These Docs
- Admin Guide: how to set up and operate your own RPC instance.
- RPC Methods: descriptions of RPC methods, including their expected inputs and outputs.
- Structure: how the RPC API is structured.
- Ecosystem Providers: third party providers that provide RPC instances as a service.