getTxpoolContent
Returns the details of all 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 { getTxpoolContent } from 'viem/test'
Usage
ts
import { getTxpoolContent } from 'viem/test'
import { testClient } from '.'
const content = await getTxpoolContent(testClient)
Returns
Transaction pool content. See here.