<p>If using the <code>walletnotify</code> option in <code>bitcoin.conf</code>, you can get a notification any time a transaction occurs on the network that matches a bitcoin address in the wallet. To use this, of course, you'll have to keep Bitcoin-QT or <code>bitcoind</code> running at all times.</p>
<p><a href="https://en.bitcoin.it/wiki/Running_Bitcoin" rel="nofollow noreferrer">https://en.bitcoin.it/wiki/Running_Bitcoin</a></p>
<p>Once you have the transaction id, you'll have to look up the transaction, either at an online service like blockchain.io or use a <a href="https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list" rel="nofollow noreferrer">bitcoind json-rpc</a> command to learn more about the transaction and what action you would like to take.</p>

CC BY-SA 4.0
2020-06-09T13:24:29.460Z
Is there anyway to get all new transactions? instead of only transactions of a specific address.
Amin Shojaei
CC BY-SA 4.0
2014-02-11T00:34:29.357Z
2022-08-01T17:29:20.790Z
2022-08-01T17:29:20.790Z
ChrisW
<p>After a few weeks of searching for an answer, I decided to ask here.</p>

<p>I want to accept a Bitcoin payment, to a specific wallet, and immediately, when the user approved the payment, to receive an indication that the payment was made.</p>

<p>The problem is, I don't want to wait until it is verified in a block, which takes around 10 minutes, I need the approval in seconds, not minutes.</p>

<p>How can I receive an indication that a Bitcoin transaction was occured to my wallet, in the last seconds?</p>

CC BY-SA 3.0
2014-02-01T19:05:56.320Z
The standard Bitcoin client will show pending transactions as soon as they hit the network.  There is some risk in accepting a zero confirmation transaction.  If this is for a brick and mortar establishment it is not likely that a double spend attack can be performed.  However online I would be more conservative. Particularly if the item being sold is not revocable such as a digital download.
Mark S.
CC BY-SA 3.0
2014-02-01T20:38:34.520Z
Related: [How do I accept bitcoin payments at a real world store?](http://bitcoin.stackexchange.com/q/327/5406)
Murch
<bitcoin-core><bitcoind><zero-confirmation>
Get notified of incoming Bitcoin transaction, as soon as it broadcasted
Ohad Levi
# Get notified of incoming Bitcoin transaction, as soon as it broadcasted

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

After a few weeks of searching for an answer, I decided to ask here.

I want to accept a Bitcoin payment, to a specific wallet, and immediately, when the user approved the payment, to receive an indication that the payment was made.

The problem is, I don't want to wait until it is verified in a block, which takes around 10 minutes, I need the approval in seconds, not minutes.

How can I receive an indication that a Bitcoin transaction was occured to my wallet, in the last seconds?

**Tags:** bitcoin-core, bitcoind, zero-confirmation

> **Comments:**
> **username_1**: The standard Bitcoin client will show pending transactions as soon as they hit the network.  There is some risk in accepting a zero confirmation transaction.  If this is for a brick and mortar establishment it is not likely that a double spend attack can be performed.  However online I would be more conservative. Particularly if the item being sold is not revocable such as a digital download.  
> **username_2**: Related: [How do I accept bitcoin payments at a real world store?](http://bitcoin.stackexchange.com/q/327/5406)  

---

## 1 answers

### Answer by username_3 on 2014-02-11. Score: 4 | Accepted answer

If using the `walletnotify` option in `bitcoin.conf`, you can get a notification any time a transaction occurs on the network that matches a bitcoin address in the wallet. To use this, of course, you'll have to keep Bitcoin-QT or `bitcoind` running at all times.

<https://en.bitcoin.it/wiki/Running_Bitcoin>

Once you have the transaction id, you'll have to look up the transaction, either at an online service like blockchain.io or use a [bitcoind json-rpc](https://en.bitcoin.it/wiki/Original_Bitcoin_client/API_Calls_list) command to learn more about the transaction and what action you would like to take.

> **Comments:**
> **username_4**: Is there anyway to get all new transactions? instead of only transactions of a specific address.  

---

