JSON-RPC methods supported on Stellar Mainnet and Stellar Testnet through Tatum RPC Gateway, with base URLs and an example request.
Call Stellar JSON-RPC methods through Tatum RPC Gateway. Send an HTTP POST request with a JSON-RPC 2.0 body to the network's base URL, with your API key in the x-api-key header. See Authentication.
Base URLs
| Network | Base URL |
|---|---|
| Stellar Mainnet | https://stellar-mainnet-soroban.gateway.tatum.io |
| Stellar Testnet | https://stellar-testnet-soroban.gateway.tatum.io |
Example request
curl 'https://stellar-mainnet-soroban.gateway.tatum.io' \
--header 'content-type: application/json' \
--header 'x-api-key: {YOUR_API_KEY}' \
--data '{"jsonrpc":"2.0","method":"getHealth","params":{},"id":1}'Methods
12 methods. Parameters and responses are described in the Stellar RPC API reference; each method name links to its page there.
| Method | Description |
|---|---|
getEvents | Returns contract events emitted in a range of ledgers. |
getFeeStats | Returns inclusion fee statistics for Soroban and classic transactions. |
getHealth | Returns the health status of the RPC node. |
getLatestLedger | Returns the latest ledger known to the node. |
getLedgerEntries | Returns the ledger entries for the given keys. |
getLedgers | Returns a list of ledgers starting from a given sequence. |
getNetwork | Returns the network passphrase and protocol version. |
getTransaction | Returns a transaction by hash. |
getTransactions | Returns a list of transactions starting from a given ledger. |
getVersionInfo | Returns the version of the RPC node and its Captive Core. |
sendTransaction | Submits a signed transaction without waiting for it to complete. |
simulateTransaction | Simulates a transaction and returns its resource usage, fee and footprint. |
The gateway lists its supported methods at runtime:
Method unavailable?If you need a method we don't support yet, contact support.