web3_clientVersion
Returns the current client version.
This method will use 20
Compute Units.
Reference: Here
Parameters
None
Returns
string
- The current client version 20 Bytes - addresses owned by the client
// 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}'
Last updated
Was this helpful?