While you can inspect the pending block, this is not enough. Some transactions might not be included because the nonce is too high. It can also happen that the pending block is full but there are more txs in the mempool; this happens with just one tx in the in-process network because the full block gas limit is used as the estimation.
As part of this, we should update this section of the docs.