🚀 We’re excited to announce our $35m Series A led by Tiger Global: Press Release, Coindesk, Bloomberg, Business Insider & RefreshMiami!

Contents

txpool_inspect RPC method

Parameters:

  1. None

Returns:

  1. Array - list of pending and queued transations, with each having the following fields:

    Pending - Array of transaction objects, with textual data.

    Queued - Array of transaction objects, with textual data.

Code Examples:

const ethers = require("ethers");
(async () => {
  const provider = new ethers.providers.JsonRpcProvider('http://sample-endpoint-name.network.quiknode.pro/token-goes-here/');
  const txpool = await provider.send('txpool_inspect');
  console.log(txpool);
})();
Ready to try QuickNode? Start your 7-day free trial