Raw Transaction doesn't not seem to accept decimal Unit values

+1 vote
This is related to a raw transaction in Multichain v1.1
I've successfully created an asset of unit 10.0001. Now I'm sending an asset of value say 5.48 to another address.

The receiver only receives 5 units of the asset and not 0.48
I'm currently failing to understand the root cause of this issue. Would be highly grateful to whoseover helps me in this scenario.

Thanking in advance.
asked Nov 22, 2018 by neelima

1 Answer

0 votes

It sounds like the asset has not been created with divisibility. When you use an API such as issue, make sure you pass something like 0.01 in the units parameter.

answered Nov 22, 2018 by MultiChain
The solution which you have provided will work only for issue,issuefrom api's but if we are using  createrawsendfrom api for sign and rawtransaction how to set units?
This is covered in depth on this page: