web3_clientVersion

Returns the current client version.

This method will use 20 Compute Units.


Reference: Here

Parameters

None

Returns

string - The current client version 20 Bytes - addresses owned by the client

// Result
{
    "jsonrpc":"2.0",
    "id":67,
    "result":"Geth/v1.10.26-stable-e5eb32ac/linux-amd64/go1.18.5"
}
curl https://mainnet.polygon.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}'

Last updated