> ## Documentation Index
> Fetch the complete documentation index at: https://rexrex.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Inspect the TxPool

> View pending and queued txpool transactions from txpool_content.

Use `txpool inspect` to see the pending and queued transactions currently visible through a Reth node's `txpool_content` RPC method.

## Create a Queued Transaction

Send a normal nonce-0 transaction:

```sh theme={null}
cast send \
  --rpc-url http://127.0.0.1:8545 \
  --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \
  0x70997970C51812dc3A010C7d01b50e0d17dc79C8 \
  --value 10ether
```

Then skip nonce 1 and submit nonce 2:

```sh theme={null}
cast send \
  --rpc-url http://127.0.0.1:8545 \
  --private-key 0xac0974bec39a17e36ba4a6b4d238ff944bacb478cbed5efcae784d7bf4f2ff80 \
  --nonce 2 \
  0x70997970C51812dc3A010C7d01b50e0d17dc79C8 \
  --value 10ether
```

The second command can wait and eventually return:

```text theme={null}
Error: transaction was not confirmed within the timeout
```

That is expected for this example: the transaction can sit in the queued subpool because nonce 1 is missing.

## Command

```sh theme={null}
rex txpool inspect
```

## Example Output

Empty pool:

```text theme={null}
TXPOOL REPORT

Pending: 0
Queued:  0
Total:   0

No transactions in the pool.
```

Pool with one queued transaction:

```text theme={null}
TXPOOL REPORT

Pending: 0
Queued:  1
Total:   1

STATUS     NONCE    TYPE         FEE BID            SENDER                                       HASH
queued     2        eip-1559     1.000 gwei         0xf39fd6e51aad88f6f4ce6ab8827279cfffb92266   0x9f7e39db6d3da9d80b8578c6e142de4da7886f191e7d326d4e95b67e03ed2305
```

## Next Steps

`inspect` is intentionally a raw pool view. Use [Sender](/docs/txpool/sender), [Nonce Gaps](/docs/txpool/nonce-gaps), [Fees](/docs/txpool/fees), [Replacement](/docs/txpool/replacement), [Duplicates](/docs/txpool/duplicates), or [Stats](/docs/txpool/stats) when you want the same snapshot grouped or analyzed. Use [Watch](/docs/txpool/watch) when you want to compare snapshots over time.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.