<p>NBitcoin is only a library. In order to get notified upon receipt of funds you would need to be running a bitcoin implementation such as bitcoin-core and use it's JSON-RPC, or ZMQ or it's built-in features like <code>walletnotify</code>.</p>
<p><a href="https://github.com/NicolasDorier/NBitcoin.Docs/blob/master/README.md" rel="nofollow noreferrer">https://github.com/NicolasDorier/NBitcoin.Docs/blob/master/README.md</a></p>
<p><a href="https://bitcoin.stackexchange.com/questions/24457/how-do-i-use-walletnotify">How do I use walletnotify?</a></p>

CC BY-SA 4.0
2021-04-02T14:16:48.063Z
2021-04-02T14:16:48.063Z
m1xolyd1an
<p>Use NBXplorer for notifications: <a href="https://github.com/dgarage/NBXplorer/blob/master/docs/API.md#websocket" rel="nofollow noreferrer">https://github.com/dgarage/NBXplorer/blob/master/docs/API.md#websocket</a></p>

CC BY-SA 4.0
2021-04-02T18:08:41.013Z
2021-04-02T18:08:41.013Z
BlueTang
<p>I something like <code>onCoinReceived</code> in bitcoinj</p>
<p><a href="https://bitcoin.stackexchange.com/questions/40743/bitcoinj-how-to-get-notified-when-coins-are-received">Example with bitcoinj</a></p>

<receiving><nbitcoin>
NBitcoin how can I get notify when I receive coins?
s k
# NBitcoin how can I get notify when I receive coins?

(Asked by: username_0 on 2021-04-02)

I something like `onCoinReceived` in bitcoinj

[Example with bitcoinj](https://bitcoin.stackexchange.com/questions/40743/bitcoinj-how-to-get-notified-when-coins-are-received)

**Tags:** receiving, nbitcoin


---

## 2 answers

### Answer by username_1 on 2021-04-02. Score: 1

NBitcoin is only a library. In order to get notified upon receipt of funds you would need to be running a bitcoin implementation such as bitcoin-core and use it's JSON-RPC, or ZMQ or it's built-in features like `walletnotify`.

<https://github.com/NicolasDorier/NBitcoin.Docs/blob/master/README.md>

[How do I use walletnotify?](https://bitcoin.stackexchange.com/questions/24457/how-do-i-use-walletnotify)


---

### Answer by username_2 on 2021-04-02. Score: 0

Use NBXplorer for notifications: <https://github.com/dgarage/NBXplorer/blob/master/docs/API.md#websocket>


---

