Last updated 7 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", "id":67, "result":"Geth/v1.10.26-stable-e5eb32ac/linux-amd64/go1.18.5" }
curl https://mainnet.opbnb.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.opbnb.validationcloud.io/v1/<YOUR_API_KEY_HERE> \ -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"web3_clientVersion","params":[],"id":67}'