err when i try with bsc network
Closed this issue · 2 comments
ducthanh200398 commented
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/")