go-ethereum/portalnetwork/web3/api.go
2024-04-25 13:04:55 +08:00

13 lines
228 B
Go

package web3
import "runtime"
type API struct{}
func (p *API) ClientVersion() string {
// TODO add version
name := "Shisui"
name += "/" + runtime.GOOS + "-" + runtime.GOARCH
name += "/" + runtime.Version()
return name
}