umbracle/ethgo

err when i try with bsc network

Closed this issue · 2 comments

lvlts commented

looks like your environment variable is invalid. hardcoding the URL works and returns correctly. try this:

client, err := jsonrpc.NewClient("https://bsc-dataseed.binance.org/") 

Hi, as @lvlts pointed out, this might be an error on your env variable that is returning an error from the JSON-RPC request.