web3_clientVersion - Ethereum

Returns the current client version.

Don’t have an API key?

Start using this API in your app today.

Parameters

  • none

Returns

String - The current client version

Example

The Alchemy Composer allows you to make a no-code example request via your browser. Try it out above!

Request

curl https://arb-mainnet.g.alchemy.com/v2/your-api-key\ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":0}'
URL: https://arb-mainnet.g.alchemy.com/v2/your-api-key RequestType: POST Body: { "jsonrpc":"2.0", "method":"web3_clientVersion", "params":[], "id":0 }

Result

{ "jsonrpc": "2.0", "id": 0, "result": "Geth/v1.9.15-stable-0f77f34b/linux-amd64/go1.14.4" }
Path Params
string
required
Defaults to docs-demo

For higher throughput, create your own API key

Body Params
integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to web3_clientVersion
Response

Response body
object
integer
string
string
Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
ReadMe
Support Hub