createrawsendfrom and issuemore

+2 votes

Hi,

After issuing an open asset using "issue" I would like to do plenty of "issuemore" and send to specific addresses in one transaction. I used createrawsendfrom  from-address {"to-address":amount,...} like explained in https://www.multichain.com/developers/raw-transactions

My "from" addresses have "issue,send,receive" permissions

My 'to" addresses have "send,receive"

But createrawsendfrom returns "-704 No unspent output with issue permission" :(

What am I doing wrong?

createrawsendfrom FROM '{"TO":{"issuemore":{"asset":"asset8","raw":500}}}' ... send

 

asked Aug 15, 2017 by Patrick LOGE

1 Answer

+1 vote

Once an asset has been issued as open, only the original asset creator can issue more units of that asset. It depends on having issue permissions for this asset, rather than issue permissions in general. You can see per-asset permissions using:

listpermissions asset8.*

And the asset admin (also its creator) can grant/revoke them using permission names like asset8.issue

More here: https://www.multichain.com/developers/asset-reissuance/

answered Aug 16, 2017 by MultiChain
The way I issued the address was apparently wrong indeed.
I used a simple "issue ADDR" making the asset owned by the wrong address.

Using "issuefrom ADDR ADDR" does the trick...
Yes, that would explain it.
...