Let's say I have the asset string representing an NFT. How can I verify that a user signed in with Nami wallet owns that NFT? Is there some sort of signature they can provide?

2 Answers 2


This depends a bit on your use case.

If you just want to look it up on the blockchain: You can query the node with cardano-cli query utxo --mainnet --address <address-to-check>. This gives you all UTXOs at the address and the value and NFTs contained in it.

If you want a smart contract to validate that the user has the NFT: The UTXO with the NFT would need to be part of the transaction and then sent back to the owner. Then some validator can check the context of the transaction if the NFT is included.


The blockchain stores the proof that a particular NFT belongs to a wallet. Whoever controls the wallet own the NFT. Wallet control is determined by access to its private key(signing key). If someone presents a text or number signed by wallet private key then he proves that he controls that wallet. This is how websites are being connected to wallets.

  • Thank you! This makes sense to me. Commented Oct 24, 2021 at 17:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.