inspectTxpool
Returns a summary of all the transactions currently pending for inclusion in the next block(s), as well as the ones that are being scheduled for future execution only. Read more.
Import
ts
import { inspectTxpool } from 'viem/test'
Usage
ts
import { inspectTxpool } from 'viem/test'
import { testClient } from '.'
const data = await inspectTxpool(testClient)
Returns
Transaction pool inspection data. See here.