github.com/lmittmann/w3@v0.20.0/module/web3/web3.go (about) 1 /* 2 Package web3 implements RPC API bindings for methods in the "web3" namespace. 3 */ 4 package web3 5 6 import ( 7 "github.com/lmittmann/w3/internal/module" 8 "github.com/lmittmann/w3/w3types" 9 ) 10 11 // ClientVersion requests the endpoints client version. 12 func ClientVersion() w3types.RPCCallerFactory[string] { 13 return module.NewFactory[string]( 14 "web3_clientVersion", 15 nil, 16 ) 17 }