<p>Here's a way using the <a href="https://blockfrost.io" rel="nofollow noreferrer">https://blockfrost.io</a> API:</p>
<p>Fist you need to get the asset id, I assume you already have this because you know which NFT you want to look up.</p>
<p>Then you would query all transactions of this asset using the <code>Cardano &gt; Assets &gt; Asset Transactions</code> API endpoint:</p>
<p><a href="https://docs.blockfrost.io/#tag/Cardano-Assets/paths/%7E1assets%7E1%7Basset%7D%7E1transactions/get" rel="nofollow noreferrer">https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}~1transactions/get</a></p>
<p>This returns a list of transactions, where this asset has been involved.</p>
<pre class="lang-json prettyprint-override"><code>[
  {
    &quot;tx_hash&quot;: &quot;8788591983aa73981fc92d6cddbbe643959f5a784e84b8bee0db15823f575a5b&quot;,
    &quot;tx_index&quot;: 6,
    &quot;block_height&quot;: 69,
    &quot;block_time&quot;: 1635505891
  },
  {
    &quot;tx_hash&quot;: &quot;52e748c4dec58b687b90b0b40d383b9fe1f24c1a833b7395cdf07dd67859f46f&quot;,
    &quot;tx_index&quot;: 9,
    &quot;block_height&quot;: 4547,
    &quot;block_time&quot;: 1635505987
  },
  {
    &quot;tx_hash&quot;: &quot;e8073fd5318ff43eca18a852527166aa8008bee9ee9e891f585612b7e4ba700b&quot;,
    &quot;tx_index&quot;: 0,
    &quot;block_height&quot;: 564654,
    &quot;block_time&quot;: 1834505492
  }
]
</code></pre>
<p>Now you take the <code>tx_hash</code> of the transaction with the lowest <code>block_height</code> and query the <code>Cardano &gt; Transactions &gt; Transaction UTxOs</code> endpoint:</p>
<p><a href="https://docs.blockfrost.io/#tag/Cardano-Transactions/paths/%7E1txs%7E1%7Bhash%7D%7E1utxos/get" rel="nofollow noreferrer">https://docs.blockfrost.io/#tag/Cardano-Transactions/paths/~1txs~1{hash}~1utxos/get</a></p>
<p>This will result in an object like this:</p>
<pre class="lang-json prettyprint-override"><code>{
  &quot;hash&quot;: &quot;1e043f100dce12d107f679685acd2fc0610e10f72a92d412794c9773d11d8477&quot;,
  &quot;inputs&quot;: [ ... ],
  &quot;outputs&quot;: [
    {
      &quot;address&quot;: &quot;addr1q9ld26v2lv8wvrxxmvg90pn8n8n5k6tdst06q2s856rwmvnueldzuuqmnsye359fqrk8hwvenjnqultn7djtrlft7jnq7dy7wv&quot;,
      &quot;amount&quot;: [
        {
          &quot;unit&quot;: &quot;lovelace&quot;,
          &quot;quantity&quot;: &quot;42000000&quot;
        },
        {
          &quot;unit&quot;: &quot;b0d07d45fe9514f80213f4020e5a61241458be626841cde717cb38a76e7574636f696e&quot;,
          &quot;quantity&quot;: &quot;12&quot;
        }
      ],
      &quot;output_index&quot;: 0,
      &quot;data_hash&quot;: &quot;9e478573ab81ea7a8e31891ce0648b81229f408d596a3483e6f4f9b92d3cf710&quot;,
      &quot;inline_datum&quot;: &quot;19a6aa&quot;,
      &quot;collateral&quot;: false,
      &quot;reference_script_hash&quot;: &quot;13a3efd825703a352a8f71f4e2758d08c28c564e8dfcce9f77776ad1&quot;
    }
  ]
}
</code></pre>
<p>Go through the <code>outputs</code> of this object and find the one that contains your NFT in the list of <code>amount</code> objects. The <code>address</code> of this <code>output</code> is the original receiver of your NFT.</p>

