<p>May I ask why you'd want to do this?</p>
<p>It will be much easier for you to store the name of your NFT's in a database somewhere and query that instead of the blockchain. The blockchain is very quick at looking up NFT's under a given policy_id or asset string. Custom metadata? Not so much.</p>

CC BY-SA 4.0
2021-10-25T03:41:15.650Z
2021-10-25T03:41:15.650Z
Blake Brown
<p>Let's say, I have created an asset with name 'xyz' and I want to search for all the nfts with this asset name on the chain. How and where do I do that ?</p>

<nft><native-assets><cardano-db-sync>
How to search for an NFT asset name?
# How to search for an NFT asset name?

(Asked by: username_0 on 2021-10-24)

Let's say, I have created an asset with name 'xyz' and I want to search for all the nfts with this asset name on the chain. How and where do I do that ?

**Tags:** nft, native-assets, cardano-db-sync

---

## 1 answers

### Answer by username_1 on 2021-10-25. Score: 1

May I ask why you'd want to do this?

It will be much easier for you to store the name of your NFT's in a database somewhere and query that instead of the blockchain. The blockchain is very quick at looking up NFT's under a given policy\_id or asset string. Custom metadata? Not so much.


---

