Some keys are missing in Asset details when using Algorand Python SDK

Hello there,

When I’m using Algorand Python SDK or “https://algoindexer.testnet.algoexplorerapi.io/v2/accounts/{account-id}” API to get my account details, some keys are missing in asset details like: name, unit-name, creator etc. (Using Purestake indexer and API key for the Algorand Python SDK)

But when using “https://indexer.testnet.algoexplorerapi.io/v2/accounts/{account-id}” API for the same, I’m getting keys - name. Unit-name, creator for the asset details.

Is it possible to get other asset keys using Algorand SDK? If yes, then what should I do?

AlgoExplorer run their own proprietary indexer which includes these extra fields. The official SDK will only conform to the official indexer, so you’ll want to fork and modify the SDK when using the AlgoExplorer indexer, or use something like httpx and make the API call yourself.