CC BY-SA 4.0
2022-10-11T05:25:01.627Z
2022-10-11T05:25:01.627Z
eddex
<p>I would like to get a list of user addresses, that minted a native asset NFT. Is this possible? I do not want current holders of the NFT, but the original minting NFT holders.</p>

CC BY-SA 4.0
2022-10-10T06:51:22.383Z
Is a solution using `cardano-db-sync` acceptable?
Erik de Castro Lopo
CC BY-SA 4.0
2022-10-10T11:37:33.777Z
@ErikdeCastroLopo yes
Anicho
<nft><native-assets><api><cardano-address>
Get list of users addresses that minted native asset NFT
# Get list of users addresses that minted native asset NFT

(Asked by: username_0 on 2022-10-10)

I would like to get a list of user addresses, that minted a native asset NFT. Is this possible? I do not want current holders of the NFT, but the original minting NFT holders.

**Tags:** nft, native-assets, api, cardano-address

> **Comments:**
> **username_1**: Is a solution using `cardano-db-sync` acceptable?  
> **username_0**: @username_1 yes  

---

## 1 answers

### Answer by username_2 on 2022-10-11. Score: 1 | Accepted answer

Here's a way using the <https://blockfrost.io> API:

Fist you need to get the asset id, I assume you already have this because you know which NFT you want to look up.

Then you would query all transactions of this asset using the `Cardano > Assets > Asset Transactions` API endpoint:

[https://docs.blockfrost.io/#tag/Cardano-Assets/paths/~1assets~1{asset}~1transactions/get](https://docs.blockfrost.io/#tag/Cardano-Assets/paths/%7E1assets%7E1%7Basset%7D%7E1transactions/get)

This returns a list of transactions, where this asset has been involved.

```json
[
  {
    "tx_hash": "8788591983aa73981fc92d6cddbbe643959f5a784e84b8bee0db15823f575a5b",
    "tx_index": 6,
    "block_height": 69,
    "block_time": 1635505891
  },
  {
    "tx_hash": "52e748c4dec58b687b90b0b40d383b9fe1f24c1a833b7395cdf07dd67859f46f",
    "tx_index": 9,
    "block_height": 4547,
    "block_time": 1635505987
  },
  {
    "tx_hash": "e8073fd5318ff43eca18a852527166aa8008bee9ee9e891f585612b7e4ba700b",
    "tx_index": 0,
    "block_height": 564654,
    "block_time": 1834505492
  }
]

```

Now you take the `tx_hash` of the transaction with the lowest `block_height` and query the `Cardano > Transactions > Transaction UTxOs` endpoint:

[https://docs.blockfrost.io/#tag/Cardano-Transactions/paths/~1txs~1{hash}~1utxos/get](https://docs.blockfrost.io/#tag/Cardano-Transactions/paths/%7E1txs%7E1%7Bhash%7D%7E1utxos/get)

This will result in an object like this:

```json
{
  "hash": "1e043f100dce12d107f679685acd2fc0610e10f72a92d412794c9773d11d8477",
  "inputs": [ ... ],
  "outputs": [
    {
      "address": "addr1q9ld26v2lv8wvrxxmvg90pn8n8n5k6tdst06q2s856rwmvnueldzuuqmnsye359fqrk8hwvenjnqultn7djtrlft7jnq7dy7wv",
      "amount": [
        {
          "unit": "lovelace",
          "quantity": "42000000"
        },
        {
          "unit": "b0d07d45fe9514f80213f4020e5a61241458be626841cde717cb38a76e7574636f696e",
          "quantity": "12"
        }
      ],
      "output_index": 0,
      "data_hash": "9e478573ab81ea7a8e31891ce0648b81229f408d596a3483e6f4f9b92d3cf710",
      "inline_datum": "19a6aa",
      "collateral": false,
      "reference_script_hash": "13a3efd825703a352a8f71f4e2758d08c28c564e8dfcce9f77776ad1"
    }
  ]
}

```

Go through the `outputs` of this object and find the one that contains your NFT in the list of `amount` objects. The `address` of this `output` is the original receiver of your NFT.


---

