TriportRPC

getVersionInfo

Stellar / https://triport.io/rpc/stellar

Minimum tier: Free

Stellar method guide

Last updated:

Returns build and version metadata for Stellar RPC and its Captive Core, together with the protocol version.

Use it for diagnostics and compatibility checks. Use getNetwork for the passphrase or getHealth for readiness and retention.

Values can change when the selected node rotates or is upgraded; no SLA is attached to a particular upstream build.

Parameters

This method takes no parameters.

Returns

getVersionInfo return value
FieldType
getVersionInfoResultobject

Examples

curl https://triport.io/rpc/stellar \
  -X POST -H 'Content-Type: application/json' \
  -H 'Authorization: Bearer <api-key>' \
  -d '{"jsonrpc":"2.0","id":1,"method":"getVersionInfo","params":[]}'
const res = await fetch("https://triport.io/rpc/stellar", {
  method: "POST",
  headers: { "Content-Type": "application/json", Authorization: "Bearer <api-key>" },
  body: JSON.stringify({
  "jsonrpc": "2.0",
  "id": 1,
  "method": "getVersionInfo",
  "params": []
}),
});
const data = await res.json();
import requests
resp = requests.post(
    "https://triport.io/rpc/stellar",
    headers={"Authorization": "Bearer <api-key>"},
    json={"jsonrpc":"2.0","id":1,"method":"getVersionInfo","params":[]},
)
print(resp.json())

Usage

  1. Transport: HTTP (JSON-RPC).
  2. Chain: Stellar.
  3. Clusters: mainnet.
  4. Credit cost: 1 per call.

FAQ

What does getVersionInfo do?
Returns version information of RPC and Captive Core through Stellar Soroban JSON-RPC.
How many credits does getVersionInfo cost?
getVersionInfo costs 1 credit(s) per call on Triport by default.
Is getVersionInfo available over WebSocket?
getVersionInfo is an HTTP JSON-RPC method.