<p>I don't think Blockfrost offers event based callbacks like that. You might want to look into tangocrypto, but as far as I can tell they also don't offer webhooks for this specific type of event: <a href="https://docs.tangocrypto.com/notify/notify/using-webhooks#types-of-wehooks" rel="nofollow noreferrer">https://docs.tangocrypto.com/notify/notify/using-webhooks#types-of-wehooks</a></p>
<p>Maybe it's worth getting in touch with them as I think it could potentially be an interesting addition for their service.</p>
<p>The other option would be to set up a cardano node, as you said, and connect a <a href="https://github.com/input-output-hk/cardano-db-sync" rel="nofollow noreferrer">db-sync (postgres)</a> instance which you can query.</p>

CC BY-SA 4.0
2022-04-06T14:31:57.490Z
I contacted both Blockfrost and Tango about this feature, so hopefully at least one of them will consider adding it. In the meantime, looks like I'll be setting up a node and db-sync. Thanks for your help!
Matt Halloran
CC BY-SA 4.0
2022-04-06T13:36:22.180Z
2022-04-06T13:36:22.180Z
LACE pool
<p>With Blockfrost, I can easily query which assets belong to a staking address using <code>/accounts/{stake_address}/addresses/assets</code>. I would like to use this approach to allow users to associate their accounts with an ADA Handle. However, I don't see an easy way to check when the Handle has been moved to a different wallet (besides querying Blockfrost every x hours). Is there a better approach using Blockfrost? Should I look into hosting a node instead?</p>
<hr/>
<p>Using <a href="https://www.tangocrypto.com/" rel="nofollow noreferrer">Tango</a> (so not Blockfrost), this should be possible in two weeks. See <a href="https://docs.tangocrypto.com/notify/notify/trigger-rules#nft-rules-coming-soon" rel="nofollow noreferrer">here</a>.</p>

<blockfrost>
Is there a way to set a trigger on Blockfrost to know when an asset has been moved?
# Is there a way to set a trigger on Blockfrost to know when an asset has been moved?

(Asked by: username_0 on 2022-04-06)

With Blockfrost, I can easily query which assets belong to a staking address using `/accounts/{stake_address}/addresses/assets`. I would like to use this approach to allow users to associate their accounts with an ADA Handle. However, I don't see an easy way to check when the Handle has been moved to a different wallet (besides querying Blockfrost every x hours). Is there a better approach using Blockfrost? Should I look into hosting a node instead?

---

Using [Tango](https://www.tangocrypto.com/) (so not Blockfrost), this should be possible in two weeks. See [here](https://docs.tangocrypto.com/notify/notify/trigger-rules#nft-rules-coming-soon).

**Tags:** blockfrost

---

## 1 answers

### Answer by username_1 on 2022-04-06. Score: 2 | Accepted answer

I don't think Blockfrost offers event based callbacks like that. You might want to look into tangocrypto, but as far as I can tell they also don't offer webhooks for this specific type of event: <https://docs.tangocrypto.com/notify/notify/using-webhooks#types-of-wehooks>

Maybe it's worth getting in touch with them as I think it could potentially be an interesting addition for their service.

The other option would be to set up a cardano node, as you said, and connect a [db-sync (postgres)](https://github.com/input-output-hk/cardano-db-sync) instance which you can query.

> **Comments:**
> **username_0**: I contacted both Blockfrost and Tango about this feature, so hopefully at least one of them will consider adding it. In the meantime, looks like I'll be setting up a node and db-sync. Thanks for your help!  

---

