Home

Soroban (XLM) API Documentation

Soroban

Soroban (XLM) is Stellar’s smart contract platform, finalized through the Stellar Consensus Protocol’s federated Byzantine agreement, with smart contracts activated on mainnet by Protocol 20 on February 20, 2024. Contracts are written in Rust and compiled to WebAssembly, while persistent contract data is stored in Stellar ledger entries that Core nodes replicate alongside accounts, balances, offers, and other state. Because Soroban extends the existing Stellar ledger rather than creating a separate chain, its contract interface shares transaction and ledger primitives with the wider Stellar network.

Soroban API Methods and Endpoints

NOWNodes exposes Soroban's interface, plus a few others, depending on what your integration needs: JSON-RPC for reading chain state and broadcasting transactions.

Browse the interfaces below for endpoint details, request parameters, response formats, and integration examples. Create an API key, select Mainnet or Testnet, choose the required interface, and start sending requests from your application.

Weighing Soroban RPC providers against each other? Read the comparison guide on our blog — this page stays focused on integration reference.

Quick start

01

Get an API key

Sign up and generate a free key from the dashboard.

Get key →
02

Select environment

Mainnet or Sepolia testnet.

03

Choose an interface

RPC, WSS, Blockbook, or Trace/Debug.

04

Send a request

Call it from your application.

RPCJSON-RPCStandard RPC methods for reading chain state and broadcasting transactions.Node APIs →WSSWebSocketPersistent connections for new blocks, pending transactions, and log events as they happen.WSS API →T/DTrace & DebugStep-level execution traces for inspecting calls and diagnosing transactions.Trace & Debug API →ARCArchive modeFull historical state access beyond standard node retention.Archive nodes →MCPModel Context ProtocolThe Model Context Protocol (MCP) is an open standard that lets AI assistants call external tools through a uniform interface.MCP →

Ready to build on: XLM(SOROBAN)

Create a free API key and start sending requests in minutes.