yann4460 / elrond-sdk.dotnet

Elrond SDK for .NET Core
GNU General Public License v3.0
17 stars 4 forks source link

Retrieve the tokens decimal precision #18

Open janniksam opened 2 years ago

janniksam commented 2 years ago

For Token.ESDT() you will need the token decimal precision. But currently I can't see any way of retrieving this information using this library.

janniksam commented 2 years ago

I believe, the EsdtItemDto is missing the information. It should come back from the elrond api.

janniksam commented 2 years ago

Actually, a implementation for "/address/{address}/tokens" is missing, that would do the trick.