# Indexer api not working for testnet for metadata

**URL:** <https://forum.fuel.network/t/indexer-api-not-working-for-testnet-for-metadata/7926>\
**Category:** General\
**Created:** [January 6, 2025, 6:42am UTC](https://forum.fuel.network/t/indexer-api-not-working-for-testnet-for-metadata/7926 "2025-01-06T06:42:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![chappie1998](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/chappie1998/32/971_2.png) [@chappie1998](https://forum.fuel.network/u/chappie1998)\
**Post date:** [January 6, 2025, 6:42am UTC](https://forum.fuel.network/t/indexer-api-not-working-for-testnet-for-metadata/7926/1 "2025-01-06T06:42:18Z")

</div>

I created this ([https://testnet-explorer.fuel.network/assets/0x05ceda9925db2c684dc854a44043719319d2adeecfdefb8e4b5fef4be954170f](https://testnet-explorer.fuel.network/assets/0x05ceda9925db2c684dc854a44043719319d2adeecfdefb8e4b5fef4be954170f)) asset using this ([Fuel NFT](https://fuellabs.github.io/sway-examples/nft/)) demo app, but I am still not getting metadata.

It seems the indexer api is not working for testnet.

---

<div class="post-metadata">

**Author:** ![rishabhkeshan](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/rishabhkeshan/32/3346_2.png) [@rishabhkeshan](https://forum.fuel.network/u/rishabhkeshan)\
**Post date:** [January 6, 2025, 7:43am UTC](https://forum.fuel.network/t/indexer-api-not-working-for-testnet-for-metadata/7926/2 "2025-01-06T07:43:57Z")

</div>

Hey @chappie1998 the indexer api only provides the asset metadata if the SRC 7/SRC 9 standards are followed correctly with emitting the log event, let me check on the demo app and get back to you, we probably haven’t updated the contracts.

---

<div class="post-metadata">

**Author:** ![chappie1998](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/chappie1998/32/971_2.png) [@chappie1998](https://forum.fuel.network/u/chappie1998)\
**Post date:** [January 7, 2025, 5:20am UTC](https://forum.fuel.network/t/indexer-api-not-working-for-testnet-for-metadata/7926/3 "2025-01-07T05:20:36Z")

</div>

I believe that login is in the standard lib only, so if someone uses lib for the metadata set, it should be recognized.

---

<div class="post-metadata">

**Author:** ![Joe-Wait](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/joe-wait/32/4005_2.png) [@Joe-Wait](https://forum.fuel.network/u/Joe-Wait)\
**Post date:** [January 8, 2025, 5:42pm UTC](https://forum.fuel.network/t/indexer-api-not-working-for-testnet-for-metadata/7926/4 "2025-01-08T17:42:54Z")

</div>

I can confirm that Pangea does index this NFT, so it’s not an issue with the asset contract:

```auto
{
"chain": 2147483646,
  "first_seen_block_number": 19497824,
  "first_seen_block_hash": "0xedd422d28eff4bfaf1bc080af4cf0e48bd747d6c77c264ac427f18ada9e15603",
  "first_seen_transaction_hash": "0x38f89bb12168d43e7928c2a5d572bda3ce261015f8a291cb1dd044afcecf747e",
  "first_seen_transaction_index": 0,
  "first_seen_receipt_index": 1,
  "contract_id": "0xd18bdef74e3b5e6323e1f6cf699d275b3e2aeec17e81603347d0542fca212190",
  "asset_id": "0x05ceda9925db2c684dc854a44043719319d2adeecfdefb8e4b5fef4be954170f",
  "name": "test",
  "symbol": "test",
  "decimals": 0,
  "sub_id": "0x05236cd10b23a4121e73b228503968c8a30c73317bb2276475cbc374555f4331"
}

```

---

<div class="post-metadata">

**Author:** ![chappie1998](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/chappie1998/32/971_2.png) [@chappie1998](https://forum.fuel.network/u/chappie1998)\
**Post date:** [January 9, 2025, 5:29am UTC](https://forum.fuel.network/t/indexer-api-not-working-for-testnet-for-metadata/7926/5 "2025-01-09T05:29:59Z")

</div>

Could you try to set metadata and see if metadata is indexing? Because I can’t see metadata here  
[https://testnet-explorer.fuel.network/assets/0x05ceda9925db2c684dc854a44043719319d2adeecfdefb8e4b5fef4be954170f](https://testnet-explorer.fuel.network/assets/0x05ceda9925db2c684dc854a44043719319d2adeecfdefb8e4b5fef4be954170f)

---

<div class="post-metadata">

**Author:** ![Joe-Wait](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.fuel.network/joe-wait/32/4005_2.png) [@Joe-Wait](https://forum.fuel.network/u/Joe-Wait)\
**Post date:** [January 9, 2025, 9:25am UTC](https://forum.fuel.network/t/indexer-api-not-working-for-testnet-for-metadata/7926/6 "2025-01-09T09:25:45Z")

</div>

We also get the set metadata from our SRC7 index

```auto
{
  "chain": 2147483646,
  "block_number": 19497763,
  "block_hash": "0xab460ef83a2acbe52fa25d6a703c1972ea83a8a7d5f7b1224ca3a208010d9623",
  "transaction_hash": "0xfbc2b7e8aac7e938957a0fe88f9a8e275487c0748798dbaaa1b615589f904dbd",
  "transaction_index": 0,
  "log_index": 0,
  "asset": "0x05ceda9925db2c684dc854a44043719319d2adeecfdefb8e4b5fef4be954170f",
  "key": "image",
  "metadata": "\"QmRw3NwmQiBwPBFnvyGz9B4MEufEsK42LMXt3hL5CKXRBV\"",
  "sender": "0x6b63804cfbf9856e68e5b6e7aef238dc8311ec55bec04df774003a2c96e0418e"
}
{
  "chain": 2147483646,
  "block_number": 19497763,
  "block_hash": "0xab460ef83a2acbe52fa25d6a703c1972ea83a8a7d5f7b1224ca3a208010d9623",
  "transaction_hash": "0xfbc2b7e8aac7e938957a0fe88f9a8e275487c0748798dbaaa1b615589f904dbd",
  "transaction_index": 0,
  "log_index": 1,
  "asset": "0x05ceda9925db2c684dc854a44043719319d2adeecfdefb8e4b5fef4be954170f",
  "key": "image",
  "metadata": "\"QmRw3NwmQiBwPBFnvyGz9B4MEufEsK42LMXt3hL5CKXRBV\"",
  "sender": "0x6b63804cfbf9856e68e5b6e7aef238dc8311ec55bec04df774003a2c96e0418e"
}

```
