ASA created from inner transaction does not appear in explorers

I am creating an ASA dynamically in a smart contract using an inner transaction similar to what was posted previously. It seems to succeed, but something is wrong with the resulting ASA. Viewing the asset in GoalSeeker, a 502 error is thrown when retrieving the transactions. AlgoExplorer simply gives a 404 for the asset. What am I doing wrong?

https://testnet.algoexplorer.io/asset/62426384

    asset_id = ScratchVar(TealType.uint64)

    @Subroutine(TealType.none)
    def mintNft() -> Expr:
        return Seq(
            InnerTxnBuilder.Begin(),
            InnerTxnBuilder.SetFields(
                {
                    TxnField.type_enum: TxnType.AssetConfig,
                    TxnField.config_asset_total: Int(1),
                    TxnField.config_asset_decimals: Int(0),
                    TxnField.config_asset_name: Bytes("Nifty"),
                    TxnField.config_asset_unit_name: Bytes("NFTY"),
                }
            ),
            InnerTxnBuilder.Submit(),
            asset_id.store(InnerTxn.created_asset_id()),
        )

Can you please provide the transaction ID of the transaction used to generate the asset?

Txn ID: 3JZ2O426LMEZBFHMMVJ4JDAI6634YKG4N5V52AVT7BW3V4GCRKVA

@fabrice Would it be better if I started a new topic for this problem?

I’ve moved to a new topic.

Your asset is created properly according to the indexer:

$ curl -s https://algoindexer.testnet.algoexplorerapi.io/v2/assets/62426384 1 | jq
{
  "asset": {
    "created-at-round": 19198263,
    "deleted": false,
    "index": 62426384,
    "params": {
      "clawback": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ",
      "creator": "TJARLZV2A3GQPNKXDPV47FELGHNFG25XFF2EXNMYW42A33AFFYBBMADBUY",
      "decimals": 0,
      "default-frozen": false,
      "freeze": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ",
      "manager": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ",
      "name": "Nifty",
      "name-b64": "TmlmdHk=",
      "reserve": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAY5HFKQ",
      "total": 1,
      "unit-name": "NFTY",
      "unit-name-b64": "TkZUWQ=="
    }
  },
  "current-round": 19226245
}

However, it looks like algoexplorer.io and GoalSeeker do not support such ASAs created via an inner transaction.

1 Like

Hi @funk , our indexer supports it but the front-end doesn’t yet.

https://indexer.testnet.algoexplorerapi.io/v2/assets/62426384

We expect to have inner txs UI available, at most, on next week. And also improve asset verification.

Kind regards,
Mauro.

2 Likes

Thank you both for the info!