Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'no "PendingTx" subscription in eth namespace' when using Websocket subscribe #3651

Closed
pbking111 opened this issue Mar 24, 2025 · 1 comment

Comments

@pbking111
Copy link

Encountering 'no "PendingTx" subscription in eth namespace' when using WebsocketProvider

web3_async = await AsyncWeb3(WebSocketProvider(WSS_URL))
subscription = await web3_async.eth.subscribe('PendingTx')
==> not working

subscription = await web3_async.eth.subscribe('newHeads')
==> working

would like to ask what is the correct event type string for pending transacitons?

@fselmo
Copy link
Collaborator

fselmo commented Mar 24, 2025

Please refrain from asking usage questions via issues. Feel free to ask in the Discord. PendingTx, as you wrote it, is not a subscription.

@fselmo fselmo closed this as not planned Won't fix, can't repro, duplicate, stale Mar 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants