Skip to main content

web3_clientVersion RPC Method

Returns the current version of the chain client.

Updated on
May 22, 2024

web3_clientVersion RPC Method

Parameters

This method does not accept any parameters

Returns

result
The current client version in string format
Request
1
curl https://docs-demo.xai-mainnet.quiknode.pro/ \
2
-X POST \
3
-H "Content-Type: application/json" \
4
--data '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":1}'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free