Stellar RPC API
Supported Networks & History Retention
| Network | Node Type | History Retention |
|---|---|---|
| Mainnet | Horizon Full History | Full ledger history |
| Testnet | Horizon Node | History available since the most recent testnet reset Testnet resets typically occur on a quarterly basis. Historical data prior to the reset is no longer available via the Horizon API after each reset. |
📘
See the Stellar RPC API connection guide.
Ledgers
| Method | Compute Unit Value |
|---|---|
GET /ledgers/:sequence |
5 |
GET /ledgers/:sequence/transactions |
50 |
GET /ledgers/:sequence/operations |
10 |
GET /ledgers/:sequence/payments |
10 |
GET /ledgers/:sequence/effects |
10 |
GET /ledgers |
10 |
Transactions
| Method | Compute Unit Value |
|---|---|
GET /transactions/:transaction_hash |
5 |
GET /transactions/:transaction_hash/operations |
5 |
GET /transactions/:transaction_hash/effects |
5 |
GET /transactions |
50 |
POST /transactions |
50 |
Operations
| Method | Compute Unit Value |
|---|---|
GET /operations/:id |
5 |
GET /operations/:id/effects |
5 |
GET /operations |
10 |
GET /payments |
10 |
Effects
| Method | Compute Unit Value |
|---|---|
GET /effects |
10 |
Accounts
Offers
| Method | Compute Unit Value |
|---|---|
GET /offers |
10 |
GET /offers/:offer_id |
5 |
GET /offers/:offer_id/trades |
10 |
Trades & Assets
| Method | Compute Unit Value |
|---|---|
GET /trades |
10 |
GET /assets |
10 |
Claimable Balances
Liquidity Pools
Aggregations
| Method | Compute Unit Value |
|---|---|
GET /order_book |
10 |
GET /paths/strict-receive |
10 |
GET /paths/strict-send |
10 |
GET /trade_aggregations |
10 |
GET /fee_stats |
10 |