web3_clientVersion - Ethereum
Shows you an actual client version
How to Use the web3_clientVersion Method
Parameters
No parameters.
What you receive
String - An actual client version.
Sample
Here is a typical appliance example.
Call
curl https://eth-mainnet.rpcfast.com/?api_key=<key> \
-X POST \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}'
Outcome
{
"jsonrpc": "2.0",
"id": 1,
"result": "Geth/v1.1.5-8ff7d531/linux-amd64/go1.16.4"
}
Last updated