web3_clientVersion
Polygon / https://triport.io/polygon
Minimum tier: Free
Last updated:
web3_clientVersion returns a free-form string identifying the client
implementation and version serving the request. On Polygon mainnet
(chainId 0x89 / 137) the network is secured by Bor, Polygon's fork of
Geth, so the value typically begins with bor/v.... Depending on which backend
serves a given request you may instead see a Geth/v... or erigon/v...
string — the format is the client's own, not a Triport-defined schema.
Use this method as a cheap liveness ping or to record which client family is answering. Because the string reveals the client type and version, it can be used to fingerprint the backend; treat any client/version details as informational and do not branch critical logic on the exact string, since the serving node can change between requests.
This method takes no parameters and is available on every tier starting at free.
Parameters
This method takes no parameters.
Returns
| Field | Type |
|---|---|
| result | object |
Examples
curl https://triport.io/polygon \
-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/polygon", {
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/polygon",
headers={"Authorization": "Bearer <api-key>"},
json={"jsonrpc":"2.0","id":1,"method":"web3_clientVersion","params":[]},
)
print(resp.json())Usage
- Transport: HTTP (JSON-RPC).
- Chain: Polygon.
- Clusters: mainnet.
- Credit cost: 1 per call.
FAQ
- What does web3_clientVersion do?
- Returns the version string of the client software backing the Polygon node, as a single string.
- 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.