getTxpoolStatus
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 { getTxpoolStatus } from 'viem'
Usage
ts
import { getTxpoolStatus } from 'viem'
import { testClient } from '.'
const status = await getTxpoolStatus(testClient)
Returns
Transaction pool status. See here.