web3_clientVersion

Returns the current client version.

Parameters:

None

Returns:

String - The current client version

Example:

// Request
curl https://base-goerli.blockpi.network/v1/rpc/your-rpc-key -X POST -H "Content-Type: application/json" --data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}'

// Result
{
    "jsonrpc": "2.0",
    "id": 1,
    "result": "Geth/v0.1.0-unstable-a84992a3-20230427/linux-amd64/go1.19.10"
}

Last updated