I have a contract deployed in Binance smart chain. I have written a script that will help me read the events logs from the Blockchain. currently, I tested that with the local hardhat network itself, where the provider is

const provider = new ethers.providers.WebSocketProvider(

); and it's working fine.

I also research and found out the provider for ethereum mainnet is


What is the url to connect to the binance smart chain?

1 Answer 1


Chainstack offers WebSocket endpoints for BSC

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.