curl --request POST \
--url https://monad-testnet.core.chainstack.com/9c5b265f20b3ea5df4f54f70eb74b800/ \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "web3_clientVersion",
"params": []
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}curl --request POST \
--url https://monad-testnet.core.chainstack.com/9c5b265f20b3ea5df4f54f70eb74b800/ \
--header 'Content-Type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "web3_clientVersion",
"params": []
}
'{
"jsonrpc": "<string>",
"id": 123,
"result": "<string>"
}Monad API method that returns the current client version. This method is useful for identifying the node implementation and version you are connected to.Documentation Index
Fetch the complete documentation index at: https://chainstack-mintlify-flesh-empty-pages.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
noneresult — a string representing the current client version.web3_clientVersion code examplesconst { ethers } = require("ethers");
const provider = new ethers.JsonRpcProvider("CHAINSTACK_NODE_URL");
async function getClientVersion() {
const clientVersion = await provider.send("web3_clientVersion", []);
console.log(`Client version: ${clientVersion}`);
}
getClientVersion();
web3_clientVersion is implementing compatibility checks in your application to ensure the connected node supports required features, or logging node information for debugging and monitoring purposes.Was this page helpful?