我正在使用web3.py.
- 如何获取已丢弃和已替换事务的信息
- 如何获取有关待处理交易的信息
您可以使用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