quicknode关于BSC链的文档,可以付费,请私信,谢谢。 https://www.quicknode.com/docs/binance-smart-chain
可以, 监听websocket 就行:
var customWsProvider = new ethers.providers.WebSocketProvider(url);
customWsProvider.on("pending", (tx) => { customWsProvider.getTransaction(tx).then(function (transaction) { console.log(transaction); }); });
quicknode 还有一篇文章介绍:
https://www.quicknode.com/guides/defi/how-to-stream-pending-transactions-with-ethers-js