github.com/lmittmann/w3@v0.20.0/docs/pages/rpc-methods/web3.mdx (about)

     1  # `web3`-Namespace
     2  
     3  List of supported RPC methods for `w3.Client` in the `web3`-namespace.
     4  
     5  ## `web3_clientVersion`
     6  `ClientVersion` requests the endpoints client version.
     7  ```go {3}
     8  var clientVersion string
     9  client.Call(
    10      web3.ClientVersion().Returns(&clientVersion),
    11  )
    12  ```