Skip to main content

RPC Introduction

info

Stellar-RPC was renamed from Soroban-RPC in Nov 2024. Additional context on this decision can be found on our developer blog.

Stellar RPC is a lightweight tool that provides real-time access to Stellar network data. Much like RPC nodes in other blockchain ecosystems, it allows developers to query the network efficiently. Whether you’re building a non-custodial wallet, issuing assets, or monitoring network activity, Stellar RPC is designed to provide trusted, stable infrastructure that anyone can run.

For any new builders coming to Stellar, Stellar RPC should be your starting point—it’s built to align with the growing needs of the ecosystem. RPC can be accessed via cURL or one of the Stellar SDKs.

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 provdes 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

What Stellar RPC is not:

  • An indexer for historical data. RPC retains at maximum 7 days of historical data.
  • 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.