web3_clientVersion

Returns the current client version.

Parameters:

None

Returns:

String - The current client version

Example:

// Request
curl https://artela-testnet.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": "artela/linux-amd64/go1.20.8"
}

Last updated