web3_clientVersion

Returns the current client version.

Parameters:

None

Returns:

String - The current client version

Example:

// Request
curl https://bsc.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/v1.1.18-cb9e50bd/linux-amd64/go1.17.13"
}

Last updated