Elrond有可以在智能合约执行期间发出的事件:https://docs.elrond.com/developers/developer-reference/elrond-wasm-annotations/#events
如何查询或订阅这些事件?在以太上,可以监视/查询这些事件,因为它们使用web3或以太客户机节点RPC执行。Elrond上也有类似的东西吗?
发布于 2021-10-05 21:21:47
有几种方法可以使用这些事件。
端点将是:http://testnet-gateway.elrond.com/transaction/<txhash>?withResults=true
(注意:只有在添加?withResults=true查询参数的情况下才会返回事件数据和智能合约结果)
https://stackoverflow.com/questions/69457260
复制相似问题