web3-multicall-go icon indicating copy to clipboard operation
web3-multicall-go copied to clipboard

unsupported protocol scheme "ws"

Open huahuayu opened this issue 3 years ago • 0 comments

if use websocket ethrpc.New("ws://someurl.com") for rpcClient

below code will get error:

	result, err := multi.Call(multicall.ViewCalls{vc0, vc1}, "latest")
	if err != nil {
		t.Fatal("callRaw",err)
	}
Post "ws://someurl.com": unsupported protocol scheme "ws"

huahuayu avatar Jun 09 '21 10:06 huahuayu