Stellar RPC

📘

See the Stellar RPC API connection guide.

Ledgers

MethodNotesCompute Unit Value
GET /ledgers/:sequenceReturns a ledger identified by its sequence number.5
GET /ledgers/:sequence/transactionsReturns transactions recorded in the specified ledger.30
GET /ledgers/:sequence/operationsReturns operations recorded in the specified ledger.10
GET /ledgers/:sequence/paymentsReturns payment operations recorded in the specified ledger.10
GET /ledgers/:sequence/effectsReturns effects caused by activity in the specified ledger.10
GET /ledgersReturns a paginated collection of ledgers.30

Transactions

MethodNotesCompute Unit Value
GET /transactions/:transaction_hashReturns a transaction identified by its hash.5
GET /transactions/:transaction_hash/operationsReturns operations in the specified transaction.10
GET /transactions/:transaction_hash/effectsReturns effects caused by the specified transaction.10
GET /transactionsReturns a paginated collection of transactions.50
POST /transactionsSubmits an XDR-encoded transaction to the network.50

Operations

MethodNotesCompute Unit Value
GET /operations/:idReturns an operation identified by its ID.5
GET /operations/:id/effectsReturns effects caused by the specified operation.10
GET /operationsReturns a paginated collection of operations.30
GET /paymentsReturns a paginated collection of payment operations.30

Effects

MethodNotesCompute Unit Value
GET /effectsReturns a paginated collection of ledger effects.30

Accounts

MethodNotesCompute Unit Value
GET /accountsReturns accounts matching the supplied query parameters.30
GET /accounts/:account_idReturns the account identified by its public key.5
GET /accounts/:account_id/transactionsReturns transactions involving the specified account.30
GET /accounts/:account_id/operationsReturns operations involving the specified account.10
GET /accounts/:account_id/paymentsReturns payment operations involving the specified account.10
GET /accounts/:account_id/effectsReturns effects involving the specified account.10
GET /accounts/:account_id/offersReturns offers owned by the specified account.10
GET /accounts/:account_id/tradesReturns trades involving the specified account.10

Offers

MethodNotesCompute Unit Value
GET /offersReturns offers matching the supplied query parameters.30
GET /offers/:offer_idReturns an offer identified by its ID.5
GET /offers/:offer_id/tradesReturns trades that filled the specified offer.10

Trades and assets

MethodNotesCompute Unit Value
GET /tradesReturns trades matching the supplied asset-pair query.30
GET /assetsReturns assets matching the supplied query parameters.30

Claimable balances

MethodNotesCompute Unit Value
GET /claimable_balancesReturns claimable balances matching the supplied query.30
GET /claimable_balances/:claimable_balance_idReturns a claimable balance identified by its ID.5
GET /claimable_balances/:claimable_balance_id/transactionsReturns transactions related to the specified claimable balance.30
GET /claimable_balances/:claimable_balance_id/operationsReturns operations related to the specified claimable balance.10

Liquidity pools

MethodNotesCompute Unit Value
GET /liquidity_poolsReturns liquidity pools matching the supplied query.30
GET /liquidity_pools/:liquidity_pool_idReturns a liquidity pool identified by its ID.5
GET /liquidity_pools/:liquidity_pool_id/effectsReturns effects related to the specified liquidity pool.10
GET /liquidity_pools/:liquidity_pool_id/transactionsReturns transactions related to the specified liquidity pool.30
GET /liquidity_pools/:liquidity_pool_id/operationsReturns operations related to the specified liquidity pool.10
GET /liquidity_pools/:liquidity_pool_id/paymentsReturns payment operations related to the specified liquidity pool.10

Aggregations

MethodNotesCompute Unit Value
GET /paths/strict-receiveReturns payment paths that deliver a requested destination amount.10
GET /paths/strict-sendReturns payment paths for a requested source amount.10
GET /trade_aggregationsReturns aggregated trade statistics for an asset pair and time range.30
GET /fee_statsReturns fee statistics for recently closed ledgers.10