1

From some version of Parity, it began to start like this

enter image description here

And now, when i try to get all pending transactions from the whole pool, i'm getting only these local. But i need to get ALL as earlier. How to do it?

web3.eth.subscribe('pendingTransactions', (e, r) => {
if (!e) {
    console.log(r);
}

});

-1

pendingTransactions will only return the pending txs for your addresses.

If you want to get all unmined transactions on the node, you want the txpool_contents API.

  • Thx. But before it returned all unmined transactions. What has changed? – Yuuuupy Sep 8 '18 at 15:51
  • txpool_contents is only for geth, question is for parity – Daithí Apr 19 at 21:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.