Last updated 4 months ago
Was this helpful?
Returns the current client version.
This method will use 20 .
20
None
string - The current client version 20 Bytes - addresses owned by the client
string
// Result { "jsonrpc": "2.0", "result": "conflux-rust/v2.4.0-205095d-20240628/x86_64-linux-gnu/rustc1.77.2", "id": 67 }
curl https://mainnet.conflux.validationcloud.io/v1/<YOUR_API_KEY_HERE> \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}'
curl https://testnet.conflux.validationcloud.io/v1/<YOUR_API_KEY_HERE> \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}'