newPendingTransactions
Emits transaction hashes that are sent to the network and marked as \pending.
The newPendingTransactions subscription type subscribes to all pending transactions via WebSockets (regardless if you sent them or not), and returns their transaction hashes.
When listening to pending transactions with this endpoint, you will only get pending transactions in Alchemy mempool.
We highly recommend using alchemy_pendingTransactions instead of newPendingTransactions to receive more detailed information like full transaction objects as well as filtering on from and to addresses for pending transactions.
Supported Networks
Check the Chains page for details about product and chain support!

Returns the hash for all transactions that are added to the pending state (regardless if you sent them or not).
Parameters
None
Returns
result:string- transaction hash for pending transactionsubscription:string- subscription ID