web3_clientVersion
Returns the current client version.

Parameters

none

Returns

String - The current client version

​Example​

Request
Curl
Postman
1
curl https://eth-mainnet.alchemyapi.io/v2/your-api-key \
2
-X POST \
3
-H "Content-Type: application/json" \
4
-d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":0}'
Copied!
1
URL: https://eth-mainnet.alchemyapi.io/v2/your-api-key
2
RequestType: POST
3
Body:
4
{
5
"jsonrpc":"2.0",
6
"method":"web3_clientVersion",
7
"params":[],
8
"id":0
9
}
Copied!
Result
1
{
2
"jsonrpc": "2.0",
3
"id": 0,
4
"result": "Geth/v1.9.15-stable-0f77f34b/linux-amd64/go1.14.4"
5
}
Copied!
Last modified 3mo ago
Copy link