Indexer api not working for testnet for metadata

I created this (https://testnet-explorer.fuel.network/assets/0x05ceda9925db2c684dc854a44043719319d2adeecfdefb8e4b5fef4be954170f) asset using this (Fuel NFT) demo app, but I am still not getting metadata.

It seems the indexer api is not working for testnet.

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.

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

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

{
"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"
}

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

We also get the set metadata from our SRC7 index

{
  "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"
}