【问题标题】:How can I get information about droped and replaced transaction in web3?如何在 web3 中获取有关删除和替换事务的信息? 【发布时间】:2020-10-19 12:21:30 【问题描述】: 我正在使用 web3.py。 如何获取有关丢弃和替换交易的信息? 如何获取有关待处理交易的信息? 【问题讨论】: 标签: ethereum web3 web3py 【解决方案1】: 您可以使用 getTransaction 找到交易的更多信息 和 getTransactionReceipt。 只能通过 getTransaction 找到待处理的交易,而不能通过 getTransactionReceipt 找到。 https://web3py.readthedocs.io/en/stable/web3.eth.html?highlight=gettransaction#web3.eth.Eth.getTransaction https://web3py.readthedocs.io/en/stable/web3.eth.html?highlight=gettransaction#web3.eth.Eth.getTransactionReceipt 【讨论】: