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.
Usage 
ts
import { testClient } from './client'
const data = await testClient.inspectTxpool() 
ts
import { createTestClient, http } from 'viem'
import { foundry } from 'viem/chains'
export const testClient = createTestClient({
  chain: foundry,
  mode: 'anvil',
  transport: http(), 
})
Returns 
Transaction pool inspection data. See here.