1

有没有办法获得指定地址的待处理交易?我可以在这里在 bscscan 上过滤它们,但我不能在我的 web3py 代码中做同样的事情。我可以获得当前待处理块的所有待处理事务,但我无法过滤它们。我可以:

txHashPending = w3.eth.filter('latest').get_all_entries()

我得到了待处理交易的 transactionHashes。我试着做:

txHashPending = w3.eth.filter({'fromBlock':'pending','toBlock':'pending','from':'0xe9e7CEA3DedcA5984780Bafc599bD69ADd087D56'}).get_all_entries()

但它返回了已经验证/挖掘的交易。

4

0 回答 0