Stellar Soroban Methods

📘

See the Stellar Soroban RPC API connection guide.

📘

Which API should I use?

Use Stellar RPC for smart contract execution, transaction submission, and simulation against recent state (about 7 days). Use BD Stellar Horizon (bd_horizon) for historical ledger queries, account history, operation tracking, and compliance audits. See Access Stellar RPC.

Stellar RPC

MethodNotesCompute Unit Value
getEventsReturns events emitted over a requested ledger range.5
getFeeStatsReturns statistics for charged inclusion fees.10
getHealthReturns the health status of the RPC server.1
getLatestLedgerReturns information about the latest ledger known to the server.5
getLedgerEntriesReturns ledger entries for supplied ledger keys.10
getLedgersReturns a paginated list of ledgers from a specified starting point.10
getNetworkReturns the network passphrase and related network configuration.1
getTransactionReturns details and status for a transaction hash.5
getTransactionsReturns transactions over a requested ledger range.50
getVersionInfoReturns version information for the RPC server.5
sendTransactionSubmits a transaction envelope for processing.100
simulateTransactionSimulates a transaction invocation without submitting it to the network.100