Assets: how to retrieve Name, Unit and URL? #196
-
Hello, I need to retrieve assets properties, so after retrieving the account from the indexer and checking the balance, I scan the retrieved AssetHolding array. How should I retrieve Name, Unit and URL? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi Fernando, You can obtain the asset details with the following indexer API: Usually, obtaining asset details for a user first involves obtaining their |
Beta Was this translation helpful? Give feedback.
Hi Fernando,
You can obtain the asset details with the following indexer API:
LookupAssetByID
Usually, obtaining asset details for a user first involves obtaining their
AssetHolding
s, then using the ids there to obtain details on those assets. If you're looking to get an array of assets, you can alternatively use: SearchForAssets