# How to find assetID from issueAsset tx

**URL:** <https://talk.jelurida.com/t/how-to-find-assetid-from-issueasset-tx/126>\
**Category:** Developers\
**Created:** [16 January 2021 14:59 UTC](https://talk.jelurida.com/t/how-to-find-assetid-from-issueasset-tx/126 "2021-01-16T14:59:14Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheWireMaster](https://talk.jelurida.com/user_avatar/talk.jelurida.com/thewiremaster/32/12_2.png) [@TheWireMaster](https://talk.jelurida.com/u/TheWireMaster)\
**Post date:** [16 January 2021 14:59 UTC](https://talk.jelurida.com/t/how-to-find-assetid-from-issueasset-tx/126/1 "2021-01-16T14:59:15Z")

</div>

When I issue an asset via API, I do know the fullHash of that tx.  
But in my program, how can I find the assetID generated by that tx? Which API call to find that?  
Thanks

---

<div class="post-metadata">

**Author:** ![TheWireMaster](https://talk.jelurida.com/user_avatar/talk.jelurida.com/thewiremaster/32/12_2.png) [@TheWireMaster](https://talk.jelurida.com/u/TheWireMaster)\
**Post date:** [16 January 2021 15:35 UTC](https://talk.jelurida.com/t/how-to-find-assetid-from-issueasset-tx/126/2 "2021-01-16T15:35:40Z")

</div>

for my case I could use the searchAsset API call and search for the name I assigned to it.  
Not sure if that's the right way, but it works for me. 🙂

---

<div class="post-metadata">

**Author:** ![suivew](https://talk.jelurida.com/letter_avatar_proxy/v4/letter/s/a587f6/32.png) [@suivew](https://talk.jelurida.com/u/suivew)\
**Post date:** [16 January 2021 16:13 UTC](https://talk.jelurida.com/t/how-to-find-assetid-from-issueasset-tx/126/3 "2021-01-16T16:13:46Z")

</div>

try Utils -\> fullHashToId

---

<div class="post-metadata">

**Author:** ![TheWireMaster](https://talk.jelurida.com/user_avatar/talk.jelurida.com/thewiremaster/32/12_2.png) [@TheWireMaster](https://talk.jelurida.com/u/TheWireMaster)\
**Post date:** [16 January 2021 16:27 UTC](https://talk.jelurida.com/t/how-to-find-assetid-from-issueasset-tx/126/4 "2021-01-16T16:27:39Z")

</div>

oh! that's awesome!  
Thank you!

---

<div class="post-metadata">

**Author:** ![TheWireMaster](https://talk.jelurida.com/user_avatar/talk.jelurida.com/thewiremaster/32/12_2.png) [@TheWireMaster](https://talk.jelurida.com/u/TheWireMaster)\
**Post date:** [16 January 2021 16:28 UTC](https://talk.jelurida.com/t/how-to-find-assetid-from-issueasset-tx/126/5 "2021-01-16T16:28:15Z")

</div>

BTW, what happens to that call when the transaction is not yet confirmed? No result?

---

<div class="post-metadata">

**Author:** ![petko.petkov](https://talk.jelurida.com/letter_avatar_proxy/v4/letter/p/eb8c5e/32.png) [@petko.petkov](https://talk.jelurida.com/u/petko.petkov)\
**Post date:** [17 January 2021 15:05 UTC](https://talk.jelurida.com/t/how-to-find-assetid-from-issueasset-tx/126/6 "2021-01-17T15:05:47Z")

</div>

The ID is the first 64 bits of the `fullHash`. `fullHashToId` only does that conversion. If the transaction is not yet confirmed, it will return ID of asset which does not yet exist. If the transaction is successfully applied, this will be the ID of the asset and nothing else.
