📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

Method: POST web3_clientVersion

dropdown

Method RPC web3_clientVersion example for Ethereum (ETH)

POST web3_clientVersion

Returns the current client version.

Parameters

-

Request

curl --location --request POST 'https://eth.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "web3_clientVersion",
"params": [],
"id": "getblock.io"}'


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "besu/v21.1.4/linux-x86_64/oracle_openjdk-java-11"
}