Bespoke
web3_clientVersion
Summary: Get current client version
This request returns the current client version, which includes details such as the client software name, version, operating system, architecture, and runtime environment. Warning: Not all methods are supported by the same client across Infura.
Parameters
This method doesn't accept any parameters.
Returns
web3_clientVersionResponse string
A string representing the current client version.
Pattern: ^0x([1-9a-f]+[0-9a-f]*|0)$
Customize request
Parameter
Value
Request
curl https://linea-mainnet.infura.io/v3/<YOUR-API-KEY> \
-X POST \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "web3_clientVersion",
"params": [],
"id": 1
}'
Example response
{
"id": 1,
"jsonrpc": "2.0",
"result": "Geth/v1.13.15-stable-b278b28b/linux-amd64/go1.21.9"
}