Transfer ASA in decimals


library: Python-algorand-sdk

AssetTransferTxn requires an integer amount to send, however my ASA has 3 decimals. I am able to transfer for example 1.65 ASA using the algodesk site. What should i do?

Some assistance would be helpful.



I believe that the decimals are meant to be used by the UI interface only. The amount ate always integer to avoid floating point roundind errors. I.e. in your case, you should multiply the amount by 1000.

1 Like