我正在开发一个智能合同项目,我需要监听我的高速公路服务器上的事件。有可能从那里监听事件吗?
发布于 2021-11-06 09:44:01
您可以使用图形从您的高速公路服务器https://ethereum.org/en/developers/tutorials/the-graph-fixing-web3-data-querying/#gatsby-focus-wrapper订阅您的合同中的事件,作为一种选择,您可以使用Ethers.JS https://docs.ethers.io/v5/concepts/events/
https://ethereum.stackexchange.com/questions/112994
复制相似问题