<p>the token is present in your wallet as &quot;<code>&lt;policy-id&gt;.&lt;token-name-hex-ascii&gt;</code>&quot;</p>
<p>if you want to check only for a specific smart contract (minting policy) to be the one which minted the token just get the hash of the smart contract and compare it to the &quot;<code>&lt;policy id&gt;</code>&quot;</p>
<h3>if the minting policy hash corresponds to the policy id then that's your smart contract</h3>
<p>if that is not the case but you still want to know <strong>which</strong> smart contract was used you could do the following:</p>
<ol>
<li><p>check the transaction that sent you the token</p>
</li>
<li><p>if that transaction did not mint the token then that token must have come from somewhere else</p>
</li>
<li><p>(go to 1) going back you'll find a transaction that minted the token and in that transaction, the smart contract (minting policy) must be included in order to be executed. here is your smart contract</p>
</li>
</ol>

CC BY-SA 4.0
2022-06-21T08:32:22.037Z
2022-06-21T08:32:22.037Z
Michele Nuzzi
<p>A smart contract minted a Token and send it to my wallet, after a time has passed how can I check if that smart-contract in specific did mint the token?</p>

<smart-contract><token>
How can I check the origin of a Token?
# How can I check the origin of a Token?

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

A smart contract minted a Token and send it to my wallet, after a time has passed how can I check if that smart-contract in specific did mint the token?

**Tags:** smart-contract, token

---

## 1 answers

### Answer by username_1 on 2022-06-21. Score: 1

the token is present in your wallet as "`.`"

if you want to check only for a specific smart contract (minting policy) to be the one which minted the token just get the hash of the smart contract and compare it to the ""

### if the minting policy hash corresponds to the policy id then that's your smart contract

if that is not the case but you still want to know **which** smart contract was used you could do the following:

1. check the transaction that sent you the token
2. if that transaction did not mint the token then that token must have come from somewhere else
3. (go to 1) going back you'll find a transaction that minted the token and in that transaction, the smart contract (minting policy) must be included in order to be executed. here is your smart contract


---

