TriportRPC

web3_clientVersion

Tron / https://triport.io/rpc/tron

Minimum tier: Free

Tron method guide

Last updated:

web3_clientVersion returns the software version string reported by whichever eligible Tron node serves the request. The captured response identifies a java-tron implementation.

Use the value for diagnostics and compatibility logging. Do not branch product behavior on the exact string: routing can select another eligible node and the schema deliberately leaves the format implementation-defined.

Parameters

This method takes no parameters.

Returns

web3_clientVersion return value
FieldType
clientVersionstring

Examples

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

Usage

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

FAQ

What does web3_clientVersion do?
Returns the implementation-defined client version of the selected Tron node.
How many credits does web3_clientVersion cost?
web3_clientVersion costs 1 credit(s) per call on Triport by default.
Is web3_clientVersion available over WebSocket?
web3_clientVersion is an HTTP JSON-RPC method.