Marketplace has launched, further enabling blockchain developers! Learn more

Contents

web3_clientVersion RPC method

Parameters:

  1. None

Returns:

  1. Result - String - Returns the client version.

Code Examples:

const ethers = require("ethers");

(async () => {
  const provider = new ethers.providers.JsonRpcProvider(
    "http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ext/bc/C/rpc"
  );
  const params = [];
  const result = await provider.send("web3_clientVersion", params);
  console.log(result);
})();
Ready to get started? Create a free account