web3_clientVersion

Returns the current client version.

Parameters:

None

Returns:

String - The current client version

Example:

// Request
curl https://scroll.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.10.13-stable-3a7da33c/linux-amd64/go1.18.1"
}

Last updated