Skip to main content
POST
web3_clientVersion
curl --request POST \
  --url https://rpc.testnet.tempo.xyz/ \
  --header 'Content-Type: application/json' \
  --data '
{
  "jsonrpc": "2.0",
  "method": "web3_clientVersion",
  "params": [],
  "id": 1
}
'
{
  "jsonrpc": "<string>",
  "id": 123,
  "result": "<string>"
}
Tempo API method that returns the current client version. Tempo is built on the Reth SDK.

Parameters

  • none

Response

  • result — the current client version string

web3_clientVersion code examples

const Web3 = require("web3");
const NODE_URL = "CHAINSTACK_NODE_URL";
const web3 = new Web3(NODE_URL);

async function getClientVersion() {
  const version = await web3.eth.getNodeInfo();
  console.log(`Client version: ${version}`);
}

getClientVersion()

Body

application/json
jsonrpc
string
default:2.0
method
string
default:web3_clientVersion
params
any[]
id
integer
default:1

Response

200 - application/json

The client version

jsonrpc
string
id
integer
result
string

The Tempo client version string