Getting error code -1 while issuing asset

+1 vote
I am trying to issue an asset with custom fields. I use the below command


issue ADDRESS assetName Qty min-per-out '{"field1":"1","field2":"2"}'

error code: -1

error message:

value is type obj, expected real.


I cannot get around this.
asked Feb 8, 2017 by prasds

1 Answer

0 votes

You missed out the units parameter which specifies asset divisibility, e.g. 0.01 for an asset where each unit can be subdivided into 100 parts.

answered Feb 8, 2017 by MultiChain