Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我打电话
provider = Web3.HTTPProvider('some url') w3 = Web3(provider) web3.geth.txpool.inspect()
我收到一个错误
AttributeError: module 'web3.geth' has no attribute 'txpool'
我的geth配置
--http --http.api eth,net,web3,txpool
为什么我无法访问 txpool?
从stackoverflow的角度看一个新的观点,解决了我的问题而不是web3.geth.txpool.inspect我不得不使用w3.geth.txpool.inspect()