<p>The RPC interface includes the <code>getrawmempool</code> command which returns transactions in your memory pool. Transactions stay in your memory pool until they're confirmed, so this is effetively a list your known unconfirmed transacions.</p>

<p>Since <code>getrawmempool</code> returns only a list of transaction ids, you'll have to <code>getrawtransaction &lt;txid&gt;</code> for each transaction id in your memory pool. Remember you can get JSON-formmated output via <code>getrawtransaction &lt;txid&gt; 1</code>.</p>

CC BY-SA 3.0
2015-08-28T18:11:25.187Z
It may be out of date, see https://bitcoin.org/en/developer-reference#getrawmempool it appears `getrawmempool` already has extra argument for tx details
jangorecki
CC BY-SA 3.0
2014-01-17T17:50:59.910Z
2014-01-17T17:50:59.910Z
kaoD
<p>This site shows you unconfirmed bitcoin transactions:
<a href="https://blockchain.info/unconfirmed-transactions" rel="noreferrer">https://blockchain.info/unconfirmed-transactions</a></p>

<p>As I understand it, these unconfirmed transactions are received and rebroadcast by every bitcoin client. Given that they are on my computer, how would I go about extracting this information (i.e. a list of all unconfirmed bitcoin transactions) from the bitcoin client?</p>

<transactions><unconfirmed-transactions>
Is it possible to view unconfirmed transactions with the bitcoin client?
schulwitz
# Is it possible to view unconfirmed transactions with the bitcoin client?

(Asked by: username_0 on 2014-01-17)

This site shows you unconfirmed bitcoin transactions:
<https://blockchain.info/unconfirmed-transactions>

As I understand it, these unconfirmed transactions are received and rebroadcast by every bitcoin client. Given that they are on my computer, how would I go about extracting this information (i.e. a list of all unconfirmed bitcoin transactions) from the bitcoin client?

**Tags:** transactions, unconfirmed-transactions


---

## 1 answers

### Answer by username_1 on 2014-01-17. Score: 16 | Accepted answer

The RPC interface includes the `getrawmempool` command which returns transactions in your memory pool. Transactions stay in your memory pool until they're confirmed, so this is effetively a list your known unconfirmed transacions.

Since `getrawmempool` returns only a list of transaction ids, you'll have to `getrawtransaction`  for each transaction id in your memory pool. Remember you can get JSON-formmated output via `getrawtransaction  1`.

> **Comments:**
> **username_2**: It may be out of date, see https://bitcoin.org/en/developer-reference#getrawmempool it appears `getrawmempool` already has extra argument for tx details  

---

