Parameters
NoneResponse
string— the current client version
string — the current client versionweb3_clientVersion code examplesconst { JsonRpcProvider } = require("ethers");
const provider = new JsonRpcProvider("CHAINSTACK_NODE_URL");
async function call() {
const result = await provider.send("web3_clientVersion", []);
console.log(result);
}
call();
Was this page helpful?